Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec33c109fe | ||
|
|
773cabb9d7 | ||
|
|
5de44fa4bd | ||
|
|
eaa895f02e | ||
|
|
be58d3d198 | ||
|
|
f8ce42a726 | ||
|
|
68261f0c8d | ||
|
|
45a3be8c65 | ||
|
|
66519a1f90 | ||
|
|
ef02e7707e | ||
|
|
82ce70d07f | ||
|
|
2c8cadba25 | ||
|
|
f90c2115c9 |
41
CHANGELOG
41
CHANGELOG
@@ -1,3 +1,44 @@
|
||||
2020-03-09 Version: 1.36.307
|
||||
- NlpAutoml update contract api.
|
||||
|
||||
2020-03-09 Version: 1.36.306
|
||||
- NlpAutoml update contract api.
|
||||
|
||||
2020-03-06 Version: 1.36.305
|
||||
- Supported Saf for cn.
|
||||
|
||||
2020-03-06 Version: 1.36.304
|
||||
- Supported Saf for cn.
|
||||
|
||||
2020-03-06 Version: 1.36.303
|
||||
- Supported Saf for oversea.
|
||||
|
||||
2020-03-06 Version: 1.36.302
|
||||
- Add request parameter groupType for OnsGroupCreate.
|
||||
- Add request parameter groupType for OnsGroupList.
|
||||
|
||||
2020-03-05 Version: 1.36.301
|
||||
- Add param InstanceType for ListImages and ListCustomImages.
|
||||
- Fix error codes for SubmitJobs and so on.
|
||||
|
||||
2020-03-04 Version: 1.36.300
|
||||
- Update.
|
||||
|
||||
2020-03-03 Version: 1.36.299
|
||||
- Supported secretmanager stable version for kms.
|
||||
|
||||
2020-03-03 Version: 1.36.298
|
||||
- Supported secretmanager stable version for kms.
|
||||
|
||||
2020-03-03 Version: 1.36.297
|
||||
- GeoIP Databases SDK initial release.
|
||||
|
||||
2020-03-03 Version: 1.36.296
|
||||
- Supported secretmanager for kms.
|
||||
|
||||
2020-02-28 Version: 1.36.295
|
||||
- Add QueryPhoneNoAByTrackNo and AddAxnTrackNo.
|
||||
|
||||
2020-02-28 Version: 1.36.294
|
||||
- Supported secretmanager for kms.
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ set(dyplsapi_public_header
|
||||
include/alibabacloud/dyplsapi/DyplsapiExport.h )
|
||||
|
||||
set(dyplsapi_public_header_model
|
||||
include/alibabacloud/dyplsapi/model/AddAxnTrackNoRequest.h
|
||||
include/alibabacloud/dyplsapi/model/AddAxnTrackNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxbRequest.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxbResult.h
|
||||
include/alibabacloud/dyplsapi/model/BindAxgRequest.h
|
||||
@@ -39,6 +41,8 @@ set(dyplsapi_public_header_model
|
||||
include/alibabacloud/dyplsapi/model/OperateBlackNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h
|
||||
include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h
|
||||
include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h
|
||||
include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoResult.h
|
||||
include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h
|
||||
include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlResult.h
|
||||
include/alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h
|
||||
@@ -56,6 +60,8 @@ set(dyplsapi_public_header_model
|
||||
|
||||
set(dyplsapi_src
|
||||
src/DyplsapiClient.cc
|
||||
src/model/AddAxnTrackNoRequest.cc
|
||||
src/model/AddAxnTrackNoResult.cc
|
||||
src/model/BindAxbRequest.cc
|
||||
src/model/BindAxbResult.cc
|
||||
src/model/BindAxgRequest.cc
|
||||
@@ -74,6 +80,8 @@ set(dyplsapi_src
|
||||
src/model/OperateBlackNoResult.cc
|
||||
src/model/QueryCallStatusRequest.cc
|
||||
src/model/QueryCallStatusResult.cc
|
||||
src/model/QueryPhoneNoAByTrackNoRequest.cc
|
||||
src/model/QueryPhoneNoAByTrackNoResult.cc
|
||||
src/model/QueryRecordFileDownloadUrlRequest.cc
|
||||
src/model/QueryRecordFileDownloadUrlResult.cc
|
||||
src/model/QuerySecretNoRemainRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DyplsapiExport.h"
|
||||
#include "model/AddAxnTrackNoRequest.h"
|
||||
#include "model/AddAxnTrackNoResult.h"
|
||||
#include "model/BindAxbRequest.h"
|
||||
#include "model/BindAxbResult.h"
|
||||
#include "model/BindAxgRequest.h"
|
||||
@@ -40,6 +42,8 @@
|
||||
#include "model/OperateBlackNoResult.h"
|
||||
#include "model/QueryCallStatusRequest.h"
|
||||
#include "model/QueryCallStatusResult.h"
|
||||
#include "model/QueryPhoneNoAByTrackNoRequest.h"
|
||||
#include "model/QueryPhoneNoAByTrackNoResult.h"
|
||||
#include "model/QueryRecordFileDownloadUrlRequest.h"
|
||||
#include "model/QueryRecordFileDownloadUrlResult.h"
|
||||
#include "model/QuerySecretNoRemainRequest.h"
|
||||
@@ -63,6 +67,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DYPLSAPI_EXPORT DyplsapiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddAxnTrackNoResult> AddAxnTrackNoOutcome;
|
||||
typedef std::future<AddAxnTrackNoOutcome> AddAxnTrackNoOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::AddAxnTrackNoRequest&, const AddAxnTrackNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddAxnTrackNoAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindAxbResult> BindAxbOutcome;
|
||||
typedef std::future<BindAxbOutcome> BindAxbOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::BindAxbRequest&, const BindAxbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindAxbAsyncHandler;
|
||||
@@ -90,6 +97,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryCallStatusResult> QueryCallStatusOutcome;
|
||||
typedef std::future<QueryCallStatusOutcome> QueryCallStatusOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::QueryCallStatusRequest&, const QueryCallStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPhoneNoAByTrackNoResult> QueryPhoneNoAByTrackNoOutcome;
|
||||
typedef std::future<QueryPhoneNoAByTrackNoOutcome> QueryPhoneNoAByTrackNoOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::QueryPhoneNoAByTrackNoRequest&, const QueryPhoneNoAByTrackNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPhoneNoAByTrackNoAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRecordFileDownloadUrlResult> QueryRecordFileDownloadUrlOutcome;
|
||||
typedef std::future<QueryRecordFileDownloadUrlOutcome> QueryRecordFileDownloadUrlOutcomeCallable;
|
||||
typedef std::function<void(const DyplsapiClient*, const Model::QueryRecordFileDownloadUrlRequest&, const QueryRecordFileDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRecordFileDownloadUrlAsyncHandler;
|
||||
@@ -116,6 +126,9 @@ namespace AlibabaCloud
|
||||
DyplsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DyplsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DyplsapiClient();
|
||||
AddAxnTrackNoOutcome addAxnTrackNo(const Model::AddAxnTrackNoRequest &request)const;
|
||||
void addAxnTrackNoAsync(const Model::AddAxnTrackNoRequest& request, const AddAxnTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddAxnTrackNoOutcomeCallable addAxnTrackNoCallable(const Model::AddAxnTrackNoRequest& request) const;
|
||||
BindAxbOutcome bindAxb(const Model::BindAxbRequest &request)const;
|
||||
void bindAxbAsync(const Model::BindAxbRequest& request, const BindAxbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindAxbOutcomeCallable bindAxbCallable(const Model::BindAxbRequest& request) const;
|
||||
@@ -143,6 +156,9 @@ namespace AlibabaCloud
|
||||
QueryCallStatusOutcome queryCallStatus(const Model::QueryCallStatusRequest &request)const;
|
||||
void queryCallStatusAsync(const Model::QueryCallStatusRequest& request, const QueryCallStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCallStatusOutcomeCallable queryCallStatusCallable(const Model::QueryCallStatusRequest& request) const;
|
||||
QueryPhoneNoAByTrackNoOutcome queryPhoneNoAByTrackNo(const Model::QueryPhoneNoAByTrackNoRequest &request)const;
|
||||
void queryPhoneNoAByTrackNoAsync(const Model::QueryPhoneNoAByTrackNoRequest& request, const QueryPhoneNoAByTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPhoneNoAByTrackNoOutcomeCallable queryPhoneNoAByTrackNoCallable(const Model::QueryPhoneNoAByTrackNoRequest& request) const;
|
||||
QueryRecordFileDownloadUrlOutcome queryRecordFileDownloadUrl(const Model::QueryRecordFileDownloadUrlRequest &request)const;
|
||||
void queryRecordFileDownloadUrlAsync(const Model::QueryRecordFileDownloadUrlRequest& request, const QueryRecordFileDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRecordFileDownloadUrlOutcomeCallable queryRecordFileDownloadUrlCallable(const Model::QueryRecordFileDownloadUrlRequest& request) const;
|
||||
|
||||
@@ -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_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyplsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYPLSAPI_EXPORT AddAxnTrackNoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddAxnTrackNoRequest();
|
||||
~AddAxnTrackNoRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSubsId()const;
|
||||
void setSubsId(const std::string& subsId);
|
||||
std::string getPhoneNoX()const;
|
||||
void setPhoneNoX(const std::string& phoneNoX);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTrackNo()const;
|
||||
void setTrackNo(const std::string& trackNo);
|
||||
std::string getPoolKey()const;
|
||||
void setPoolKey(const std::string& poolKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string subsId_;
|
||||
std::string phoneNoX_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string trackNo_;
|
||||
std::string poolKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_
|
||||
@@ -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_DYPLSAPI_MODEL_ADDAXNTRACKNORESULT_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyplsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYPLSAPI_EXPORT AddAxnTrackNoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddAxnTrackNoResult();
|
||||
explicit AddAxnTrackNoResult(const std::string &payload);
|
||||
~AddAxnTrackNoResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNORESULT_H_
|
||||
@@ -65,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setIsRecordingEnabled(bool isRecordingEnabled);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getCallRestrict()const;
|
||||
void setCallRestrict(const std::string& callRestrict);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -82,6 +84,7 @@ namespace AlibabaCloud
|
||||
std::string expiration_;
|
||||
bool isRecordingEnabled_;
|
||||
std::string outId_;
|
||||
std::string callRestrict_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyplsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYPLSAPI_EXPORT QueryPhoneNoAByTrackNoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPhoneNoAByTrackNoRequest();
|
||||
~QueryPhoneNoAByTrackNoRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTrackNo()const;
|
||||
void setTrackNo(const std::string& trackNo);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPhoneNoX()const;
|
||||
void setPhoneNoX(const std::string& phoneNoX);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string trackNo_;
|
||||
std::string accessKeyId_;
|
||||
std::string phoneNoX_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_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_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNORESULT_H_
|
||||
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dyplsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYPLSAPI_EXPORT QueryPhoneNoAByTrackNoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNoAInfo
|
||||
{
|
||||
std::string phoneNoX;
|
||||
std::string phoneNoA;
|
||||
};
|
||||
|
||||
|
||||
QueryPhoneNoAByTrackNoResult();
|
||||
explicit QueryPhoneNoAByTrackNoResult(const std::string &payload);
|
||||
~QueryPhoneNoAByTrackNoResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<PhoneNoAInfo> getModule()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<PhoneNoAInfo> module_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNORESULT_H_
|
||||
@@ -51,6 +51,42 @@ DyplsapiClient::DyplsapiClient(const std::string & accessKeyId, const std::strin
|
||||
DyplsapiClient::~DyplsapiClient()
|
||||
{}
|
||||
|
||||
DyplsapiClient::AddAxnTrackNoOutcome DyplsapiClient::addAxnTrackNo(const AddAxnTrackNoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddAxnTrackNoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddAxnTrackNoOutcome(AddAxnTrackNoResult(outcome.result()));
|
||||
else
|
||||
return AddAxnTrackNoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::addAxnTrackNoAsync(const AddAxnTrackNoRequest& request, const AddAxnTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addAxnTrackNo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::AddAxnTrackNoOutcomeCallable DyplsapiClient::addAxnTrackNoCallable(const AddAxnTrackNoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddAxnTrackNoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addAxnTrackNo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::BindAxbOutcome DyplsapiClient::bindAxb(const BindAxbRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +411,42 @@ DyplsapiClient::QueryCallStatusOutcomeCallable DyplsapiClient::queryCallStatusCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::QueryPhoneNoAByTrackNoOutcome DyplsapiClient::queryPhoneNoAByTrackNo(const QueryPhoneNoAByTrackNoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryPhoneNoAByTrackNoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryPhoneNoAByTrackNoOutcome(QueryPhoneNoAByTrackNoResult(outcome.result()));
|
||||
else
|
||||
return QueryPhoneNoAByTrackNoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::queryPhoneNoAByTrackNoAsync(const QueryPhoneNoAByTrackNoRequest& request, const QueryPhoneNoAByTrackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryPhoneNoAByTrackNo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::QueryPhoneNoAByTrackNoOutcomeCallable DyplsapiClient::queryPhoneNoAByTrackNoCallable(const QueryPhoneNoAByTrackNoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryPhoneNoAByTrackNoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryPhoneNoAByTrackNo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::QueryRecordFileDownloadUrlOutcome DyplsapiClient::queryRecordFileDownloadUrl(const QueryRecordFileDownloadUrlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
117
dyplsapi/src/model/AddAxnTrackNoRequest.cc
Normal file
117
dyplsapi/src/model/AddAxnTrackNoRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/dyplsapi/model/AddAxnTrackNoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::AddAxnTrackNoRequest;
|
||||
|
||||
AddAxnTrackNoRequest::AddAxnTrackNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "AddAxnTrackNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
AddAxnTrackNoRequest::~AddAxnTrackNoRequest()
|
||||
{}
|
||||
|
||||
long AddAxnTrackNoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getSubsId()const
|
||||
{
|
||||
return subsId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getPhoneNoX()const
|
||||
{
|
||||
return phoneNoX_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddAxnTrackNoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getTrackNo()const
|
||||
{
|
||||
return trackNo_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setTrackNo(const std::string& trackNo)
|
||||
{
|
||||
trackNo_ = trackNo;
|
||||
setParameter("TrackNo", trackNo);
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoRequest::getPoolKey()const
|
||||
{
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void AddAxnTrackNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
58
dyplsapi/src/model/AddAxnTrackNoResult.cc
Normal file
58
dyplsapi/src/model/AddAxnTrackNoResult.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/dyplsapi/model/AddAxnTrackNoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
AddAxnTrackNoResult::AddAxnTrackNoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddAxnTrackNoResult::AddAxnTrackNoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddAxnTrackNoResult::~AddAxnTrackNoResult()
|
||||
{}
|
||||
|
||||
void AddAxnTrackNoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddAxnTrackNoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxbRequest;
|
||||
BindAxbRequest::BindAxbRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxb")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxbRequest::~BindAxbRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxbRequest::getResourceOwnerId()const
|
||||
void BindAxbRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int BindAxbRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int BindAxbRequest::getCallDisplayType()const
|
||||
void BindAxbRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string BindAxbRequest::getAccessKeyId()const
|
||||
void BindAxbRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPhoneNoX()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxbRequest::getPhoneNoX()const
|
||||
void BindAxbRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getRingConfig()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxbRequest::getRingConfig()const
|
||||
void BindAxbRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPhoneNoB()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxbRequest::getPhoneNoB()const
|
||||
void BindAxbRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPhoneNoA()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxbRequest::getPhoneNoA()const
|
||||
void BindAxbRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getExpectCity()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxbRequest::getExpectCity()const
|
||||
void BindAxbRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxbRequest::getResourceOwnerAccount()const
|
||||
void BindAxbRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BindAxbRequest::getOwnerId()const
|
||||
@@ -134,7 +134,7 @@ long BindAxbRequest::getOwnerId()const
|
||||
void BindAxbRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getOutOrderId()const
|
||||
@@ -145,7 +145,7 @@ std::string BindAxbRequest::getOutOrderId()const
|
||||
void BindAxbRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getPoolKey()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxbRequest::getPoolKey()const
|
||||
void BindAxbRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getExpiration()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxbRequest::getExpiration()const
|
||||
void BindAxbRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxbRequest::getIsRecordingEnabled()const
|
||||
@@ -178,7 +178,7 @@ bool BindAxbRequest::getIsRecordingEnabled()const
|
||||
void BindAxbRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getOutId()const
|
||||
@@ -189,6 +189,17 @@ std::string BindAxbRequest::getOutId()const
|
||||
void BindAxbRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string BindAxbRequest::getCallRestrict()const
|
||||
{
|
||||
return callRestrict_;
|
||||
}
|
||||
|
||||
void BindAxbRequest::setCallRestrict(const std::string& callRestrict)
|
||||
{
|
||||
callRestrict_ = callRestrict;
|
||||
setParameter("CallRestrict", callRestrict);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxgRequest;
|
||||
BindAxgRequest::BindAxgRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxg")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxgRequest::~BindAxgRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxgRequest::getResourceOwnerId()const
|
||||
void BindAxgRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int BindAxgRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int BindAxgRequest::getCallDisplayType()const
|
||||
void BindAxgRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string BindAxgRequest::getAccessKeyId()const
|
||||
void BindAxgRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPhoneNoX()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxgRequest::getPhoneNoX()const
|
||||
void BindAxgRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getRingConfig()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxgRequest::getRingConfig()const
|
||||
void BindAxgRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPhoneNoB()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxgRequest::getPhoneNoB()const
|
||||
void BindAxgRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPhoneNoA()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxgRequest::getPhoneNoA()const
|
||||
void BindAxgRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getExpectCity()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxgRequest::getExpectCity()const
|
||||
void BindAxgRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxgRequest::getResourceOwnerAccount()const
|
||||
void BindAxgRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getGroupId()const
|
||||
@@ -134,7 +134,7 @@ std::string BindAxgRequest::getGroupId()const
|
||||
void BindAxgRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long BindAxgRequest::getOwnerId()const
|
||||
@@ -145,7 +145,7 @@ long BindAxgRequest::getOwnerId()const
|
||||
void BindAxgRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getOutOrderId()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxgRequest::getOutOrderId()const
|
||||
void BindAxgRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getPoolKey()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxgRequest::getPoolKey()const
|
||||
void BindAxgRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getExpiration()const
|
||||
@@ -178,7 +178,7 @@ std::string BindAxgRequest::getExpiration()const
|
||||
void BindAxgRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxgRequest::getIsRecordingEnabled()const
|
||||
@@ -189,7 +189,7 @@ bool BindAxgRequest::getIsRecordingEnabled()const
|
||||
void BindAxgRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxgRequest::getOutId()const
|
||||
@@ -200,6 +200,6 @@ std::string BindAxgRequest::getOutId()const
|
||||
void BindAxgRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxnExtensionRequest;
|
||||
BindAxnExtensionRequest::BindAxnExtensionRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxnExtension")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxnExtensionRequest::~BindAxnExtensionRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxnExtensionRequest::getResourceOwnerId()const
|
||||
void BindAxnExtensionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getExtension()const
|
||||
@@ -46,7 +46,7 @@ std::string BindAxnExtensionRequest::getExtension()const
|
||||
void BindAxnExtensionRequest::setExtension(const std::string& extension)
|
||||
{
|
||||
extension_ = extension;
|
||||
setCoreParameter("Extension", extension);
|
||||
setParameter("Extension", extension);
|
||||
}
|
||||
|
||||
int BindAxnExtensionRequest::getCallDisplayType()const
|
||||
@@ -57,7 +57,7 @@ int BindAxnExtensionRequest::getCallDisplayType()const
|
||||
void BindAxnExtensionRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxnExtensionRequest::getAccessKeyId()const
|
||||
void BindAxnExtensionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPhoneNoX()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxnExtensionRequest::getPhoneNoX()const
|
||||
void BindAxnExtensionRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getRingConfig()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxnExtensionRequest::getRingConfig()const
|
||||
void BindAxnExtensionRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPhoneNoB()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxnExtensionRequest::getPhoneNoB()const
|
||||
void BindAxnExtensionRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPhoneNoA()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxnExtensionRequest::getPhoneNoA()const
|
||||
void BindAxnExtensionRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getExpectCity()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxnExtensionRequest::getExpectCity()const
|
||||
void BindAxnExtensionRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getResourceOwnerAccount()const
|
||||
@@ -134,7 +134,7 @@ std::string BindAxnExtensionRequest::getResourceOwnerAccount()const
|
||||
void BindAxnExtensionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BindAxnExtensionRequest::getOwnerId()const
|
||||
@@ -145,7 +145,7 @@ long BindAxnExtensionRequest::getOwnerId()const
|
||||
void BindAxnExtensionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getOutOrderId()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxnExtensionRequest::getOutOrderId()const
|
||||
void BindAxnExtensionRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getPoolKey()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxnExtensionRequest::getPoolKey()const
|
||||
void BindAxnExtensionRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getExpiration()const
|
||||
@@ -178,7 +178,7 @@ std::string BindAxnExtensionRequest::getExpiration()const
|
||||
void BindAxnExtensionRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxnExtensionRequest::getIsRecordingEnabled()const
|
||||
@@ -189,7 +189,7 @@ bool BindAxnExtensionRequest::getIsRecordingEnabled()const
|
||||
void BindAxnExtensionRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxnExtensionRequest::getOutId()const
|
||||
@@ -200,6 +200,6 @@ std::string BindAxnExtensionRequest::getOutId()const
|
||||
void BindAxnExtensionRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BindAxnRequest;
|
||||
BindAxnRequest::BindAxnRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxn")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BindAxnRequest::~BindAxnRequest()
|
||||
@@ -35,7 +35,7 @@ long BindAxnRequest::getResourceOwnerId()const
|
||||
void BindAxnRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int BindAxnRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int BindAxnRequest::getCallDisplayType()const
|
||||
void BindAxnRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string BindAxnRequest::getAccessKeyId()const
|
||||
void BindAxnRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPhoneNoX()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAxnRequest::getPhoneNoX()const
|
||||
void BindAxnRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getRingConfig()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAxnRequest::getRingConfig()const
|
||||
void BindAxnRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPhoneNoB()const
|
||||
@@ -90,7 +90,7 @@ std::string BindAxnRequest::getPhoneNoB()const
|
||||
void BindAxnRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPhoneNoA()const
|
||||
@@ -101,7 +101,7 @@ std::string BindAxnRequest::getPhoneNoA()const
|
||||
void BindAxnRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getExpectCity()const
|
||||
@@ -112,7 +112,7 @@ std::string BindAxnRequest::getExpectCity()const
|
||||
void BindAxnRequest::setExpectCity(const std::string& expectCity)
|
||||
{
|
||||
expectCity_ = expectCity;
|
||||
setCoreParameter("ExpectCity", expectCity);
|
||||
setParameter("ExpectCity", expectCity);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getResourceOwnerAccount()const
|
||||
@@ -123,7 +123,7 @@ std::string BindAxnRequest::getResourceOwnerAccount()const
|
||||
void BindAxnRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BindAxnRequest::getOwnerId()const
|
||||
@@ -134,7 +134,7 @@ long BindAxnRequest::getOwnerId()const
|
||||
void BindAxnRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getOutOrderId()const
|
||||
@@ -145,7 +145,7 @@ std::string BindAxnRequest::getOutOrderId()const
|
||||
void BindAxnRequest::setOutOrderId(const std::string& outOrderId)
|
||||
{
|
||||
outOrderId_ = outOrderId;
|
||||
setCoreParameter("OutOrderId", outOrderId);
|
||||
setParameter("OutOrderId", outOrderId);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getPoolKey()const
|
||||
@@ -156,7 +156,7 @@ std::string BindAxnRequest::getPoolKey()const
|
||||
void BindAxnRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getExpiration()const
|
||||
@@ -167,7 +167,7 @@ std::string BindAxnRequest::getExpiration()const
|
||||
void BindAxnRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
bool BindAxnRequest::getIsRecordingEnabled()const
|
||||
@@ -178,7 +178,7 @@ bool BindAxnRequest::getIsRecordingEnabled()const
|
||||
void BindAxnRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getOutId()const
|
||||
@@ -189,7 +189,7 @@ std::string BindAxnRequest::getOutId()const
|
||||
void BindAxnRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
std::string BindAxnRequest::getNoType()const
|
||||
@@ -200,6 +200,6 @@ std::string BindAxnRequest::getNoType()const
|
||||
void BindAxnRequest::setNoType(const std::string& noType)
|
||||
{
|
||||
noType_ = noType;
|
||||
setCoreParameter("NoType", noType);
|
||||
setParameter("NoType", noType);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::BuySecretNoRequest;
|
||||
BuySecretNoRequest::BuySecretNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "BuySecretNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
BuySecretNoRequest::~BuySecretNoRequest()
|
||||
@@ -35,7 +35,7 @@ long BuySecretNoRequest::getSpecId()const
|
||||
void BuySecretNoRequest::setSpecId(long specId)
|
||||
{
|
||||
specId_ = specId;
|
||||
setCoreParameter("SpecId", std::to_string(specId));
|
||||
setParameter("SpecId", std::to_string(specId));
|
||||
}
|
||||
|
||||
long BuySecretNoRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long BuySecretNoRequest::getResourceOwnerId()const
|
||||
void BuySecretNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getCity()const
|
||||
@@ -57,7 +57,7 @@ std::string BuySecretNoRequest::getCity()const
|
||||
void BuySecretNoRequest::setCity(const std::string& city)
|
||||
{
|
||||
city_ = city;
|
||||
setCoreParameter("City", city);
|
||||
setParameter("City", city);
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string BuySecretNoRequest::getAccessKeyId()const
|
||||
void BuySecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getSecretNo()const
|
||||
@@ -79,7 +79,7 @@ std::string BuySecretNoRequest::getSecretNo()const
|
||||
void BuySecretNoRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string BuySecretNoRequest::getResourceOwnerAccount()const
|
||||
void BuySecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool BuySecretNoRequest::getDisplayPool()const
|
||||
@@ -101,7 +101,7 @@ bool BuySecretNoRequest::getDisplayPool()const
|
||||
void BuySecretNoRequest::setDisplayPool(bool displayPool)
|
||||
{
|
||||
displayPool_ = displayPool;
|
||||
setCoreParameter("DisplayPool", displayPool ? "true" : "false");
|
||||
setParameter("DisplayPool", displayPool ? "true" : "false");
|
||||
}
|
||||
|
||||
long BuySecretNoRequest::getOwnerId()const
|
||||
@@ -112,7 +112,7 @@ long BuySecretNoRequest::getOwnerId()const
|
||||
void BuySecretNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BuySecretNoRequest::getPoolKey()const
|
||||
@@ -123,6 +123,6 @@ std::string BuySecretNoRequest::getPoolKey()const
|
||||
void BuySecretNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::CreateAxgGroupRequest;
|
||||
CreateAxgGroupRequest::CreateAxgGroupRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "CreateAxgGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
CreateAxgGroupRequest::~CreateAxgGroupRequest()
|
||||
@@ -35,7 +35,7 @@ long CreateAxgGroupRequest::getResourceOwnerId()const
|
||||
void CreateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getNumbers()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateAxgGroupRequest::getNumbers()const
|
||||
void CreateAxgGroupRequest::setNumbers(const std::string& numbers)
|
||||
{
|
||||
numbers_ = numbers;
|
||||
setCoreParameter("Numbers", numbers);
|
||||
setParameter("Numbers", numbers);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getRemark()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateAxgGroupRequest::getRemark()const
|
||||
void CreateAxgGroupRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateAxgGroupRequest::getAccessKeyId()const
|
||||
void CreateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
void CreateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateAxgGroupRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long CreateAxgGroupRequest::getOwnerId()const
|
||||
void CreateAxgGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getPoolKey()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateAxgGroupRequest::getPoolKey()const
|
||||
void CreateAxgGroupRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string CreateAxgGroupRequest::getName()const
|
||||
@@ -112,6 +112,6 @@ std::string CreateAxgGroupRequest::getName()const
|
||||
void CreateAxgGroupRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::OperateAxgGroupRequest;
|
||||
OperateAxgGroupRequest::OperateAxgGroupRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "OperateAxgGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
OperateAxgGroupRequest::~OperateAxgGroupRequest()
|
||||
@@ -35,7 +35,7 @@ long OperateAxgGroupRequest::getResourceOwnerId()const
|
||||
void OperateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getNumbers()const
|
||||
@@ -46,7 +46,7 @@ std::string OperateAxgGroupRequest::getNumbers()const
|
||||
void OperateAxgGroupRequest::setNumbers(const std::string& numbers)
|
||||
{
|
||||
numbers_ = numbers;
|
||||
setCoreParameter("Numbers", numbers);
|
||||
setParameter("Numbers", numbers);
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string OperateAxgGroupRequest::getAccessKeyId()const
|
||||
void OperateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string OperateAxgGroupRequest::getResourceOwnerAccount()const
|
||||
void OperateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long OperateAxgGroupRequest::getGroupId()const
|
||||
@@ -79,7 +79,7 @@ long OperateAxgGroupRequest::getGroupId()const
|
||||
void OperateAxgGroupRequest::setGroupId(long groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", std::to_string(groupId));
|
||||
setParameter("GroupId", std::to_string(groupId));
|
||||
}
|
||||
|
||||
long OperateAxgGroupRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long OperateAxgGroupRequest::getOwnerId()const
|
||||
void OperateAxgGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getPoolKey()const
|
||||
@@ -101,7 +101,7 @@ std::string OperateAxgGroupRequest::getPoolKey()const
|
||||
void OperateAxgGroupRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string OperateAxgGroupRequest::getOperateType()const
|
||||
@@ -112,6 +112,6 @@ std::string OperateAxgGroupRequest::getOperateType()const
|
||||
void OperateAxgGroupRequest::setOperateType(const std::string& operateType)
|
||||
{
|
||||
operateType_ = operateType;
|
||||
setCoreParameter("OperateType", operateType);
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::OperateBlackNoRequest;
|
||||
OperateBlackNoRequest::OperateBlackNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "OperateBlackNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
OperateBlackNoRequest::~OperateBlackNoRequest()
|
||||
@@ -35,7 +35,7 @@ long OperateBlackNoRequest::getResourceOwnerId()const
|
||||
void OperateBlackNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getTips()const
|
||||
@@ -46,7 +46,7 @@ std::string OperateBlackNoRequest::getTips()const
|
||||
void OperateBlackNoRequest::setTips(const std::string& tips)
|
||||
{
|
||||
tips_ = tips;
|
||||
setCoreParameter("Tips", tips);
|
||||
setParameter("Tips", tips);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string OperateBlackNoRequest::getAccessKeyId()const
|
||||
void OperateBlackNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string OperateBlackNoRequest::getResourceOwnerAccount()const
|
||||
void OperateBlackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long OperateBlackNoRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long OperateBlackNoRequest::getOwnerId()const
|
||||
void OperateBlackNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getPoolKey()const
|
||||
@@ -90,7 +90,7 @@ std::string OperateBlackNoRequest::getPoolKey()const
|
||||
void OperateBlackNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getBlackNo()const
|
||||
@@ -101,7 +101,7 @@ std::string OperateBlackNoRequest::getBlackNo()const
|
||||
void OperateBlackNoRequest::setBlackNo(const std::string& blackNo)
|
||||
{
|
||||
blackNo_ = blackNo;
|
||||
setCoreParameter("BlackNo", blackNo);
|
||||
setParameter("BlackNo", blackNo);
|
||||
}
|
||||
|
||||
std::string OperateBlackNoRequest::getOperateType()const
|
||||
@@ -112,6 +112,6 @@ std::string OperateBlackNoRequest::getOperateType()const
|
||||
void OperateBlackNoRequest::setOperateType(const std::string& operateType)
|
||||
{
|
||||
operateType_ = operateType;
|
||||
setCoreParameter("OperateType", operateType);
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QueryCallStatusRequest;
|
||||
QueryCallStatusRequest::QueryCallStatusRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryCallStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QueryCallStatusRequest::~QueryCallStatusRequest()
|
||||
@@ -35,7 +35,7 @@ long QueryCallStatusRequest::getResourceOwnerId()const
|
||||
void QueryCallStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string QueryCallStatusRequest::getAccessKeyId()const
|
||||
void QueryCallStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getSubsId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryCallStatusRequest::getSubsId()const
|
||||
void QueryCallStatusRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string QueryCallStatusRequest::getResourceOwnerAccount()const
|
||||
void QueryCallStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getCallNo()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryCallStatusRequest::getCallNo()const
|
||||
void QueryCallStatusRequest::setCallNo(const std::string& callNo)
|
||||
{
|
||||
callNo_ = callNo;
|
||||
setCoreParameter("CallNo", callNo);
|
||||
setParameter("CallNo", callNo);
|
||||
}
|
||||
|
||||
long QueryCallStatusRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long QueryCallStatusRequest::getOwnerId()const
|
||||
void QueryCallStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryCallStatusRequest::getPoolKey()const
|
||||
@@ -101,6 +101,6 @@ std::string QueryCallStatusRequest::getPoolKey()const
|
||||
void QueryCallStatusRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
95
dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc
Normal file
95
dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::QueryPhoneNoAByTrackNoRequest;
|
||||
|
||||
QueryPhoneNoAByTrackNoRequest::QueryPhoneNoAByTrackNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryPhoneNoAByTrackNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QueryPhoneNoAByTrackNoRequest::~QueryPhoneNoAByTrackNoRequest()
|
||||
{}
|
||||
|
||||
long QueryPhoneNoAByTrackNoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryPhoneNoAByTrackNoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getTrackNo()const
|
||||
{
|
||||
return trackNo_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setTrackNo(const std::string& trackNo)
|
||||
{
|
||||
trackNo_ = trackNo;
|
||||
setParameter("TrackNo", trackNo);
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoRequest::getPhoneNoX()const
|
||||
{
|
||||
return phoneNoX_;
|
||||
}
|
||||
|
||||
void QueryPhoneNoAByTrackNoRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
73
dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.cc
Normal file
73
dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/dyplsapi/model/QueryPhoneNoAByTrackNoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
QueryPhoneNoAByTrackNoResult::QueryPhoneNoAByTrackNoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryPhoneNoAByTrackNoResult::QueryPhoneNoAByTrackNoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryPhoneNoAByTrackNoResult::~QueryPhoneNoAByTrackNoResult()
|
||||
{}
|
||||
|
||||
void QueryPhoneNoAByTrackNoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allModuleNode = value["Module"]["phoneNoAInfo"];
|
||||
for (auto valueModulephoneNoAInfo : allModuleNode)
|
||||
{
|
||||
PhoneNoAInfo moduleObject;
|
||||
if(!valueModulephoneNoAInfo["PhoneNoA"].isNull())
|
||||
moduleObject.phoneNoA = valueModulephoneNoAInfo["PhoneNoA"].asString();
|
||||
if(!valueModulephoneNoAInfo["PhoneNoX"].isNull())
|
||||
moduleObject.phoneNoX = valueModulephoneNoAInfo["PhoneNoX"].asString();
|
||||
module_.push_back(moduleObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<QueryPhoneNoAByTrackNoResult::PhoneNoAInfo> QueryPhoneNoAByTrackNoResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string QueryPhoneNoAByTrackNoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QueryRecordFileDownloadUrlRequest;
|
||||
QueryRecordFileDownloadUrlRequest::QueryRecordFileDownloadUrlRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryRecordFileDownloadUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QueryRecordFileDownloadUrlRequest::~QueryRecordFileDownloadUrlRequest()
|
||||
@@ -35,7 +35,7 @@ std::string QueryRecordFileDownloadUrlRequest::getCallId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
setParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long QueryRecordFileDownloadUrlRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long QueryRecordFileDownloadUrlRequest::getResourceOwnerId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getProductType()const
|
||||
@@ -68,7 +68,7 @@ std::string QueryRecordFileDownloadUrlRequest::getProductType()const
|
||||
void QueryRecordFileDownloadUrlRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount()const
|
||||
void QueryRecordFileDownloadUrlRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryRecordFileDownloadUrlRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long QueryRecordFileDownloadUrlRequest::getOwnerId()const
|
||||
void QueryRecordFileDownloadUrlRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getCallTime()const
|
||||
@@ -101,7 +101,7 @@ std::string QueryRecordFileDownloadUrlRequest::getCallTime()const
|
||||
void QueryRecordFileDownloadUrlRequest::setCallTime(const std::string& callTime)
|
||||
{
|
||||
callTime_ = callTime;
|
||||
setCoreParameter("CallTime", callTime);
|
||||
setParameter("CallTime", callTime);
|
||||
}
|
||||
|
||||
std::string QueryRecordFileDownloadUrlRequest::getPoolKey()const
|
||||
@@ -112,6 +112,6 @@ std::string QueryRecordFileDownloadUrlRequest::getPoolKey()const
|
||||
void QueryRecordFileDownloadUrlRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QuerySecretNoRemainRequest;
|
||||
QuerySecretNoRemainRequest::QuerySecretNoRemainRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySecretNoRemain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QuerySecretNoRemainRequest::~QuerySecretNoRemainRequest()
|
||||
@@ -35,7 +35,7 @@ long QuerySecretNoRemainRequest::getSpecId()const
|
||||
void QuerySecretNoRemainRequest::setSpecId(long specId)
|
||||
{
|
||||
specId_ = specId;
|
||||
setCoreParameter("SpecId", std::to_string(specId));
|
||||
setParameter("SpecId", std::to_string(specId));
|
||||
}
|
||||
|
||||
long QuerySecretNoRemainRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long QuerySecretNoRemainRequest::getResourceOwnerId()const
|
||||
void QuerySecretNoRemainRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getCity()const
|
||||
@@ -57,7 +57,7 @@ std::string QuerySecretNoRemainRequest::getCity()const
|
||||
void QuerySecretNoRemainRequest::setCity(const std::string& city)
|
||||
{
|
||||
city_ = city;
|
||||
setCoreParameter("City", city);
|
||||
setParameter("City", city);
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string QuerySecretNoRemainRequest::getAccessKeyId()const
|
||||
void QuerySecretNoRemainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getSecretNo()const
|
||||
@@ -79,7 +79,7 @@ std::string QuerySecretNoRemainRequest::getSecretNo()const
|
||||
void QuerySecretNoRemainRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
std::string QuerySecretNoRemainRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string QuerySecretNoRemainRequest::getResourceOwnerAccount()const
|
||||
void QuerySecretNoRemainRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QuerySecretNoRemainRequest::getOwnerId()const
|
||||
@@ -101,6 +101,6 @@ long QuerySecretNoRemainRequest::getOwnerId()const
|
||||
void QuerySecretNoRemainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QuerySubsIdRequest;
|
||||
QuerySubsIdRequest::QuerySubsIdRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubsId")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QuerySubsIdRequest::~QuerySubsIdRequest()
|
||||
@@ -35,7 +35,7 @@ long QuerySubsIdRequest::getResourceOwnerId()const
|
||||
void QuerySubsIdRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string QuerySubsIdRequest::getResourceOwnerAccount()const
|
||||
void QuerySubsIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QuerySubsIdRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long QuerySubsIdRequest::getOwnerId()const
|
||||
void QuerySubsIdRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string QuerySubsIdRequest::getAccessKeyId()const
|
||||
void QuerySubsIdRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getPoolKey()const
|
||||
@@ -79,7 +79,7 @@ std::string QuerySubsIdRequest::getPoolKey()const
|
||||
void QuerySubsIdRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getPhoneNoX()const
|
||||
@@ -90,6 +90,6 @@ std::string QuerySubsIdRequest::getPhoneNoX()const
|
||||
void QuerySubsIdRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::QuerySubscriptionDetailRequest;
|
||||
QuerySubscriptionDetailRequest::QuerySubscriptionDetailRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubscriptionDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
QuerySubscriptionDetailRequest::~QuerySubscriptionDetailRequest()
|
||||
@@ -35,7 +35,7 @@ long QuerySubscriptionDetailRequest::getResourceOwnerId()const
|
||||
void QuerySubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string QuerySubscriptionDetailRequest::getAccessKeyId()const
|
||||
void QuerySubscriptionDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getProductType()const
|
||||
@@ -57,7 +57,7 @@ std::string QuerySubscriptionDetailRequest::getProductType()const
|
||||
void QuerySubscriptionDetailRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getSubsId()const
|
||||
@@ -68,7 +68,7 @@ std::string QuerySubscriptionDetailRequest::getSubsId()const
|
||||
void QuerySubscriptionDetailRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getPhoneNoX()const
|
||||
@@ -79,7 +79,7 @@ std::string QuerySubscriptionDetailRequest::getPhoneNoX()const
|
||||
void QuerySubscriptionDetailRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string QuerySubscriptionDetailRequest::getResourceOwnerAccount()const
|
||||
void QuerySubscriptionDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QuerySubscriptionDetailRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long QuerySubscriptionDetailRequest::getOwnerId()const
|
||||
void QuerySubscriptionDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuerySubscriptionDetailRequest::getPoolKey()const
|
||||
@@ -112,6 +112,6 @@ std::string QuerySubscriptionDetailRequest::getPoolKey()const
|
||||
void QuerySubscriptionDetailRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::ReleaseSecretNoRequest;
|
||||
ReleaseSecretNoRequest::ReleaseSecretNoRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "ReleaseSecretNo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
ReleaseSecretNoRequest::~ReleaseSecretNoRequest()
|
||||
@@ -35,7 +35,7 @@ long ReleaseSecretNoRequest::getResourceOwnerId()const
|
||||
void ReleaseSecretNoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string ReleaseSecretNoRequest::getResourceOwnerAccount()const
|
||||
void ReleaseSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ReleaseSecretNoRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long ReleaseSecretNoRequest::getOwnerId()const
|
||||
void ReleaseSecretNoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getAccessKeyId()const
|
||||
@@ -68,7 +68,7 @@ std::string ReleaseSecretNoRequest::getAccessKeyId()const
|
||||
void ReleaseSecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getPoolKey()const
|
||||
@@ -79,7 +79,7 @@ std::string ReleaseSecretNoRequest::getPoolKey()const
|
||||
void ReleaseSecretNoRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getSecretNo()const
|
||||
@@ -90,6 +90,6 @@ std::string ReleaseSecretNoRequest::getSecretNo()const
|
||||
void ReleaseSecretNoRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::UnbindSubscriptionRequest;
|
||||
UnbindSubscriptionRequest::UnbindSubscriptionRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "UnbindSubscription")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
UnbindSubscriptionRequest::~UnbindSubscriptionRequest()
|
||||
@@ -35,7 +35,7 @@ long UnbindSubscriptionRequest::getResourceOwnerId()const
|
||||
void UnbindSubscriptionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string UnbindSubscriptionRequest::getAccessKeyId()const
|
||||
void UnbindSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getProductType()const
|
||||
@@ -57,7 +57,7 @@ std::string UnbindSubscriptionRequest::getProductType()const
|
||||
void UnbindSubscriptionRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getSubsId()const
|
||||
@@ -68,7 +68,7 @@ std::string UnbindSubscriptionRequest::getSubsId()const
|
||||
void UnbindSubscriptionRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getSecretNo()const
|
||||
@@ -79,7 +79,7 @@ std::string UnbindSubscriptionRequest::getSecretNo()const
|
||||
void UnbindSubscriptionRequest::setSecretNo(const std::string& secretNo)
|
||||
{
|
||||
secretNo_ = secretNo;
|
||||
setCoreParameter("SecretNo", secretNo);
|
||||
setParameter("SecretNo", secretNo);
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getResourceOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string UnbindSubscriptionRequest::getResourceOwnerAccount()const
|
||||
void UnbindSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long UnbindSubscriptionRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long UnbindSubscriptionRequest::getOwnerId()const
|
||||
void UnbindSubscriptionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnbindSubscriptionRequest::getPoolKey()const
|
||||
@@ -112,6 +112,6 @@ std::string UnbindSubscriptionRequest::getPoolKey()const
|
||||
void UnbindSubscriptionRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Dyplsapi::Model::UpdateSubscriptionRequest;
|
||||
UpdateSubscriptionRequest::UpdateSubscriptionRequest() :
|
||||
RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateSubscription")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
UpdateSubscriptionRequest::~UpdateSubscriptionRequest()
|
||||
@@ -35,7 +35,7 @@ long UpdateSubscriptionRequest::getResourceOwnerId()const
|
||||
void UpdateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int UpdateSubscriptionRequest::getCallDisplayType()const
|
||||
@@ -46,7 +46,7 @@ int UpdateSubscriptionRequest::getCallDisplayType()const
|
||||
void UpdateSubscriptionRequest::setCallDisplayType(int callDisplayType)
|
||||
{
|
||||
callDisplayType_ = callDisplayType;
|
||||
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
setParameter("CallDisplayType", std::to_string(callDisplayType));
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string UpdateSubscriptionRequest::getAccessKeyId()const
|
||||
void UpdateSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getProductType()const
|
||||
@@ -68,7 +68,7 @@ std::string UpdateSubscriptionRequest::getProductType()const
|
||||
void UpdateSubscriptionRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setCoreParameter("ProductType", productType);
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getSubsId()const
|
||||
@@ -79,7 +79,7 @@ std::string UpdateSubscriptionRequest::getSubsId()const
|
||||
void UpdateSubscriptionRequest::setSubsId(const std::string& subsId)
|
||||
{
|
||||
subsId_ = subsId;
|
||||
setCoreParameter("SubsId", subsId);
|
||||
setParameter("SubsId", subsId);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPhoneNoX()const
|
||||
@@ -90,7 +90,7 @@ std::string UpdateSubscriptionRequest::getPhoneNoX()const
|
||||
void UpdateSubscriptionRequest::setPhoneNoX(const std::string& phoneNoX)
|
||||
{
|
||||
phoneNoX_ = phoneNoX;
|
||||
setCoreParameter("PhoneNoX", phoneNoX);
|
||||
setParameter("PhoneNoX", phoneNoX);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getRingConfig()const
|
||||
@@ -101,7 +101,7 @@ std::string UpdateSubscriptionRequest::getRingConfig()const
|
||||
void UpdateSubscriptionRequest::setRingConfig(const std::string& ringConfig)
|
||||
{
|
||||
ringConfig_ = ringConfig;
|
||||
setCoreParameter("RingConfig", ringConfig);
|
||||
setParameter("RingConfig", ringConfig);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPhoneNoB()const
|
||||
@@ -112,7 +112,7 @@ std::string UpdateSubscriptionRequest::getPhoneNoB()const
|
||||
void UpdateSubscriptionRequest::setPhoneNoB(const std::string& phoneNoB)
|
||||
{
|
||||
phoneNoB_ = phoneNoB;
|
||||
setCoreParameter("PhoneNoB", phoneNoB);
|
||||
setParameter("PhoneNoB", phoneNoB);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPhoneNoA()const
|
||||
@@ -123,7 +123,7 @@ std::string UpdateSubscriptionRequest::getPhoneNoA()const
|
||||
void UpdateSubscriptionRequest::setPhoneNoA(const std::string& phoneNoA)
|
||||
{
|
||||
phoneNoA_ = phoneNoA;
|
||||
setCoreParameter("PhoneNoA", phoneNoA);
|
||||
setParameter("PhoneNoA", phoneNoA);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getResourceOwnerAccount()const
|
||||
@@ -134,7 +134,7 @@ std::string UpdateSubscriptionRequest::getResourceOwnerAccount()const
|
||||
void UpdateSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getGroupId()const
|
||||
@@ -145,7 +145,7 @@ std::string UpdateSubscriptionRequest::getGroupId()const
|
||||
void UpdateSubscriptionRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long UpdateSubscriptionRequest::getOwnerId()const
|
||||
@@ -156,7 +156,7 @@ long UpdateSubscriptionRequest::getOwnerId()const
|
||||
void UpdateSubscriptionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getPoolKey()const
|
||||
@@ -167,7 +167,7 @@ std::string UpdateSubscriptionRequest::getPoolKey()const
|
||||
void UpdateSubscriptionRequest::setPoolKey(const std::string& poolKey)
|
||||
{
|
||||
poolKey_ = poolKey;
|
||||
setCoreParameter("PoolKey", poolKey);
|
||||
setParameter("PoolKey", poolKey);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getExpiration()const
|
||||
@@ -178,7 +178,7 @@ std::string UpdateSubscriptionRequest::getExpiration()const
|
||||
void UpdateSubscriptionRequest::setExpiration(const std::string& expiration)
|
||||
{
|
||||
expiration_ = expiration;
|
||||
setCoreParameter("Expiration", expiration);
|
||||
setParameter("Expiration", expiration);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getOutId()const
|
||||
@@ -189,7 +189,7 @@ std::string UpdateSubscriptionRequest::getOutId()const
|
||||
void UpdateSubscriptionRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setCoreParameter("OutId", outId);
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
bool UpdateSubscriptionRequest::getIsRecordingEnabled()const
|
||||
@@ -200,7 +200,7 @@ bool UpdateSubscriptionRequest::getIsRecordingEnabled()const
|
||||
void UpdateSubscriptionRequest::setIsRecordingEnabled(bool isRecordingEnabled)
|
||||
{
|
||||
isRecordingEnabled_ = isRecordingEnabled;
|
||||
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getOperateType()const
|
||||
@@ -211,7 +211,7 @@ std::string UpdateSubscriptionRequest::getOperateType()const
|
||||
void UpdateSubscriptionRequest::setOperateType(const std::string& operateType)
|
||||
{
|
||||
operateType_ = operateType;
|
||||
setCoreParameter("OperateType", operateType);
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
std::string UpdateSubscriptionRequest::getCallRestrict()const
|
||||
@@ -222,6 +222,6 @@ std::string UpdateSubscriptionRequest::getCallRestrict()const
|
||||
void UpdateSubscriptionRequest::setCallRestrict(const std::string& callRestrict)
|
||||
{
|
||||
callRestrict_ = callRestrict;
|
||||
setCoreParameter("CallRestrict", callRestrict);
|
||||
setParameter("CallRestrict", callRestrict);
|
||||
}
|
||||
|
||||
|
||||
@@ -73,6 +73,8 @@ set(ehpc_public_header_model
|
||||
include/alibabacloud/ehpc/model/DescribeClusterResult.h
|
||||
include/alibabacloud/ehpc/model/DescribeContainerAppRequest.h
|
||||
include/alibabacloud/ehpc/model/DescribeContainerAppResult.h
|
||||
include/alibabacloud/ehpc/model/DescribeGWSClusterPolicyRequest.h
|
||||
include/alibabacloud/ehpc/model/DescribeGWSClusterPolicyResult.h
|
||||
include/alibabacloud/ehpc/model/DescribeGWSClustersRequest.h
|
||||
include/alibabacloud/ehpc/model/DescribeGWSClustersResult.h
|
||||
include/alibabacloud/ehpc/model/DescribeGWSImagesRequest.h
|
||||
@@ -213,6 +215,8 @@ set(ehpc_public_header_model
|
||||
include/alibabacloud/ehpc/model/RunCloudMetricProfilingResult.h
|
||||
include/alibabacloud/ehpc/model/SetAutoScaleConfigRequest.h
|
||||
include/alibabacloud/ehpc/model/SetAutoScaleConfigResult.h
|
||||
include/alibabacloud/ehpc/model/SetGWSClusterPolicyRequest.h
|
||||
include/alibabacloud/ehpc/model/SetGWSClusterPolicyResult.h
|
||||
include/alibabacloud/ehpc/model/SetGWSInstanceNameRequest.h
|
||||
include/alibabacloud/ehpc/model/SetGWSInstanceNameResult.h
|
||||
include/alibabacloud/ehpc/model/SetGWSInstanceUserRequest.h
|
||||
@@ -306,6 +310,8 @@ set(ehpc_src
|
||||
src/model/DescribeClusterResult.cc
|
||||
src/model/DescribeContainerAppRequest.cc
|
||||
src/model/DescribeContainerAppResult.cc
|
||||
src/model/DescribeGWSClusterPolicyRequest.cc
|
||||
src/model/DescribeGWSClusterPolicyResult.cc
|
||||
src/model/DescribeGWSClustersRequest.cc
|
||||
src/model/DescribeGWSClustersResult.cc
|
||||
src/model/DescribeGWSImagesRequest.cc
|
||||
@@ -446,6 +452,8 @@ set(ehpc_src
|
||||
src/model/RunCloudMetricProfilingResult.cc
|
||||
src/model/SetAutoScaleConfigRequest.cc
|
||||
src/model/SetAutoScaleConfigResult.cc
|
||||
src/model/SetGWSClusterPolicyRequest.cc
|
||||
src/model/SetGWSClusterPolicyResult.cc
|
||||
src/model/SetGWSInstanceNameRequest.cc
|
||||
src/model/SetGWSInstanceNameResult.cc
|
||||
src/model/SetGWSInstanceUserRequest.cc
|
||||
|
||||
11
ehpc/ehpc.php
Normal file
11
ehpc/ehpc.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace AlibabaCloud\ehpc;
|
||||
|
||||
use AlibabaCloud\Client\Resolver\VersionResolver;
|
||||
|
||||
/**
|
||||
*/
|
||||
class ehpc extends VersionResolver
|
||||
{
|
||||
}
|
||||
@@ -74,6 +74,8 @@
|
||||
#include "model/DescribeClusterResult.h"
|
||||
#include "model/DescribeContainerAppRequest.h"
|
||||
#include "model/DescribeContainerAppResult.h"
|
||||
#include "model/DescribeGWSClusterPolicyRequest.h"
|
||||
#include "model/DescribeGWSClusterPolicyResult.h"
|
||||
#include "model/DescribeGWSClustersRequest.h"
|
||||
#include "model/DescribeGWSClustersResult.h"
|
||||
#include "model/DescribeGWSImagesRequest.h"
|
||||
@@ -214,6 +216,8 @@
|
||||
#include "model/RunCloudMetricProfilingResult.h"
|
||||
#include "model/SetAutoScaleConfigRequest.h"
|
||||
#include "model/SetAutoScaleConfigResult.h"
|
||||
#include "model/SetGWSClusterPolicyRequest.h"
|
||||
#include "model/SetGWSClusterPolicyResult.h"
|
||||
#include "model/SetGWSInstanceNameRequest.h"
|
||||
#include "model/SetGWSInstanceNameResult.h"
|
||||
#include "model/SetGWSInstanceUserRequest.h"
|
||||
@@ -339,6 +343,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeContainerAppResult> DescribeContainerAppOutcome;
|
||||
typedef std::future<DescribeContainerAppOutcome> DescribeContainerAppOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::DescribeContainerAppRequest&, const DescribeContainerAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeContainerAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGWSClusterPolicyResult> DescribeGWSClusterPolicyOutcome;
|
||||
typedef std::future<DescribeGWSClusterPolicyOutcome> DescribeGWSClusterPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::DescribeGWSClusterPolicyRequest&, const DescribeGWSClusterPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGWSClusterPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGWSClustersResult> DescribeGWSClustersOutcome;
|
||||
typedef std::future<DescribeGWSClustersOutcome> DescribeGWSClustersOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::DescribeGWSClustersRequest&, const DescribeGWSClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGWSClustersAsyncHandler;
|
||||
@@ -549,6 +556,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetAutoScaleConfigResult> SetAutoScaleConfigOutcome;
|
||||
typedef std::future<SetAutoScaleConfigOutcome> SetAutoScaleConfigOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::SetAutoScaleConfigRequest&, const SetAutoScaleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAutoScaleConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetGWSClusterPolicyResult> SetGWSClusterPolicyOutcome;
|
||||
typedef std::future<SetGWSClusterPolicyOutcome> SetGWSClusterPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::SetGWSClusterPolicyRequest&, const SetGWSClusterPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGWSClusterPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetGWSInstanceNameResult> SetGWSInstanceNameOutcome;
|
||||
typedef std::future<SetGWSInstanceNameOutcome> SetGWSInstanceNameOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::SetGWSInstanceNameRequest&, const SetGWSInstanceNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGWSInstanceNameAsyncHandler;
|
||||
@@ -689,6 +699,9 @@ namespace AlibabaCloud
|
||||
DescribeContainerAppOutcome describeContainerApp(const Model::DescribeContainerAppRequest &request)const;
|
||||
void describeContainerAppAsync(const Model::DescribeContainerAppRequest& request, const DescribeContainerAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeContainerAppOutcomeCallable describeContainerAppCallable(const Model::DescribeContainerAppRequest& request) const;
|
||||
DescribeGWSClusterPolicyOutcome describeGWSClusterPolicy(const Model::DescribeGWSClusterPolicyRequest &request)const;
|
||||
void describeGWSClusterPolicyAsync(const Model::DescribeGWSClusterPolicyRequest& request, const DescribeGWSClusterPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGWSClusterPolicyOutcomeCallable describeGWSClusterPolicyCallable(const Model::DescribeGWSClusterPolicyRequest& request) const;
|
||||
DescribeGWSClustersOutcome describeGWSClusters(const Model::DescribeGWSClustersRequest &request)const;
|
||||
void describeGWSClustersAsync(const Model::DescribeGWSClustersRequest& request, const DescribeGWSClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGWSClustersOutcomeCallable describeGWSClustersCallable(const Model::DescribeGWSClustersRequest& request) const;
|
||||
@@ -899,6 +912,9 @@ namespace AlibabaCloud
|
||||
SetAutoScaleConfigOutcome setAutoScaleConfig(const Model::SetAutoScaleConfigRequest &request)const;
|
||||
void setAutoScaleConfigAsync(const Model::SetAutoScaleConfigRequest& request, const SetAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetAutoScaleConfigOutcomeCallable setAutoScaleConfigCallable(const Model::SetAutoScaleConfigRequest& request) const;
|
||||
SetGWSClusterPolicyOutcome setGWSClusterPolicy(const Model::SetGWSClusterPolicyRequest &request)const;
|
||||
void setGWSClusterPolicyAsync(const Model::SetGWSClusterPolicyRequest& request, const SetGWSClusterPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetGWSClusterPolicyOutcomeCallable setGWSClusterPolicyCallable(const Model::SetGWSClusterPolicyRequest& request) const;
|
||||
SetGWSInstanceNameOutcome setGWSInstanceName(const Model::SetGWSInstanceNameRequest &request)const;
|
||||
void setGWSInstanceNameAsync(const Model::SetGWSInstanceNameRequest& request, const SetGWSInstanceNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetGWSInstanceNameOutcomeCallable setGWSInstanceNameCallable(const Model::SetGWSInstanceNameRequest& request) const;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT AddUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
std::string password;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT CreateClusterRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AdditionalVolumes
|
||||
{
|
||||
std::string volumeType;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT CreateHybridClusterRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct PostInstallScript
|
||||
{
|
||||
std::string args;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT DeleteContainerAppsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct ContainerApp
|
||||
{
|
||||
std::string id;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT DeleteNodesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string id;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT DeleteUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
std::string name;
|
||||
|
||||
@@ -87,6 +87,7 @@ namespace AlibabaCloud
|
||||
std::string schedulerType;
|
||||
std::string accountType;
|
||||
std::string volumeMountpoint;
|
||||
std::string baseOsTag;
|
||||
std::string vpcId;
|
||||
EcsInfo ecsInfo;
|
||||
bool haEnable;
|
||||
|
||||
@@ -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_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClusterPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeGWSClusterPolicyRequest();
|
||||
~DescribeGWSClusterPolicyRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_
|
||||
@@ -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_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClusterPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeGWSClusterPolicyResult();
|
||||
explicit DescribeGWSClusterPolicyResult(const std::string &payload);
|
||||
~DescribeGWSClusterPolicyResult();
|
||||
std::string getLocalDrive()const;
|
||||
std::string getUsbRedirect()const;
|
||||
std::string getClipboard()const;
|
||||
std::string getWatermark()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string localDrive_;
|
||||
std::string usbRedirect_;
|
||||
std::string clipboard_;
|
||||
std::string watermark_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYRESULT_H_
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT DescribePriceRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Commodities
|
||||
{
|
||||
int amount;
|
||||
|
||||
@@ -41,20 +41,32 @@ namespace AlibabaCloud
|
||||
void setEndTime(int endTime);
|
||||
std::string getFilterValue()const;
|
||||
void setFilterValue(const std::string& filterValue);
|
||||
std::string getDim()const;
|
||||
void setDim(const std::string& dim);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
int getStartTime()const;
|
||||
void setStartTime(int startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string reportType_;
|
||||
int endTime_;
|
||||
std::string filterValue_;
|
||||
std::string dim_;
|
||||
std::string clusterId_;
|
||||
int startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string jobId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,13 +38,21 @@ namespace AlibabaCloud
|
||||
explicit GetAccountingReportResult(const std::string &payload);
|
||||
~GetAccountingReportResult();
|
||||
std::string getMetrics()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<std::string> getData()const;
|
||||
int getTotalCoreTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string metrics_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<std::string> data_;
|
||||
int totalCoreTime_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string instanceType;
|
||||
std::string spotStrategy;
|
||||
};
|
||||
int maxNodesInQueue;
|
||||
std::string resourceGroupId;
|
||||
bool enableAutoGrow;
|
||||
float spotPriceLimit;
|
||||
@@ -68,6 +69,7 @@ namespace AlibabaCloud
|
||||
int getGrowIntervalInMinutes()const;
|
||||
std::string getUid()const;
|
||||
int getGrowTimeoutInMinutes()const;
|
||||
std::string getImageId()const;
|
||||
int getShrinkIntervalInMinutes()const;
|
||||
float getSpotPriceLimit()const;
|
||||
std::vector<QueueInfo> getQueues()const;
|
||||
@@ -88,6 +90,7 @@ namespace AlibabaCloud
|
||||
int growIntervalInMinutes_;
|
||||
std::string uid_;
|
||||
int growTimeoutInMinutes_;
|
||||
std::string imageId_;
|
||||
int shrinkIntervalInMinutes_;
|
||||
float spotPriceLimit_;
|
||||
std::vector<QueueInfo> queues_;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT InvokeShellCommandRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string id;
|
||||
|
||||
@@ -81,6 +81,7 @@ namespace AlibabaCloud
|
||||
std::string schedulerType;
|
||||
std::string accountType;
|
||||
std::string ehpcVersion;
|
||||
std::string baseOsTag;
|
||||
UsedResources usedResources;
|
||||
std::string vpcId;
|
||||
Managers managers;
|
||||
|
||||
@@ -41,11 +41,14 @@ namespace AlibabaCloud
|
||||
void setImageOwnerAlias(const std::string& imageOwnerAlias);
|
||||
std::string getBaseOsTag()const;
|
||||
void setBaseOsTag(const std::string& baseOsTag);
|
||||
std::string getInstanceType()const;
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string imageOwnerAlias_;
|
||||
std::string baseOsTag_;
|
||||
std::string instanceType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,18 +41,27 @@ namespace AlibabaCloud
|
||||
std::string version;
|
||||
std::string osTag;
|
||||
};
|
||||
struct OsTag
|
||||
{
|
||||
std::string platform;
|
||||
std::string architecture;
|
||||
std::string version;
|
||||
std::string osTag;
|
||||
std::string baseOsTag;
|
||||
};
|
||||
std::string imageOwnerAlias;
|
||||
std::string status;
|
||||
std::string uid;
|
||||
std::string imageName;
|
||||
std::string description;
|
||||
std::string postInstallScript;
|
||||
std::string productCode;
|
||||
std::string skuCode;
|
||||
std::string pricingCycle;
|
||||
int size;
|
||||
std::string imageId;
|
||||
BaseOsTag baseOsTag;
|
||||
std::string uid;
|
||||
std::string imageName;
|
||||
std::string postInstallScript;
|
||||
OsTag osTag;
|
||||
std::string imageId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -37,9 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getBaseOsTag()const;
|
||||
void setBaseOsTag(const std::string& baseOsTag);
|
||||
std::string getInstanceType()const;
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string baseOsTag_;
|
||||
std::string instanceType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,6 +38,8 @@ namespace AlibabaCloud
|
||||
std::string architecture;
|
||||
std::string version;
|
||||
std::string osTag;
|
||||
std::string imageId;
|
||||
std::string baseOsTag;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT ListInvocationResultsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string id;
|
||||
|
||||
@@ -60,6 +60,7 @@ namespace AlibabaCloud
|
||||
TotalResources totalResources;
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
bool htEnabled;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
std::string lockReason;
|
||||
|
||||
@@ -57,6 +57,7 @@ namespace AlibabaCloud
|
||||
TotalResources totalResources;
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
bool htEnabled;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
std::string lockReason;
|
||||
|
||||
@@ -62,6 +62,7 @@ namespace AlibabaCloud
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
std::string ipAddress;
|
||||
bool htEnabled;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
std::string lockReason;
|
||||
|
||||
@@ -35,12 +35,15 @@ namespace AlibabaCloud
|
||||
ListSoftwaresRequest();
|
||||
~ListSoftwaresRequest();
|
||||
|
||||
std::string getOsTag()const;
|
||||
void setOsTag(const std::string& osTag);
|
||||
std::string getEhpcVersion()const;
|
||||
void setEhpcVersion(const std::string& ehpcVersion);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string osTag_;
|
||||
std::string ehpcVersion_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT ModifyImageGatewayConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Repo
|
||||
{
|
||||
std::string auth;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT ModifyUserGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
std::string name;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT ModifyUserPasswordsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
std::string password;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT ResetNodesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string id;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT SetAutoScaleConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Queues
|
||||
{
|
||||
std::string spotStrategy;
|
||||
@@ -44,6 +45,7 @@ namespace AlibabaCloud
|
||||
float spotPriceLimit;
|
||||
};
|
||||
std::vector<InstanceTypes> instanceTypes;
|
||||
int maxNodesInQueue;
|
||||
std::string instanceType;
|
||||
bool enableAutoGrow;
|
||||
float spotPriceLimit;
|
||||
@@ -54,6 +56,8 @@ namespace AlibabaCloud
|
||||
SetAutoScaleConfigRequest();
|
||||
~SetAutoScaleConfigRequest();
|
||||
|
||||
std::string getImageId()const;
|
||||
void setImageId(const std::string& imageId);
|
||||
float getSpotPriceLimit()const;
|
||||
void setSpotPriceLimit(float spotPriceLimit);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -86,6 +90,7 @@ namespace AlibabaCloud
|
||||
void setGrowRatio(int growRatio);
|
||||
|
||||
private:
|
||||
std::string imageId_;
|
||||
float spotPriceLimit_;
|
||||
std::string accessKeyId_;
|
||||
std::string excludeNodes_;
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EHPC_MODEL_SETGWSCLUSTERPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_SETGWSCLUSTERPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT SetGWSClusterPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetGWSClusterPolicyRequest();
|
||||
~SetGWSClusterPolicyRequest();
|
||||
|
||||
std::string getWatermark()const;
|
||||
void setWatermark(const std::string& watermark);
|
||||
std::string getLocalDrive()const;
|
||||
void setLocalDrive(const std::string& localDrive);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getClipboard()const;
|
||||
void setClipboard(const std::string& clipboard);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUsbRedirect()const;
|
||||
void setUsbRedirect(const std::string& usbRedirect);
|
||||
|
||||
private:
|
||||
std::string watermark_;
|
||||
std::string localDrive_;
|
||||
std::string clusterId_;
|
||||
std::string clipboard_;
|
||||
std::string accessKeyId_;
|
||||
std::string usbRedirect_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_SETGWSCLUSTERPOLICYREQUEST_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_EHPC_MODEL_SETGWSCLUSTERPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_SETGWSCLUSTERPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT SetGWSClusterPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetGWSClusterPolicyResult();
|
||||
explicit SetGWSClusterPolicyResult(const std::string &payload);
|
||||
~SetGWSClusterPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_SETGWSCLUSTERPOLICYRESULT_H_
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT SetQueueRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Node
|
||||
{
|
||||
std::string name;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT StartNodesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string id;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT StopNodesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string id;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT UpdateClusterVolumesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AdditionalVolumes
|
||||
{
|
||||
std::string volumeType;
|
||||
|
||||
@@ -987,6 +987,42 @@ EHPCClient::DescribeContainerAppOutcomeCallable EHPCClient::describeContainerApp
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EHPCClient::DescribeGWSClusterPolicyOutcome EHPCClient::describeGWSClusterPolicy(const DescribeGWSClusterPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeGWSClusterPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeGWSClusterPolicyOutcome(DescribeGWSClusterPolicyResult(outcome.result()));
|
||||
else
|
||||
return DescribeGWSClusterPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EHPCClient::describeGWSClusterPolicyAsync(const DescribeGWSClusterPolicyRequest& request, const DescribeGWSClusterPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeGWSClusterPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EHPCClient::DescribeGWSClusterPolicyOutcomeCallable EHPCClient::describeGWSClusterPolicyCallable(const DescribeGWSClusterPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeGWSClusterPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeGWSClusterPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EHPCClient::DescribeGWSClustersOutcome EHPCClient::describeGWSClusters(const DescribeGWSClustersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3507,6 +3543,42 @@ EHPCClient::SetAutoScaleConfigOutcomeCallable EHPCClient::setAutoScaleConfigCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EHPCClient::SetGWSClusterPolicyOutcome EHPCClient::setGWSClusterPolicy(const SetGWSClusterPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetGWSClusterPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetGWSClusterPolicyOutcome(SetGWSClusterPolicyResult(outcome.result()));
|
||||
else
|
||||
return SetGWSClusterPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EHPCClient::setGWSClusterPolicyAsync(const SetGWSClusterPolicyRequest& request, const SetGWSClusterPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setGWSClusterPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EHPCClient::SetGWSClusterPolicyOutcomeCallable EHPCClient::setGWSClusterPolicyCallable(const SetGWSClusterPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetGWSClusterPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setGWSClusterPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EHPCClient::SetGWSInstanceNameOutcome EHPCClient::setGWSInstanceName(const SetGWSInstanceNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::AddContainerAppRequest;
|
||||
AddContainerAppRequest::AddContainerAppRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "AddContainerApp")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
AddContainerAppRequest::~AddContainerAppRequest()
|
||||
@@ -35,7 +35,7 @@ std::string AddContainerAppRequest::getDescription()const
|
||||
void AddContainerAppRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AddContainerAppRequest::getRepository()const
|
||||
@@ -46,7 +46,7 @@ std::string AddContainerAppRequest::getRepository()const
|
||||
void AddContainerAppRequest::setRepository(const std::string& repository)
|
||||
{
|
||||
repository_ = repository;
|
||||
setCoreParameter("Repository", repository);
|
||||
setParameter("Repository", repository);
|
||||
}
|
||||
|
||||
std::string AddContainerAppRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string AddContainerAppRequest::getAccessKeyId()const
|
||||
void AddContainerAppRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddContainerAppRequest::getContainerType()const
|
||||
@@ -68,7 +68,7 @@ std::string AddContainerAppRequest::getContainerType()const
|
||||
void AddContainerAppRequest::setContainerType(const std::string& containerType)
|
||||
{
|
||||
containerType_ = containerType;
|
||||
setCoreParameter("ContainerType", containerType);
|
||||
setParameter("ContainerType", containerType);
|
||||
}
|
||||
|
||||
std::string AddContainerAppRequest::getName()const
|
||||
@@ -79,7 +79,7 @@ std::string AddContainerAppRequest::getName()const
|
||||
void AddContainerAppRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddContainerAppRequest::getImageTag()const
|
||||
@@ -90,6 +90,6 @@ std::string AddContainerAppRequest::getImageTag()const
|
||||
void AddContainerAppRequest::setImageTag(const std::string& imageTag)
|
||||
{
|
||||
imageTag_ = imageTag;
|
||||
setCoreParameter("ImageTag", imageTag);
|
||||
setParameter("ImageTag", imageTag);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::AddLocalNodesRequest;
|
||||
AddLocalNodesRequest::AddLocalNodesRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "AddLocalNodes")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
AddLocalNodesRequest::~AddLocalNodesRequest()
|
||||
@@ -35,7 +35,7 @@ std::string AddLocalNodesRequest::getClusterId()const
|
||||
void AddLocalNodesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string AddLocalNodesRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string AddLocalNodesRequest::getAccessKeyId()const
|
||||
void AddLocalNodesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddLocalNodesRequest::getNodes()const
|
||||
@@ -57,6 +57,6 @@ std::string AddLocalNodesRequest::getNodes()const
|
||||
void AddLocalNodesRequest::setNodes(const std::string& nodes)
|
||||
{
|
||||
nodes_ = nodes;
|
||||
setCoreParameter("Nodes", nodes);
|
||||
setParameter("Nodes", nodes);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::AddNodesRequest;
|
||||
AddNodesRequest::AddNodesRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "AddNodes")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
AddNodesRequest::~AddNodesRequest()
|
||||
@@ -35,7 +35,7 @@ std::string AddNodesRequest::getImageId()const
|
||||
void AddNodesRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
imageId_ = imageId;
|
||||
setCoreParameter("ImageId", imageId);
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getJobQueue()const
|
||||
@@ -46,7 +46,7 @@ std::string AddNodesRequest::getJobQueue()const
|
||||
void AddNodesRequest::setJobQueue(const std::string& jobQueue)
|
||||
{
|
||||
jobQueue_ = jobQueue;
|
||||
setCoreParameter("JobQueue", jobQueue);
|
||||
setParameter("JobQueue", jobQueue);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string AddNodesRequest::getAccessKeyId()const
|
||||
void AddNodesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getImageOwnerAlias()const
|
||||
@@ -68,7 +68,7 @@ std::string AddNodesRequest::getImageOwnerAlias()const
|
||||
void AddNodesRequest::setImageOwnerAlias(const std::string& imageOwnerAlias)
|
||||
{
|
||||
imageOwnerAlias_ = imageOwnerAlias;
|
||||
setCoreParameter("ImageOwnerAlias", imageOwnerAlias);
|
||||
setParameter("ImageOwnerAlias", imageOwnerAlias);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getSystemDiskType()const
|
||||
@@ -79,7 +79,7 @@ std::string AddNodesRequest::getSystemDiskType()const
|
||||
void AddNodesRequest::setSystemDiskType(const std::string& systemDiskType)
|
||||
{
|
||||
systemDiskType_ = systemDiskType;
|
||||
setCoreParameter("SystemDiskType", systemDiskType);
|
||||
setParameter("SystemDiskType", systemDiskType);
|
||||
}
|
||||
|
||||
int AddNodesRequest::getSystemDiskSize()const
|
||||
@@ -90,7 +90,7 @@ int AddNodesRequest::getSystemDiskSize()const
|
||||
void AddNodesRequest::setSystemDiskSize(int systemDiskSize)
|
||||
{
|
||||
systemDiskSize_ = systemDiskSize;
|
||||
setCoreParameter("SystemDiskSize", std::to_string(systemDiskSize));
|
||||
setParameter("SystemDiskSize", std::to_string(systemDiskSize));
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getInstanceType()const
|
||||
@@ -101,7 +101,7 @@ std::string AddNodesRequest::getInstanceType()const
|
||||
void AddNodesRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setCoreParameter("InstanceType", instanceType);
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getHostNamePrefix()const
|
||||
@@ -112,7 +112,7 @@ std::string AddNodesRequest::getHostNamePrefix()const
|
||||
void AddNodesRequest::setHostNamePrefix(const std::string& hostNamePrefix)
|
||||
{
|
||||
hostNamePrefix_ = hostNamePrefix;
|
||||
setCoreParameter("HostNamePrefix", hostNamePrefix);
|
||||
setParameter("HostNamePrefix", hostNamePrefix);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getComputeSpotPriceLimit()const
|
||||
@@ -123,7 +123,7 @@ std::string AddNodesRequest::getComputeSpotPriceLimit()const
|
||||
void AddNodesRequest::setComputeSpotPriceLimit(const std::string& computeSpotPriceLimit)
|
||||
{
|
||||
computeSpotPriceLimit_ = computeSpotPriceLimit;
|
||||
setCoreParameter("ComputeSpotPriceLimit", computeSpotPriceLimit);
|
||||
setParameter("ComputeSpotPriceLimit", computeSpotPriceLimit);
|
||||
}
|
||||
|
||||
int AddNodesRequest::getAutoRenewPeriod()const
|
||||
@@ -134,7 +134,7 @@ int AddNodesRequest::getAutoRenewPeriod()const
|
||||
void AddNodesRequest::setAutoRenewPeriod(int autoRenewPeriod)
|
||||
{
|
||||
autoRenewPeriod_ = autoRenewPeriod;
|
||||
setCoreParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
setParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
}
|
||||
|
||||
int AddNodesRequest::getPeriod()const
|
||||
@@ -145,7 +145,7 @@ int AddNodesRequest::getPeriod()const
|
||||
void AddNodesRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", std::to_string(period));
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
int AddNodesRequest::getCount()const
|
||||
@@ -156,7 +156,7 @@ int AddNodesRequest::getCount()const
|
||||
void AddNodesRequest::setCount(int count)
|
||||
{
|
||||
count_ = count;
|
||||
setCoreParameter("Count", std::to_string(count));
|
||||
setParameter("Count", std::to_string(count));
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getClusterId()const
|
||||
@@ -167,7 +167,7 @@ std::string AddNodesRequest::getClusterId()const
|
||||
void AddNodesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getComputeSpotStrategy()const
|
||||
@@ -178,7 +178,7 @@ std::string AddNodesRequest::getComputeSpotStrategy()const
|
||||
void AddNodesRequest::setComputeSpotStrategy(const std::string& computeSpotStrategy)
|
||||
{
|
||||
computeSpotStrategy_ = computeSpotStrategy;
|
||||
setCoreParameter("ComputeSpotStrategy", computeSpotStrategy);
|
||||
setParameter("ComputeSpotStrategy", computeSpotStrategy);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getHostNameSuffix()const
|
||||
@@ -189,7 +189,7 @@ std::string AddNodesRequest::getHostNameSuffix()const
|
||||
void AddNodesRequest::setHostNameSuffix(const std::string& hostNameSuffix)
|
||||
{
|
||||
hostNameSuffix_ = hostNameSuffix;
|
||||
setCoreParameter("HostNameSuffix", hostNameSuffix);
|
||||
setParameter("HostNameSuffix", hostNameSuffix);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getVSwitchId()const
|
||||
@@ -200,7 +200,7 @@ std::string AddNodesRequest::getVSwitchId()const
|
||||
void AddNodesRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getPeriodUnit()const
|
||||
@@ -211,7 +211,7 @@ std::string AddNodesRequest::getPeriodUnit()const
|
||||
void AddNodesRequest::setPeriodUnit(const std::string& periodUnit)
|
||||
{
|
||||
periodUnit_ = periodUnit;
|
||||
setCoreParameter("PeriodUnit", periodUnit);
|
||||
setParameter("PeriodUnit", periodUnit);
|
||||
}
|
||||
|
||||
bool AddNodesRequest::getComputeEnableHt()const
|
||||
@@ -222,7 +222,7 @@ bool AddNodesRequest::getComputeEnableHt()const
|
||||
void AddNodesRequest::setComputeEnableHt(bool computeEnableHt)
|
||||
{
|
||||
computeEnableHt_ = computeEnableHt;
|
||||
setCoreParameter("ComputeEnableHt", computeEnableHt ? "true" : "false");
|
||||
setParameter("ComputeEnableHt", computeEnableHt ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getAutoRenew()const
|
||||
@@ -233,7 +233,7 @@ std::string AddNodesRequest::getAutoRenew()const
|
||||
void AddNodesRequest::setAutoRenew(const std::string& autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setCoreParameter("AutoRenew", autoRenew);
|
||||
setParameter("AutoRenew", autoRenew);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getEcsChargeType()const
|
||||
@@ -244,7 +244,7 @@ std::string AddNodesRequest::getEcsChargeType()const
|
||||
void AddNodesRequest::setEcsChargeType(const std::string& ecsChargeType)
|
||||
{
|
||||
ecsChargeType_ = ecsChargeType;
|
||||
setCoreParameter("EcsChargeType", ecsChargeType);
|
||||
setParameter("EcsChargeType", ecsChargeType);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getCreateMode()const
|
||||
@@ -255,7 +255,7 @@ std::string AddNodesRequest::getCreateMode()const
|
||||
void AddNodesRequest::setCreateMode(const std::string& createMode)
|
||||
{
|
||||
createMode_ = createMode;
|
||||
setCoreParameter("CreateMode", createMode);
|
||||
setParameter("CreateMode", createMode);
|
||||
}
|
||||
|
||||
std::string AddNodesRequest::getZoneId()const
|
||||
@@ -266,6 +266,6 @@ std::string AddNodesRequest::getZoneId()const
|
||||
void AddNodesRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::AddQueueRequest;
|
||||
AddQueueRequest::AddQueueRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "AddQueue")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
AddQueueRequest::~AddQueueRequest()
|
||||
@@ -35,7 +35,7 @@ std::string AddQueueRequest::getQueueName()const
|
||||
void AddQueueRequest::setQueueName(const std::string& queueName)
|
||||
{
|
||||
queueName_ = queueName;
|
||||
setCoreParameter("QueueName", queueName);
|
||||
setParameter("QueueName", queueName);
|
||||
}
|
||||
|
||||
std::string AddQueueRequest::getClusterId()const
|
||||
@@ -46,7 +46,7 @@ std::string AddQueueRequest::getClusterId()const
|
||||
void AddQueueRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string AddQueueRequest::getAccessKeyId()const
|
||||
@@ -57,6 +57,6 @@ std::string AddQueueRequest::getAccessKeyId()const
|
||||
void AddQueueRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::AddUsersRequest;
|
||||
AddUsersRequest::AddUsersRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "AddUsers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
AddUsersRequest::~AddUsersRequest()
|
||||
@@ -35,7 +35,7 @@ std::string AddUsersRequest::getClusterId()const
|
||||
void AddUsersRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string AddUsersRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string AddUsersRequest::getAccessKeyId()const
|
||||
void AddUsersRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::vector<AddUsersRequest::User> AddUsersRequest::getUser()const
|
||||
@@ -59,10 +59,10 @@ void AddUsersRequest::setUser(const std::vector<User>& user)
|
||||
user_ = user;
|
||||
for(int dep1 = 0; dep1!= user.size(); dep1++) {
|
||||
auto userObj = user.at(dep1);
|
||||
std::string userObjStr = "User." + std::to_string(dep1);
|
||||
setCoreParameter(userObjStr + ".Password", userObj.password);
|
||||
setCoreParameter(userObjStr + ".Name", userObj.name);
|
||||
setCoreParameter(userObjStr + ".Group", userObj.group);
|
||||
std::string userObjStr = "User." + std::to_string(dep1 + 1);
|
||||
setParameter(userObjStr + ".Password", userObj.password);
|
||||
setParameter(userObjStr + ".Name", userObj.name);
|
||||
setParameter(userObjStr + ".Group", userObj.group);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::BindAccountToClusterUserRequest;
|
||||
BindAccountToClusterUserRequest::BindAccountToClusterUserRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "BindAccountToClusterUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
BindAccountToClusterUserRequest::~BindAccountToClusterUserRequest()
|
||||
@@ -35,7 +35,7 @@ std::string BindAccountToClusterUserRequest::getUserPwd()const
|
||||
void BindAccountToClusterUserRequest::setUserPwd(const std::string& userPwd)
|
||||
{
|
||||
userPwd_ = userPwd;
|
||||
setCoreParameter("UserPwd", userPwd);
|
||||
setParameter("UserPwd", userPwd);
|
||||
}
|
||||
|
||||
std::string BindAccountToClusterUserRequest::getClusterId()const
|
||||
@@ -46,7 +46,7 @@ std::string BindAccountToClusterUserRequest::getClusterId()const
|
||||
void BindAccountToClusterUserRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string BindAccountToClusterUserRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string BindAccountToClusterUserRequest::getAccessKeyId()const
|
||||
void BindAccountToClusterUserRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindAccountToClusterUserRequest::getAccountName()const
|
||||
@@ -68,7 +68,7 @@ std::string BindAccountToClusterUserRequest::getAccountName()const
|
||||
void BindAccountToClusterUserRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setCoreParameter("AccountName", accountName);
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string BindAccountToClusterUserRequest::getAccountUid()const
|
||||
@@ -79,7 +79,7 @@ std::string BindAccountToClusterUserRequest::getAccountUid()const
|
||||
void BindAccountToClusterUserRequest::setAccountUid(const std::string& accountUid)
|
||||
{
|
||||
accountUid_ = accountUid;
|
||||
setCoreParameter("AccountUid", accountUid);
|
||||
setParameter("AccountUid", accountUid);
|
||||
}
|
||||
|
||||
std::string BindAccountToClusterUserRequest::getUserName()const
|
||||
@@ -90,6 +90,6 @@ std::string BindAccountToClusterUserRequest::getUserName()const
|
||||
void BindAccountToClusterUserRequest::setUserName(const std::string& userName)
|
||||
{
|
||||
userName_ = userName;
|
||||
setCoreParameter("UserName", userName);
|
||||
setParameter("UserName", userName);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::CreateClusterRequest;
|
||||
CreateClusterRequest::CreateClusterRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "CreateCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
CreateClusterRequest::~CreateClusterRequest()
|
||||
@@ -37,20 +37,20 @@ void CreateClusterRequest::setAdditionalVolumes(const std::vector<AdditionalVolu
|
||||
additionalVolumes_ = additionalVolumes;
|
||||
for(int dep1 = 0; dep1!= additionalVolumes.size(); dep1++) {
|
||||
auto additionalVolumesObj = additionalVolumes.at(dep1);
|
||||
std::string additionalVolumesObjStr = "AdditionalVolumes." + std::to_string(dep1);
|
||||
setCoreParameter(additionalVolumesObjStr + ".VolumeType", additionalVolumesObj.volumeType);
|
||||
setCoreParameter(additionalVolumesObjStr + ".VolumeProtocol", additionalVolumesObj.volumeProtocol);
|
||||
setCoreParameter(additionalVolumesObjStr + ".LocalDirectory", additionalVolumesObj.localDirectory);
|
||||
setCoreParameter(additionalVolumesObjStr + ".RemoteDirectory", additionalVolumesObj.remoteDirectory);
|
||||
std::string additionalVolumesObjStr = "AdditionalVolumes." + std::to_string(dep1 + 1);
|
||||
setParameter(additionalVolumesObjStr + ".VolumeType", additionalVolumesObj.volumeType);
|
||||
setParameter(additionalVolumesObjStr + ".VolumeProtocol", additionalVolumesObj.volumeProtocol);
|
||||
setParameter(additionalVolumesObjStr + ".LocalDirectory", additionalVolumesObj.localDirectory);
|
||||
setParameter(additionalVolumesObjStr + ".RemoteDirectory", additionalVolumesObj.remoteDirectory);
|
||||
for(int dep2 = 0; dep2!= additionalVolumesObj.roles.size(); dep2++) {
|
||||
auto rolesObj = additionalVolumesObj.roles.at(dep2);
|
||||
std::string rolesObjStr = additionalVolumesObjStr + "Roles." + std::to_string(dep2);
|
||||
setCoreParameter(rolesObjStr + ".Name", rolesObj.name);
|
||||
std::string rolesObjStr = additionalVolumesObjStr + "Roles." + std::to_string(dep2 + 1);
|
||||
setParameter(rolesObjStr + ".Name", rolesObj.name);
|
||||
}
|
||||
setCoreParameter(additionalVolumesObjStr + ".VolumeId", additionalVolumesObj.volumeId);
|
||||
setCoreParameter(additionalVolumesObjStr + ".VolumeMountpoint", additionalVolumesObj.volumeMountpoint);
|
||||
setCoreParameter(additionalVolumesObjStr + ".Location", additionalVolumesObj.location);
|
||||
setCoreParameter(additionalVolumesObjStr + ".JobQueue", additionalVolumesObj.jobQueue);
|
||||
setParameter(additionalVolumesObjStr + ".VolumeId", additionalVolumesObj.volumeId);
|
||||
setParameter(additionalVolumesObjStr + ".VolumeMountpoint", additionalVolumesObj.volumeMountpoint);
|
||||
setParameter(additionalVolumesObjStr + ".Location", additionalVolumesObj.location);
|
||||
setParameter(additionalVolumesObjStr + ".JobQueue", additionalVolumesObj.jobQueue);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ std::string CreateClusterRequest::getEcsOrderManagerInstanceType()const
|
||||
void CreateClusterRequest::setEcsOrderManagerInstanceType(const std::string& ecsOrderManagerInstanceType)
|
||||
{
|
||||
ecsOrderManagerInstanceType_ = ecsOrderManagerInstanceType;
|
||||
setCoreParameter("EcsOrderManagerInstanceType", ecsOrderManagerInstanceType);
|
||||
setParameter("EcsOrderManagerInstanceType", ecsOrderManagerInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getKeyPairName()const
|
||||
@@ -73,7 +73,7 @@ std::string CreateClusterRequest::getKeyPairName()const
|
||||
void CreateClusterRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getSecurityGroupName()const
|
||||
@@ -84,7 +84,7 @@ std::string CreateClusterRequest::getSecurityGroupName()const
|
||||
void CreateClusterRequest::setSecurityGroupName(const std::string& securityGroupName)
|
||||
{
|
||||
securityGroupName_ = securityGroupName;
|
||||
setCoreParameter("SecurityGroupName", securityGroupName);
|
||||
setParameter("SecurityGroupName", securityGroupName);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getImageOwnerAlias()const
|
||||
@@ -95,7 +95,7 @@ std::string CreateClusterRequest::getImageOwnerAlias()const
|
||||
void CreateClusterRequest::setImageOwnerAlias(const std::string& imageOwnerAlias)
|
||||
{
|
||||
imageOwnerAlias_ = imageOwnerAlias;
|
||||
setCoreParameter("ImageOwnerAlias", imageOwnerAlias);
|
||||
setParameter("ImageOwnerAlias", imageOwnerAlias);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getDeployMode()const
|
||||
@@ -106,7 +106,7 @@ std::string CreateClusterRequest::getDeployMode()const
|
||||
void CreateClusterRequest::setDeployMode(const std::string& deployMode)
|
||||
{
|
||||
deployMode_ = deployMode;
|
||||
setCoreParameter("DeployMode", deployMode);
|
||||
setParameter("DeployMode", deployMode);
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getEcsOrderManagerCount()const
|
||||
@@ -117,7 +117,7 @@ int CreateClusterRequest::getEcsOrderManagerCount()const
|
||||
void CreateClusterRequest::setEcsOrderManagerCount(int ecsOrderManagerCount)
|
||||
{
|
||||
ecsOrderManagerCount_ = ecsOrderManagerCount;
|
||||
setCoreParameter("EcsOrderManagerCount", std::to_string(ecsOrderManagerCount));
|
||||
setParameter("EcsOrderManagerCount", std::to_string(ecsOrderManagerCount));
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getResourceGroupId()const
|
||||
@@ -128,7 +128,7 @@ std::string CreateClusterRequest::getResourceGroupId()const
|
||||
void CreateClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getPassword()const
|
||||
@@ -139,7 +139,7 @@ std::string CreateClusterRequest::getPassword()const
|
||||
void CreateClusterRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setCoreParameter("Password", password);
|
||||
setParameter("Password", password);
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getEcsOrderLoginCount()const
|
||||
@@ -150,7 +150,7 @@ int CreateClusterRequest::getEcsOrderLoginCount()const
|
||||
void CreateClusterRequest::setEcsOrderLoginCount(int ecsOrderLoginCount)
|
||||
{
|
||||
ecsOrderLoginCount_ = ecsOrderLoginCount;
|
||||
setCoreParameter("EcsOrderLoginCount", std::to_string(ecsOrderLoginCount));
|
||||
setParameter("EcsOrderLoginCount", std::to_string(ecsOrderLoginCount));
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getRemoteVisEnable()const
|
||||
@@ -161,7 +161,7 @@ std::string CreateClusterRequest::getRemoteVisEnable()const
|
||||
void CreateClusterRequest::setRemoteVisEnable(const std::string& remoteVisEnable)
|
||||
{
|
||||
remoteVisEnable_ = remoteVisEnable;
|
||||
setCoreParameter("RemoteVisEnable", remoteVisEnable);
|
||||
setParameter("RemoteVisEnable", remoteVisEnable);
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getSystemDiskSize()const
|
||||
@@ -172,7 +172,7 @@ int CreateClusterRequest::getSystemDiskSize()const
|
||||
void CreateClusterRequest::setSystemDiskSize(int systemDiskSize)
|
||||
{
|
||||
systemDiskSize_ = systemDiskSize;
|
||||
setCoreParameter("SystemDiskSize", std::to_string(systemDiskSize));
|
||||
setParameter("SystemDiskSize", std::to_string(systemDiskSize));
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getComputeSpotPriceLimit()const
|
||||
@@ -183,7 +183,7 @@ std::string CreateClusterRequest::getComputeSpotPriceLimit()const
|
||||
void CreateClusterRequest::setComputeSpotPriceLimit(const std::string& computeSpotPriceLimit)
|
||||
{
|
||||
computeSpotPriceLimit_ = computeSpotPriceLimit;
|
||||
setCoreParameter("ComputeSpotPriceLimit", computeSpotPriceLimit);
|
||||
setParameter("ComputeSpotPriceLimit", computeSpotPriceLimit);
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getAutoRenewPeriod()const
|
||||
@@ -194,7 +194,7 @@ int CreateClusterRequest::getAutoRenewPeriod()const
|
||||
void CreateClusterRequest::setAutoRenewPeriod(int autoRenewPeriod)
|
||||
{
|
||||
autoRenewPeriod_ = autoRenewPeriod;
|
||||
setCoreParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
setParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getPeriod()const
|
||||
@@ -205,7 +205,7 @@ int CreateClusterRequest::getPeriod()const
|
||||
void CreateClusterRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", std::to_string(period));
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getRemoteDirectory()const
|
||||
@@ -216,7 +216,7 @@ std::string CreateClusterRequest::getRemoteDirectory()const
|
||||
void CreateClusterRequest::setRemoteDirectory(const std::string& remoteDirectory)
|
||||
{
|
||||
remoteDirectory_ = remoteDirectory;
|
||||
setCoreParameter("RemoteDirectory", remoteDirectory);
|
||||
setParameter("RemoteDirectory", remoteDirectory);
|
||||
}
|
||||
|
||||
int CreateClusterRequest::getEcsOrderComputeCount()const
|
||||
@@ -227,7 +227,7 @@ int CreateClusterRequest::getEcsOrderComputeCount()const
|
||||
void CreateClusterRequest::setEcsOrderComputeCount(int ecsOrderComputeCount)
|
||||
{
|
||||
ecsOrderComputeCount_ = ecsOrderComputeCount;
|
||||
setCoreParameter("EcsOrderComputeCount", std::to_string(ecsOrderComputeCount));
|
||||
setParameter("EcsOrderComputeCount", std::to_string(ecsOrderComputeCount));
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getComputeSpotStrategy()const
|
||||
@@ -238,7 +238,7 @@ std::string CreateClusterRequest::getComputeSpotStrategy()const
|
||||
void CreateClusterRequest::setComputeSpotStrategy(const std::string& computeSpotStrategy)
|
||||
{
|
||||
computeSpotStrategy_ = computeSpotStrategy;
|
||||
setCoreParameter("ComputeSpotStrategy", computeSpotStrategy);
|
||||
setParameter("ComputeSpotStrategy", computeSpotStrategy);
|
||||
}
|
||||
|
||||
std::vector<CreateClusterRequest::PostInstallScript> CreateClusterRequest::getPostInstallScript()const
|
||||
@@ -251,9 +251,9 @@ void CreateClusterRequest::setPostInstallScript(const std::vector<PostInstallScr
|
||||
postInstallScript_ = postInstallScript;
|
||||
for(int dep1 = 0; dep1!= postInstallScript.size(); dep1++) {
|
||||
auto postInstallScriptObj = postInstallScript.at(dep1);
|
||||
std::string postInstallScriptObjStr = "PostInstallScript." + std::to_string(dep1);
|
||||
setCoreParameter(postInstallScriptObjStr + ".Args", postInstallScriptObj.args);
|
||||
setCoreParameter(postInstallScriptObjStr + ".Url", postInstallScriptObj.url);
|
||||
std::string postInstallScriptObjStr = "PostInstallScript." + std::to_string(dep1 + 1);
|
||||
setParameter(postInstallScriptObjStr + ".Args", postInstallScriptObj.args);
|
||||
setParameter(postInstallScriptObjStr + ".Url", postInstallScriptObj.url);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -265,7 +265,7 @@ std::string CreateClusterRequest::getVSwitchId()const
|
||||
void CreateClusterRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getPeriodUnit()const
|
||||
@@ -276,7 +276,7 @@ std::string CreateClusterRequest::getPeriodUnit()const
|
||||
void CreateClusterRequest::setPeriodUnit(const std::string& periodUnit)
|
||||
{
|
||||
periodUnit_ = periodUnit;
|
||||
setCoreParameter("PeriodUnit", periodUnit);
|
||||
setParameter("PeriodUnit", periodUnit);
|
||||
}
|
||||
|
||||
bool CreateClusterRequest::getComputeEnableHt()const
|
||||
@@ -287,7 +287,7 @@ bool CreateClusterRequest::getComputeEnableHt()const
|
||||
void CreateClusterRequest::setComputeEnableHt(bool computeEnableHt)
|
||||
{
|
||||
computeEnableHt_ = computeEnableHt;
|
||||
setCoreParameter("ComputeEnableHt", computeEnableHt ? "true" : "false");
|
||||
setParameter("ComputeEnableHt", computeEnableHt ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getAutoRenew()const
|
||||
@@ -298,7 +298,7 @@ std::string CreateClusterRequest::getAutoRenew()const
|
||||
void CreateClusterRequest::setAutoRenew(const std::string& autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setCoreParameter("AutoRenew", autoRenew);
|
||||
setParameter("AutoRenew", autoRenew);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getName()const
|
||||
@@ -309,7 +309,7 @@ std::string CreateClusterRequest::getName()const
|
||||
void CreateClusterRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getVolumeId()const
|
||||
@@ -320,7 +320,7 @@ std::string CreateClusterRequest::getVolumeId()const
|
||||
void CreateClusterRequest::setVolumeId(const std::string& volumeId)
|
||||
{
|
||||
volumeId_ = volumeId;
|
||||
setCoreParameter("VolumeId", volumeId);
|
||||
setParameter("VolumeId", volumeId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getZoneId()const
|
||||
@@ -331,7 +331,7 @@ std::string CreateClusterRequest::getZoneId()const
|
||||
void CreateClusterRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getSccClusterId()const
|
||||
@@ -342,7 +342,7 @@ std::string CreateClusterRequest::getSccClusterId()const
|
||||
void CreateClusterRequest::setSccClusterId(const std::string& sccClusterId)
|
||||
{
|
||||
sccClusterId_ = sccClusterId;
|
||||
setCoreParameter("SccClusterId", sccClusterId);
|
||||
setParameter("SccClusterId", sccClusterId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getImageId()const
|
||||
@@ -353,7 +353,7 @@ std::string CreateClusterRequest::getImageId()const
|
||||
void CreateClusterRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
imageId_ = imageId;
|
||||
setCoreParameter("ImageId", imageId);
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getEhpcVersion()const
|
||||
@@ -364,7 +364,7 @@ std::string CreateClusterRequest::getEhpcVersion()const
|
||||
void CreateClusterRequest::setEhpcVersion(const std::string& ehpcVersion)
|
||||
{
|
||||
ehpcVersion_ = ehpcVersion;
|
||||
setCoreParameter("EhpcVersion", ehpcVersion);
|
||||
setParameter("EhpcVersion", ehpcVersion);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getAccountType()const
|
||||
@@ -375,7 +375,7 @@ std::string CreateClusterRequest::getAccountType()const
|
||||
void CreateClusterRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setCoreParameter("AccountType", accountType);
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getSecurityGroupId()const
|
||||
@@ -386,7 +386,7 @@ std::string CreateClusterRequest::getSecurityGroupId()const
|
||||
void CreateClusterRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setCoreParameter("SecurityGroupId", securityGroupId);
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getDescription()const
|
||||
@@ -397,7 +397,7 @@ std::string CreateClusterRequest::getDescription()const
|
||||
void CreateClusterRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getEcsOrderComputeInstanceType()const
|
||||
@@ -408,7 +408,7 @@ std::string CreateClusterRequest::getEcsOrderComputeInstanceType()const
|
||||
void CreateClusterRequest::setEcsOrderComputeInstanceType(const std::string& ecsOrderComputeInstanceType)
|
||||
{
|
||||
ecsOrderComputeInstanceType_ = ecsOrderComputeInstanceType;
|
||||
setCoreParameter("EcsOrderComputeInstanceType", ecsOrderComputeInstanceType);
|
||||
setParameter("EcsOrderComputeInstanceType", ecsOrderComputeInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getJobQueue()const
|
||||
@@ -419,7 +419,7 @@ std::string CreateClusterRequest::getJobQueue()const
|
||||
void CreateClusterRequest::setJobQueue(const std::string& jobQueue)
|
||||
{
|
||||
jobQueue_ = jobQueue;
|
||||
setCoreParameter("JobQueue", jobQueue);
|
||||
setParameter("JobQueue", jobQueue);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getAccessKeyId()const
|
||||
@@ -430,7 +430,7 @@ std::string CreateClusterRequest::getAccessKeyId()const
|
||||
void CreateClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getVolumeType()const
|
||||
@@ -441,7 +441,7 @@ std::string CreateClusterRequest::getVolumeType()const
|
||||
void CreateClusterRequest::setVolumeType(const std::string& volumeType)
|
||||
{
|
||||
volumeType_ = volumeType;
|
||||
setCoreParameter("VolumeType", volumeType);
|
||||
setParameter("VolumeType", volumeType);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getSystemDiskType()const
|
||||
@@ -452,7 +452,7 @@ std::string CreateClusterRequest::getSystemDiskType()const
|
||||
void CreateClusterRequest::setSystemDiskType(const std::string& systemDiskType)
|
||||
{
|
||||
systemDiskType_ = systemDiskType;
|
||||
setCoreParameter("SystemDiskType", systemDiskType);
|
||||
setParameter("SystemDiskType", systemDiskType);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getVolumeProtocol()const
|
||||
@@ -463,7 +463,7 @@ std::string CreateClusterRequest::getVolumeProtocol()const
|
||||
void CreateClusterRequest::setVolumeProtocol(const std::string& volumeProtocol)
|
||||
{
|
||||
volumeProtocol_ = volumeProtocol;
|
||||
setCoreParameter("VolumeProtocol", volumeProtocol);
|
||||
setParameter("VolumeProtocol", volumeProtocol);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getClientVersion()const
|
||||
@@ -474,7 +474,7 @@ std::string CreateClusterRequest::getClientVersion()const
|
||||
void CreateClusterRequest::setClientVersion(const std::string& clientVersion)
|
||||
{
|
||||
clientVersion_ = clientVersion;
|
||||
setCoreParameter("ClientVersion", clientVersion);
|
||||
setParameter("ClientVersion", clientVersion);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getOsTag()const
|
||||
@@ -485,7 +485,7 @@ std::string CreateClusterRequest::getOsTag()const
|
||||
void CreateClusterRequest::setOsTag(const std::string& osTag)
|
||||
{
|
||||
osTag_ = osTag;
|
||||
setCoreParameter("OsTag", osTag);
|
||||
setParameter("OsTag", osTag);
|
||||
}
|
||||
|
||||
std::vector<CreateClusterRequest::Application> CreateClusterRequest::getApplication()const
|
||||
@@ -498,8 +498,8 @@ void CreateClusterRequest::setApplication(const std::vector<Application>& applic
|
||||
application_ = application;
|
||||
for(int dep1 = 0; dep1!= application.size(); dep1++) {
|
||||
auto applicationObj = application.at(dep1);
|
||||
std::string applicationObjStr = "Application." + std::to_string(dep1);
|
||||
setCoreParameter(applicationObjStr + ".Tag", applicationObj.tag);
|
||||
std::string applicationObjStr = "Application." + std::to_string(dep1 + 1);
|
||||
setParameter(applicationObjStr + ".Tag", applicationObj.tag);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -511,7 +511,7 @@ std::string CreateClusterRequest::getEcsChargeType()const
|
||||
void CreateClusterRequest::setEcsChargeType(const std::string& ecsChargeType)
|
||||
{
|
||||
ecsChargeType_ = ecsChargeType;
|
||||
setCoreParameter("EcsChargeType", ecsChargeType);
|
||||
setParameter("EcsChargeType", ecsChargeType);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getInputFileUrl()const
|
||||
@@ -522,7 +522,7 @@ std::string CreateClusterRequest::getInputFileUrl()const
|
||||
void CreateClusterRequest::setInputFileUrl(const std::string& inputFileUrl)
|
||||
{
|
||||
inputFileUrl_ = inputFileUrl;
|
||||
setCoreParameter("InputFileUrl", inputFileUrl);
|
||||
setParameter("InputFileUrl", inputFileUrl);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getVpcId()const
|
||||
@@ -533,7 +533,7 @@ std::string CreateClusterRequest::getVpcId()const
|
||||
void CreateClusterRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
bool CreateClusterRequest::getHaEnable()const
|
||||
@@ -544,7 +544,7 @@ bool CreateClusterRequest::getHaEnable()const
|
||||
void CreateClusterRequest::setHaEnable(bool haEnable)
|
||||
{
|
||||
haEnable_ = haEnable;
|
||||
setCoreParameter("HaEnable", haEnable ? "true" : "false");
|
||||
setParameter("HaEnable", haEnable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getSchedulerType()const
|
||||
@@ -555,7 +555,7 @@ std::string CreateClusterRequest::getSchedulerType()const
|
||||
void CreateClusterRequest::setSchedulerType(const std::string& schedulerType)
|
||||
{
|
||||
schedulerType_ = schedulerType;
|
||||
setCoreParameter("SchedulerType", schedulerType);
|
||||
setParameter("SchedulerType", schedulerType);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getVolumeMountpoint()const
|
||||
@@ -566,7 +566,7 @@ std::string CreateClusterRequest::getVolumeMountpoint()const
|
||||
void CreateClusterRequest::setVolumeMountpoint(const std::string& volumeMountpoint)
|
||||
{
|
||||
volumeMountpoint_ = volumeMountpoint;
|
||||
setCoreParameter("VolumeMountpoint", volumeMountpoint);
|
||||
setParameter("VolumeMountpoint", volumeMountpoint);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getEcsOrderLoginInstanceType()const
|
||||
@@ -577,6 +577,6 @@ std::string CreateClusterRequest::getEcsOrderLoginInstanceType()const
|
||||
void CreateClusterRequest::setEcsOrderLoginInstanceType(const std::string& ecsOrderLoginInstanceType)
|
||||
{
|
||||
ecsOrderLoginInstanceType_ = ecsOrderLoginInstanceType;
|
||||
setCoreParameter("EcsOrderLoginInstanceType", ecsOrderLoginInstanceType);
|
||||
setParameter("EcsOrderLoginInstanceType", ecsOrderLoginInstanceType);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::CreateGWSClusterRequest;
|
||||
CreateGWSClusterRequest::CreateGWSClusterRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "CreateGWSCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
CreateGWSClusterRequest::~CreateGWSClusterRequest()
|
||||
@@ -35,7 +35,7 @@ std::string CreateGWSClusterRequest::getAccessKeyId()const
|
||||
void CreateGWSClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateGWSClusterRequest::getClusterType()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateGWSClusterRequest::getClusterType()const
|
||||
void CreateGWSClusterRequest::setClusterType(const std::string& clusterType)
|
||||
{
|
||||
clusterType_ = clusterType;
|
||||
setCoreParameter("ClusterType", clusterType);
|
||||
setParameter("ClusterType", clusterType);
|
||||
}
|
||||
|
||||
std::string CreateGWSClusterRequest::getVpcId()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateGWSClusterRequest::getVpcId()const
|
||||
void CreateGWSClusterRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string CreateGWSClusterRequest::getName()const
|
||||
@@ -68,6 +68,6 @@ std::string CreateGWSClusterRequest::getName()const
|
||||
void CreateGWSClusterRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::CreateGWSImageRequest;
|
||||
CreateGWSImageRequest::CreateGWSImageRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "CreateGWSImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
CreateGWSImageRequest::~CreateGWSImageRequest()
|
||||
@@ -35,7 +35,7 @@ std::string CreateGWSImageRequest::getAccessKeyId()const
|
||||
void CreateGWSImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateGWSImageRequest::getInstanceId()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateGWSImageRequest::getInstanceId()const
|
||||
void CreateGWSImageRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateGWSImageRequest::getName()const
|
||||
@@ -57,6 +57,6 @@ std::string CreateGWSImageRequest::getName()const
|
||||
void CreateGWSImageRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::CreateGWSInstanceRequest;
|
||||
CreateGWSInstanceRequest::CreateGWSInstanceRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "CreateGWSInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
CreateGWSInstanceRequest::~CreateGWSInstanceRequest()
|
||||
@@ -35,7 +35,7 @@ std::string CreateGWSInstanceRequest::getImageId()const
|
||||
void CreateGWSInstanceRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
imageId_ = imageId;
|
||||
setCoreParameter("ImageId", imageId);
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
bool CreateGWSInstanceRequest::getAllocatePublicAddress()const
|
||||
@@ -46,7 +46,7 @@ bool CreateGWSInstanceRequest::getAllocatePublicAddress()const
|
||||
void CreateGWSInstanceRequest::setAllocatePublicAddress(bool allocatePublicAddress)
|
||||
{
|
||||
allocatePublicAddress_ = allocatePublicAddress;
|
||||
setCoreParameter("AllocatePublicAddress", allocatePublicAddress ? "true" : "false");
|
||||
setParameter("AllocatePublicAddress", allocatePublicAddress ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getAppList()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateGWSInstanceRequest::getAppList()const
|
||||
void CreateGWSInstanceRequest::setAppList(const std::string& appList)
|
||||
{
|
||||
appList_ = appList;
|
||||
setCoreParameter("AppList", appList);
|
||||
setParameter("AppList", appList);
|
||||
}
|
||||
|
||||
int CreateGWSInstanceRequest::getInternetMaxBandwidthOut()const
|
||||
@@ -68,7 +68,7 @@ int CreateGWSInstanceRequest::getInternetMaxBandwidthOut()const
|
||||
void CreateGWSInstanceRequest::setInternetMaxBandwidthOut(int internetMaxBandwidthOut)
|
||||
{
|
||||
internetMaxBandwidthOut_ = internetMaxBandwidthOut;
|
||||
setCoreParameter("InternetMaxBandwidthOut", std::to_string(internetMaxBandwidthOut));
|
||||
setParameter("InternetMaxBandwidthOut", std::to_string(internetMaxBandwidthOut));
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getAccessKeyId()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateGWSInstanceRequest::getAccessKeyId()const
|
||||
void CreateGWSInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getSystemDiskCategory()const
|
||||
@@ -90,7 +90,7 @@ std::string CreateGWSInstanceRequest::getSystemDiskCategory()const
|
||||
void CreateGWSInstanceRequest::setSystemDiskCategory(const std::string& systemDiskCategory)
|
||||
{
|
||||
systemDiskCategory_ = systemDiskCategory;
|
||||
setCoreParameter("SystemDiskCategory", systemDiskCategory);
|
||||
setParameter("SystemDiskCategory", systemDiskCategory);
|
||||
}
|
||||
|
||||
int CreateGWSInstanceRequest::getSystemDiskSize()const
|
||||
@@ -101,7 +101,7 @@ int CreateGWSInstanceRequest::getSystemDiskSize()const
|
||||
void CreateGWSInstanceRequest::setSystemDiskSize(int systemDiskSize)
|
||||
{
|
||||
systemDiskSize_ = systemDiskSize;
|
||||
setCoreParameter("SystemDiskSize", std::to_string(systemDiskSize));
|
||||
setParameter("SystemDiskSize", std::to_string(systemDiskSize));
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getInstanceType()const
|
||||
@@ -112,7 +112,7 @@ std::string CreateGWSInstanceRequest::getInstanceType()const
|
||||
void CreateGWSInstanceRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setCoreParameter("InstanceType", instanceType);
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getInstanceChargeType()const
|
||||
@@ -123,7 +123,7 @@ std::string CreateGWSInstanceRequest::getInstanceChargeType()const
|
||||
void CreateGWSInstanceRequest::setInstanceChargeType(const std::string& instanceChargeType)
|
||||
{
|
||||
instanceChargeType_ = instanceChargeType;
|
||||
setCoreParameter("InstanceChargeType", instanceChargeType);
|
||||
setParameter("InstanceChargeType", instanceChargeType);
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getPeriod()const
|
||||
@@ -134,7 +134,7 @@ std::string CreateGWSInstanceRequest::getPeriod()const
|
||||
void CreateGWSInstanceRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", period);
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getClusterId()const
|
||||
@@ -145,7 +145,7 @@ std::string CreateGWSInstanceRequest::getClusterId()const
|
||||
void CreateGWSInstanceRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getWorkMode()const
|
||||
@@ -156,7 +156,7 @@ std::string CreateGWSInstanceRequest::getWorkMode()const
|
||||
void CreateGWSInstanceRequest::setWorkMode(const std::string& workMode)
|
||||
{
|
||||
workMode_ = workMode;
|
||||
setCoreParameter("WorkMode", workMode);
|
||||
setParameter("WorkMode", workMode);
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getPeriodUnit()const
|
||||
@@ -167,7 +167,7 @@ std::string CreateGWSInstanceRequest::getPeriodUnit()const
|
||||
void CreateGWSInstanceRequest::setPeriodUnit(const std::string& periodUnit)
|
||||
{
|
||||
periodUnit_ = periodUnit;
|
||||
setCoreParameter("PeriodUnit", periodUnit);
|
||||
setParameter("PeriodUnit", periodUnit);
|
||||
}
|
||||
|
||||
bool CreateGWSInstanceRequest::getAutoRenew()const
|
||||
@@ -178,7 +178,7 @@ bool CreateGWSInstanceRequest::getAutoRenew()const
|
||||
void CreateGWSInstanceRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setCoreParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getInternetChargeType()const
|
||||
@@ -189,7 +189,7 @@ std::string CreateGWSInstanceRequest::getInternetChargeType()const
|
||||
void CreateGWSInstanceRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setCoreParameter("InternetChargeType", internetChargeType);
|
||||
setParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
std::string CreateGWSInstanceRequest::getName()const
|
||||
@@ -200,7 +200,7 @@ std::string CreateGWSInstanceRequest::getName()const
|
||||
void CreateGWSInstanceRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
int CreateGWSInstanceRequest::getInternetMaxBandwidthIn()const
|
||||
@@ -211,6 +211,6 @@ int CreateGWSInstanceRequest::getInternetMaxBandwidthIn()const
|
||||
void CreateGWSInstanceRequest::setInternetMaxBandwidthIn(int internetMaxBandwidthIn)
|
||||
{
|
||||
internetMaxBandwidthIn_ = internetMaxBandwidthIn;
|
||||
setCoreParameter("InternetMaxBandwidthIn", std::to_string(internetMaxBandwidthIn));
|
||||
setParameter("InternetMaxBandwidthIn", std::to_string(internetMaxBandwidthIn));
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::CreateHybridClusterRequest;
|
||||
CreateHybridClusterRequest::CreateHybridClusterRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "CreateHybridCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
CreateHybridClusterRequest::~CreateHybridClusterRequest()
|
||||
@@ -35,7 +35,7 @@ std::string CreateHybridClusterRequest::getEhpcVersion()const
|
||||
void CreateHybridClusterRequest::setEhpcVersion(const std::string& ehpcVersion)
|
||||
{
|
||||
ehpcVersion_ = ehpcVersion;
|
||||
setCoreParameter("EhpcVersion", ehpcVersion);
|
||||
setParameter("EhpcVersion", ehpcVersion);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getSecurityGroupId()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateHybridClusterRequest::getSecurityGroupId()const
|
||||
void CreateHybridClusterRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setCoreParameter("SecurityGroupId", securityGroupId);
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getDescription()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateHybridClusterRequest::getDescription()const
|
||||
void CreateHybridClusterRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getKeyPairName()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateHybridClusterRequest::getKeyPairName()const
|
||||
void CreateHybridClusterRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getSecurityGroupName()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateHybridClusterRequest::getSecurityGroupName()const
|
||||
void CreateHybridClusterRequest::setSecurityGroupName(const std::string& securityGroupName)
|
||||
{
|
||||
securityGroupName_ = securityGroupName;
|
||||
setCoreParameter("SecurityGroupName", securityGroupName);
|
||||
setParameter("SecurityGroupName", securityGroupName);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getEcsOrderComputeInstanceType()const
|
||||
@@ -90,7 +90,7 @@ std::string CreateHybridClusterRequest::getEcsOrderComputeInstanceType()const
|
||||
void CreateHybridClusterRequest::setEcsOrderComputeInstanceType(const std::string& ecsOrderComputeInstanceType)
|
||||
{
|
||||
ecsOrderComputeInstanceType_ = ecsOrderComputeInstanceType;
|
||||
setCoreParameter("EcsOrderComputeInstanceType", ecsOrderComputeInstanceType);
|
||||
setParameter("EcsOrderComputeInstanceType", ecsOrderComputeInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getOnPremiseVolumeRemotePath()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateHybridClusterRequest::getOnPremiseVolumeRemotePath()const
|
||||
void CreateHybridClusterRequest::setOnPremiseVolumeRemotePath(const std::string& onPremiseVolumeRemotePath)
|
||||
{
|
||||
onPremiseVolumeRemotePath_ = onPremiseVolumeRemotePath;
|
||||
setCoreParameter("OnPremiseVolumeRemotePath", onPremiseVolumeRemotePath);
|
||||
setParameter("OnPremiseVolumeRemotePath", onPremiseVolumeRemotePath);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getJobQueue()const
|
||||
@@ -112,7 +112,7 @@ std::string CreateHybridClusterRequest::getJobQueue()const
|
||||
void CreateHybridClusterRequest::setJobQueue(const std::string& jobQueue)
|
||||
{
|
||||
jobQueue_ = jobQueue;
|
||||
setCoreParameter("JobQueue", jobQueue);
|
||||
setParameter("JobQueue", jobQueue);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getAccessKeyId()const
|
||||
@@ -123,7 +123,7 @@ std::string CreateHybridClusterRequest::getAccessKeyId()const
|
||||
void CreateHybridClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getVolumeType()const
|
||||
@@ -134,7 +134,7 @@ std::string CreateHybridClusterRequest::getVolumeType()const
|
||||
void CreateHybridClusterRequest::setVolumeType(const std::string& volumeType)
|
||||
{
|
||||
volumeType_ = volumeType;
|
||||
setCoreParameter("VolumeType", volumeType);
|
||||
setParameter("VolumeType", volumeType);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getResourceGroupId()const
|
||||
@@ -145,7 +145,7 @@ std::string CreateHybridClusterRequest::getResourceGroupId()const
|
||||
void CreateHybridClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getPassword()const
|
||||
@@ -156,7 +156,7 @@ std::string CreateHybridClusterRequest::getPassword()const
|
||||
void CreateHybridClusterRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setCoreParameter("Password", password);
|
||||
setParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getOnPremiseVolumeMountPoint()const
|
||||
@@ -167,7 +167,7 @@ std::string CreateHybridClusterRequest::getOnPremiseVolumeMountPoint()const
|
||||
void CreateHybridClusterRequest::setOnPremiseVolumeMountPoint(const std::string& onPremiseVolumeMountPoint)
|
||||
{
|
||||
onPremiseVolumeMountPoint_ = onPremiseVolumeMountPoint;
|
||||
setCoreParameter("OnPremiseVolumeMountPoint", onPremiseVolumeMountPoint);
|
||||
setParameter("OnPremiseVolumeMountPoint", onPremiseVolumeMountPoint);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getOnPremiseVolumeProtocol()const
|
||||
@@ -178,7 +178,7 @@ std::string CreateHybridClusterRequest::getOnPremiseVolumeProtocol()const
|
||||
void CreateHybridClusterRequest::setOnPremiseVolumeProtocol(const std::string& onPremiseVolumeProtocol)
|
||||
{
|
||||
onPremiseVolumeProtocol_ = onPremiseVolumeProtocol;
|
||||
setCoreParameter("OnPremiseVolumeProtocol", onPremiseVolumeProtocol);
|
||||
setParameter("OnPremiseVolumeProtocol", onPremiseVolumeProtocol);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getVolumeProtocol()const
|
||||
@@ -189,7 +189,7 @@ std::string CreateHybridClusterRequest::getVolumeProtocol()const
|
||||
void CreateHybridClusterRequest::setVolumeProtocol(const std::string& volumeProtocol)
|
||||
{
|
||||
volumeProtocol_ = volumeProtocol;
|
||||
setCoreParameter("VolumeProtocol", volumeProtocol);
|
||||
setParameter("VolumeProtocol", volumeProtocol);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getOnPremiseVolumeLocalPath()const
|
||||
@@ -200,7 +200,7 @@ std::string CreateHybridClusterRequest::getOnPremiseVolumeLocalPath()const
|
||||
void CreateHybridClusterRequest::setOnPremiseVolumeLocalPath(const std::string& onPremiseVolumeLocalPath)
|
||||
{
|
||||
onPremiseVolumeLocalPath_ = onPremiseVolumeLocalPath;
|
||||
setCoreParameter("OnPremiseVolumeLocalPath", onPremiseVolumeLocalPath);
|
||||
setParameter("OnPremiseVolumeLocalPath", onPremiseVolumeLocalPath);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getClientVersion()const
|
||||
@@ -211,7 +211,7 @@ std::string CreateHybridClusterRequest::getClientVersion()const
|
||||
void CreateHybridClusterRequest::setClientVersion(const std::string& clientVersion)
|
||||
{
|
||||
clientVersion_ = clientVersion;
|
||||
setCoreParameter("ClientVersion", clientVersion);
|
||||
setParameter("ClientVersion", clientVersion);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getOsTag()const
|
||||
@@ -222,7 +222,7 @@ std::string CreateHybridClusterRequest::getOsTag()const
|
||||
void CreateHybridClusterRequest::setOsTag(const std::string& osTag)
|
||||
{
|
||||
osTag_ = osTag;
|
||||
setCoreParameter("OsTag", osTag);
|
||||
setParameter("OsTag", osTag);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getRemoteDirectory()const
|
||||
@@ -233,7 +233,7 @@ std::string CreateHybridClusterRequest::getRemoteDirectory()const
|
||||
void CreateHybridClusterRequest::setRemoteDirectory(const std::string& remoteDirectory)
|
||||
{
|
||||
remoteDirectory_ = remoteDirectory;
|
||||
setCoreParameter("RemoteDirectory", remoteDirectory);
|
||||
setParameter("RemoteDirectory", remoteDirectory);
|
||||
}
|
||||
|
||||
std::vector<CreateHybridClusterRequest::PostInstallScript> CreateHybridClusterRequest::getPostInstallScript()const
|
||||
@@ -246,9 +246,9 @@ void CreateHybridClusterRequest::setPostInstallScript(const std::vector<PostInst
|
||||
postInstallScript_ = postInstallScript;
|
||||
for(int dep1 = 0; dep1!= postInstallScript.size(); dep1++) {
|
||||
auto postInstallScriptObj = postInstallScript.at(dep1);
|
||||
std::string postInstallScriptObjStr = "PostInstallScript." + std::to_string(dep1);
|
||||
setCoreParameter(postInstallScriptObjStr + ".Args", postInstallScriptObj.args);
|
||||
setCoreParameter(postInstallScriptObjStr + ".Url", postInstallScriptObj.url);
|
||||
std::string postInstallScriptObjStr = "PostInstallScript." + std::to_string(dep1 + 1);
|
||||
setParameter(postInstallScriptObjStr + ".Args", postInstallScriptObj.args);
|
||||
setParameter(postInstallScriptObjStr + ".Url", postInstallScriptObj.url);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -260,7 +260,7 @@ std::string CreateHybridClusterRequest::getVSwitchId()const
|
||||
void CreateHybridClusterRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::vector<CreateHybridClusterRequest::Nodes> CreateHybridClusterRequest::getNodes()const
|
||||
@@ -273,12 +273,12 @@ void CreateHybridClusterRequest::setNodes(const std::vector<Nodes>& nodes)
|
||||
nodes_ = nodes;
|
||||
for(int dep1 = 0; dep1!= nodes.size(); dep1++) {
|
||||
auto nodesObj = nodes.at(dep1);
|
||||
std::string nodesObjStr = "Nodes." + std::to_string(dep1);
|
||||
setCoreParameter(nodesObjStr + ".IpAddress", nodesObj.ipAddress);
|
||||
setCoreParameter(nodesObjStr + ".HostName", nodesObj.hostName);
|
||||
setCoreParameter(nodesObjStr + ".Role", nodesObj.role);
|
||||
setCoreParameter(nodesObjStr + ".AccountType", nodesObj.accountType);
|
||||
setCoreParameter(nodesObjStr + ".SchedulerType", nodesObj.schedulerType);
|
||||
std::string nodesObjStr = "Nodes." + std::to_string(dep1 + 1);
|
||||
setParameter(nodesObjStr + ".IpAddress", nodesObj.ipAddress);
|
||||
setParameter(nodesObjStr + ".HostName", nodesObj.hostName);
|
||||
setParameter(nodesObjStr + ".Role", nodesObj.role);
|
||||
setParameter(nodesObjStr + ".AccountType", nodesObj.accountType);
|
||||
setParameter(nodesObjStr + ".SchedulerType", nodesObj.schedulerType);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -292,8 +292,8 @@ void CreateHybridClusterRequest::setApplication(const std::vector<Application>&
|
||||
application_ = application;
|
||||
for(int dep1 = 0; dep1!= application.size(); dep1++) {
|
||||
auto applicationObj = application.at(dep1);
|
||||
std::string applicationObjStr = "Application." + std::to_string(dep1);
|
||||
setCoreParameter(applicationObjStr + ".Tag", applicationObj.tag);
|
||||
std::string applicationObjStr = "Application." + std::to_string(dep1 + 1);
|
||||
setParameter(applicationObjStr + ".Tag", applicationObj.tag);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ std::string CreateHybridClusterRequest::getDomain()const
|
||||
void CreateHybridClusterRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setCoreParameter("Domain", domain);
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getVpcId()const
|
||||
@@ -316,7 +316,7 @@ std::string CreateHybridClusterRequest::getVpcId()const
|
||||
void CreateHybridClusterRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getName()const
|
||||
@@ -327,7 +327,7 @@ std::string CreateHybridClusterRequest::getName()const
|
||||
void CreateHybridClusterRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getVolumeId()const
|
||||
@@ -338,7 +338,7 @@ std::string CreateHybridClusterRequest::getVolumeId()const
|
||||
void CreateHybridClusterRequest::setVolumeId(const std::string& volumeId)
|
||||
{
|
||||
volumeId_ = volumeId;
|
||||
setCoreParameter("VolumeId", volumeId);
|
||||
setParameter("VolumeId", volumeId);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getVolumeMountpoint()const
|
||||
@@ -349,7 +349,7 @@ std::string CreateHybridClusterRequest::getVolumeMountpoint()const
|
||||
void CreateHybridClusterRequest::setVolumeMountpoint(const std::string& volumeMountpoint)
|
||||
{
|
||||
volumeMountpoint_ = volumeMountpoint;
|
||||
setCoreParameter("VolumeMountpoint", volumeMountpoint);
|
||||
setParameter("VolumeMountpoint", volumeMountpoint);
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getZoneId()const
|
||||
@@ -360,7 +360,7 @@ std::string CreateHybridClusterRequest::getZoneId()const
|
||||
void CreateHybridClusterRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
bool CreateHybridClusterRequest::getSchedulerPreInstall()const
|
||||
@@ -371,7 +371,7 @@ bool CreateHybridClusterRequest::getSchedulerPreInstall()const
|
||||
void CreateHybridClusterRequest::setSchedulerPreInstall(bool schedulerPreInstall)
|
||||
{
|
||||
schedulerPreInstall_ = schedulerPreInstall;
|
||||
setCoreParameter("SchedulerPreInstall", schedulerPreInstall ? "true" : "false");
|
||||
setParameter("SchedulerPreInstall", schedulerPreInstall ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateHybridClusterRequest::getLocation()const
|
||||
@@ -382,6 +382,6 @@ std::string CreateHybridClusterRequest::getLocation()const
|
||||
void CreateHybridClusterRequest::setLocation(const std::string& location)
|
||||
{
|
||||
location_ = location;
|
||||
setCoreParameter("Location", location);
|
||||
setParameter("Location", location);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::CreateJobFileRequest;
|
||||
CreateJobFileRequest::CreateJobFileRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "CreateJobFile")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
CreateJobFileRequest::~CreateJobFileRequest()
|
||||
@@ -35,7 +35,7 @@ std::string CreateJobFileRequest::getTargetFile()const
|
||||
void CreateJobFileRequest::setTargetFile(const std::string& targetFile)
|
||||
{
|
||||
targetFile_ = targetFile;
|
||||
setCoreParameter("TargetFile", targetFile);
|
||||
setParameter("TargetFile", targetFile);
|
||||
}
|
||||
|
||||
std::string CreateJobFileRequest::getRunasUserPassword()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateJobFileRequest::getRunasUserPassword()const
|
||||
void CreateJobFileRequest::setRunasUserPassword(const std::string& runasUserPassword)
|
||||
{
|
||||
runasUserPassword_ = runasUserPassword;
|
||||
setCoreParameter("RunasUserPassword", runasUserPassword);
|
||||
setParameter("RunasUserPassword", runasUserPassword);
|
||||
}
|
||||
|
||||
std::string CreateJobFileRequest::getRunasUser()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateJobFileRequest::getRunasUser()const
|
||||
void CreateJobFileRequest::setRunasUser(const std::string& runasUser)
|
||||
{
|
||||
runasUser_ = runasUser;
|
||||
setCoreParameter("RunasUser", runasUser);
|
||||
setParameter("RunasUser", runasUser);
|
||||
}
|
||||
|
||||
std::string CreateJobFileRequest::getClusterId()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateJobFileRequest::getClusterId()const
|
||||
void CreateJobFileRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string CreateJobFileRequest::getContent()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateJobFileRequest::getContent()const
|
||||
void CreateJobFileRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
setParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string CreateJobFileRequest::getAccessKeyId()const
|
||||
@@ -90,6 +90,6 @@ std::string CreateJobFileRequest::getAccessKeyId()const
|
||||
void CreateJobFileRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::CreateJobTemplateRequest;
|
||||
CreateJobTemplateRequest::CreateJobTemplateRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "CreateJobTemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
CreateJobTemplateRequest::~CreateJobTemplateRequest()
|
||||
@@ -35,7 +35,7 @@ std::string CreateJobTemplateRequest::getStderrRedirectPath()const
|
||||
void CreateJobTemplateRequest::setStderrRedirectPath(const std::string& stderrRedirectPath)
|
||||
{
|
||||
stderrRedirectPath_ = stderrRedirectPath;
|
||||
setCoreParameter("StderrRedirectPath", stderrRedirectPath);
|
||||
setParameter("StderrRedirectPath", stderrRedirectPath);
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getCommandLine()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateJobTemplateRequest::getCommandLine()const
|
||||
void CreateJobTemplateRequest::setCommandLine(const std::string& commandLine)
|
||||
{
|
||||
commandLine_ = commandLine;
|
||||
setCoreParameter("CommandLine", commandLine);
|
||||
setParameter("CommandLine", commandLine);
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateJobTemplateRequest::getAccessKeyId()const
|
||||
void CreateJobTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getArrayRequest()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateJobTemplateRequest::getArrayRequest()const
|
||||
void CreateJobTemplateRequest::setArrayRequest(const std::string& arrayRequest)
|
||||
{
|
||||
arrayRequest_ = arrayRequest;
|
||||
setCoreParameter("ArrayRequest", arrayRequest);
|
||||
setParameter("ArrayRequest", arrayRequest);
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getPackagePath()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateJobTemplateRequest::getPackagePath()const
|
||||
void CreateJobTemplateRequest::setPackagePath(const std::string& packagePath)
|
||||
{
|
||||
packagePath_ = packagePath;
|
||||
setCoreParameter("PackagePath", packagePath);
|
||||
setParameter("PackagePath", packagePath);
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getStdoutRedirectPath()const
|
||||
@@ -90,7 +90,7 @@ std::string CreateJobTemplateRequest::getStdoutRedirectPath()const
|
||||
void CreateJobTemplateRequest::setStdoutRedirectPath(const std::string& stdoutRedirectPath)
|
||||
{
|
||||
stdoutRedirectPath_ = stdoutRedirectPath;
|
||||
setCoreParameter("StdoutRedirectPath", stdoutRedirectPath);
|
||||
setParameter("StdoutRedirectPath", stdoutRedirectPath);
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getVariables()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateJobTemplateRequest::getVariables()const
|
||||
void CreateJobTemplateRequest::setVariables(const std::string& variables)
|
||||
{
|
||||
variables_ = variables;
|
||||
setCoreParameter("Variables", variables);
|
||||
setParameter("Variables", variables);
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getRunasUser()const
|
||||
@@ -112,7 +112,7 @@ std::string CreateJobTemplateRequest::getRunasUser()const
|
||||
void CreateJobTemplateRequest::setRunasUser(const std::string& runasUser)
|
||||
{
|
||||
runasUser_ = runasUser;
|
||||
setCoreParameter("RunasUser", runasUser);
|
||||
setParameter("RunasUser", runasUser);
|
||||
}
|
||||
|
||||
bool CreateJobTemplateRequest::getReRunable()const
|
||||
@@ -123,7 +123,7 @@ bool CreateJobTemplateRequest::getReRunable()const
|
||||
void CreateJobTemplateRequest::setReRunable(bool reRunable)
|
||||
{
|
||||
reRunable_ = reRunable;
|
||||
setCoreParameter("ReRunable", reRunable ? "true" : "false");
|
||||
setParameter("ReRunable", reRunable ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateJobTemplateRequest::getPriority()const
|
||||
@@ -134,7 +134,7 @@ int CreateJobTemplateRequest::getPriority()const
|
||||
void CreateJobTemplateRequest::setPriority(int priority)
|
||||
{
|
||||
priority_ = priority;
|
||||
setCoreParameter("Priority", std::to_string(priority));
|
||||
setParameter("Priority", std::to_string(priority));
|
||||
}
|
||||
|
||||
std::string CreateJobTemplateRequest::getName()const
|
||||
@@ -145,6 +145,6 @@ std::string CreateJobTemplateRequest::getName()const
|
||||
void CreateJobTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteClusterRequest;
|
||||
DeleteClusterRequest::DeleteClusterRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteClusterRequest::~DeleteClusterRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteClusterRequest::getClusterId()const
|
||||
void DeleteClusterRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteClusterRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DeleteClusterRequest::getAccessKeyId()const
|
||||
void DeleteClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteClusterRequest::getReleaseInstance()const
|
||||
@@ -57,6 +57,6 @@ std::string DeleteClusterRequest::getReleaseInstance()const
|
||||
void DeleteClusterRequest::setReleaseInstance(const std::string& releaseInstance)
|
||||
{
|
||||
releaseInstance_ = releaseInstance;
|
||||
setCoreParameter("ReleaseInstance", releaseInstance);
|
||||
setParameter("ReleaseInstance", releaseInstance);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteContainerAppsRequest;
|
||||
DeleteContainerAppsRequest::DeleteContainerAppsRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteContainerApps")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteContainerAppsRequest::~DeleteContainerAppsRequest()
|
||||
@@ -37,8 +37,8 @@ void DeleteContainerAppsRequest::setContainerApp(const std::vector<ContainerApp>
|
||||
containerApp_ = containerApp;
|
||||
for(int dep1 = 0; dep1!= containerApp.size(); dep1++) {
|
||||
auto containerAppObj = containerApp.at(dep1);
|
||||
std::string containerAppObjStr = "ContainerApp." + std::to_string(dep1);
|
||||
setCoreParameter(containerAppObjStr + ".Id", containerAppObj.id);
|
||||
std::string containerAppObjStr = "ContainerApp." + std::to_string(dep1 + 1);
|
||||
setParameter(containerAppObjStr + ".Id", containerAppObj.id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,6 +50,6 @@ std::string DeleteContainerAppsRequest::getAccessKeyId()const
|
||||
void DeleteContainerAppsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteGWSClusterRequest;
|
||||
DeleteGWSClusterRequest::DeleteGWSClusterRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteGWSCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteGWSClusterRequest::~DeleteGWSClusterRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteGWSClusterRequest::getClusterId()const
|
||||
void DeleteGWSClusterRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteGWSClusterRequest::getAccessKeyId()const
|
||||
@@ -46,6 +46,6 @@ std::string DeleteGWSClusterRequest::getAccessKeyId()const
|
||||
void DeleteGWSClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteGWSInstanceRequest;
|
||||
DeleteGWSInstanceRequest::DeleteGWSInstanceRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteGWSInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteGWSInstanceRequest::~DeleteGWSInstanceRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteGWSInstanceRequest::getAccessKeyId()const
|
||||
void DeleteGWSInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteGWSInstanceRequest::getInstanceId()const
|
||||
@@ -46,6 +46,6 @@ std::string DeleteGWSInstanceRequest::getInstanceId()const
|
||||
void DeleteGWSInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteImageRequest;
|
||||
DeleteImageRequest::DeleteImageRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteImageRequest::~DeleteImageRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteImageRequest::getClusterId()const
|
||||
void DeleteImageRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getRepository()const
|
||||
@@ -46,7 +46,7 @@ std::string DeleteImageRequest::getRepository()const
|
||||
void DeleteImageRequest::setRepository(const std::string& repository)
|
||||
{
|
||||
repository_ = repository;
|
||||
setCoreParameter("Repository", repository);
|
||||
setParameter("Repository", repository);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string DeleteImageRequest::getAccessKeyId()const
|
||||
void DeleteImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getContainerType()const
|
||||
@@ -68,7 +68,7 @@ std::string DeleteImageRequest::getContainerType()const
|
||||
void DeleteImageRequest::setContainerType(const std::string& containerType)
|
||||
{
|
||||
containerType_ = containerType;
|
||||
setCoreParameter("ContainerType", containerType);
|
||||
setParameter("ContainerType", containerType);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getImageTag()const
|
||||
@@ -79,6 +79,6 @@ std::string DeleteImageRequest::getImageTag()const
|
||||
void DeleteImageRequest::setImageTag(const std::string& imageTag)
|
||||
{
|
||||
imageTag_ = imageTag;
|
||||
setCoreParameter("ImageTag", imageTag);
|
||||
setParameter("ImageTag", imageTag);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteJobTemplatesRequest;
|
||||
DeleteJobTemplatesRequest::DeleteJobTemplatesRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteJobTemplates")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteJobTemplatesRequest::~DeleteJobTemplatesRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteJobTemplatesRequest::getTemplates()const
|
||||
void DeleteJobTemplatesRequest::setTemplates(const std::string& templates)
|
||||
{
|
||||
templates_ = templates;
|
||||
setCoreParameter("Templates", templates);
|
||||
setParameter("Templates", templates);
|
||||
}
|
||||
|
||||
std::string DeleteJobTemplatesRequest::getAccessKeyId()const
|
||||
@@ -46,6 +46,6 @@ std::string DeleteJobTemplatesRequest::getAccessKeyId()const
|
||||
void DeleteJobTemplatesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteJobsRequest;
|
||||
DeleteJobsRequest::DeleteJobsRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteJobs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteJobsRequest::~DeleteJobsRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteJobsRequest::getJobs()const
|
||||
void DeleteJobsRequest::setJobs(const std::string& jobs)
|
||||
{
|
||||
jobs_ = jobs;
|
||||
setCoreParameter("Jobs", jobs);
|
||||
setParameter("Jobs", jobs);
|
||||
}
|
||||
|
||||
std::string DeleteJobsRequest::getClusterId()const
|
||||
@@ -46,7 +46,7 @@ std::string DeleteJobsRequest::getClusterId()const
|
||||
void DeleteJobsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteJobsRequest::getAccessKeyId()const
|
||||
@@ -57,6 +57,6 @@ std::string DeleteJobsRequest::getAccessKeyId()const
|
||||
void DeleteJobsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteNodesRequest;
|
||||
DeleteNodesRequest::DeleteNodesRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteNodes")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteNodesRequest::~DeleteNodesRequest()
|
||||
@@ -37,8 +37,8 @@ void DeleteNodesRequest::setInstance(const std::vector<Instance>& instance)
|
||||
instance_ = instance;
|
||||
for(int dep1 = 0; dep1!= instance.size(); dep1++) {
|
||||
auto instanceObj = instance.at(dep1);
|
||||
std::string instanceObjStr = "Instance." + std::to_string(dep1);
|
||||
setCoreParameter(instanceObjStr + ".Id", instanceObj.id);
|
||||
std::string instanceObjStr = "Instance." + std::to_string(dep1 + 1);
|
||||
setParameter(instanceObjStr + ".Id", instanceObj.id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ std::string DeleteNodesRequest::getClusterId()const
|
||||
void DeleteNodesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteNodesRequest::getAccessKeyId()const
|
||||
@@ -61,7 +61,7 @@ std::string DeleteNodesRequest::getAccessKeyId()const
|
||||
void DeleteNodesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DeleteNodesRequest::getReleaseInstance()const
|
||||
@@ -72,6 +72,6 @@ bool DeleteNodesRequest::getReleaseInstance()const
|
||||
void DeleteNodesRequest::setReleaseInstance(bool releaseInstance)
|
||||
{
|
||||
releaseInstance_ = releaseInstance;
|
||||
setCoreParameter("ReleaseInstance", releaseInstance ? "true" : "false");
|
||||
setParameter("ReleaseInstance", releaseInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteQueueRequest;
|
||||
DeleteQueueRequest::DeleteQueueRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteQueue")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteQueueRequest::~DeleteQueueRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteQueueRequest::getQueueName()const
|
||||
void DeleteQueueRequest::setQueueName(const std::string& queueName)
|
||||
{
|
||||
queueName_ = queueName;
|
||||
setCoreParameter("QueueName", queueName);
|
||||
setParameter("QueueName", queueName);
|
||||
}
|
||||
|
||||
std::string DeleteQueueRequest::getClusterId()const
|
||||
@@ -46,7 +46,7 @@ std::string DeleteQueueRequest::getClusterId()const
|
||||
void DeleteQueueRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteQueueRequest::getAccessKeyId()const
|
||||
@@ -57,6 +57,6 @@ std::string DeleteQueueRequest::getAccessKeyId()const
|
||||
void DeleteQueueRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DeleteUsersRequest;
|
||||
DeleteUsersRequest::DeleteUsersRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DeleteUsers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DeleteUsersRequest::~DeleteUsersRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DeleteUsersRequest::getClusterId()const
|
||||
void DeleteUsersRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteUsersRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DeleteUsersRequest::getAccessKeyId()const
|
||||
void DeleteUsersRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::vector<DeleteUsersRequest::User> DeleteUsersRequest::getUser()const
|
||||
@@ -59,8 +59,8 @@ void DeleteUsersRequest::setUser(const std::vector<User>& user)
|
||||
user_ = user;
|
||||
for(int dep1 = 0; dep1!= user.size(); dep1++) {
|
||||
auto userObj = user.at(dep1);
|
||||
std::string userObjStr = "User." + std::to_string(dep1);
|
||||
setCoreParameter(userObjStr + ".Name", userObj.name);
|
||||
std::string userObjStr = "User." + std::to_string(dep1 + 1);
|
||||
setParameter(userObjStr + ".Name", userObj.name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DescribeAutoScaleConfigRequest;
|
||||
DescribeAutoScaleConfigRequest::DescribeAutoScaleConfigRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DescribeAutoScaleConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DescribeAutoScaleConfigRequest::~DescribeAutoScaleConfigRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DescribeAutoScaleConfigRequest::getClusterId()const
|
||||
void DescribeAutoScaleConfigRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAutoScaleConfigRequest::getAccessKeyId()const
|
||||
@@ -46,6 +46,6 @@ std::string DescribeAutoScaleConfigRequest::getAccessKeyId()const
|
||||
void DescribeAutoScaleConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DescribeClusterRequest;
|
||||
DescribeClusterRequest::DescribeClusterRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DescribeCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DescribeClusterRequest::~DescribeClusterRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DescribeClusterRequest::getClusterId()const
|
||||
void DescribeClusterRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterRequest::getAccessKeyId()const
|
||||
@@ -46,6 +46,6 @@ std::string DescribeClusterRequest::getAccessKeyId()const
|
||||
void DescribeClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -92,6 +92,8 @@ void DescribeClusterResult::parse(const std::string &payload)
|
||||
clusterInfo_.imageId = clusterInfoNode["ImageId"].asString();
|
||||
if(!clusterInfoNode["Location"].isNull())
|
||||
clusterInfo_.location = clusterInfoNode["Location"].asString();
|
||||
if(!clusterInfoNode["BaseOsTag"].isNull())
|
||||
clusterInfo_.baseOsTag = clusterInfoNode["BaseOsTag"].asString();
|
||||
auto allApplicationsNode = clusterInfoNode["Applications"]["ApplicationInfo"];
|
||||
for (auto clusterInfoNodeApplicationsApplicationInfo : allApplicationsNode)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DescribeContainerAppRequest;
|
||||
DescribeContainerAppRequest::DescribeContainerAppRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DescribeContainerApp")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DescribeContainerAppRequest::~DescribeContainerAppRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DescribeContainerAppRequest::getAccessKeyId()const
|
||||
void DescribeContainerAppRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeContainerAppRequest::getContainerId()const
|
||||
@@ -46,6 +46,6 @@ std::string DescribeContainerAppRequest::getContainerId()const
|
||||
void DescribeContainerAppRequest::setContainerId(const std::string& containerId)
|
||||
{
|
||||
containerId_ = containerId;
|
||||
setCoreParameter("ContainerId", containerId);
|
||||
setParameter("ContainerId", containerId);
|
||||
}
|
||||
|
||||
|
||||
51
ehpc/src/model/DescribeGWSClusterPolicyRequest.cc
Normal file
51
ehpc/src/model/DescribeGWSClusterPolicyRequest.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/ehpc/model/DescribeGWSClusterPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::EHPC::Model::DescribeGWSClusterPolicyRequest;
|
||||
|
||||
DescribeGWSClusterPolicyRequest::DescribeGWSClusterPolicyRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DescribeGWSClusterPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
}
|
||||
|
||||
DescribeGWSClusterPolicyRequest::~DescribeGWSClusterPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeGWSClusterPolicyRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeGWSClusterPolicyRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeGWSClusterPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeGWSClusterPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
72
ehpc/src/model/DescribeGWSClusterPolicyResult.cc
Normal file
72
ehpc/src/model/DescribeGWSClusterPolicyResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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/ehpc/model/DescribeGWSClusterPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::EHPC;
|
||||
using namespace AlibabaCloud::EHPC::Model;
|
||||
|
||||
DescribeGWSClusterPolicyResult::DescribeGWSClusterPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeGWSClusterPolicyResult::DescribeGWSClusterPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeGWSClusterPolicyResult::~DescribeGWSClusterPolicyResult()
|
||||
{}
|
||||
|
||||
void DescribeGWSClusterPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Clipboard"].isNull())
|
||||
clipboard_ = value["Clipboard"].asString();
|
||||
if(!value["UsbRedirect"].isNull())
|
||||
usbRedirect_ = value["UsbRedirect"].asString();
|
||||
if(!value["Watermark"].isNull())
|
||||
watermark_ = value["Watermark"].asString();
|
||||
if(!value["LocalDrive"].isNull())
|
||||
localDrive_ = value["LocalDrive"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeGWSClusterPolicyResult::getLocalDrive()const
|
||||
{
|
||||
return localDrive_;
|
||||
}
|
||||
|
||||
std::string DescribeGWSClusterPolicyResult::getUsbRedirect()const
|
||||
{
|
||||
return usbRedirect_;
|
||||
}
|
||||
|
||||
std::string DescribeGWSClusterPolicyResult::getClipboard()const
|
||||
{
|
||||
return clipboard_;
|
||||
}
|
||||
|
||||
std::string DescribeGWSClusterPolicyResult::getWatermark()const
|
||||
{
|
||||
return watermark_;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DescribeGWSClustersRequest;
|
||||
DescribeGWSClustersRequest::DescribeGWSClustersRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DescribeGWSClusters")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DescribeGWSClustersRequest::~DescribeGWSClustersRequest()
|
||||
@@ -35,7 +35,7 @@ std::string DescribeGWSClustersRequest::getClusterId()const
|
||||
void DescribeGWSClustersRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setCoreParameter("ClusterId", clusterId);
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
int DescribeGWSClustersRequest::getPageNumber()const
|
||||
@@ -46,7 +46,7 @@ int DescribeGWSClustersRequest::getPageNumber()const
|
||||
void DescribeGWSClustersRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeGWSClustersRequest::getAccessKeyId()const
|
||||
@@ -57,7 +57,7 @@ std::string DescribeGWSClustersRequest::getAccessKeyId()const
|
||||
void DescribeGWSClustersRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeGWSClustersRequest::getPageSize()const
|
||||
@@ -68,6 +68,6 @@ int DescribeGWSClustersRequest::getPageSize()const
|
||||
void DescribeGWSClustersRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::EHPC::Model::DescribeGWSImagesRequest;
|
||||
DescribeGWSImagesRequest::DescribeGWSImagesRequest() :
|
||||
RpcServiceRequest("ehpc", "2018-04-12", "DescribeGWSImages")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
}
|
||||
|
||||
DescribeGWSImagesRequest::~DescribeGWSImagesRequest()
|
||||
@@ -35,7 +35,7 @@ int DescribeGWSImagesRequest::getPageNumber()const
|
||||
void DescribeGWSImagesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeGWSImagesRequest::getAccessKeyId()const
|
||||
@@ -46,7 +46,7 @@ std::string DescribeGWSImagesRequest::getAccessKeyId()const
|
||||
void DescribeGWSImagesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeGWSImagesRequest::getPageSize()const
|
||||
@@ -57,6 +57,6 @@ int DescribeGWSImagesRequest::getPageSize()const
|
||||
void DescribeGWSImagesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user