Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dacb2ef983 | ||
|
|
f41733beaa | ||
|
|
c419c6e933 | ||
|
|
a3026e6a85 | ||
|
|
320af597ca | ||
|
|
0f47a4c427 | ||
|
|
51fa053ec1 | ||
|
|
ec33c109fe | ||
|
|
773cabb9d7 | ||
|
|
5de44fa4bd | ||
|
|
eaa895f02e | ||
|
|
be58d3d198 | ||
|
|
f8ce42a726 | ||
|
|
68261f0c8d | ||
|
|
45a3be8c65 | ||
|
|
66519a1f90 | ||
|
|
ef02e7707e | ||
|
|
82ce70d07f | ||
|
|
2c8cadba25 | ||
|
|
f90c2115c9 |
62
CHANGELOG
62
CHANGELOG
@@ -1,3 +1,65 @@
|
||||
2020-03-11 Version: 1.36.314
|
||||
- Support certificate translate.
|
||||
|
||||
2020-03-10 Version: 1.36.313
|
||||
- Add ExportTas apis.
|
||||
|
||||
2020-03-10 Version: 1.36.312
|
||||
- Add ExportTas apis.
|
||||
|
||||
2020-03-09 Version: 1.36.311
|
||||
- Add EmotionConfidence to GetImage.
|
||||
|
||||
2020-03-09 Version: 1.36.310
|
||||
- Add BackupStorageType.
|
||||
|
||||
2020-03-09 Version: 1.36.309
|
||||
- Add EmotionConfidence to GetImage.
|
||||
|
||||
2020-03-09 Version: 1.36.308
|
||||
- Add EmotionConfidence to GetImage.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@ set(alimt_public_header_model
|
||||
include/alibabacloud/alimt/model/GetDocTranslateTaskResult.h
|
||||
include/alibabacloud/alimt/model/TranslateRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateResult.h
|
||||
include/alibabacloud/alimt/model/TranslateCertificateRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateCertificateResult.h
|
||||
include/alibabacloud/alimt/model/TranslateECommerceRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateECommerceResult.h
|
||||
include/alibabacloud/alimt/model/TranslateGeneralRequest.h
|
||||
@@ -40,6 +42,8 @@ set(alimt_src
|
||||
src/model/GetDocTranslateTaskResult.cc
|
||||
src/model/TranslateRequest.cc
|
||||
src/model/TranslateResult.cc
|
||||
src/model/TranslateCertificateRequest.cc
|
||||
src/model/TranslateCertificateResult.cc
|
||||
src/model/TranslateECommerceRequest.cc
|
||||
src/model/TranslateECommerceResult.cc
|
||||
src/model/TranslateGeneralRequest.cc
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "model/GetDocTranslateTaskResult.h"
|
||||
#include "model/TranslateRequest.h"
|
||||
#include "model/TranslateResult.h"
|
||||
#include "model/TranslateCertificateRequest.h"
|
||||
#include "model/TranslateCertificateResult.h"
|
||||
#include "model/TranslateECommerceRequest.h"
|
||||
#include "model/TranslateECommerceResult.h"
|
||||
#include "model/TranslateGeneralRequest.h"
|
||||
@@ -50,6 +52,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TranslateResult> TranslateOutcome;
|
||||
typedef std::future<TranslateOutcome> TranslateOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateRequest&, const TranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateAsyncHandler;
|
||||
typedef Outcome<Error, Model::TranslateCertificateResult> TranslateCertificateOutcome;
|
||||
typedef std::future<TranslateCertificateOutcome> TranslateCertificateOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateCertificateRequest&, const TranslateCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateCertificateAsyncHandler;
|
||||
typedef Outcome<Error, Model::TranslateECommerceResult> TranslateECommerceOutcome;
|
||||
typedef std::future<TranslateECommerceOutcome> TranslateECommerceOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateECommerceRequest&, const TranslateECommerceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateECommerceAsyncHandler;
|
||||
@@ -70,6 +75,9 @@ namespace AlibabaCloud
|
||||
TranslateOutcome translate(const Model::TranslateRequest &request)const;
|
||||
void translateAsync(const Model::TranslateRequest& request, const TranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateOutcomeCallable translateCallable(const Model::TranslateRequest& request) const;
|
||||
TranslateCertificateOutcome translateCertificate(const Model::TranslateCertificateRequest &request)const;
|
||||
void translateCertificateAsync(const Model::TranslateCertificateRequest& request, const TranslateCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateCertificateOutcomeCallable translateCertificateCallable(const Model::TranslateCertificateRequest& request) const;
|
||||
TranslateECommerceOutcome translateECommerce(const Model::TranslateECommerceRequest &request)const;
|
||||
void translateECommerceAsync(const Model::TranslateECommerceRequest& request, const TranslateECommerceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateECommerceOutcomeCallable translateECommerceCallable(const Model::TranslateECommerceRequest& request) const;
|
||||
|
||||
@@ -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_ALIMT_MODEL_TRANSLATECERTIFICATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateCertificateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TranslateCertificateRequest();
|
||||
~TranslateCertificateRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getCertificateType()const;
|
||||
void setCertificateType(const std::string& certificateType);
|
||||
std::string getResultType()const;
|
||||
void setResultType(const std::string& resultType);
|
||||
std::string getImageUrl()const;
|
||||
void setImageUrl(const std::string& imageUrl);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string certificateType_;
|
||||
std::string resultType_;
|
||||
std::string imageUrl_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATEREQUEST_H_
|
||||
@@ -14,54 +14,49 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_COMPAREFACERESULT_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_COMPAREFACERESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT CompareFaceResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateCertificateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CompareResultItem
|
||||
struct Data
|
||||
{
|
||||
struct FaceA
|
||||
struct CertificateTranslateItemDTO
|
||||
{
|
||||
std::string imageUri;
|
||||
std::vector<std::string> axis;
|
||||
std::string valueTranslation;
|
||||
std::string keyTranslation;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct FaceB
|
||||
{
|
||||
std::string imageUri;
|
||||
std::vector<std::string> axis1;
|
||||
};
|
||||
float similarity;
|
||||
FaceA faceA;
|
||||
FaceB faceB;
|
||||
std::vector<CertificateTranslateItemDTO> translatedValues;
|
||||
};
|
||||
|
||||
|
||||
CompareFaceResult();
|
||||
explicit CompareFaceResult(const std::string &payload);
|
||||
~CompareFaceResult();
|
||||
std::vector<CompareResultItem> getCompareResult()const;
|
||||
TranslateCertificateResult();
|
||||
explicit TranslateCertificateResult(const std::string &payload);
|
||||
~TranslateCertificateResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CompareResultItem> compareResult_;
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_COMPAREFACERESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATERESULT_H_
|
||||
@@ -31,21 +31,21 @@ AlimtClient::AlimtClient(const Credentials &credentials, const ClientConfigurati
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
|
||||
}
|
||||
|
||||
AlimtClient::AlimtClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
|
||||
}
|
||||
|
||||
AlimtClient::AlimtClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimt");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "alimtct");
|
||||
}
|
||||
|
||||
AlimtClient::~AlimtClient()
|
||||
@@ -159,6 +159,42 @@ AlimtClient::TranslateOutcomeCallable AlimtClient::translateCallable(const Trans
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::TranslateCertificateOutcome AlimtClient::translateCertificate(const TranslateCertificateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TranslateCertificateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TranslateCertificateOutcome(TranslateCertificateResult(outcome.result()));
|
||||
else
|
||||
return TranslateCertificateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::translateCertificateAsync(const TranslateCertificateRequest& request, const TranslateCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, translateCertificate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::TranslateCertificateOutcomeCallable AlimtClient::translateCertificateCallable(const TranslateCertificateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TranslateCertificateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->translateCertificate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::TranslateECommerceOutcome AlimtClient::translateECommerce(const TranslateECommerceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Alimt::Model::CreateDocTranslateTaskRequest;
|
||||
CreateDocTranslateTaskRequest::CreateDocTranslateTaskRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "CreateDocTranslateTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDocTranslateTaskRequest::~CreateDocTranslateTaskRequest()
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Alimt::Model::GetDocTranslateTaskRequest;
|
||||
GetDocTranslateTaskRequest::GetDocTranslateTaskRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetDocTranslateTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::GET);
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetDocTranslateTaskRequest::~GetDocTranslateTaskRequest()
|
||||
|
||||
84
alimt/src/model/TranslateCertificateRequest.cc
Normal file
84
alimt/src/model/TranslateCertificateRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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/alimt/model/TranslateCertificateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateCertificateRequest;
|
||||
|
||||
TranslateCertificateRequest::TranslateCertificateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "TranslateCertificate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateCertificateRequest::~TranslateCertificateRequest()
|
||||
{}
|
||||
|
||||
std::string TranslateCertificateRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getCertificateType()const
|
||||
{
|
||||
return certificateType_;
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setCertificateType(const std::string& certificateType)
|
||||
{
|
||||
certificateType_ = certificateType;
|
||||
setBodyParameter("CertificateType", certificateType);
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getResultType()const
|
||||
{
|
||||
return resultType_;
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setResultType(const std::string& resultType)
|
||||
{
|
||||
resultType_ = resultType;
|
||||
setBodyParameter("ResultType", resultType);
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getImageUrl()const
|
||||
{
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setImageUrl(const std::string& imageUrl)
|
||||
{
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter("ImageUrl", imageUrl);
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
}
|
||||
|
||||
64
alimt/src/model/TranslateCertificateResult.cc
Normal file
64
alimt/src/model/TranslateCertificateResult.cc
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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/alimt/model/TranslateCertificateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
TranslateCertificateResult::TranslateCertificateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TranslateCertificateResult::TranslateCertificateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TranslateCertificateResult::~TranslateCertificateResult()
|
||||
{}
|
||||
|
||||
void TranslateCertificateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allTranslatedValuesNode = dataNode["TranslatedValues"]["CertificateTranslateItemDTO"];
|
||||
for (auto dataNodeTranslatedValuesCertificateTranslateItemDTO : allTranslatedValuesNode)
|
||||
{
|
||||
Data::CertificateTranslateItemDTO certificateTranslateItemDTOObject;
|
||||
if(!dataNodeTranslatedValuesCertificateTranslateItemDTO["Key"].isNull())
|
||||
certificateTranslateItemDTOObject.key = dataNodeTranslatedValuesCertificateTranslateItemDTO["Key"].asString();
|
||||
if(!dataNodeTranslatedValuesCertificateTranslateItemDTO["Value"].isNull())
|
||||
certificateTranslateItemDTOObject.value = dataNodeTranslatedValuesCertificateTranslateItemDTO["Value"].asString();
|
||||
if(!dataNodeTranslatedValuesCertificateTranslateItemDTO["ValueTranslation"].isNull())
|
||||
certificateTranslateItemDTOObject.valueTranslation = dataNodeTranslatedValuesCertificateTranslateItemDTO["ValueTranslation"].asString();
|
||||
if(!dataNodeTranslatedValuesCertificateTranslateItemDTO["KeyTranslation"].isNull())
|
||||
certificateTranslateItemDTOObject.keyTranslation = dataNodeTranslatedValuesCertificateTranslateItemDTO["KeyTranslation"].asString();
|
||||
data_.translatedValues.push_back(certificateTranslateItemDTOObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
TranslateCertificateResult::Data TranslateCertificateResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Alimt::Model::TranslateECommerceRequest;
|
||||
TranslateECommerceRequest::TranslateECommerceRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "TranslateECommerce")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateECommerceRequest::~TranslateECommerceRequest()
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Alimt::Model::TranslateGeneralRequest;
|
||||
TranslateGeneralRequest::TranslateGeneralRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "TranslateGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateGeneralRequest::~TranslateGeneralRequest()
|
||||
|
||||
@@ -21,7 +21,7 @@ using AlibabaCloud::Alimt::Model::TranslateRequest;
|
||||
TranslateRequest::TranslateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "Translate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::POST);
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateRequest::~TranslateRequest()
|
||||
|
||||
@@ -49,6 +49,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h
|
||||
include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h
|
||||
include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h
|
||||
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h
|
||||
include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h
|
||||
@@ -211,6 +213,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h
|
||||
include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DescribeIpInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeIpInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h
|
||||
@@ -434,6 +438,8 @@ set(cdn_src
|
||||
src/model/BatchUpdateCdnDomainResult.cc
|
||||
src/model/CreateCdnCertificateSigningRequestRequest.cc
|
||||
src/model/CreateCdnCertificateSigningRequestResult.cc
|
||||
src/model/CreateIllegalUrlExportTaskRequest.cc
|
||||
src/model/CreateIllegalUrlExportTaskResult.cc
|
||||
src/model/CreateLiveStreamRecordIndexFilesRequest.cc
|
||||
src/model/CreateLiveStreamRecordIndexFilesResult.cc
|
||||
src/model/CreateRealTimeLogDeliveryRequest.cc
|
||||
@@ -596,6 +602,8 @@ set(cdn_src
|
||||
src/model/DescribeDomainsUsageByDayResult.cc
|
||||
src/model/DescribeFCTriggerRequest.cc
|
||||
src/model/DescribeFCTriggerResult.cc
|
||||
src/model/DescribeIllegalUrlExportTaskRequest.cc
|
||||
src/model/DescribeIllegalUrlExportTaskResult.cc
|
||||
src/model/DescribeIpInfoRequest.cc
|
||||
src/model/DescribeIpInfoResult.cc
|
||||
src/model/DescribeL2VipsByDomainRequest.cc
|
||||
|
||||
@@ -50,6 +50,8 @@
|
||||
#include "model/BatchUpdateCdnDomainResult.h"
|
||||
#include "model/CreateCdnCertificateSigningRequestRequest.h"
|
||||
#include "model/CreateCdnCertificateSigningRequestResult.h"
|
||||
#include "model/CreateIllegalUrlExportTaskRequest.h"
|
||||
#include "model/CreateIllegalUrlExportTaskResult.h"
|
||||
#include "model/CreateLiveStreamRecordIndexFilesRequest.h"
|
||||
#include "model/CreateLiveStreamRecordIndexFilesResult.h"
|
||||
#include "model/CreateRealTimeLogDeliveryRequest.h"
|
||||
@@ -212,6 +214,8 @@
|
||||
#include "model/DescribeDomainsUsageByDayResult.h"
|
||||
#include "model/DescribeFCTriggerRequest.h"
|
||||
#include "model/DescribeFCTriggerResult.h"
|
||||
#include "model/DescribeIllegalUrlExportTaskRequest.h"
|
||||
#include "model/DescribeIllegalUrlExportTaskResult.h"
|
||||
#include "model/DescribeIpInfoRequest.h"
|
||||
#include "model/DescribeIpInfoResult.h"
|
||||
#include "model/DescribeL2VipsByDomainRequest.h"
|
||||
@@ -455,6 +459,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateCdnCertificateSigningRequestResult> CreateCdnCertificateSigningRequestOutcome;
|
||||
typedef std::future<CreateCdnCertificateSigningRequestOutcome> CreateCdnCertificateSigningRequestOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::CreateCdnCertificateSigningRequestRequest&, const CreateCdnCertificateSigningRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCdnCertificateSigningRequestAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateIllegalUrlExportTaskResult> CreateIllegalUrlExportTaskOutcome;
|
||||
typedef std::future<CreateIllegalUrlExportTaskOutcome> CreateIllegalUrlExportTaskOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::CreateIllegalUrlExportTaskRequest&, const CreateIllegalUrlExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIllegalUrlExportTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateLiveStreamRecordIndexFilesResult> CreateLiveStreamRecordIndexFilesOutcome;
|
||||
typedef std::future<CreateLiveStreamRecordIndexFilesOutcome> CreateLiveStreamRecordIndexFilesOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::CreateLiveStreamRecordIndexFilesRequest&, const CreateLiveStreamRecordIndexFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLiveStreamRecordIndexFilesAsyncHandler;
|
||||
@@ -698,6 +705,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeFCTriggerResult> DescribeFCTriggerOutcome;
|
||||
typedef std::future<DescribeFCTriggerOutcome> DescribeFCTriggerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeFCTriggerRequest&, const DescribeFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFCTriggerAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIllegalUrlExportTaskResult> DescribeIllegalUrlExportTaskOutcome;
|
||||
typedef std::future<DescribeIllegalUrlExportTaskOutcome> DescribeIllegalUrlExportTaskOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeIllegalUrlExportTaskRequest&, const DescribeIllegalUrlExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIllegalUrlExportTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIpInfoResult> DescribeIpInfoOutcome;
|
||||
typedef std::future<DescribeIpInfoOutcome> DescribeIpInfoOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeIpInfoRequest&, const DescribeIpInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIpInfoAsyncHandler;
|
||||
@@ -1033,6 +1043,9 @@ namespace AlibabaCloud
|
||||
CreateCdnCertificateSigningRequestOutcome createCdnCertificateSigningRequest(const Model::CreateCdnCertificateSigningRequestRequest &request)const;
|
||||
void createCdnCertificateSigningRequestAsync(const Model::CreateCdnCertificateSigningRequestRequest& request, const CreateCdnCertificateSigningRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCdnCertificateSigningRequestOutcomeCallable createCdnCertificateSigningRequestCallable(const Model::CreateCdnCertificateSigningRequestRequest& request) const;
|
||||
CreateIllegalUrlExportTaskOutcome createIllegalUrlExportTask(const Model::CreateIllegalUrlExportTaskRequest &request)const;
|
||||
void createIllegalUrlExportTaskAsync(const Model::CreateIllegalUrlExportTaskRequest& request, const CreateIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateIllegalUrlExportTaskOutcomeCallable createIllegalUrlExportTaskCallable(const Model::CreateIllegalUrlExportTaskRequest& request) const;
|
||||
CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const;
|
||||
void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateLiveStreamRecordIndexFilesOutcomeCallable createLiveStreamRecordIndexFilesCallable(const Model::CreateLiveStreamRecordIndexFilesRequest& request) const;
|
||||
@@ -1276,6 +1289,9 @@ namespace AlibabaCloud
|
||||
DescribeFCTriggerOutcome describeFCTrigger(const Model::DescribeFCTriggerRequest &request)const;
|
||||
void describeFCTriggerAsync(const Model::DescribeFCTriggerRequest& request, const DescribeFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFCTriggerOutcomeCallable describeFCTriggerCallable(const Model::DescribeFCTriggerRequest& request) const;
|
||||
DescribeIllegalUrlExportTaskOutcome describeIllegalUrlExportTask(const Model::DescribeIllegalUrlExportTaskRequest &request)const;
|
||||
void describeIllegalUrlExportTaskAsync(const Model::DescribeIllegalUrlExportTaskRequest& request, const DescribeIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIllegalUrlExportTaskOutcomeCallable describeIllegalUrlExportTaskCallable(const Model::DescribeIllegalUrlExportTaskRequest& request) const;
|
||||
DescribeIpInfoOutcome describeIpInfo(const Model::DescribeIpInfoRequest &request)const;
|
||||
void describeIpInfoAsync(const Model::DescribeIpInfoRequest& request, const DescribeIpInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIpInfoOutcomeCallable describeIpInfoCallable(const Model::DescribeIpInfoRequest& request) const;
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace AlibabaCloud
|
||||
void setFunctions(const std::string& functions);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string functions_;
|
||||
std::string domainNames_;
|
||||
std::string securityToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,44 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESREQUEST_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT ListTagNamesRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT CreateIllegalUrlExportTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTagNamesRequest();
|
||||
~ListTagNamesRequest();
|
||||
CreateIllegalUrlExportTaskRequest();
|
||||
~CreateIllegalUrlExportTaskRequest();
|
||||
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
std::string getSetId()const;
|
||||
void setSetId(const std::string& setId);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTimePoint()const;
|
||||
void setTimePoint(const std::string& timePoint);
|
||||
|
||||
private:
|
||||
std::string project_;
|
||||
std::string accessKeyId_;
|
||||
std::string marker_;
|
||||
std::string setId_;
|
||||
std::string taskName_;
|
||||
long ownerId_;
|
||||
std::string timePoint_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKREQUEST_H_
|
||||
@@ -14,45 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESRESULT_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT ListTagNamesResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT CreateIllegalUrlExportTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagsItem
|
||||
{
|
||||
std::string tagName;
|
||||
int num;
|
||||
};
|
||||
|
||||
|
||||
ListTagNamesResult();
|
||||
explicit ListTagNamesResult(const std::string &payload);
|
||||
~ListTagNamesResult();
|
||||
std::string getNextMarker()const;
|
||||
std::vector<TagsItem> getTags()const;
|
||||
CreateIllegalUrlExportTaskResult();
|
||||
explicit CreateIllegalUrlExportTaskResult(const std::string &payload);
|
||||
~CreateIllegalUrlExportTaskResult();
|
||||
std::string getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextMarker_;
|
||||
std::vector<TagsItem> tags_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_CREATEILLEGALURLEXPORTTASKRESULT_H_
|
||||
@@ -14,44 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_COMPAREFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_COMPAREFACEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT CompareFaceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeIllegalUrlExportTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CompareFaceRequest();
|
||||
~CompareFaceRequest();
|
||||
DescribeIllegalUrlExportTaskRequest();
|
||||
~DescribeIllegalUrlExportTaskRequest();
|
||||
|
||||
std::string getSrcUriB()const;
|
||||
void setSrcUriB(const std::string& srcUriB);
|
||||
std::string getSrcUriA()const;
|
||||
void setSrcUriA(const std::string& srcUriA);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string srcUriB_;
|
||||
std::string srcUriA_;
|
||||
std::string project_;
|
||||
std::string accessKeyId_;
|
||||
std::string taskId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_COMPAREFACEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKREQUEST_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_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeIllegalUrlExportTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeIllegalUrlExportTaskResult();
|
||||
explicit DescribeIllegalUrlExportTaskResult(const std::string &payload);
|
||||
~DescribeIllegalUrlExportTaskResult();
|
||||
std::string getStatus()const;
|
||||
std::string getDownloadUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string downloadUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEILLEGALURLEXPORTTASKRESULT_H_
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getObjectPath()const;
|
||||
void setObjectPath(const std::string& objectPath);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getObjectType()const;
|
||||
void setObjectType(const std::string& objectType);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string objectPath_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string objectType_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,15 +35,15 @@ namespace AlibabaCloud
|
||||
SetCdnDomainCSRCertificateRequest();
|
||||
~SetCdnDomainCSRCertificateRequest();
|
||||
|
||||
std::string getCertificate()const;
|
||||
void setCertificate(const std::string& certificate);
|
||||
std::string getServerCertificate()const;
|
||||
void setServerCertificate(const std::string& serverCertificate);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string certificate_;
|
||||
std::string serverCertificate_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
|
||||
@@ -555,6 +555,42 @@ CdnClient::CreateCdnCertificateSigningRequestOutcomeCallable CdnClient::createCd
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::CreateIllegalUrlExportTaskOutcome CdnClient::createIllegalUrlExportTask(const CreateIllegalUrlExportTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateIllegalUrlExportTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateIllegalUrlExportTaskOutcome(CreateIllegalUrlExportTaskResult(outcome.result()));
|
||||
else
|
||||
return CreateIllegalUrlExportTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::createIllegalUrlExportTaskAsync(const CreateIllegalUrlExportTaskRequest& request, const CreateIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createIllegalUrlExportTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::CreateIllegalUrlExportTaskOutcomeCallable CdnClient::createIllegalUrlExportTaskCallable(const CreateIllegalUrlExportTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateIllegalUrlExportTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createIllegalUrlExportTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::CreateLiveStreamRecordIndexFilesOutcome CdnClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3471,6 +3507,42 @@ CdnClient::DescribeFCTriggerOutcomeCallable CdnClient::describeFCTriggerCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeIllegalUrlExportTaskOutcome CdnClient::describeIllegalUrlExportTask(const DescribeIllegalUrlExportTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeIllegalUrlExportTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeIllegalUrlExportTaskOutcome(DescribeIllegalUrlExportTaskResult(outcome.result()));
|
||||
else
|
||||
return DescribeIllegalUrlExportTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeIllegalUrlExportTaskAsync(const DescribeIllegalUrlExportTaskRequest& request, const DescribeIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeIllegalUrlExportTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeIllegalUrlExportTaskOutcomeCallable CdnClient::describeIllegalUrlExportTaskCallable(const DescribeIllegalUrlExportTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeIllegalUrlExportTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeIllegalUrlExportTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeIpInfoOutcome CdnClient::describeIpInfo(const DescribeIpInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -49,6 +49,17 @@ void BatchSetCdnDomainConfigRequest::setDomainNames(const std::string& domainNam
|
||||
setParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string BatchSetCdnDomainConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string BatchSetCdnDomainConfigRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -71,14 +82,3 @@ void BatchSetCdnDomainConfigRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchSetCdnDomainConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
62
cdn/src/model/CreateIllegalUrlExportTaskRequest.cc
Normal file
62
cdn/src/model/CreateIllegalUrlExportTaskRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::CreateIllegalUrlExportTaskRequest;
|
||||
|
||||
CreateIllegalUrlExportTaskRequest::CreateIllegalUrlExportTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "CreateIllegalUrlExportTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateIllegalUrlExportTaskRequest::~CreateIllegalUrlExportTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateIllegalUrlExportTaskRequest::getTaskName()const
|
||||
{
|
||||
return taskName_;
|
||||
}
|
||||
|
||||
void CreateIllegalUrlExportTaskRequest::setTaskName(const std::string& taskName)
|
||||
{
|
||||
taskName_ = taskName;
|
||||
setParameter("TaskName", taskName);
|
||||
}
|
||||
|
||||
long CreateIllegalUrlExportTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateIllegalUrlExportTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateIllegalUrlExportTaskRequest::getTimePoint()const
|
||||
{
|
||||
return timePoint_;
|
||||
}
|
||||
|
||||
void CreateIllegalUrlExportTaskRequest::setTimePoint(const std::string& timePoint)
|
||||
{
|
||||
timePoint_ = timePoint;
|
||||
setParameter("TimePoint", timePoint);
|
||||
}
|
||||
|
||||
51
cdn/src/model/CreateIllegalUrlExportTaskResult.cc
Normal file
51
cdn/src/model/CreateIllegalUrlExportTaskResult.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/cdn/model/CreateIllegalUrlExportTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
CreateIllegalUrlExportTaskResult::CreateIllegalUrlExportTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateIllegalUrlExportTaskResult::CreateIllegalUrlExportTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateIllegalUrlExportTaskResult::~CreateIllegalUrlExportTaskResult()
|
||||
{}
|
||||
|
||||
void CreateIllegalUrlExportTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateIllegalUrlExportTaskResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc
Normal file
51
cdn/src/model/DescribeIllegalUrlExportTaskRequest.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/cdn/model/DescribeIllegalUrlExportTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeIllegalUrlExportTaskRequest;
|
||||
|
||||
DescribeIllegalUrlExportTaskRequest::DescribeIllegalUrlExportTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeIllegalUrlExportTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeIllegalUrlExportTaskRequest::~DescribeIllegalUrlExportTaskRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeIllegalUrlExportTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DescribeIllegalUrlExportTaskRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
long DescribeIllegalUrlExportTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeIllegalUrlExportTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
58
cdn/src/model/DescribeIllegalUrlExportTaskResult.cc
Normal file
58
cdn/src/model/DescribeIllegalUrlExportTaskResult.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/cdn/model/DescribeIllegalUrlExportTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeIllegalUrlExportTaskResult::DescribeIllegalUrlExportTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeIllegalUrlExportTaskResult::DescribeIllegalUrlExportTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeIllegalUrlExportTaskResult::~DescribeIllegalUrlExportTaskResult()
|
||||
{}
|
||||
|
||||
void DescribeIllegalUrlExportTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["DownloadUrl"].isNull())
|
||||
downloadUrl_ = value["DownloadUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeIllegalUrlExportTaskResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeIllegalUrlExportTaskResult::getDownloadUrl()const
|
||||
{
|
||||
return downloadUrl_;
|
||||
}
|
||||
|
||||
@@ -38,17 +38,6 @@ void RefreshObjectCachesRequest::setObjectPath(const std::string& objectPath)
|
||||
setParameter("ObjectPath", objectPath);
|
||||
}
|
||||
|
||||
long RefreshObjectCachesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RefreshObjectCachesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RefreshObjectCachesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
@@ -71,3 +60,14 @@ void RefreshObjectCachesRequest::setObjectType(const std::string& objectType)
|
||||
setParameter("ObjectType", objectType);
|
||||
}
|
||||
|
||||
long RefreshObjectCachesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RefreshObjectCachesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -27,15 +27,15 @@ SetCdnDomainCSRCertificateRequest::SetCdnDomainCSRCertificateRequest() :
|
||||
SetCdnDomainCSRCertificateRequest::~SetCdnDomainCSRCertificateRequest()
|
||||
{}
|
||||
|
||||
std::string SetCdnDomainCSRCertificateRequest::getCertificate()const
|
||||
std::string SetCdnDomainCSRCertificateRequest::getServerCertificate()const
|
||||
{
|
||||
return certificate_;
|
||||
return serverCertificate_;
|
||||
}
|
||||
|
||||
void SetCdnDomainCSRCertificateRequest::setCertificate(const std::string& certificate)
|
||||
void SetCdnDomainCSRCertificateRequest::setServerCertificate(const std::string& serverCertificate)
|
||||
{
|
||||
certificate_ = certificate;
|
||||
setParameter("Certificate", certificate);
|
||||
serverCertificate_ = serverCertificate;
|
||||
setParameter("ServerCertificate", serverCertificate);
|
||||
}
|
||||
|
||||
std::string SetCdnDomainCSRCertificateRequest::getDomainName()const
|
||||
|
||||
@@ -57,6 +57,8 @@ namespace AlibabaCloud
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
bool getEnableBackupLog()const;
|
||||
void setEnableBackupLog(bool enableBackupLog);
|
||||
std::string getBackupStorageType()const;
|
||||
void setBackupStorageType(const std::string& backupStorageType);
|
||||
int getDuplicationArchivePeriod()const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
std::string getSourceEndpointPassword()const;
|
||||
@@ -92,6 +94,7 @@ namespace AlibabaCloud
|
||||
std::string backupStartTime_;
|
||||
std::string sourceEndpointIP_;
|
||||
bool enableBackupLog_;
|
||||
std::string backupStorageType_;
|
||||
int duplicationArchivePeriod_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string backupObjects_;
|
||||
|
||||
@@ -31,21 +31,21 @@ DbsClient::DbsClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "cbs");
|
||||
}
|
||||
|
||||
DbsClient::DbsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "cbs");
|
||||
}
|
||||
|
||||
DbsClient::DbsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "cbs");
|
||||
}
|
||||
|
||||
DbsClient::~DbsClient()
|
||||
|
||||
@@ -148,6 +148,17 @@ void ConfigureBackupPlanRequest::setEnableBackupLog(bool enableBackupLog)
|
||||
setParameter("EnableBackupLog", enableBackupLog ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStorageType()const
|
||||
{
|
||||
return backupStorageType_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupStorageType(const std::string& backupStorageType)
|
||||
{
|
||||
backupStorageType_ = backupStorageType;
|
||||
setParameter("BackupStorageType", backupStorageType);
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getDuplicationArchivePeriod()const
|
||||
{
|
||||
return duplicationArchivePeriod_;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -14,41 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESREQUEST_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT DetectClothesRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClusterPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectClothesRequest();
|
||||
~DetectClothesRequest();
|
||||
DescribeGWSClusterPolicyRequest();
|
||||
~DescribeGWSClusterPolicyRequest();
|
||||
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSrcUris()const;
|
||||
void setSrcUris(const std::string& srcUris);
|
||||
|
||||
private:
|
||||
std::string project_;
|
||||
std::string clusterId_;
|
||||
std::string accessKeyId_;
|
||||
std::string srcUris_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESREQUEST_H_
|
||||
#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;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user