Add openapi CreateEaisEi.
This commit is contained in:
@@ -23,6 +23,8 @@ set(eais_public_header
|
||||
set(eais_public_header_model
|
||||
include/alibabacloud/eais/model/AttachEaiRequest.h
|
||||
include/alibabacloud/eais/model/AttachEaiResult.h
|
||||
include/alibabacloud/eais/model/AttachEaisEiRequest.h
|
||||
include/alibabacloud/eais/model/AttachEaisEiResult.h
|
||||
include/alibabacloud/eais/model/ChangeResourceGroupRequest.h
|
||||
include/alibabacloud/eais/model/ChangeResourceGroupResult.h
|
||||
include/alibabacloud/eais/model/CreateEaiRequest.h
|
||||
@@ -35,23 +37,35 @@ set(eais_public_header_model
|
||||
include/alibabacloud/eais/model/CreateEaiEcsResult.h
|
||||
include/alibabacloud/eais/model/CreateEaiJupyterRequest.h
|
||||
include/alibabacloud/eais/model/CreateEaiJupyterResult.h
|
||||
include/alibabacloud/eais/model/CreateEaisEiRequest.h
|
||||
include/alibabacloud/eais/model/CreateEaisEiResult.h
|
||||
include/alibabacloud/eais/model/DeleteEaiRequest.h
|
||||
include/alibabacloud/eais/model/DeleteEaiResult.h
|
||||
include/alibabacloud/eais/model/DeleteEaiAllRequest.h
|
||||
include/alibabacloud/eais/model/DeleteEaiAllResult.h
|
||||
include/alibabacloud/eais/model/DeleteEaisEiRequest.h
|
||||
include/alibabacloud/eais/model/DeleteEaisEiResult.h
|
||||
include/alibabacloud/eais/model/DescribeEaisRequest.h
|
||||
include/alibabacloud/eais/model/DescribeEaisResult.h
|
||||
include/alibabacloud/eais/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/eais/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/eais/model/DetachEaiRequest.h
|
||||
include/alibabacloud/eais/model/DetachEaiResult.h
|
||||
include/alibabacloud/eais/model/DetachEaisEiRequest.h
|
||||
include/alibabacloud/eais/model/DetachEaisEiResult.h
|
||||
include/alibabacloud/eais/model/GetInstanceMetricsRequest.h
|
||||
include/alibabacloud/eais/model/GetInstanceMetricsResult.h )
|
||||
include/alibabacloud/eais/model/GetInstanceMetricsResult.h
|
||||
include/alibabacloud/eais/model/StartEaisEiRequest.h
|
||||
include/alibabacloud/eais/model/StartEaisEiResult.h
|
||||
include/alibabacloud/eais/model/StopEaisEiRequest.h
|
||||
include/alibabacloud/eais/model/StopEaisEiResult.h )
|
||||
|
||||
set(eais_src
|
||||
src/EaisClient.cc
|
||||
src/model/AttachEaiRequest.cc
|
||||
src/model/AttachEaiResult.cc
|
||||
src/model/AttachEaisEiRequest.cc
|
||||
src/model/AttachEaisEiResult.cc
|
||||
src/model/ChangeResourceGroupRequest.cc
|
||||
src/model/ChangeResourceGroupResult.cc
|
||||
src/model/CreateEaiRequest.cc
|
||||
@@ -64,18 +78,28 @@ set(eais_src
|
||||
src/model/CreateEaiEcsResult.cc
|
||||
src/model/CreateEaiJupyterRequest.cc
|
||||
src/model/CreateEaiJupyterResult.cc
|
||||
src/model/CreateEaisEiRequest.cc
|
||||
src/model/CreateEaisEiResult.cc
|
||||
src/model/DeleteEaiRequest.cc
|
||||
src/model/DeleteEaiResult.cc
|
||||
src/model/DeleteEaiAllRequest.cc
|
||||
src/model/DeleteEaiAllResult.cc
|
||||
src/model/DeleteEaisEiRequest.cc
|
||||
src/model/DeleteEaisEiResult.cc
|
||||
src/model/DescribeEaisRequest.cc
|
||||
src/model/DescribeEaisResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DetachEaiRequest.cc
|
||||
src/model/DetachEaiResult.cc
|
||||
src/model/DetachEaisEiRequest.cc
|
||||
src/model/DetachEaisEiResult.cc
|
||||
src/model/GetInstanceMetricsRequest.cc
|
||||
src/model/GetInstanceMetricsResult.cc )
|
||||
src/model/GetInstanceMetricsResult.cc
|
||||
src/model/StartEaisEiRequest.cc
|
||||
src/model/StartEaisEiResult.cc
|
||||
src/model/StopEaisEiRequest.cc
|
||||
src/model/StopEaisEiResult.cc )
|
||||
|
||||
add_library(eais ${LIB_TYPE}
|
||||
${eais_public_header}
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "EaisExport.h"
|
||||
#include "model/AttachEaiRequest.h"
|
||||
#include "model/AttachEaiResult.h"
|
||||
#include "model/AttachEaisEiRequest.h"
|
||||
#include "model/AttachEaisEiResult.h"
|
||||
#include "model/ChangeResourceGroupRequest.h"
|
||||
#include "model/ChangeResourceGroupResult.h"
|
||||
#include "model/CreateEaiRequest.h"
|
||||
@@ -36,18 +38,28 @@
|
||||
#include "model/CreateEaiEcsResult.h"
|
||||
#include "model/CreateEaiJupyterRequest.h"
|
||||
#include "model/CreateEaiJupyterResult.h"
|
||||
#include "model/CreateEaisEiRequest.h"
|
||||
#include "model/CreateEaisEiResult.h"
|
||||
#include "model/DeleteEaiRequest.h"
|
||||
#include "model/DeleteEaiResult.h"
|
||||
#include "model/DeleteEaiAllRequest.h"
|
||||
#include "model/DeleteEaiAllResult.h"
|
||||
#include "model/DeleteEaisEiRequest.h"
|
||||
#include "model/DeleteEaisEiResult.h"
|
||||
#include "model/DescribeEaisRequest.h"
|
||||
#include "model/DescribeEaisResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DetachEaiRequest.h"
|
||||
#include "model/DetachEaiResult.h"
|
||||
#include "model/DetachEaisEiRequest.h"
|
||||
#include "model/DetachEaisEiResult.h"
|
||||
#include "model/GetInstanceMetricsRequest.h"
|
||||
#include "model/GetInstanceMetricsResult.h"
|
||||
#include "model/StartEaisEiRequest.h"
|
||||
#include "model/StartEaisEiResult.h"
|
||||
#include "model/StopEaisEiRequest.h"
|
||||
#include "model/StopEaisEiResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -60,6 +72,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AttachEaiResult> AttachEaiOutcome;
|
||||
typedef std::future<AttachEaiOutcome> AttachEaiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::AttachEaiRequest&, const AttachEaiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachEaiAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachEaisEiResult> AttachEaisEiOutcome;
|
||||
typedef std::future<AttachEaisEiOutcome> AttachEaisEiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::AttachEaisEiRequest&, const AttachEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachEaisEiAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeResourceGroupResult> ChangeResourceGroupOutcome;
|
||||
typedef std::future<ChangeResourceGroupOutcome> ChangeResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::ChangeResourceGroupRequest&, const ChangeResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceGroupAsyncHandler;
|
||||
@@ -78,12 +93,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateEaiJupyterResult> CreateEaiJupyterOutcome;
|
||||
typedef std::future<CreateEaiJupyterOutcome> CreateEaiJupyterOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::CreateEaiJupyterRequest&, const CreateEaiJupyterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEaiJupyterAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateEaisEiResult> CreateEaisEiOutcome;
|
||||
typedef std::future<CreateEaisEiOutcome> CreateEaisEiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::CreateEaisEiRequest&, const CreateEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEaisEiAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteEaiResult> DeleteEaiOutcome;
|
||||
typedef std::future<DeleteEaiOutcome> DeleteEaiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::DeleteEaiRequest&, const DeleteEaiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEaiAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteEaiAllResult> DeleteEaiAllOutcome;
|
||||
typedef std::future<DeleteEaiAllOutcome> DeleteEaiAllOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::DeleteEaiAllRequest&, const DeleteEaiAllOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEaiAllAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteEaisEiResult> DeleteEaisEiOutcome;
|
||||
typedef std::future<DeleteEaisEiOutcome> DeleteEaisEiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::DeleteEaisEiRequest&, const DeleteEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEaisEiAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEaisResult> DescribeEaisOutcome;
|
||||
typedef std::future<DescribeEaisOutcome> DescribeEaisOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::DescribeEaisRequest&, const DescribeEaisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEaisAsyncHandler;
|
||||
@@ -93,9 +114,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DetachEaiResult> DetachEaiOutcome;
|
||||
typedef std::future<DetachEaiOutcome> DetachEaiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::DetachEaiRequest&, const DetachEaiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachEaiAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachEaisEiResult> DetachEaisEiOutcome;
|
||||
typedef std::future<DetachEaisEiOutcome> DetachEaisEiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::DetachEaisEiRequest&, const DetachEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachEaisEiAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceMetricsResult> GetInstanceMetricsOutcome;
|
||||
typedef std::future<GetInstanceMetricsOutcome> GetInstanceMetricsOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::GetInstanceMetricsRequest&, const GetInstanceMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceMetricsAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartEaisEiResult> StartEaisEiOutcome;
|
||||
typedef std::future<StartEaisEiOutcome> StartEaisEiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::StartEaisEiRequest&, const StartEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartEaisEiAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopEaisEiResult> StopEaisEiOutcome;
|
||||
typedef std::future<StopEaisEiOutcome> StopEaisEiOutcomeCallable;
|
||||
typedef std::function<void(const EaisClient*, const Model::StopEaisEiRequest&, const StopEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopEaisEiAsyncHandler;
|
||||
|
||||
EaisClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
EaisClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -104,6 +134,9 @@ namespace AlibabaCloud
|
||||
AttachEaiOutcome attachEai(const Model::AttachEaiRequest &request)const;
|
||||
void attachEaiAsync(const Model::AttachEaiRequest& request, const AttachEaiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachEaiOutcomeCallable attachEaiCallable(const Model::AttachEaiRequest& request) const;
|
||||
AttachEaisEiOutcome attachEaisEi(const Model::AttachEaisEiRequest &request)const;
|
||||
void attachEaisEiAsync(const Model::AttachEaisEiRequest& request, const AttachEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachEaisEiOutcomeCallable attachEaisEiCallable(const Model::AttachEaisEiRequest& request) const;
|
||||
ChangeResourceGroupOutcome changeResourceGroup(const Model::ChangeResourceGroupRequest &request)const;
|
||||
void changeResourceGroupAsync(const Model::ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResourceGroupOutcomeCallable changeResourceGroupCallable(const Model::ChangeResourceGroupRequest& request) const;
|
||||
@@ -122,12 +155,18 @@ namespace AlibabaCloud
|
||||
CreateEaiJupyterOutcome createEaiJupyter(const Model::CreateEaiJupyterRequest &request)const;
|
||||
void createEaiJupyterAsync(const Model::CreateEaiJupyterRequest& request, const CreateEaiJupyterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateEaiJupyterOutcomeCallable createEaiJupyterCallable(const Model::CreateEaiJupyterRequest& request) const;
|
||||
CreateEaisEiOutcome createEaisEi(const Model::CreateEaisEiRequest &request)const;
|
||||
void createEaisEiAsync(const Model::CreateEaisEiRequest& request, const CreateEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateEaisEiOutcomeCallable createEaisEiCallable(const Model::CreateEaisEiRequest& request) const;
|
||||
DeleteEaiOutcome deleteEai(const Model::DeleteEaiRequest &request)const;
|
||||
void deleteEaiAsync(const Model::DeleteEaiRequest& request, const DeleteEaiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEaiOutcomeCallable deleteEaiCallable(const Model::DeleteEaiRequest& request) const;
|
||||
DeleteEaiAllOutcome deleteEaiAll(const Model::DeleteEaiAllRequest &request)const;
|
||||
void deleteEaiAllAsync(const Model::DeleteEaiAllRequest& request, const DeleteEaiAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEaiAllOutcomeCallable deleteEaiAllCallable(const Model::DeleteEaiAllRequest& request) const;
|
||||
DeleteEaisEiOutcome deleteEaisEi(const Model::DeleteEaisEiRequest &request)const;
|
||||
void deleteEaisEiAsync(const Model::DeleteEaisEiRequest& request, const DeleteEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEaisEiOutcomeCallable deleteEaisEiCallable(const Model::DeleteEaisEiRequest& request) const;
|
||||
DescribeEaisOutcome describeEais(const Model::DescribeEaisRequest &request)const;
|
||||
void describeEaisAsync(const Model::DescribeEaisRequest& request, const DescribeEaisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEaisOutcomeCallable describeEaisCallable(const Model::DescribeEaisRequest& request) const;
|
||||
@@ -137,9 +176,18 @@ namespace AlibabaCloud
|
||||
DetachEaiOutcome detachEai(const Model::DetachEaiRequest &request)const;
|
||||
void detachEaiAsync(const Model::DetachEaiRequest& request, const DetachEaiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachEaiOutcomeCallable detachEaiCallable(const Model::DetachEaiRequest& request) const;
|
||||
DetachEaisEiOutcome detachEaisEi(const Model::DetachEaisEiRequest &request)const;
|
||||
void detachEaisEiAsync(const Model::DetachEaisEiRequest& request, const DetachEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachEaisEiOutcomeCallable detachEaisEiCallable(const Model::DetachEaisEiRequest& request) const;
|
||||
GetInstanceMetricsOutcome getInstanceMetrics(const Model::GetInstanceMetricsRequest &request)const;
|
||||
void getInstanceMetricsAsync(const Model::GetInstanceMetricsRequest& request, const GetInstanceMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceMetricsOutcomeCallable getInstanceMetricsCallable(const Model::GetInstanceMetricsRequest& request) const;
|
||||
StartEaisEiOutcome startEaisEi(const Model::StartEaisEiRequest &request)const;
|
||||
void startEaisEiAsync(const Model::StartEaisEiRequest& request, const StartEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartEaisEiOutcomeCallable startEaisEiCallable(const Model::StartEaisEiRequest& request) const;
|
||||
StopEaisEiOutcome stopEaisEi(const Model::StopEaisEiRequest &request)const;
|
||||
void stopEaisEiAsync(const Model::StopEaisEiRequest& request, const StopEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopEaisEiOutcomeCallable stopEaisEiCallable(const Model::StopEaisEiRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
51
eais/include/alibabacloud/eais/model/AttachEaisEiRequest.h
Normal file
51
eais/include/alibabacloud/eais/model/AttachEaisEiRequest.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_EAIS_MODEL_ATTACHEAISEIREQUEST_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_ATTACHEAISEIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eais {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAIS_EXPORT AttachEaisEiRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AttachEaisEiRequest();
|
||||
~AttachEaisEiRequest();
|
||||
std::string getEiInstanceType() const;
|
||||
void setEiInstanceType(const std::string &eiInstanceType);
|
||||
std::string getClientInstanceId() const;
|
||||
void setClientInstanceId(const std::string &clientInstanceId);
|
||||
std::string getEiInstanceId() const;
|
||||
void setEiInstanceId(const std::string &eiInstanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string eiInstanceType_;
|
||||
std::string clientInstanceId_;
|
||||
std::string eiInstanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_ATTACHEAISEIREQUEST_H_
|
||||
53
eais/include/alibabacloud/eais/model/AttachEaisEiResult.h
Normal file
53
eais/include/alibabacloud/eais/model/AttachEaisEiResult.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_EAIS_MODEL_ATTACHEAISEIRESULT_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_ATTACHEAISEIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eais
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAIS_EXPORT AttachEaisEiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachEaisEiResult();
|
||||
explicit AttachEaisEiResult(const std::string &payload);
|
||||
~AttachEaisEiResult();
|
||||
std::string getEiInstanceId()const;
|
||||
std::string getClientInstanceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string eiInstanceId_;
|
||||
std::string clientInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_ATTACHEAISEIRESULT_H_
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<EnvironmentVar> getEnvironmentVar() const;
|
||||
void setEnvironmentVar(const std::vector<EnvironmentVar> &environmentVar);
|
||||
std::string getEaisName() const;
|
||||
void setEaisName(const std::string &eaisName);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<EnvironmentVar> environmentVar_;
|
||||
std::string eaisName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_EAIS_EXPORT CreateEaiRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEaiRequest();
|
||||
~CreateEaiRequest();
|
||||
std::string getImage() const;
|
||||
void setImage(const std::string &image);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getSecurityGroupId() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
|
||||
private:
|
||||
std::string image_;
|
||||
std::string clientToken_;
|
||||
std::string securityGroupId_;
|
||||
std::string vSwitchId_;
|
||||
|
||||
60
eais/include/alibabacloud/eais/model/CreateEaisEiRequest.h
Normal file
60
eais/include/alibabacloud/eais/model/CreateEaisEiRequest.h
Normal file
@@ -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_EAIS_MODEL_CREATEEAISEIREQUEST_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_CREATEEAISEIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eais {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAIS_EXPORT CreateEaisEiRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEaisEiRequest();
|
||||
~CreateEaisEiRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getSecurityGroupId() const;
|
||||
void setSecurityGroupId(const std::string &securityGroupId);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string securityGroupId_;
|
||||
std::string vSwitchId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string instanceName_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_CREATEEAISEIREQUEST_H_
|
||||
51
eais/include/alibabacloud/eais/model/CreateEaisEiResult.h
Normal file
51
eais/include/alibabacloud/eais/model/CreateEaisEiResult.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_EAIS_MODEL_CREATEEAISEIRESULT_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_CREATEEAISEIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eais
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAIS_EXPORT CreateEaisEiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateEaisEiResult();
|
||||
explicit CreateEaisEiResult(const std::string &payload);
|
||||
~CreateEaisEiResult();
|
||||
std::string getEiInstanceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string eiInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_CREATEEAISEIRESULT_H_
|
||||
48
eais/include/alibabacloud/eais/model/DeleteEaisEiRequest.h
Normal file
48
eais/include/alibabacloud/eais/model/DeleteEaisEiRequest.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_EAIS_MODEL_DELETEEAISEIREQUEST_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_DELETEEAISEIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eais {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAIS_EXPORT DeleteEaisEiRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteEaisEiRequest();
|
||||
~DeleteEaisEiRequest();
|
||||
std::string getEiInstanceId() const;
|
||||
void setEiInstanceId(const std::string &eiInstanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getForce() const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string eiInstanceId_;
|
||||
std::string regionId_;
|
||||
bool force_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_DELETEEAISEIREQUEST_H_
|
||||
49
eais/include/alibabacloud/eais/model/DeleteEaisEiResult.h
Normal file
49
eais/include/alibabacloud/eais/model/DeleteEaisEiResult.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_EAIS_MODEL_DELETEEAISEIRESULT_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_DELETEEAISEIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eais
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAIS_EXPORT DeleteEaisEiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteEaisEiResult();
|
||||
explicit DeleteEaisEiResult(const std::string &payload);
|
||||
~DeleteEaisEiResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_DELETEEAISEIRESULT_H_
|
||||
45
eais/include/alibabacloud/eais/model/DetachEaisEiRequest.h
Normal file
45
eais/include/alibabacloud/eais/model/DetachEaisEiRequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_EAIS_MODEL_DETACHEAISEIREQUEST_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_DETACHEAISEIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eais {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAIS_EXPORT DetachEaisEiRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DetachEaisEiRequest();
|
||||
~DetachEaisEiRequest();
|
||||
std::string getEiInstanceId() const;
|
||||
void setEiInstanceId(const std::string &eiInstanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string eiInstanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_DETACHEAISEIREQUEST_H_
|
||||
49
eais/include/alibabacloud/eais/model/DetachEaisEiResult.h
Normal file
49
eais/include/alibabacloud/eais/model/DetachEaisEiResult.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_EAIS_MODEL_DETACHEAISEIRESULT_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_DETACHEAISEIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eais
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAIS_EXPORT DetachEaisEiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachEaisEiResult();
|
||||
explicit DetachEaisEiResult(const std::string &payload);
|
||||
~DetachEaisEiResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_DETACHEAISEIRESULT_H_
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string metricType_;
|
||||
@@ -47,6 +49,7 @@ private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
|
||||
45
eais/include/alibabacloud/eais/model/StartEaisEiRequest.h
Normal file
45
eais/include/alibabacloud/eais/model/StartEaisEiRequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_EAIS_MODEL_STARTEAISEIREQUEST_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_STARTEAISEIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eais {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAIS_EXPORT StartEaisEiRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartEaisEiRequest();
|
||||
~StartEaisEiRequest();
|
||||
std::string getEiInstanceId() const;
|
||||
void setEiInstanceId(const std::string &eiInstanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string eiInstanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_STARTEAISEIREQUEST_H_
|
||||
49
eais/include/alibabacloud/eais/model/StartEaisEiResult.h
Normal file
49
eais/include/alibabacloud/eais/model/StartEaisEiResult.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_EAIS_MODEL_STARTEAISEIRESULT_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_STARTEAISEIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eais
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAIS_EXPORT StartEaisEiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartEaisEiResult();
|
||||
explicit StartEaisEiResult(const std::string &payload);
|
||||
~StartEaisEiResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_STARTEAISEIRESULT_H_
|
||||
45
eais/include/alibabacloud/eais/model/StopEaisEiRequest.h
Normal file
45
eais/include/alibabacloud/eais/model/StopEaisEiRequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_EAIS_MODEL_STOPEAISEIREQUEST_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_STOPEAISEIREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eais {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAIS_EXPORT StopEaisEiRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StopEaisEiRequest();
|
||||
~StopEaisEiRequest();
|
||||
std::string getEiInstanceId() const;
|
||||
void setEiInstanceId(const std::string &eiInstanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string eiInstanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eais
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_STOPEAISEIREQUEST_H_
|
||||
49
eais/include/alibabacloud/eais/model/StopEaisEiResult.h
Normal file
49
eais/include/alibabacloud/eais/model/StopEaisEiResult.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_EAIS_MODEL_STOPEAISEIRESULT_H_
|
||||
#define ALIBABACLOUD_EAIS_MODEL_STOPEAISEIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eais/EaisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eais
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAIS_EXPORT StopEaisEiResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopEaisEiResult();
|
||||
explicit StopEaisEiResult(const std::string &payload);
|
||||
~StopEaisEiResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAIS_MODEL_STOPEAISEIRESULT_H_
|
||||
@@ -87,6 +87,42 @@ EaisClient::AttachEaiOutcomeCallable EaisClient::attachEaiCallable(const AttachE
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::AttachEaisEiOutcome EaisClient::attachEaisEi(const AttachEaisEiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AttachEaisEiOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AttachEaisEiOutcome(AttachEaisEiResult(outcome.result()));
|
||||
else
|
||||
return AttachEaisEiOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EaisClient::attachEaisEiAsync(const AttachEaisEiRequest& request, const AttachEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, attachEaisEi(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EaisClient::AttachEaisEiOutcomeCallable EaisClient::attachEaisEiCallable(const AttachEaisEiRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AttachEaisEiOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->attachEaisEi(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::ChangeResourceGroupOutcome EaisClient::changeResourceGroup(const ChangeResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +339,42 @@ EaisClient::CreateEaiJupyterOutcomeCallable EaisClient::createEaiJupyterCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::CreateEaisEiOutcome EaisClient::createEaisEi(const CreateEaisEiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateEaisEiOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateEaisEiOutcome(CreateEaisEiResult(outcome.result()));
|
||||
else
|
||||
return CreateEaisEiOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EaisClient::createEaisEiAsync(const CreateEaisEiRequest& request, const CreateEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createEaisEi(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EaisClient::CreateEaisEiOutcomeCallable EaisClient::createEaisEiCallable(const CreateEaisEiRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateEaisEiOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createEaisEi(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::DeleteEaiOutcome EaisClient::deleteEai(const DeleteEaiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +447,42 @@ EaisClient::DeleteEaiAllOutcomeCallable EaisClient::deleteEaiAllCallable(const D
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::DeleteEaisEiOutcome EaisClient::deleteEaisEi(const DeleteEaisEiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteEaisEiOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteEaisEiOutcome(DeleteEaisEiResult(outcome.result()));
|
||||
else
|
||||
return DeleteEaisEiOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EaisClient::deleteEaisEiAsync(const DeleteEaisEiRequest& request, const DeleteEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteEaisEi(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EaisClient::DeleteEaisEiOutcomeCallable EaisClient::deleteEaisEiCallable(const DeleteEaisEiRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteEaisEiOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteEaisEi(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::DescribeEaisOutcome EaisClient::describeEais(const DescribeEaisRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +591,42 @@ EaisClient::DetachEaiOutcomeCallable EaisClient::detachEaiCallable(const DetachE
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::DetachEaisEiOutcome EaisClient::detachEaisEi(const DetachEaisEiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DetachEaisEiOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DetachEaisEiOutcome(DetachEaisEiResult(outcome.result()));
|
||||
else
|
||||
return DetachEaisEiOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EaisClient::detachEaisEiAsync(const DetachEaisEiRequest& request, const DetachEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, detachEaisEi(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EaisClient::DetachEaisEiOutcomeCallable EaisClient::detachEaisEiCallable(const DetachEaisEiRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DetachEaisEiOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->detachEaisEi(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::GetInstanceMetricsOutcome EaisClient::getInstanceMetrics(const GetInstanceMetricsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,3 +663,75 @@ EaisClient::GetInstanceMetricsOutcomeCallable EaisClient::getInstanceMetricsCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::StartEaisEiOutcome EaisClient::startEaisEi(const StartEaisEiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartEaisEiOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartEaisEiOutcome(StartEaisEiResult(outcome.result()));
|
||||
else
|
||||
return StartEaisEiOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EaisClient::startEaisEiAsync(const StartEaisEiRequest& request, const StartEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startEaisEi(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EaisClient::StartEaisEiOutcomeCallable EaisClient::startEaisEiCallable(const StartEaisEiRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartEaisEiOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startEaisEi(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EaisClient::StopEaisEiOutcome EaisClient::stopEaisEi(const StopEaisEiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopEaisEiOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopEaisEiOutcome(StopEaisEiResult(outcome.result()));
|
||||
else
|
||||
return StopEaisEiOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EaisClient::stopEaisEiAsync(const StopEaisEiRequest& request, const StopEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopEaisEi(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EaisClient::StopEaisEiOutcomeCallable EaisClient::stopEaisEiCallable(const StopEaisEiRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopEaisEiOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopEaisEi(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
63
eais/src/model/AttachEaisEiRequest.cc
Normal file
63
eais/src/model/AttachEaisEiRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/AttachEaisEiRequest.h>
|
||||
|
||||
using AlibabaCloud::Eais::Model::AttachEaisEiRequest;
|
||||
|
||||
AttachEaisEiRequest::AttachEaisEiRequest()
|
||||
: RpcServiceRequest("eais", "2019-06-24", "AttachEaisEi") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AttachEaisEiRequest::~AttachEaisEiRequest() {}
|
||||
|
||||
std::string AttachEaisEiRequest::getEiInstanceType() const {
|
||||
return eiInstanceType_;
|
||||
}
|
||||
|
||||
void AttachEaisEiRequest::setEiInstanceType(const std::string &eiInstanceType) {
|
||||
eiInstanceType_ = eiInstanceType;
|
||||
setParameter(std::string("EiInstanceType"), eiInstanceType);
|
||||
}
|
||||
|
||||
std::string AttachEaisEiRequest::getClientInstanceId() const {
|
||||
return clientInstanceId_;
|
||||
}
|
||||
|
||||
void AttachEaisEiRequest::setClientInstanceId(const std::string &clientInstanceId) {
|
||||
clientInstanceId_ = clientInstanceId;
|
||||
setParameter(std::string("ClientInstanceId"), clientInstanceId);
|
||||
}
|
||||
|
||||
std::string AttachEaisEiRequest::getEiInstanceId() const {
|
||||
return eiInstanceId_;
|
||||
}
|
||||
|
||||
void AttachEaisEiRequest::setEiInstanceId(const std::string &eiInstanceId) {
|
||||
eiInstanceId_ = eiInstanceId;
|
||||
setParameter(std::string("EiInstanceId"), eiInstanceId);
|
||||
}
|
||||
|
||||
std::string AttachEaisEiRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AttachEaisEiRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
58
eais/src/model/AttachEaisEiResult.cc
Normal file
58
eais/src/model/AttachEaisEiResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/AttachEaisEiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eais;
|
||||
using namespace AlibabaCloud::Eais::Model;
|
||||
|
||||
AttachEaisEiResult::AttachEaisEiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AttachEaisEiResult::AttachEaisEiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AttachEaisEiResult::~AttachEaisEiResult()
|
||||
{}
|
||||
|
||||
void AttachEaisEiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["EiInstanceId"].isNull())
|
||||
eiInstanceId_ = value["EiInstanceId"].asString();
|
||||
if(!value["ClientInstanceId"].isNull())
|
||||
clientInstanceId_ = value["ClientInstanceId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AttachEaisEiResult::getEiInstanceId()const
|
||||
{
|
||||
return eiInstanceId_;
|
||||
}
|
||||
|
||||
std::string AttachEaisEiResult::getClientInstanceId()const
|
||||
{
|
||||
return clientInstanceId_;
|
||||
}
|
||||
|
||||
@@ -91,3 +91,12 @@ void CreateEaiJupyterRequest::setEnvironmentVar(const std::vector<CreateEaiJupyt
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateEaiJupyterRequest::getEaisName() const {
|
||||
return eaisName_;
|
||||
}
|
||||
|
||||
void CreateEaiJupyterRequest::setEaisName(const std::string &eaisName) {
|
||||
eaisName_ = eaisName;
|
||||
setParameter(std::string("EaisName"), eaisName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ CreateEaiRequest::CreateEaiRequest()
|
||||
|
||||
CreateEaiRequest::~CreateEaiRequest() {}
|
||||
|
||||
std::string CreateEaiRequest::getImage() const {
|
||||
return image_;
|
||||
}
|
||||
|
||||
void CreateEaiRequest::setImage(const std::string &image) {
|
||||
image_ = image;
|
||||
setParameter(std::string("Image"), image);
|
||||
}
|
||||
|
||||
std::string CreateEaiRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
90
eais/src/model/CreateEaisEiRequest.cc
Normal file
90
eais/src/model/CreateEaisEiRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/CreateEaisEiRequest.h>
|
||||
|
||||
using AlibabaCloud::Eais::Model::CreateEaisEiRequest;
|
||||
|
||||
CreateEaisEiRequest::CreateEaisEiRequest()
|
||||
: RpcServiceRequest("eais", "2019-06-24", "CreateEaisEi") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateEaisEiRequest::~CreateEaisEiRequest() {}
|
||||
|
||||
std::string CreateEaisEiRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateEaisEiRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateEaisEiRequest::getSecurityGroupId() const {
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void CreateEaisEiRequest::setSecurityGroupId(const std::string &securityGroupId) {
|
||||
securityGroupId_ = securityGroupId;
|
||||
setParameter(std::string("SecurityGroupId"), securityGroupId);
|
||||
}
|
||||
|
||||
std::string CreateEaisEiRequest::getVSwitchId() const {
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateEaisEiRequest::setVSwitchId(const std::string &vSwitchId) {
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter(std::string("VSwitchId"), vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateEaisEiRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateEaisEiRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateEaisEiRequest::getInstanceName() const {
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void CreateEaisEiRequest::setInstanceName(const std::string &instanceName) {
|
||||
instanceName_ = instanceName;
|
||||
setParameter(std::string("InstanceName"), instanceName);
|
||||
}
|
||||
|
||||
std::string CreateEaisEiRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateEaisEiRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string CreateEaisEiRequest::getInstanceType() const {
|
||||
return instanceType_;
|
||||
}
|
||||
|
||||
void CreateEaisEiRequest::setInstanceType(const std::string &instanceType) {
|
||||
instanceType_ = instanceType;
|
||||
setParameter(std::string("InstanceType"), instanceType);
|
||||
}
|
||||
|
||||
51
eais/src/model/CreateEaisEiResult.cc
Normal file
51
eais/src/model/CreateEaisEiResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/CreateEaisEiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eais;
|
||||
using namespace AlibabaCloud::Eais::Model;
|
||||
|
||||
CreateEaisEiResult::CreateEaisEiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateEaisEiResult::CreateEaisEiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateEaisEiResult::~CreateEaisEiResult()
|
||||
{}
|
||||
|
||||
void CreateEaisEiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["EiInstanceId"].isNull())
|
||||
eiInstanceId_ = value["EiInstanceId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateEaisEiResult::getEiInstanceId()const
|
||||
{
|
||||
return eiInstanceId_;
|
||||
}
|
||||
|
||||
54
eais/src/model/DeleteEaisEiRequest.cc
Normal file
54
eais/src/model/DeleteEaisEiRequest.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/DeleteEaisEiRequest.h>
|
||||
|
||||
using AlibabaCloud::Eais::Model::DeleteEaisEiRequest;
|
||||
|
||||
DeleteEaisEiRequest::DeleteEaisEiRequest()
|
||||
: RpcServiceRequest("eais", "2019-06-24", "DeleteEaisEi") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteEaisEiRequest::~DeleteEaisEiRequest() {}
|
||||
|
||||
std::string DeleteEaisEiRequest::getEiInstanceId() const {
|
||||
return eiInstanceId_;
|
||||
}
|
||||
|
||||
void DeleteEaisEiRequest::setEiInstanceId(const std::string &eiInstanceId) {
|
||||
eiInstanceId_ = eiInstanceId;
|
||||
setParameter(std::string("EiInstanceId"), eiInstanceId);
|
||||
}
|
||||
|
||||
std::string DeleteEaisEiRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteEaisEiRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
bool DeleteEaisEiRequest::getForce() const {
|
||||
return force_;
|
||||
}
|
||||
|
||||
void DeleteEaisEiRequest::setForce(bool force) {
|
||||
force_ = force;
|
||||
setParameter(std::string("Force"), force ? "true" : "false");
|
||||
}
|
||||
|
||||
44
eais/src/model/DeleteEaisEiResult.cc
Normal file
44
eais/src/model/DeleteEaisEiResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/DeleteEaisEiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eais;
|
||||
using namespace AlibabaCloud::Eais::Model;
|
||||
|
||||
DeleteEaisEiResult::DeleteEaisEiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteEaisEiResult::DeleteEaisEiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteEaisEiResult::~DeleteEaisEiResult()
|
||||
{}
|
||||
|
||||
void DeleteEaisEiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
eais/src/model/DetachEaisEiRequest.cc
Normal file
45
eais/src/model/DetachEaisEiRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/DetachEaisEiRequest.h>
|
||||
|
||||
using AlibabaCloud::Eais::Model::DetachEaisEiRequest;
|
||||
|
||||
DetachEaisEiRequest::DetachEaisEiRequest()
|
||||
: RpcServiceRequest("eais", "2019-06-24", "DetachEaisEi") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetachEaisEiRequest::~DetachEaisEiRequest() {}
|
||||
|
||||
std::string DetachEaisEiRequest::getEiInstanceId() const {
|
||||
return eiInstanceId_;
|
||||
}
|
||||
|
||||
void DetachEaisEiRequest::setEiInstanceId(const std::string &eiInstanceId) {
|
||||
eiInstanceId_ = eiInstanceId;
|
||||
setParameter(std::string("EiInstanceId"), eiInstanceId);
|
||||
}
|
||||
|
||||
std::string DetachEaisEiRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DetachEaisEiRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
44
eais/src/model/DetachEaisEiResult.cc
Normal file
44
eais/src/model/DetachEaisEiResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/DetachEaisEiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eais;
|
||||
using namespace AlibabaCloud::Eais::Model;
|
||||
|
||||
DetachEaisEiResult::DetachEaisEiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DetachEaisEiResult::DetachEaisEiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DetachEaisEiResult::~DetachEaisEiResult()
|
||||
{}
|
||||
|
||||
void DetachEaisEiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -70,3 +70,12 @@ void GetInstanceMetricsRequest::setInstanceId(const std::string &instanceId) {
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string GetInstanceMetricsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetInstanceMetricsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
45
eais/src/model/StartEaisEiRequest.cc
Normal file
45
eais/src/model/StartEaisEiRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/StartEaisEiRequest.h>
|
||||
|
||||
using AlibabaCloud::Eais::Model::StartEaisEiRequest;
|
||||
|
||||
StartEaisEiRequest::StartEaisEiRequest()
|
||||
: RpcServiceRequest("eais", "2019-06-24", "StartEaisEi") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartEaisEiRequest::~StartEaisEiRequest() {}
|
||||
|
||||
std::string StartEaisEiRequest::getEiInstanceId() const {
|
||||
return eiInstanceId_;
|
||||
}
|
||||
|
||||
void StartEaisEiRequest::setEiInstanceId(const std::string &eiInstanceId) {
|
||||
eiInstanceId_ = eiInstanceId;
|
||||
setParameter(std::string("EiInstanceId"), eiInstanceId);
|
||||
}
|
||||
|
||||
std::string StartEaisEiRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void StartEaisEiRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
44
eais/src/model/StartEaisEiResult.cc
Normal file
44
eais/src/model/StartEaisEiResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/StartEaisEiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eais;
|
||||
using namespace AlibabaCloud::Eais::Model;
|
||||
|
||||
StartEaisEiResult::StartEaisEiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartEaisEiResult::StartEaisEiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartEaisEiResult::~StartEaisEiResult()
|
||||
{}
|
||||
|
||||
void StartEaisEiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
eais/src/model/StopEaisEiRequest.cc
Normal file
45
eais/src/model/StopEaisEiRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/StopEaisEiRequest.h>
|
||||
|
||||
using AlibabaCloud::Eais::Model::StopEaisEiRequest;
|
||||
|
||||
StopEaisEiRequest::StopEaisEiRequest()
|
||||
: RpcServiceRequest("eais", "2019-06-24", "StopEaisEi") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StopEaisEiRequest::~StopEaisEiRequest() {}
|
||||
|
||||
std::string StopEaisEiRequest::getEiInstanceId() const {
|
||||
return eiInstanceId_;
|
||||
}
|
||||
|
||||
void StopEaisEiRequest::setEiInstanceId(const std::string &eiInstanceId) {
|
||||
eiInstanceId_ = eiInstanceId;
|
||||
setParameter(std::string("EiInstanceId"), eiInstanceId);
|
||||
}
|
||||
|
||||
std::string StopEaisEiRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void StopEaisEiRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
44
eais/src/model/StopEaisEiResult.cc
Normal file
44
eais/src/model/StopEaisEiResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eais/model/StopEaisEiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eais;
|
||||
using namespace AlibabaCloud::Eais::Model;
|
||||
|
||||
StopEaisEiResult::StopEaisEiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StopEaisEiResult::StopEaisEiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StopEaisEiResult::~StopEaisEiResult()
|
||||
{}
|
||||
|
||||
void StopEaisEiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user