OTS SDK Auto Released By wanhong.chenwh,Version:1.21.5
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
150
ots/include/alibabacloud/ots/OtsClient.h
Normal file
150
ots/include/alibabacloud/ots/OtsClient.h
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_OTSCLIENT_H_
|
||||
#define ALIBABACLOUD_OTS_OTSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "OtsExport.h"
|
||||
#include "model/UnbindInstance2VpcRequest.h"
|
||||
#include "model/UnbindInstance2VpcResult.h"
|
||||
#include "model/ListClusterTypeRequest.h"
|
||||
#include "model/ListClusterTypeResult.h"
|
||||
#include "model/UpdateInstanceRequest.h"
|
||||
#include "model/UpdateInstanceResult.h"
|
||||
#include "model/ListInstanceRequest.h"
|
||||
#include "model/ListInstanceResult.h"
|
||||
#include "model/ListVpcInfoByVpcRequest.h"
|
||||
#include "model/ListVpcInfoByVpcResult.h"
|
||||
#include "model/GetInstanceRequest.h"
|
||||
#include "model/GetInstanceResult.h"
|
||||
#include "model/BindInstance2VpcRequest.h"
|
||||
#include "model/BindInstance2VpcResult.h"
|
||||
#include "model/InsertInstanceRequest.h"
|
||||
#include "model/InsertInstanceResult.h"
|
||||
#include "model/ListTagsRequest.h"
|
||||
#include "model/ListTagsResult.h"
|
||||
#include "model/ListVpcInfoByInstanceRequest.h"
|
||||
#include "model/ListVpcInfoByInstanceResult.h"
|
||||
#include "model/InsertTagsRequest.h"
|
||||
#include "model/InsertTagsResult.h"
|
||||
#include "model/DeleteTagsRequest.h"
|
||||
#include "model/DeleteTagsResult.h"
|
||||
#include "model/DeleteInstanceRequest.h"
|
||||
#include "model/DeleteInstanceResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT OtsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::UnbindInstance2VpcResult> UnbindInstance2VpcOutcome;
|
||||
typedef std::future<UnbindInstance2VpcOutcome> UnbindInstance2VpcOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::UnbindInstance2VpcRequest&, const UnbindInstance2VpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindInstance2VpcAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListClusterTypeResult> ListClusterTypeOutcome;
|
||||
typedef std::future<ListClusterTypeOutcome> ListClusterTypeOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::ListClusterTypeRequest&, const ListClusterTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClusterTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateInstanceResult> UpdateInstanceOutcome;
|
||||
typedef std::future<UpdateInstanceOutcome> UpdateInstanceOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::UpdateInstanceRequest&, const UpdateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListInstanceResult> ListInstanceOutcome;
|
||||
typedef std::future<ListInstanceOutcome> ListInstanceOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::ListInstanceRequest&, const ListInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcInfoByVpcResult> ListVpcInfoByVpcOutcome;
|
||||
typedef std::future<ListVpcInfoByVpcOutcome> ListVpcInfoByVpcOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::ListVpcInfoByVpcRequest&, const ListVpcInfoByVpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcInfoByVpcAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceResult> GetInstanceOutcome;
|
||||
typedef std::future<GetInstanceOutcome> GetInstanceOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::GetInstanceRequest&, const GetInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindInstance2VpcResult> BindInstance2VpcOutcome;
|
||||
typedef std::future<BindInstance2VpcOutcome> BindInstance2VpcOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::BindInstance2VpcRequest&, const BindInstance2VpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindInstance2VpcAsyncHandler;
|
||||
typedef Outcome<Error, Model::InsertInstanceResult> InsertInstanceOutcome;
|
||||
typedef std::future<InsertInstanceOutcome> InsertInstanceOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::InsertInstanceRequest&, const InsertInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
|
||||
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::ListTagsRequest&, const ListTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcInfoByInstanceResult> ListVpcInfoByInstanceOutcome;
|
||||
typedef std::future<ListVpcInfoByInstanceOutcome> ListVpcInfoByInstanceOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::ListVpcInfoByInstanceRequest&, const ListVpcInfoByInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcInfoByInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::InsertTagsResult> InsertTagsOutcome;
|
||||
typedef std::future<InsertTagsOutcome> InsertTagsOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::InsertTagsRequest&, const InsertTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTagsResult> DeleteTagsOutcome;
|
||||
typedef std::future<DeleteTagsOutcome> DeleteTagsOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::DeleteTagsRequest&, const DeleteTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
|
||||
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
|
||||
typedef std::function<void(const OtsClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
|
||||
|
||||
OtsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
OtsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
OtsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~OtsClient();
|
||||
UnbindInstance2VpcOutcome unbindInstance2Vpc(const Model::UnbindInstance2VpcRequest &request)const;
|
||||
void unbindInstance2VpcAsync(const Model::UnbindInstance2VpcRequest& request, const UnbindInstance2VpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindInstance2VpcOutcomeCallable unbindInstance2VpcCallable(const Model::UnbindInstance2VpcRequest& request) const;
|
||||
ListClusterTypeOutcome listClusterType(const Model::ListClusterTypeRequest &request)const;
|
||||
void listClusterTypeAsync(const Model::ListClusterTypeRequest& request, const ListClusterTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListClusterTypeOutcomeCallable listClusterTypeCallable(const Model::ListClusterTypeRequest& request) const;
|
||||
UpdateInstanceOutcome updateInstance(const Model::UpdateInstanceRequest &request)const;
|
||||
void updateInstanceAsync(const Model::UpdateInstanceRequest& request, const UpdateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateInstanceOutcomeCallable updateInstanceCallable(const Model::UpdateInstanceRequest& request) const;
|
||||
ListInstanceOutcome listInstance(const Model::ListInstanceRequest &request)const;
|
||||
void listInstanceAsync(const Model::ListInstanceRequest& request, const ListInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListInstanceOutcomeCallable listInstanceCallable(const Model::ListInstanceRequest& request) const;
|
||||
ListVpcInfoByVpcOutcome listVpcInfoByVpc(const Model::ListVpcInfoByVpcRequest &request)const;
|
||||
void listVpcInfoByVpcAsync(const Model::ListVpcInfoByVpcRequest& request, const ListVpcInfoByVpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcInfoByVpcOutcomeCallable listVpcInfoByVpcCallable(const Model::ListVpcInfoByVpcRequest& request) const;
|
||||
GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const;
|
||||
void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const;
|
||||
BindInstance2VpcOutcome bindInstance2Vpc(const Model::BindInstance2VpcRequest &request)const;
|
||||
void bindInstance2VpcAsync(const Model::BindInstance2VpcRequest& request, const BindInstance2VpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindInstance2VpcOutcomeCallable bindInstance2VpcCallable(const Model::BindInstance2VpcRequest& request) const;
|
||||
InsertInstanceOutcome insertInstance(const Model::InsertInstanceRequest &request)const;
|
||||
void insertInstanceAsync(const Model::InsertInstanceRequest& request, const InsertInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InsertInstanceOutcomeCallable insertInstanceCallable(const Model::InsertInstanceRequest& request) const;
|
||||
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
|
||||
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
|
||||
ListVpcInfoByInstanceOutcome listVpcInfoByInstance(const Model::ListVpcInfoByInstanceRequest &request)const;
|
||||
void listVpcInfoByInstanceAsync(const Model::ListVpcInfoByInstanceRequest& request, const ListVpcInfoByInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcInfoByInstanceOutcomeCallable listVpcInfoByInstanceCallable(const Model::ListVpcInfoByInstanceRequest& request) const;
|
||||
InsertTagsOutcome insertTags(const Model::InsertTagsRequest &request)const;
|
||||
void insertTagsAsync(const Model::InsertTagsRequest& request, const InsertTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InsertTagsOutcomeCallable insertTagsCallable(const Model::InsertTagsRequest& request) const;
|
||||
DeleteTagsOutcome deleteTags(const Model::DeleteTagsRequest &request)const;
|
||||
void deleteTagsAsync(const Model::DeleteTagsRequest& request, const DeleteTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTagsOutcomeCallable deleteTagsCallable(const Model::DeleteTagsRequest& request) const;
|
||||
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
|
||||
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_OTS_OTSCLIENT_H_
|
||||
32
ots/include/alibabacloud/ots/OtsExport.h
Normal file
32
ots/include/alibabacloud/ots/OtsExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_OTSEXPORT_H_
|
||||
#define ALIBABACLOUD_OTS_OTSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_OTS_LIBRARY)
|
||||
# define ALIBABACLOUD_OTS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_OTS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_OTS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_OTS_OTSEXPORT_H_
|
||||
69
ots/include/alibabacloud/ots/model/BindInstance2VpcRequest.h
Normal file
69
ots/include/alibabacloud/ots/model/BindInstance2VpcRequest.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_BINDINSTANCE2VPCREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_BINDINSTANCE2VPCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT BindInstance2VpcRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindInstance2VpcRequest();
|
||||
~BindInstance2VpcRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
std::string getInstanceVpcName()const;
|
||||
void setInstanceVpcName(const std::string& instanceVpcName);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getVirtualSwitchId()const;
|
||||
void setVirtualSwitchId(const std::string& virtualSwitchId);
|
||||
std::string getRegionNo()const;
|
||||
void setRegionNo(const std::string& regionNo);
|
||||
std::string getNetwork()const;
|
||||
void setNetwork(const std::string& network);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
std::string instanceVpcName_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
std::string vpcId_;
|
||||
std::string virtualSwitchId_;
|
||||
std::string regionNo_;
|
||||
std::string network_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_BINDINSTANCE2VPCREQUEST_H_
|
||||
53
ots/include/alibabacloud/ots/model/BindInstance2VpcResult.h
Normal file
53
ots/include/alibabacloud/ots/model/BindInstance2VpcResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_BINDINSTANCE2VPCRESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_BINDINSTANCE2VPCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT BindInstance2VpcResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindInstance2VpcResult();
|
||||
explicit BindInstance2VpcResult(const std::string &payload);
|
||||
~BindInstance2VpcResult();
|
||||
std::string getEndpoint()const;
|
||||
std::string getDomain()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string endpoint_;
|
||||
std::string domain_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_BINDINSTANCE2VPCRESULT_H_
|
||||
54
ots/include/alibabacloud/ots/model/DeleteInstanceRequest.h
Normal file
54
ots/include/alibabacloud/ots/model/DeleteInstanceRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT DeleteInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteInstanceRequest();
|
||||
~DeleteInstanceRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
49
ots/include/alibabacloud/ots/model/DeleteInstanceResult.h
Normal file
49
ots/include/alibabacloud/ots/model/DeleteInstanceResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_DELETEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_DELETEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT DeleteInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteInstanceResult();
|
||||
explicit DeleteInstanceResult(const std::string &payload);
|
||||
~DeleteInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_DELETEINSTANCERESULT_H_
|
||||
62
ots/include/alibabacloud/ots/model/DeleteTagsRequest.h
Normal file
62
ots/include/alibabacloud/ots/model/DeleteTagsRequest.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_DELETETAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_DELETETAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT DeleteTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
public:
|
||||
DeleteTagsRequest();
|
||||
~DeleteTagsRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::vector<TagInfo> getTagInfo()const;
|
||||
void setTagInfo(const std::vector<TagInfo>& tagInfo);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
std::vector<TagInfo> tagInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_DELETETAGSREQUEST_H_
|
||||
49
ots/include/alibabacloud/ots/model/DeleteTagsResult.h
Normal file
49
ots/include/alibabacloud/ots/model/DeleteTagsResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_DELETETAGSRESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_DELETETAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT DeleteTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTagsResult();
|
||||
explicit DeleteTagsResult(const std::string &payload);
|
||||
~DeleteTagsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_DELETETAGSRESULT_H_
|
||||
54
ots/include/alibabacloud/ots/model/GetInstanceRequest.h
Normal file
54
ots/include/alibabacloud/ots/model/GetInstanceRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_GETINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_GETINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT GetInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceRequest();
|
||||
~GetInstanceRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_GETINSTANCEREQUEST_H_
|
||||
74
ots/include/alibabacloud/ots/model/GetInstanceResult.h
Normal file
74
ots/include/alibabacloud/ots/model/GetInstanceResult.h
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_GETINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_GETINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT GetInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceInfo
|
||||
{
|
||||
struct Quota
|
||||
{
|
||||
int entityQuota;
|
||||
};
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string instanceName;
|
||||
int status;
|
||||
int readCapacity;
|
||||
std::vector<TagInfo> tagInfos;
|
||||
std::string description;
|
||||
Quota quota;
|
||||
std::string userId;
|
||||
std::string network;
|
||||
std::string createTime;
|
||||
std::string clusterType;
|
||||
int writeCapacity;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceResult();
|
||||
explicit GetInstanceResult(const std::string &payload);
|
||||
~GetInstanceResult();
|
||||
InstanceInfo getInstanceInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
InstanceInfo instanceInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_GETINSTANCERESULT_H_
|
||||
71
ots/include/alibabacloud/ots/model/InsertInstanceRequest.h
Normal file
71
ots/include/alibabacloud/ots/model/InsertInstanceRequest.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT InsertInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
public:
|
||||
InsertInstanceRequest();
|
||||
~InsertInstanceRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
std::string getClusterType()const;
|
||||
void setClusterType(const std::string& clusterType);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::vector<TagInfo> getTagInfo()const;
|
||||
void setTagInfo(const std::vector<TagInfo>& tagInfo);
|
||||
std::string getNetwork()const;
|
||||
void setNetwork(const std::string& network);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
std::string clusterType_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
std::string description_;
|
||||
std::vector<TagInfo> tagInfo_;
|
||||
std::string network_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_
|
||||
49
ots/include/alibabacloud/ots/model/InsertInstanceResult.h
Normal file
49
ots/include/alibabacloud/ots/model/InsertInstanceResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_INSERTINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_INSERTINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT InsertInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
InsertInstanceResult();
|
||||
explicit InsertInstanceResult(const std::string &payload);
|
||||
~InsertInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_INSERTINSTANCERESULT_H_
|
||||
62
ots/include/alibabacloud/ots/model/InsertTagsRequest.h
Normal file
62
ots/include/alibabacloud/ots/model/InsertTagsRequest.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_INSERTTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_INSERTTAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT InsertTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
public:
|
||||
InsertTagsRequest();
|
||||
~InsertTagsRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::vector<TagInfo> getTagInfo()const;
|
||||
void setTagInfo(const std::vector<TagInfo>& tagInfo);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
std::vector<TagInfo> tagInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_INSERTTAGSREQUEST_H_
|
||||
49
ots/include/alibabacloud/ots/model/InsertTagsResult.h
Normal file
49
ots/include/alibabacloud/ots/model/InsertTagsResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_INSERTTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_INSERTTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT InsertTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
InsertTagsResult();
|
||||
explicit InsertTagsResult(const std::string &payload);
|
||||
~InsertTagsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_INSERTTAGSRESULT_H_
|
||||
51
ots/include/alibabacloud/ots/model/ListClusterTypeRequest.h
Normal file
51
ots/include/alibabacloud/ots/model/ListClusterTypeRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTCLUSTERTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTCLUSTERTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListClusterTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListClusterTypeRequest();
|
||||
~ListClusterTypeRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTCLUSTERTYPEREQUEST_H_
|
||||
51
ots/include/alibabacloud/ots/model/ListClusterTypeResult.h
Normal file
51
ots/include/alibabacloud/ots/model/ListClusterTypeResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTCLUSTERTYPERESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTCLUSTERTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListClusterTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListClusterTypeResult();
|
||||
explicit ListClusterTypeResult(const std::string &payload);
|
||||
~ListClusterTypeResult();
|
||||
std::vector<std::string> getClusterTypeInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> clusterTypeInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTCLUSTERTYPERESULT_H_
|
||||
65
ots/include/alibabacloud/ots/model/ListInstanceRequest.h
Normal file
65
ots/include/alibabacloud/ots/model/ListInstanceRequest.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
public:
|
||||
ListInstanceRequest();
|
||||
~ListInstanceRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPageNum()const;
|
||||
void setPageNum(long pageNum);
|
||||
std::vector<TagInfo> getTagInfo()const;
|
||||
void setTagInfo(const std::vector<TagInfo>& tagInfo);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
long pageSize_;
|
||||
long pageNum_;
|
||||
std::vector<TagInfo> tagInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTINSTANCEREQUEST_H_
|
||||
62
ots/include/alibabacloud/ots/model/ListInstanceResult.h
Normal file
62
ots/include/alibabacloud/ots/model/ListInstanceResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceInfo
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string timestamp;
|
||||
};
|
||||
|
||||
|
||||
ListInstanceResult();
|
||||
explicit ListInstanceResult(const std::string &payload);
|
||||
~ListInstanceResult();
|
||||
long getTotalCount()const;
|
||||
long getPageNum()const;
|
||||
long getPageSize()const;
|
||||
std::vector<InstanceInfo> getInstanceInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageNum_;
|
||||
long pageSize_;
|
||||
std::vector<InstanceInfo> instanceInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTINSTANCERESULT_H_
|
||||
68
ots/include/alibabacloud/ots/model/ListTagsRequest.h
Normal file
68
ots/include/alibabacloud/ots/model/ListTagsRequest.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTTAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
public:
|
||||
ListTagsRequest();
|
||||
~ListTagsRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPageNum()const;
|
||||
void setPageNum(long pageNum);
|
||||
std::vector<TagInfo> getTagInfo()const;
|
||||
void setTagInfo(const std::vector<TagInfo>& tagInfo);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
long pageSize_;
|
||||
long pageNum_;
|
||||
std::vector<TagInfo> tagInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTTAGSREQUEST_H_
|
||||
62
ots/include/alibabacloud/ots/model/ListTagsResult.h
Normal file
62
ots/include/alibabacloud/ots/model/ListTagsResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
ListTagsResult();
|
||||
explicit ListTagsResult(const std::string &payload);
|
||||
~ListTagsResult();
|
||||
std::vector<TagInfo> getTagInfos()const;
|
||||
long getTotalCount()const;
|
||||
long getPageNum()const;
|
||||
long getPageSize()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TagInfo> tagInfos_;
|
||||
long totalCount_;
|
||||
long pageNum_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTTAGSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListVpcInfoByInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListVpcInfoByInstanceRequest();
|
||||
~ListVpcInfoByInstanceRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPageNum()const;
|
||||
void setPageNum(long pageNum);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
long pageSize_;
|
||||
long pageNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListVpcInfoByInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VpcInfo
|
||||
{
|
||||
std::string regionNo;
|
||||
std::string instanceVpcName;
|
||||
std::string vpcId;
|
||||
std::string endpoint;
|
||||
std::string domain;
|
||||
};
|
||||
|
||||
|
||||
ListVpcInfoByInstanceResult();
|
||||
explicit ListVpcInfoByInstanceResult(const std::string &payload);
|
||||
~ListVpcInfoByInstanceResult();
|
||||
std::string getInstanceName()const;
|
||||
long getTotalCount()const;
|
||||
long getPageNum()const;
|
||||
long getPageSize()const;
|
||||
std::vector<VpcInfo> getVpcInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceName_;
|
||||
long totalCount_;
|
||||
long pageNum_;
|
||||
long pageSize_;
|
||||
std::vector<VpcInfo> vpcInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYINSTANCERESULT_H_
|
||||
68
ots/include/alibabacloud/ots/model/ListVpcInfoByVpcRequest.h
Normal file
68
ots/include/alibabacloud/ots/model/ListVpcInfoByVpcRequest.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYVPCREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYVPCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListVpcInfoByVpcRequest : public RpcServiceRequest
|
||||
{
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
public:
|
||||
ListVpcInfoByVpcRequest();
|
||||
~ListVpcInfoByVpcRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPageNum()const;
|
||||
void setPageNum(long pageNum);
|
||||
std::vector<TagInfo> getTagInfo()const;
|
||||
void setTagInfo(const std::vector<TagInfo>& tagInfo);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string vpcId_;
|
||||
long pageSize_;
|
||||
long pageNum_;
|
||||
std::vector<TagInfo> tagInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYVPCREQUEST_H_
|
||||
67
ots/include/alibabacloud/ots/model/ListVpcInfoByVpcResult.h
Normal file
67
ots/include/alibabacloud/ots/model/ListVpcInfoByVpcResult.h
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYVPCRESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYVPCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT ListVpcInfoByVpcResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VpcInfo
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string regionNo;
|
||||
std::string instanceVpcName;
|
||||
std::string endpoint;
|
||||
std::string domain;
|
||||
};
|
||||
|
||||
|
||||
ListVpcInfoByVpcResult();
|
||||
explicit ListVpcInfoByVpcResult(const std::string &payload);
|
||||
~ListVpcInfoByVpcResult();
|
||||
long getTotalCount()const;
|
||||
long getPageNum()const;
|
||||
long getPageSize()const;
|
||||
std::string getVpcId()const;
|
||||
std::vector<VpcInfo> getVpcInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageNum_;
|
||||
long pageSize_;
|
||||
std::string vpcId_;
|
||||
std::vector<VpcInfo> vpcInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_LISTVPCINFOBYVPCRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_UNBINDINSTANCE2VPCREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_UNBINDINSTANCE2VPCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT UnbindInstance2VpcRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindInstance2VpcRequest();
|
||||
~UnbindInstance2VpcRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
std::string getInstanceVpcName()const;
|
||||
void setInstanceVpcName(const std::string& instanceVpcName);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getRegionNo()const;
|
||||
void setRegionNo(const std::string& regionNo);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
std::string instanceVpcName_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
std::string regionNo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_UNBINDINSTANCE2VPCREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_UNBINDINSTANCE2VPCRESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_UNBINDINSTANCE2VPCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT UnbindInstance2VpcResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindInstance2VpcResult();
|
||||
explicit UnbindInstance2VpcResult(const std::string &payload);
|
||||
~UnbindInstance2VpcResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_UNBINDINSTANCE2VPCRESULT_H_
|
||||
57
ots/include/alibabacloud/ots/model/UpdateInstanceRequest.h
Normal file
57
ots/include/alibabacloud/ots/model/UpdateInstanceRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_UPDATEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_UPDATEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT UpdateInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateInstanceRequest();
|
||||
~UpdateInstanceRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getNetwork()const;
|
||||
void setNetwork(const std::string& network);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string instanceName_;
|
||||
std::string network_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_UPDATEINSTANCEREQUEST_H_
|
||||
49
ots/include/alibabacloud/ots/model/UpdateInstanceResult.h
Normal file
49
ots/include/alibabacloud/ots/model/UpdateInstanceResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OTS_MODEL_UPDATEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_OTS_MODEL_UPDATEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ots/OtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ots
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OTS_EXPORT UpdateInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateInstanceResult();
|
||||
explicit UpdateInstanceResult(const std::string &payload);
|
||||
~UpdateInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OTS_MODEL_UPDATEINSTANCERESULT_H_
|
||||
Reference in New Issue
Block a user