Compare commits
46 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe11ae7d12 | ||
|
|
4095ec22b9 | ||
|
|
2829dacfb2 | ||
|
|
051e0b3a92 | ||
|
|
d85d6f6494 | ||
|
|
353bb56a9b | ||
|
|
c1390eb44e | ||
|
|
e39d422408 | ||
|
|
6c4aa68089 | ||
|
|
de92956a15 | ||
|
|
befec9ee53 | ||
|
|
9ca2a7694b | ||
|
|
caafbf0de9 | ||
|
|
1c7304d44c | ||
|
|
a34003466f | ||
|
|
14dc74bf6a | ||
|
|
2373071165 | ||
|
|
13d4cbf2f9 | ||
|
|
650feae280 | ||
|
|
d1aee32108 | ||
|
|
607556b08a | ||
|
|
28afe651a7 | ||
|
|
096a349c41 | ||
|
|
191dc8eb68 | ||
|
|
7a98ea847f | ||
|
|
d2e8acabaa | ||
|
|
fdda25160a | ||
|
|
96f811507e | ||
|
|
cf62272b5b | ||
|
|
75a15fd95e | ||
|
|
4dea18972d | ||
|
|
a6a706f7bd | ||
|
|
ba89b8f5b6 | ||
|
|
602862cc5e | ||
|
|
914402ac4e | ||
|
|
3a7cca96e3 | ||
|
|
3d527e15e0 | ||
|
|
54a8427771 | ||
|
|
5f1578fdbe | ||
|
|
e4fc46970b | ||
|
|
a6fdb87ef4 | ||
|
|
754add8798 | ||
|
|
1044402e1d | ||
|
|
8cc78b3a3e | ||
|
|
0cf5861ece | ||
|
|
524b68ac01 |
143
CHANGELOG
143
CHANGELOG
@@ -1,3 +1,146 @@
|
||||
2021-11-29 Version: 1.36.956
|
||||
- Add API for unregister sip phone device, masked callee, etc.
|
||||
|
||||
2021-11-29 Version: 1.36.955
|
||||
- Update DescribeCdnSMCertificateDetail.
|
||||
|
||||
2021-11-29 Version: 1.36.954
|
||||
- Update SetDcdnDomainSMCertificate.
|
||||
|
||||
2021-11-29 Version: 1.36.953
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2021-11-26 Version: 1.36.952
|
||||
- Support CEN Qos Apis.
|
||||
- Support TransitRouter Latest Apis.
|
||||
|
||||
2021-11-26 Version: 1.36.951
|
||||
- Update GetSyncResult.
|
||||
|
||||
2021-11-25 Version: 1.36.950
|
||||
- Supported new features etc.
|
||||
|
||||
2021-11-25 Version: 1.36.949
|
||||
- Supported new features etc.
|
||||
|
||||
2021-11-25 Version: 1.36.948
|
||||
- Supported new features for outbound.
|
||||
|
||||
2021-11-25 Version: 1.36.947
|
||||
- Delete some abandoned interface.
|
||||
- Add some interfaces.
|
||||
|
||||
2021-11-25 Version: 1.36.946
|
||||
- Minor changes.
|
||||
|
||||
2021-11-24 Version: 1.36.945
|
||||
- Delete some abandoned interface in SDK.
|
||||
|
||||
2021-11-24 Version: 1.36.944
|
||||
- Set API DescribeVodDomainSrcBpsData to public.
|
||||
|
||||
2021-11-23 Version: 1.36.943
|
||||
- Delete some abandoned interface in SDK.
|
||||
- Add AutoLiveStream series interfaces.
|
||||
- Add UpdateMPUTask, CreateRecordIndexFile interfaces.
|
||||
|
||||
2021-11-23 Version: 1.36.942
|
||||
- Update RecognizeCharacter.
|
||||
|
||||
2021-11-23 Version: 1.36.941
|
||||
- Generated 2016-04-08 for `Emr`.
|
||||
|
||||
2021-11-23 Version: 1.36.940
|
||||
- Fix BdsColdStorage.
|
||||
|
||||
2021-11-23 Version: 1.36.939
|
||||
- Support the IP restrictions in ram policy.
|
||||
|
||||
2021-11-19 Version: 1.36.938
|
||||
- Add site monitoring dial DNS_ match_ rule.
|
||||
|
||||
2021-11-17 Version: 1.36.937
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-16 Version: 1.36.936
|
||||
- Add parameter type HDRType.
|
||||
|
||||
2021-11-16 Version: 1.36.935
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-16 Version: 1.36.934
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-16 Version: 1.36.933
|
||||
- Generated 2017-12-28 for `ddoscoo`.
|
||||
|
||||
2021-11-16 Version: 1.36.932
|
||||
- Update SetCdnDomainSMCertificate.
|
||||
|
||||
2021-11-16 Version: 1.36.931
|
||||
- Update apm interface parameter.
|
||||
|
||||
2021-11-15 Version: 1.36.930
|
||||
- Generated 2020-01-01 for `ddoscoo`.
|
||||
|
||||
2021-11-15 Version: 1.36.929
|
||||
- Add Ext parameter to image translation API.
|
||||
|
||||
2021-11-15 Version: 1.36.928
|
||||
- Update DetectVehicleICongestion DetectVehicleIllegalParking.
|
||||
|
||||
2021-11-12 Version: 1.36.927
|
||||
- Update by sdk platform.
|
||||
|
||||
2021-11-12 Version: 1.36.926
|
||||
- Optimize the API for querying storage package information.
|
||||
|
||||
2021-11-08 Version: 1.36.925
|
||||
- Supported apm restful api.
|
||||
|
||||
2021-11-05 Version: 1.36.924
|
||||
- Add SetDcdnDomainSMCertificate.
|
||||
|
||||
2021-11-05 Version: 1.36.923
|
||||
- Add SetCdnDomainSMCertificate.
|
||||
|
||||
2021-11-05 Version: 1.36.922
|
||||
- Update OTA API, including CreateOTAVerifyJob.
|
||||
|
||||
2021-11-04 Version: 1.36.921
|
||||
- Adjust some param.
|
||||
|
||||
2021-11-02 Version: 1.36.920
|
||||
- Add GetVideoPlayAuth API parameter.
|
||||
|
||||
2021-11-02 Version: 1.36.919
|
||||
- Add GetVideoPlayAuth API parameter.
|
||||
|
||||
2021-11-02 Version: 1.36.918
|
||||
- Support multi language.
|
||||
|
||||
2021-11-02 Version: 1.36.917
|
||||
- Add API UploadStreamByURL.
|
||||
|
||||
2021-11-02 Version: 1.36.916
|
||||
- Fixed SDK update delay.
|
||||
|
||||
2021-11-01 Version: 1.36.915
|
||||
- Release DetectKitchenAnimals DetectWorkwear.
|
||||
|
||||
2021-10-28 Version: 1.36.914
|
||||
- Add no data alarm processing.
|
||||
|
||||
2021-10-28 Version: 1.36.913
|
||||
- Updated tag api.
|
||||
- Updated DescribeTask api to get relatedResourceId info.
|
||||
|
||||
2021-10-27 Version: 1.36.912
|
||||
- Fix ModifyInstanceName.
|
||||
|
||||
2021-10-26 Version: 1.36.911
|
||||
- Add QueryEmbedTokenInfo,DeleteEmbedToken,CreateEmbedToken,DelayEmbedToken,BuildSignatureUrl, and update QueryDatasetInfo,AuthorizeMenu,AddUserTagMeta,AddUser.
|
||||
|
||||
2021-10-26 Version: 1.36.910
|
||||
- Update Dyvmsapi SDK.
|
||||
|
||||
|
||||
@@ -43,6 +43,10 @@ set(alimt_public_header_model
|
||||
include/alibabacloud/alimt/model/GetTitleGenerateResult.h
|
||||
include/alibabacloud/alimt/model/GetTitleIntelligenceRequest.h
|
||||
include/alibabacloud/alimt/model/GetTitleIntelligenceResult.h
|
||||
include/alibabacloud/alimt/model/GetTranslateReportRequest.h
|
||||
include/alibabacloud/alimt/model/GetTranslateReportResult.h
|
||||
include/alibabacloud/alimt/model/GetUserRequest.h
|
||||
include/alibabacloud/alimt/model/GetUserResult.h
|
||||
include/alibabacloud/alimt/model/OpenAlimtServiceRequest.h
|
||||
include/alibabacloud/alimt/model/OpenAlimtServiceResult.h
|
||||
include/alibabacloud/alimt/model/TranslateRequest.h
|
||||
@@ -52,7 +56,9 @@ set(alimt_public_header_model
|
||||
include/alibabacloud/alimt/model/TranslateECommerceRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateECommerceResult.h
|
||||
include/alibabacloud/alimt/model/TranslateGeneralRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateGeneralResult.h )
|
||||
include/alibabacloud/alimt/model/TranslateGeneralResult.h
|
||||
include/alibabacloud/alimt/model/TranslateImageRequest.h
|
||||
include/alibabacloud/alimt/model/TranslateImageResult.h )
|
||||
|
||||
set(alimt_src
|
||||
src/AlimtClient.cc
|
||||
@@ -78,6 +84,10 @@ set(alimt_src
|
||||
src/model/GetTitleGenerateResult.cc
|
||||
src/model/GetTitleIntelligenceRequest.cc
|
||||
src/model/GetTitleIntelligenceResult.cc
|
||||
src/model/GetTranslateReportRequest.cc
|
||||
src/model/GetTranslateReportResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/OpenAlimtServiceRequest.cc
|
||||
src/model/OpenAlimtServiceResult.cc
|
||||
src/model/TranslateRequest.cc
|
||||
@@ -87,7 +97,9 @@ set(alimt_src
|
||||
src/model/TranslateECommerceRequest.cc
|
||||
src/model/TranslateECommerceResult.cc
|
||||
src/model/TranslateGeneralRequest.cc
|
||||
src/model/TranslateGeneralResult.cc )
|
||||
src/model/TranslateGeneralResult.cc
|
||||
src/model/TranslateImageRequest.cc
|
||||
src/model/TranslateImageResult.cc )
|
||||
|
||||
add_library(alimt ${LIB_TYPE}
|
||||
${alimt_public_header}
|
||||
|
||||
@@ -44,6 +44,10 @@
|
||||
#include "model/GetTitleGenerateResult.h"
|
||||
#include "model/GetTitleIntelligenceRequest.h"
|
||||
#include "model/GetTitleIntelligenceResult.h"
|
||||
#include "model/GetTranslateReportRequest.h"
|
||||
#include "model/GetTranslateReportResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/OpenAlimtServiceRequest.h"
|
||||
#include "model/OpenAlimtServiceResult.h"
|
||||
#include "model/TranslateRequest.h"
|
||||
@@ -54,6 +58,8 @@
|
||||
#include "model/TranslateECommerceResult.h"
|
||||
#include "model/TranslateGeneralRequest.h"
|
||||
#include "model/TranslateGeneralResult.h"
|
||||
#include "model/TranslateImageRequest.h"
|
||||
#include "model/TranslateImageResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -96,6 +102,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetTitleIntelligenceResult> GetTitleIntelligenceOutcome;
|
||||
typedef std::future<GetTitleIntelligenceOutcome> GetTitleIntelligenceOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetTitleIntelligenceRequest&, const GetTitleIntelligenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleIntelligenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTranslateReportResult> GetTranslateReportOutcome;
|
||||
typedef std::future<GetTranslateReportOutcome> GetTranslateReportOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetTranslateReportRequest&, const GetTranslateReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTranslateReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenAlimtServiceResult> OpenAlimtServiceOutcome;
|
||||
typedef std::future<OpenAlimtServiceOutcome> OpenAlimtServiceOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::OpenAlimtServiceRequest&, const OpenAlimtServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenAlimtServiceAsyncHandler;
|
||||
@@ -111,6 +123,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TranslateGeneralResult> TranslateGeneralOutcome;
|
||||
typedef std::future<TranslateGeneralOutcome> TranslateGeneralOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateGeneralRequest&, const TranslateGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateGeneralAsyncHandler;
|
||||
typedef Outcome<Error, Model::TranslateImageResult> TranslateImageOutcome;
|
||||
typedef std::future<TranslateImageOutcome> TranslateImageOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::TranslateImageRequest&, const TranslateImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateImageAsyncHandler;
|
||||
|
||||
AlimtClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AlimtClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -149,6 +164,12 @@ namespace AlibabaCloud
|
||||
GetTitleIntelligenceOutcome getTitleIntelligence(const Model::GetTitleIntelligenceRequest &request)const;
|
||||
void getTitleIntelligenceAsync(const Model::GetTitleIntelligenceRequest& request, const GetTitleIntelligenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTitleIntelligenceOutcomeCallable getTitleIntelligenceCallable(const Model::GetTitleIntelligenceRequest& request) const;
|
||||
GetTranslateReportOutcome getTranslateReport(const Model::GetTranslateReportRequest &request)const;
|
||||
void getTranslateReportAsync(const Model::GetTranslateReportRequest& request, const GetTranslateReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTranslateReportOutcomeCallable getTranslateReportCallable(const Model::GetTranslateReportRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
OpenAlimtServiceOutcome openAlimtService(const Model::OpenAlimtServiceRequest &request)const;
|
||||
void openAlimtServiceAsync(const Model::OpenAlimtServiceRequest& request, const OpenAlimtServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenAlimtServiceOutcomeCallable openAlimtServiceCallable(const Model::OpenAlimtServiceRequest& request) const;
|
||||
@@ -164,6 +185,9 @@ namespace AlibabaCloud
|
||||
TranslateGeneralOutcome translateGeneral(const Model::TranslateGeneralRequest &request)const;
|
||||
void translateGeneralAsync(const Model::TranslateGeneralRequest& request, const TranslateGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateGeneralOutcomeCallable translateGeneralCallable(const Model::TranslateGeneralRequest& request) const;
|
||||
TranslateImageOutcome translateImage(const Model::TranslateImageRequest &request)const;
|
||||
void translateImageAsync(const Model::TranslateImageRequest& request, const TranslateImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateImageOutcomeCallable translateImageCallable(const Model::TranslateImageRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -1,63 +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_ALIMT_MODEL_CREATEDOCTRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_CREATEDOCTRANSLATETASKREQUEST_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 CreateDocTranslateTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDocTranslateTaskRequest();
|
||||
~CreateDocTranslateTaskRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getFileUrl()const;
|
||||
void setFileUrl(const std::string& fileUrl);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
std::string getCallbackUrl()const;
|
||||
void setCallbackUrl(const std::string& callbackUrl);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string clientToken_;
|
||||
std::string scene_;
|
||||
std::string fileUrl_;
|
||||
std::string targetLanguage_;
|
||||
std::string callbackUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEDOCTRANSLATETASKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_CREATEDOCTRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_CREATEDOCTRANSLATETASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT CreateDocTranslateTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDocTranslateTaskRequest();
|
||||
~CreateDocTranslateTaskRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getFileUrl() const;
|
||||
void setFileUrl(const std::string &fileUrl);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
std::string getCallbackUrl() const;
|
||||
void setCallbackUrl(const std::string &callbackUrl);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string clientToken_;
|
||||
std::string scene_;
|
||||
std::string fileUrl_;
|
||||
std::string targetLanguage_;
|
||||
std::string callbackUrl_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEDOCTRANSLATETASKREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_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 CreateImageTranslateTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateImageTranslateTaskRequest();
|
||||
~CreateImageTranslateTaskRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getUrlList()const;
|
||||
void setUrlList(const std::string& urlList);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string clientToken_;
|
||||
std::string urlList_;
|
||||
std::string extra_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateImageTranslateTaskRequest();
|
||||
~CreateImageTranslateTaskRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getUrlList() const;
|
||||
void setUrlList(const std::string &urlList);
|
||||
std::string getExtra() const;
|
||||
void setExtra(const std::string &extra);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string clientToken_;
|
||||
std::string urlList_;
|
||||
std::string extra_;
|
||||
std::string targetLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||
|
||||
@@ -1,63 +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_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_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 GetBatchTranslateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetBatchTranslateRequest();
|
||||
~GetBatchTranslateRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
std::string getFormatType()const;
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getApiType()const;
|
||||
void setApiType(const std::string& apiType);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string apiType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetBatchTranslateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetBatchTranslateRequest();
|
||||
~GetBatchTranslateRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getSourceText() const;
|
||||
void setSourceText(const std::string &sourceText);
|
||||
std::string getFormatType() const;
|
||||
void setFormatType(const std::string &formatType);
|
||||
std::string getApiType() const;
|
||||
void setApiType(const std::string &apiType);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string apiType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_GETDETECTLANGUAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETDETECTLANGUAGEREQUEST_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 GetDetectLanguageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDetectLanguageRequest();
|
||||
~GetDetectLanguageRequest();
|
||||
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
|
||||
private:
|
||||
std::string sourceText_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETDETECTLANGUAGEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETDETECTLANGUAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETDETECTLANGUAGEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetDetectLanguageRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDetectLanguageRequest();
|
||||
~GetDetectLanguageRequest();
|
||||
std::string getSourceText() const;
|
||||
void setSourceText(const std::string &sourceText);
|
||||
|
||||
private:
|
||||
std::string sourceText_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETDETECTLANGUAGEREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_GETDOCTRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETDOCTRANSLATETASKREQUEST_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 GetDocTranslateTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDocTranslateTaskRequest();
|
||||
~GetDocTranslateTaskRequest();
|
||||
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETDOCTRANSLATETASKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETDOCTRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETDOCTRANSLATETASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetDocTranslateTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDocTranslateTaskRequest();
|
||||
~GetDocTranslateTaskRequest();
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
|
||||
private:
|
||||
std::string taskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETDOCTRANSLATETASKREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_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 GetImageDiagnoseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetImageDiagnoseRequest();
|
||||
~GetImageDiagnoseRequest();
|
||||
|
||||
std::string getUrl()const;
|
||||
void setUrl(const std::string& url);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
|
||||
private:
|
||||
std::string url_;
|
||||
std::string extra_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetImageDiagnoseRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetImageDiagnoseRequest();
|
||||
~GetImageDiagnoseRequest();
|
||||
std::string getUrl() const;
|
||||
void setUrl(const std::string &url);
|
||||
std::string getExtra() const;
|
||||
void setExtra(const std::string &extra);
|
||||
|
||||
private:
|
||||
std::string url_;
|
||||
std::string extra_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGEDIAGNOSEREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_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 GetImageTranslateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetImageTranslateRequest();
|
||||
~GetImageTranslateRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getUrl()const;
|
||||
void setUrl(const std::string& url);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string url_;
|
||||
std::string extra_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetImageTranslateRequest();
|
||||
~GetImageTranslateRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getUrl() const;
|
||||
void setUrl(const std::string &url);
|
||||
std::string getExtra() const;
|
||||
void setExtra(const std::string &extra);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string url_;
|
||||
std::string extra_;
|
||||
std::string targetLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATEREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_GETIMAGETRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_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 GetImageTranslateTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetImageTranslateTaskRequest();
|
||||
~GetImageTranslateTaskRequest();
|
||||
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetImageTranslateTaskRequest();
|
||||
~GetImageTranslateTaskRequest();
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
|
||||
private:
|
||||
std::string taskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_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 GetTitleDiagnoseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTitleDiagnoseRequest();
|
||||
~GetTitleDiagnoseRequest();
|
||||
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
std::string getCategoryId()const;
|
||||
void setCategoryId(const std::string& categoryId);
|
||||
|
||||
private:
|
||||
std::string language_;
|
||||
std::string title_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
std::string categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleDiagnoseRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTitleDiagnoseRequest();
|
||||
~GetTitleDiagnoseRequest();
|
||||
std::string getLanguage() const;
|
||||
void setLanguage(const std::string &language);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getPlatform() const;
|
||||
void setPlatform(const std::string &platform);
|
||||
std::string getExtra() const;
|
||||
void setExtra(const std::string &extra);
|
||||
std::string getCategoryId() const;
|
||||
void setCategoryId(const std::string &categoryId);
|
||||
|
||||
private:
|
||||
std::string language_;
|
||||
std::string title_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
std::string categoryId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEDIAGNOSEREQUEST_H_
|
||||
|
||||
@@ -41,9 +41,9 @@ namespace AlibabaCloud
|
||||
std::string overLengthLimit;
|
||||
std::string totalScore;
|
||||
std::string duplicateWords;
|
||||
std::string wordSpelledCorrectError;
|
||||
std::string allUppercaseWords;
|
||||
std::string languageQualityScore;
|
||||
std::string allUppercaseWords;
|
||||
std::string wordSpelledCorrectError;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,66 +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_GETTITLEGENERATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_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 GetTitleGenerateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTitleGenerateRequest();
|
||||
~GetTitleGenerateRequest();
|
||||
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
std::string getAttributes()const;
|
||||
void setAttributes(const std::string& attributes);
|
||||
std::string getHotWords()const;
|
||||
void setHotWords(const std::string& hotWords);
|
||||
std::string getCategoryId()const;
|
||||
void setCategoryId(const std::string& categoryId);
|
||||
|
||||
private:
|
||||
std::string language_;
|
||||
std::string title_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
std::string attributes_;
|
||||
std::string hotWords_;
|
||||
std::string categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleGenerateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTitleGenerateRequest();
|
||||
~GetTitleGenerateRequest();
|
||||
std::string getLanguage() const;
|
||||
void setLanguage(const std::string &language);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getPlatform() const;
|
||||
void setPlatform(const std::string &platform);
|
||||
std::string getExtra() const;
|
||||
void setExtra(const std::string &extra);
|
||||
std::string getAttributes() const;
|
||||
void setAttributes(const std::string &attributes);
|
||||
std::string getHotWords() const;
|
||||
void setHotWords(const std::string &hotWords);
|
||||
std::string getCategoryId() const;
|
||||
void setCategoryId(const std::string &categoryId);
|
||||
|
||||
private:
|
||||
std::string language_;
|
||||
std::string title_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
std::string attributes_;
|
||||
std::string hotWords_;
|
||||
std::string categoryId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEGENERATEREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_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 GetTitleIntelligenceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTitleIntelligenceRequest();
|
||||
~GetTitleIntelligenceRequest();
|
||||
|
||||
long getCatLevelThreeId()const;
|
||||
void setCatLevelThreeId(long catLevelThreeId);
|
||||
long getCatLevelTwoId()const;
|
||||
void setCatLevelTwoId(long catLevelTwoId);
|
||||
std::string getKeywords()const;
|
||||
void setKeywords(const std::string& keywords);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getExtra()const;
|
||||
void setExtra(const std::string& extra);
|
||||
|
||||
private:
|
||||
long catLevelThreeId_;
|
||||
long catLevelTwoId_;
|
||||
std::string keywords_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTitleIntelligenceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTitleIntelligenceRequest();
|
||||
~GetTitleIntelligenceRequest();
|
||||
long getCatLevelThreeId() const;
|
||||
void setCatLevelThreeId(long catLevelThreeId);
|
||||
long getCatLevelTwoId() const;
|
||||
void setCatLevelTwoId(long catLevelTwoId);
|
||||
std::string getKeywords() const;
|
||||
void setKeywords(const std::string &keywords);
|
||||
std::string getPlatform() const;
|
||||
void setPlatform(const std::string &platform);
|
||||
std::string getExtra() const;
|
||||
void setExtra(const std::string &extra);
|
||||
|
||||
private:
|
||||
long catLevelThreeId_;
|
||||
long catLevelTwoId_;
|
||||
std::string keywords_;
|
||||
std::string platform_;
|
||||
std::string extra_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCEREQUEST_H_
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETTRANSLATEREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTRANSLATEREPORTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTranslateReportRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTranslateReportRequest();
|
||||
~GetTranslateReportRequest();
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getBeginTime() const;
|
||||
void setBeginTime(const std::string &beginTime);
|
||||
std::string getApiName() const;
|
||||
void setApiName(const std::string &apiName);
|
||||
std::string getGroup() const;
|
||||
void setGroup(const std::string &group);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string beginTime_;
|
||||
std::string apiName_;
|
||||
std::string group_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTRANSLATEREPORTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_GETTRANSLATEREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETTRANSLATEREPORTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetTranslateReportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTranslateReportResult();
|
||||
explicit GetTranslateReportResult(const std::string &payload);
|
||||
~GetTranslateReportResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTRANSLATEREPORTRESULT_H_
|
||||
39
alimt/include/alibabacloud/alimt/model/GetUserRequest.h
Normal file
39
alimt/include/alibabacloud/alimt/model/GetUserRequest.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* 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_GETUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETUSERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetUserRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetUserRequest();
|
||||
~GetUserRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETUSERREQUEST_H_
|
||||
55
alimt/include/alibabacloud/alimt/model/GetUserResult.h
Normal file
55
alimt/include/alibabacloud/alimt/model/GetUserResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_GETUSERRESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIMT_EXPORT GetUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetUserResult();
|
||||
explicit GetUserResult(const std::string &payload);
|
||||
~GetUserResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETUSERRESULT_H_
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_OPENALIMTSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_OPENALIMTSERVICEREQUEST_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 OpenAlimtServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenAlimtServiceRequest();
|
||||
~OpenAlimtServiceRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_OPENALIMTSERVICEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_OPENALIMTSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_OPENALIMTSERVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT OpenAlimtServiceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OpenAlimtServiceRequest();
|
||||
~OpenAlimtServiceRequest();
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string type_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_OPENALIMTSERVICEREQUEST_H_
|
||||
|
||||
@@ -1,60 +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_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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateCertificateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
TranslateCertificateRequest();
|
||||
~TranslateCertificateRequest();
|
||||
std::string getExt() const;
|
||||
void setExt(const std::string &ext);
|
||||
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 ext_;
|
||||
std::string sourceLanguage_;
|
||||
std::string certificateType_;
|
||||
std::string resultType_;
|
||||
std::string imageUrl_;
|
||||
std::string targetLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATECERTIFICATEREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_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 TranslateECommerceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TranslateECommerceRequest();
|
||||
~TranslateECommerceRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
std::string getFormatType()const;
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateECommerceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
TranslateECommerceRequest();
|
||||
~TranslateECommerceRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getSourceText() const;
|
||||
void setSourceText(const std::string &sourceText);
|
||||
std::string getFormatType() const;
|
||||
void setFormatType(const std::string &formatType);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEECOMMERCEREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_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 TranslateGeneralRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TranslateGeneralRequest();
|
||||
~TranslateGeneralRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
std::string getFormatType()const;
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateGeneralRequest : public RpcServiceRequest {
|
||||
public:
|
||||
TranslateGeneralRequest();
|
||||
~TranslateGeneralRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getSourceText() const;
|
||||
void setSourceText(const std::string &sourceText);
|
||||
std::string getFormatType() const;
|
||||
void setFormatType(const std::string &formatType);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEGENERALREQUEST_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_ALIMT_MODEL_TRANSLATEIMAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEIMAGEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateImageRequest : public RpcServiceRequest {
|
||||
public:
|
||||
TranslateImageRequest();
|
||||
~TranslateImageRequest();
|
||||
std::string getExt() const;
|
||||
void setExt(const std::string &ext);
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getField() const;
|
||||
void setField(const std::string &field);
|
||||
std::string getImageUrl() const;
|
||||
void setImageUrl(const std::string &imageUrl);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
std::string getImageBase64() const;
|
||||
void setImageBase64(const std::string &imageBase64);
|
||||
|
||||
private:
|
||||
std::string ext_;
|
||||
std::string sourceLanguage_;
|
||||
std::string field_;
|
||||
std::string imageUrl_;
|
||||
std::string targetLanguage_;
|
||||
std::string imageBase64_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEIMAGEREQUEST_H_
|
||||
@@ -14,47 +14,48 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERTCSCALERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCSCALERESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEIMAGERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEIMAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Alimt
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcScaleResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateImageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ScaleItem
|
||||
struct Data
|
||||
{
|
||||
long channelCount;
|
||||
long videoDuration;
|
||||
long userCount;
|
||||
std::string time;
|
||||
long sessionCount;
|
||||
long audioDuration;
|
||||
std::string inPaintingUrl;
|
||||
std::string templateJson;
|
||||
std::string finalImageUrl;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcScaleResult();
|
||||
explicit DescribeRtcScaleResult(const std::string &payload);
|
||||
~DescribeRtcScaleResult();
|
||||
std::vector<ScaleItem> getScale()const;
|
||||
TranslateImageResult();
|
||||
explicit TranslateImageResult(const std::string &payload);
|
||||
~TranslateImageResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ScaleItem> scale_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCSCALERESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEIMAGERESULT_H_
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEREQUEST_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 TranslateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TranslateRequest();
|
||||
~TranslateRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
std::string getFormatType()const;
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_TRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_TRANSLATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alimt/AlimtExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alimt {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIMT_EXPORT TranslateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
TranslateRequest();
|
||||
~TranslateRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getSourceText() const;
|
||||
void setSourceText(const std::string &sourceText);
|
||||
std::string getFormatType() const;
|
||||
void setFormatType(const std::string &formatType);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alimt
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_TRANSLATEREQUEST_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, "");
|
||||
}
|
||||
|
||||
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, "");
|
||||
}
|
||||
|
||||
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, "");
|
||||
}
|
||||
|
||||
AlimtClient::~AlimtClient()
|
||||
@@ -447,6 +447,78 @@ AlimtClient::GetTitleIntelligenceOutcomeCallable AlimtClient::getTitleIntelligen
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetTranslateReportOutcome AlimtClient::getTranslateReport(const GetTranslateReportRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTranslateReportOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTranslateReportOutcome(GetTranslateReportResult(outcome.result()));
|
||||
else
|
||||
return GetTranslateReportOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getTranslateReportAsync(const GetTranslateReportRequest& request, const GetTranslateReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTranslateReport(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetTranslateReportOutcomeCallable AlimtClient::getTranslateReportCallable(const GetTranslateReportRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTranslateReportOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTranslateReport(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetUserOutcome AlimtClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetUserOutcome(GetUserResult(outcome.result()));
|
||||
else
|
||||
return GetUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getUserAsync(const GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetUserOutcomeCallable AlimtClient::getUserCallable(const GetUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::OpenAlimtServiceOutcome AlimtClient::openAlimtService(const OpenAlimtServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -627,3 +699,39 @@ AlimtClient::TranslateGeneralOutcomeCallable AlimtClient::translateGeneralCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::TranslateImageOutcome AlimtClient::translateImage(const TranslateImageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TranslateImageOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TranslateImageOutcome(TranslateImageResult(outcome.result()));
|
||||
else
|
||||
return TranslateImageOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::translateImageAsync(const TranslateImageRequest& request, const TranslateImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, translateImage(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::TranslateImageOutcomeCallable AlimtClient::translateImageCallable(const TranslateImageRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TranslateImageOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->translateImage(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* 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/CreateDocTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::CreateDocTranslateTaskRequest;
|
||||
|
||||
CreateDocTranslateTaskRequest::CreateDocTranslateTaskRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "CreateDocTranslateTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDocTranslateTaskRequest::~CreateDocTranslateTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDocTranslateTaskRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::CreateDocTranslateTaskRequest;
|
||||
|
||||
CreateDocTranslateTaskRequest::CreateDocTranslateTaskRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "CreateDocTranslateTask") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateDocTranslateTaskRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
CreateDocTranslateTaskRequest::~CreateDocTranslateTaskRequest() {}
|
||||
|
||||
std::string CreateDocTranslateTaskRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string CreateDocTranslateTaskRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void CreateDocTranslateTaskRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void CreateDocTranslateTaskRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
std::string CreateDocTranslateTaskRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateDocTranslateTaskRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
void CreateDocTranslateTaskRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateDocTranslateTaskRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setBodyParameter("Scene", scene);
|
||||
std::string CreateDocTranslateTaskRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
std::string CreateDocTranslateTaskRequest::getFileUrl()const
|
||||
{
|
||||
return fileUrl_;
|
||||
void CreateDocTranslateTaskRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("Scene"), scene);
|
||||
}
|
||||
|
||||
void CreateDocTranslateTaskRequest::setFileUrl(const std::string& fileUrl)
|
||||
{
|
||||
fileUrl_ = fileUrl;
|
||||
setBodyParameter("FileUrl", fileUrl);
|
||||
std::string CreateDocTranslateTaskRequest::getFileUrl() const {
|
||||
return fileUrl_;
|
||||
}
|
||||
|
||||
std::string CreateDocTranslateTaskRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void CreateDocTranslateTaskRequest::setFileUrl(const std::string &fileUrl) {
|
||||
fileUrl_ = fileUrl;
|
||||
setBodyParameter(std::string("FileUrl"), fileUrl);
|
||||
}
|
||||
|
||||
void CreateDocTranslateTaskRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string CreateDocTranslateTaskRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
std::string CreateDocTranslateTaskRequest::getCallbackUrl()const
|
||||
{
|
||||
return callbackUrl_;
|
||||
void CreateDocTranslateTaskRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
void CreateDocTranslateTaskRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||
{
|
||||
callbackUrl_ = callbackUrl;
|
||||
setBodyParameter("CallbackUrl", callbackUrl);
|
||||
std::string CreateDocTranslateTaskRequest::getCallbackUrl() const {
|
||||
return callbackUrl_;
|
||||
}
|
||||
|
||||
void CreateDocTranslateTaskRequest::setCallbackUrl(const std::string &callbackUrl) {
|
||||
callbackUrl_ = callbackUrl;
|
||||
setBodyParameter(std::string("CallbackUrl"), callbackUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void CreateDocTranslateTaskResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::CreateImageTranslateTaskRequest;
|
||||
|
||||
CreateImageTranslateTaskRequest::CreateImageTranslateTaskRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "CreateImageTranslateTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateImageTranslateTaskRequest::~CreateImageTranslateTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateImageTranslateTaskRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::CreateImageTranslateTaskRequest;
|
||||
|
||||
CreateImageTranslateTaskRequest::CreateImageTranslateTaskRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "CreateImageTranslateTask") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateImageTranslateTaskRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
CreateImageTranslateTaskRequest::~CreateImageTranslateTaskRequest() {}
|
||||
|
||||
std::string CreateImageTranslateTaskRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string CreateImageTranslateTaskRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void CreateImageTranslateTaskRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void CreateImageTranslateTaskRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
std::string CreateImageTranslateTaskRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateImageTranslateTaskRequest::getUrlList()const
|
||||
{
|
||||
return urlList_;
|
||||
void CreateImageTranslateTaskRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateImageTranslateTaskRequest::setUrlList(const std::string& urlList)
|
||||
{
|
||||
urlList_ = urlList;
|
||||
setBodyParameter("UrlList", urlList);
|
||||
std::string CreateImageTranslateTaskRequest::getUrlList() const {
|
||||
return urlList_;
|
||||
}
|
||||
|
||||
std::string CreateImageTranslateTaskRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
void CreateImageTranslateTaskRequest::setUrlList(const std::string &urlList) {
|
||||
urlList_ = urlList;
|
||||
setBodyParameter(std::string("UrlList"), urlList);
|
||||
}
|
||||
|
||||
void CreateImageTranslateTaskRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
std::string CreateImageTranslateTaskRequest::getExtra() const {
|
||||
return extra_;
|
||||
}
|
||||
|
||||
std::string CreateImageTranslateTaskRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void CreateImageTranslateTaskRequest::setExtra(const std::string &extra) {
|
||||
extra_ = extra;
|
||||
setBodyParameter(std::string("Extra"), extra);
|
||||
}
|
||||
|
||||
void CreateImageTranslateTaskRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string CreateImageTranslateTaskRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void CreateImageTranslateTaskRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* 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/GetBatchTranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetBatchTranslateRequest;
|
||||
|
||||
GetBatchTranslateRequest::GetBatchTranslateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetBatchTranslate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetBatchTranslateRequest::~GetBatchTranslateRequest()
|
||||
{}
|
||||
|
||||
std::string GetBatchTranslateRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetBatchTranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetBatchTranslateRequest;
|
||||
|
||||
GetBatchTranslateRequest::GetBatchTranslateRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetBatchTranslate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
GetBatchTranslateRequest::~GetBatchTranslateRequest() {}
|
||||
|
||||
std::string GetBatchTranslateRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
void GetBatchTranslateRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter("SourceText", sourceText);
|
||||
std::string GetBatchTranslateRequest::getSourceText() const {
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getFormatType()const
|
||||
{
|
||||
return formatType_;
|
||||
void GetBatchTranslateRequest::setSourceText(const std::string &sourceText) {
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter(std::string("SourceText"), sourceText);
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setFormatType(const std::string& formatType)
|
||||
{
|
||||
formatType_ = formatType;
|
||||
setBodyParameter("FormatType", formatType);
|
||||
std::string GetBatchTranslateRequest::getFormatType() const {
|
||||
return formatType_;
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getApiType()const
|
||||
{
|
||||
return apiType_;
|
||||
void GetBatchTranslateRequest::setFormatType(const std::string &formatType) {
|
||||
formatType_ = formatType;
|
||||
setBodyParameter(std::string("FormatType"), formatType);
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setApiType(const std::string& apiType)
|
||||
{
|
||||
apiType_ = apiType;
|
||||
setBodyParameter("ApiType", apiType);
|
||||
std::string GetBatchTranslateRequest::getApiType() const {
|
||||
return apiType_;
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
void GetBatchTranslateRequest::setApiType(const std::string &apiType) {
|
||||
apiType_ = apiType;
|
||||
setBodyParameter(std::string("ApiType"), apiType);
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setBodyParameter("Scene", scene);
|
||||
std::string GetBatchTranslateRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void GetBatchTranslateRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("Scene"), scene);
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string GetBatchTranslateRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/GetDetectLanguageRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetDetectLanguageRequest;
|
||||
|
||||
GetDetectLanguageRequest::GetDetectLanguageRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetDetectLanguage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDetectLanguageRequest::~GetDetectLanguageRequest()
|
||||
{}
|
||||
|
||||
std::string GetDetectLanguageRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetDetectLanguageRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetDetectLanguageRequest;
|
||||
|
||||
GetDetectLanguageRequest::GetDetectLanguageRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetDetectLanguage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetDetectLanguageRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter("SourceText", sourceText);
|
||||
GetDetectLanguageRequest::~GetDetectLanguageRequest() {}
|
||||
|
||||
std::string GetDetectLanguageRequest::getSourceText() const {
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
void GetDetectLanguageRequest::setSourceText(const std::string &sourceText) {
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter(std::string("SourceText"), sourceText);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/GetDocTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetDocTranslateTaskRequest;
|
||||
|
||||
GetDocTranslateTaskRequest::GetDocTranslateTaskRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetDocTranslateTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetDocTranslateTaskRequest::~GetDocTranslateTaskRequest()
|
||||
{}
|
||||
|
||||
std::string GetDocTranslateTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetDocTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetDocTranslateTaskRequest;
|
||||
|
||||
GetDocTranslateTaskRequest::GetDocTranslateTaskRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetDocTranslateTask") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
void GetDocTranslateTaskRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
GetDocTranslateTaskRequest::~GetDocTranslateTaskRequest() {}
|
||||
|
||||
std::string GetDocTranslateTaskRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void GetDocTranslateTaskRequest::setTaskId(const std::string &taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), taskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,18 +39,18 @@ void GetDocTranslateTaskResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["TranslateFileUrl"].isNull())
|
||||
translateFileUrl_ = value["TranslateFileUrl"].asString();
|
||||
if(!value["TranslateErrorCode"].isNull())
|
||||
translateErrorCode_ = value["TranslateErrorCode"].asString();
|
||||
if(!value["TranslateErrorMessage"].isNull())
|
||||
translateErrorMessage_ = value["TranslateErrorMessage"].asString();
|
||||
if(!value["PageCount"].isNull())
|
||||
pageCount_ = std::stoi(value["PageCount"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
if(!value["TranslateErrorMessage"].isNull())
|
||||
translateErrorMessage_ = value["TranslateErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetImageDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageDiagnoseRequest;
|
||||
|
||||
GetImageDiagnoseRequest::GetImageDiagnoseRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetImageDiagnose")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetImageDiagnoseRequest::~GetImageDiagnoseRequest()
|
||||
{}
|
||||
|
||||
std::string GetImageDiagnoseRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetImageDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageDiagnoseRequest;
|
||||
|
||||
GetImageDiagnoseRequest::GetImageDiagnoseRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetImageDiagnose") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetImageDiagnoseRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
GetImageDiagnoseRequest::~GetImageDiagnoseRequest() {}
|
||||
|
||||
std::string GetImageDiagnoseRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
std::string GetImageDiagnoseRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
void GetImageDiagnoseRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
void GetImageDiagnoseRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
std::string GetImageDiagnoseRequest::getExtra() const {
|
||||
return extra_;
|
||||
}
|
||||
|
||||
void GetImageDiagnoseRequest::setExtra(const std::string &extra) {
|
||||
extra_ = extra;
|
||||
setBodyParameter(std::string("Extra"), extra);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetImageTranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageTranslateRequest;
|
||||
|
||||
GetImageTranslateRequest::GetImageTranslateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetImageTranslateRequest::~GetImageTranslateRequest()
|
||||
{}
|
||||
|
||||
std::string GetImageTranslateRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetImageTranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageTranslateRequest;
|
||||
|
||||
GetImageTranslateRequest::GetImageTranslateRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
GetImageTranslateRequest::~GetImageTranslateRequest() {}
|
||||
|
||||
std::string GetImageTranslateRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string GetImageTranslateRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
void GetImageTranslateRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
std::string GetImageTranslateRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
std::string GetImageTranslateRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
void GetImageTranslateRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
std::string GetImageTranslateRequest::getExtra() const {
|
||||
return extra_;
|
||||
}
|
||||
|
||||
std::string GetImageTranslateRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void GetImageTranslateRequest::setExtra(const std::string &extra) {
|
||||
extra_ = extra;
|
||||
setBodyParameter(std::string("Extra"), extra);
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string GetImageTranslateRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void GetImageTranslateRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/GetImageTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageTranslateTaskRequest;
|
||||
|
||||
GetImageTranslateTaskRequest::GetImageTranslateTaskRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslateTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetImageTranslateTaskRequest::~GetImageTranslateTaskRequest()
|
||||
{}
|
||||
|
||||
std::string GetImageTranslateTaskRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetImageTranslateTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetImageTranslateTaskRequest;
|
||||
|
||||
GetImageTranslateTaskRequest::GetImageTranslateTaskRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslateTask") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetImageTranslateTaskRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setBodyParameter("TaskId", taskId);
|
||||
GetImageTranslateTaskRequest::~GetImageTranslateTaskRequest() {}
|
||||
|
||||
std::string GetImageTranslateTaskRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void GetImageTranslateTaskRequest::setTaskId(const std::string &taskId) {
|
||||
taskId_ = taskId;
|
||||
setBodyParameter(std::string("TaskId"), taskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleDiagnoseRequest;
|
||||
|
||||
GetTitleDiagnoseRequest::GetTitleDiagnoseRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetTitleDiagnose")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTitleDiagnoseRequest::~GetTitleDiagnoseRequest()
|
||||
{}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleDiagnoseRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleDiagnoseRequest;
|
||||
|
||||
GetTitleDiagnoseRequest::GetTitleDiagnoseRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetTitleDiagnose") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setBodyParameter("Language", language);
|
||||
GetTitleDiagnoseRequest::~GetTitleDiagnoseRequest() {}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void GetTitleDiagnoseRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setBodyParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setBodyParameter("Title", title);
|
||||
std::string GetTitleDiagnoseRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getPlatform()const
|
||||
{
|
||||
return platform_;
|
||||
void GetTitleDiagnoseRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setBodyParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setPlatform(const std::string& platform)
|
||||
{
|
||||
platform_ = platform;
|
||||
setBodyParameter("Platform", platform);
|
||||
std::string GetTitleDiagnoseRequest::getPlatform() const {
|
||||
return platform_;
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
void GetTitleDiagnoseRequest::setPlatform(const std::string &platform) {
|
||||
platform_ = platform;
|
||||
setBodyParameter(std::string("Platform"), platform);
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
std::string GetTitleDiagnoseRequest::getExtra() const {
|
||||
return extra_;
|
||||
}
|
||||
|
||||
std::string GetTitleDiagnoseRequest::getCategoryId()const
|
||||
{
|
||||
return categoryId_;
|
||||
void GetTitleDiagnoseRequest::setExtra(const std::string &extra) {
|
||||
extra_ = extra;
|
||||
setBodyParameter(std::string("Extra"), extra);
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setCategoryId(const std::string& categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setBodyParameter("CategoryId", categoryId);
|
||||
std::string GetTitleDiagnoseRequest::getCategoryId() const {
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
void GetTitleDiagnoseRequest::setCategoryId(const std::string &categoryId) {
|
||||
categoryId_ = categoryId;
|
||||
setBodyParameter(std::string("CategoryId"), categoryId);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,26 +40,26 @@ void GetTitleDiagnoseResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ContainCoreClasses"].isNull())
|
||||
data_.containCoreClasses = dataNode["ContainCoreClasses"].asString();
|
||||
if(!dataNode["OverLengthLimit"].isNull())
|
||||
data_.overLengthLimit = dataNode["OverLengthLimit"].asString();
|
||||
if(!dataNode["WordSpelledCorrectError"].isNull())
|
||||
data_.wordSpelledCorrectError = dataNode["WordSpelledCorrectError"].asString();
|
||||
if(!dataNode["AllUppercaseWords"].isNull())
|
||||
data_.allUppercaseWords = dataNode["AllUppercaseWords"].asString();
|
||||
if(!dataNode["NoFirstUppercaseList"].isNull())
|
||||
data_.noFirstUppercaseList = dataNode["NoFirstUppercaseList"].asString();
|
||||
if(!dataNode["DuplicateWords"].isNull())
|
||||
data_.duplicateWords = dataNode["DuplicateWords"].asString();
|
||||
if(!dataNode["DisableWords"].isNull())
|
||||
data_.disableWords = dataNode["DisableWords"].asString();
|
||||
if(!dataNode["ContainCoreClasses"].isNull())
|
||||
data_.containCoreClasses = dataNode["ContainCoreClasses"].asString();
|
||||
if(!dataNode["WordCount"].isNull())
|
||||
data_.wordCount = dataNode["WordCount"].asString();
|
||||
if(!dataNode["TotalScore"].isNull())
|
||||
data_.totalScore = dataNode["TotalScore"].asString();
|
||||
if(!dataNode["LanguageQualityScore"].isNull())
|
||||
data_.languageQualityScore = dataNode["LanguageQualityScore"].asString();
|
||||
if(!dataNode["AllUppercaseWords"].isNull())
|
||||
data_.allUppercaseWords = dataNode["AllUppercaseWords"].asString();
|
||||
if(!dataNode["OverLengthLimit"].isNull())
|
||||
data_.overLengthLimit = dataNode["OverLengthLimit"].asString();
|
||||
if(!dataNode["DisableWords"].isNull())
|
||||
data_.disableWords = dataNode["DisableWords"].asString();
|
||||
if(!dataNode["NoFirstUppercaseList"].isNull())
|
||||
data_.noFirstUppercaseList = dataNode["NoFirstUppercaseList"].asString();
|
||||
if(!dataNode["TotalScore"].isNull())
|
||||
data_.totalScore = dataNode["TotalScore"].asString();
|
||||
if(!dataNode["WordSpelledCorrectError"].isNull())
|
||||
data_.wordSpelledCorrectError = dataNode["WordSpelledCorrectError"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleGenerateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleGenerateRequest;
|
||||
|
||||
GetTitleGenerateRequest::GetTitleGenerateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetTitleGenerate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTitleGenerateRequest::~GetTitleGenerateRequest()
|
||||
{}
|
||||
|
||||
std::string GetTitleGenerateRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleGenerateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleGenerateRequest;
|
||||
|
||||
GetTitleGenerateRequest::GetTitleGenerateRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetTitleGenerate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setBodyParameter("Language", language);
|
||||
GetTitleGenerateRequest::~GetTitleGenerateRequest() {}
|
||||
|
||||
std::string GetTitleGenerateRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void GetTitleGenerateRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setBodyParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setBodyParameter("Title", title);
|
||||
std::string GetTitleGenerateRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getPlatform()const
|
||||
{
|
||||
return platform_;
|
||||
void GetTitleGenerateRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setBodyParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setPlatform(const std::string& platform)
|
||||
{
|
||||
platform_ = platform;
|
||||
setBodyParameter("Platform", platform);
|
||||
std::string GetTitleGenerateRequest::getPlatform() const {
|
||||
return platform_;
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
void GetTitleGenerateRequest::setPlatform(const std::string &platform) {
|
||||
platform_ = platform;
|
||||
setBodyParameter(std::string("Platform"), platform);
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
std::string GetTitleGenerateRequest::getExtra() const {
|
||||
return extra_;
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getAttributes()const
|
||||
{
|
||||
return attributes_;
|
||||
void GetTitleGenerateRequest::setExtra(const std::string &extra) {
|
||||
extra_ = extra;
|
||||
setBodyParameter(std::string("Extra"), extra);
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setAttributes(const std::string& attributes)
|
||||
{
|
||||
attributes_ = attributes;
|
||||
setBodyParameter("Attributes", attributes);
|
||||
std::string GetTitleGenerateRequest::getAttributes() const {
|
||||
return attributes_;
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getHotWords()const
|
||||
{
|
||||
return hotWords_;
|
||||
void GetTitleGenerateRequest::setAttributes(const std::string &attributes) {
|
||||
attributes_ = attributes;
|
||||
setBodyParameter(std::string("Attributes"), attributes);
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setHotWords(const std::string& hotWords)
|
||||
{
|
||||
hotWords_ = hotWords;
|
||||
setBodyParameter("HotWords", hotWords);
|
||||
std::string GetTitleGenerateRequest::getHotWords() const {
|
||||
return hotWords_;
|
||||
}
|
||||
|
||||
std::string GetTitleGenerateRequest::getCategoryId()const
|
||||
{
|
||||
return categoryId_;
|
||||
void GetTitleGenerateRequest::setHotWords(const std::string &hotWords) {
|
||||
hotWords_ = hotWords;
|
||||
setBodyParameter(std::string("HotWords"), hotWords);
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setCategoryId(const std::string& categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setBodyParameter("CategoryId", categoryId);
|
||||
std::string GetTitleGenerateRequest::getCategoryId() const {
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
void GetTitleGenerateRequest::setCategoryId(const std::string &categoryId) {
|
||||
categoryId_ = categoryId;
|
||||
setBodyParameter(std::string("CategoryId"), categoryId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleIntelligenceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleIntelligenceRequest;
|
||||
|
||||
GetTitleIntelligenceRequest::GetTitleIntelligenceRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetTitleIntelligence")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTitleIntelligenceRequest::~GetTitleIntelligenceRequest()
|
||||
{}
|
||||
|
||||
long GetTitleIntelligenceRequest::getCatLevelThreeId()const
|
||||
{
|
||||
return catLevelThreeId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTitleIntelligenceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTitleIntelligenceRequest;
|
||||
|
||||
GetTitleIntelligenceRequest::GetTitleIntelligenceRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetTitleIntelligence") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setCatLevelThreeId(long catLevelThreeId)
|
||||
{
|
||||
catLevelThreeId_ = catLevelThreeId;
|
||||
setBodyParameter("CatLevelThreeId", std::to_string(catLevelThreeId));
|
||||
GetTitleIntelligenceRequest::~GetTitleIntelligenceRequest() {}
|
||||
|
||||
long GetTitleIntelligenceRequest::getCatLevelThreeId() const {
|
||||
return catLevelThreeId_;
|
||||
}
|
||||
|
||||
long GetTitleIntelligenceRequest::getCatLevelTwoId()const
|
||||
{
|
||||
return catLevelTwoId_;
|
||||
void GetTitleIntelligenceRequest::setCatLevelThreeId(long catLevelThreeId) {
|
||||
catLevelThreeId_ = catLevelThreeId;
|
||||
setBodyParameter(std::string("CatLevelThreeId"), std::to_string(catLevelThreeId));
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setCatLevelTwoId(long catLevelTwoId)
|
||||
{
|
||||
catLevelTwoId_ = catLevelTwoId;
|
||||
setBodyParameter("CatLevelTwoId", std::to_string(catLevelTwoId));
|
||||
long GetTitleIntelligenceRequest::getCatLevelTwoId() const {
|
||||
return catLevelTwoId_;
|
||||
}
|
||||
|
||||
std::string GetTitleIntelligenceRequest::getKeywords()const
|
||||
{
|
||||
return keywords_;
|
||||
void GetTitleIntelligenceRequest::setCatLevelTwoId(long catLevelTwoId) {
|
||||
catLevelTwoId_ = catLevelTwoId;
|
||||
setBodyParameter(std::string("CatLevelTwoId"), std::to_string(catLevelTwoId));
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setKeywords(const std::string& keywords)
|
||||
{
|
||||
keywords_ = keywords;
|
||||
setBodyParameter("Keywords", keywords);
|
||||
std::string GetTitleIntelligenceRequest::getKeywords() const {
|
||||
return keywords_;
|
||||
}
|
||||
|
||||
std::string GetTitleIntelligenceRequest::getPlatform()const
|
||||
{
|
||||
return platform_;
|
||||
void GetTitleIntelligenceRequest::setKeywords(const std::string &keywords) {
|
||||
keywords_ = keywords;
|
||||
setBodyParameter(std::string("Keywords"), keywords);
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setPlatform(const std::string& platform)
|
||||
{
|
||||
platform_ = platform;
|
||||
setBodyParameter("Platform", platform);
|
||||
std::string GetTitleIntelligenceRequest::getPlatform() const {
|
||||
return platform_;
|
||||
}
|
||||
|
||||
std::string GetTitleIntelligenceRequest::getExtra()const
|
||||
{
|
||||
return extra_;
|
||||
void GetTitleIntelligenceRequest::setPlatform(const std::string &platform) {
|
||||
platform_ = platform;
|
||||
setBodyParameter(std::string("Platform"), platform);
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setExtra(const std::string& extra)
|
||||
{
|
||||
extra_ = extra;
|
||||
setBodyParameter("Extra", extra);
|
||||
std::string GetTitleIntelligenceRequest::getExtra() const {
|
||||
return extra_;
|
||||
}
|
||||
|
||||
void GetTitleIntelligenceRequest::setExtra(const std::string &extra) {
|
||||
extra_ = extra;
|
||||
setBodyParameter(std::string("Extra"), extra);
|
||||
}
|
||||
|
||||
|
||||
63
alimt/src/model/GetTranslateReportRequest.cc
Normal file
63
alimt/src/model/GetTranslateReportRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/GetTranslateReportRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetTranslateReportRequest;
|
||||
|
||||
GetTranslateReportRequest::GetTranslateReportRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetTranslateReport") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTranslateReportRequest::~GetTranslateReportRequest() {}
|
||||
|
||||
std::string GetTranslateReportRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetTranslateReportRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string GetTranslateReportRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
void GetTranslateReportRequest::setBeginTime(const std::string &beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setParameter(std::string("BeginTime"), beginTime);
|
||||
}
|
||||
|
||||
std::string GetTranslateReportRequest::getApiName() const {
|
||||
return apiName_;
|
||||
}
|
||||
|
||||
void GetTranslateReportRequest::setApiName(const std::string &apiName) {
|
||||
apiName_ = apiName;
|
||||
setParameter(std::string("ApiName"), apiName);
|
||||
}
|
||||
|
||||
std::string GetTranslateReportRequest::getGroup() const {
|
||||
return group_;
|
||||
}
|
||||
|
||||
void GetTranslateReportRequest::setGroup(const std::string &group) {
|
||||
group_ = group;
|
||||
setParameter(std::string("Group"), group);
|
||||
}
|
||||
|
||||
@@ -14,39 +14,52 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ddoscoo/model/DescribeUdpReflectResult.h>
|
||||
#include <alibabacloud/alimt/model/GetTranslateReportResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ddoscoo;
|
||||
using namespace AlibabaCloud::Ddoscoo::Model;
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
DescribeUdpReflectResult::DescribeUdpReflectResult() :
|
||||
GetTranslateReportResult::GetTranslateReportResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeUdpReflectResult::DescribeUdpReflectResult(const std::string &payload) :
|
||||
GetTranslateReportResult::GetTranslateReportResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeUdpReflectResult::~DescribeUdpReflectResult()
|
||||
GetTranslateReportResult::~GetTranslateReportResult()
|
||||
{}
|
||||
|
||||
void DescribeUdpReflectResult::parse(const std::string &payload)
|
||||
void GetTranslateReportResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUdpSports = value["UdpSports"]["UdpSports"];
|
||||
for (const auto &item : allUdpSports)
|
||||
udpSports_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeUdpReflectResult::getUdpSports()const
|
||||
std::string GetTranslateReportResult::getMessage()const
|
||||
{
|
||||
return udpSports_;
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetTranslateReportResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetTranslateReportResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
27
alimt/src/model/GetUserRequest.cc
Normal file
27
alimt/src/model/GetUserRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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/GetUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetUserRequest;
|
||||
|
||||
GetUserRequest::GetUserRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "GetUser") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetUserRequest::~GetUserRequest() {}
|
||||
|
||||
@@ -14,45 +14,52 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/UpdateChannelResult.h>
|
||||
#include <alibabacloud/alimt/model/GetUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
UpdateChannelResult::UpdateChannelResult() :
|
||||
GetUserResult::GetUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateChannelResult::UpdateChannelResult(const std::string &payload) :
|
||||
GetUserResult::GetUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateChannelResult::~UpdateChannelResult()
|
||||
GetUserResult::~GetUserResult()
|
||||
{}
|
||||
|
||||
void UpdateChannelResult::parse(const std::string &payload)
|
||||
void GetUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Nonce"].isNull())
|
||||
nonce_ = value["Nonce"].asString();
|
||||
if(!value["Timestamp"].isNull())
|
||||
timestamp_ = std::stoi(value["Timestamp"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateChannelResult::getNonce()const
|
||||
std::string GetUserResult::getMessage()const
|
||||
{
|
||||
return nonce_;
|
||||
return message_;
|
||||
}
|
||||
|
||||
int UpdateChannelResult::getTimestamp()const
|
||||
std::string GetUserResult::getData()const
|
||||
{
|
||||
return timestamp_;
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetUserResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/OpenAlimtServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::OpenAlimtServiceRequest;
|
||||
|
||||
OpenAlimtServiceRequest::OpenAlimtServiceRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "OpenAlimtService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OpenAlimtServiceRequest::~OpenAlimtServiceRequest()
|
||||
{}
|
||||
|
||||
long OpenAlimtServiceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/OpenAlimtServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::OpenAlimtServiceRequest;
|
||||
|
||||
OpenAlimtServiceRequest::OpenAlimtServiceRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "OpenAlimtService") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OpenAlimtServiceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
OpenAlimtServiceRequest::~OpenAlimtServiceRequest() {}
|
||||
|
||||
long OpenAlimtServiceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string OpenAlimtServiceRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void OpenAlimtServiceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void OpenAlimtServiceRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string OpenAlimtServiceRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void OpenAlimtServiceRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,81 @@
|
||||
/*
|
||||
* 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_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateCertificateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateCertificateRequest;
|
||||
|
||||
TranslateCertificateRequest::TranslateCertificateRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "TranslateCertificate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
TranslateCertificateRequest::~TranslateCertificateRequest() {}
|
||||
|
||||
std::string TranslateCertificateRequest::getExt() const {
|
||||
return ext_;
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getCertificateType()const
|
||||
{
|
||||
return certificateType_;
|
||||
void TranslateCertificateRequest::setExt(const std::string &ext) {
|
||||
ext_ = ext;
|
||||
setBodyParameter(std::string("Ext"), ext);
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setCertificateType(const std::string& certificateType)
|
||||
{
|
||||
certificateType_ = certificateType;
|
||||
setBodyParameter("CertificateType", certificateType);
|
||||
std::string TranslateCertificateRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getResultType()const
|
||||
{
|
||||
return resultType_;
|
||||
void TranslateCertificateRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setResultType(const std::string& resultType)
|
||||
{
|
||||
resultType_ = resultType;
|
||||
setBodyParameter("ResultType", resultType);
|
||||
std::string TranslateCertificateRequest::getCertificateType() const {
|
||||
return certificateType_;
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getImageUrl()const
|
||||
{
|
||||
return imageUrl_;
|
||||
void TranslateCertificateRequest::setCertificateType(const std::string &certificateType) {
|
||||
certificateType_ = certificateType;
|
||||
setBodyParameter(std::string("CertificateType"), certificateType);
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setImageUrl(const std::string& imageUrl)
|
||||
{
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter("ImageUrl", imageUrl);
|
||||
std::string TranslateCertificateRequest::getResultType() const {
|
||||
return resultType_;
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void TranslateCertificateRequest::setResultType(const std::string &resultType) {
|
||||
resultType_ = resultType;
|
||||
setBodyParameter(std::string("ResultType"), resultType);
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string TranslateCertificateRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
}
|
||||
|
||||
std::string TranslateCertificateRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateCertificateRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -44,14 +44,14 @@ void TranslateCertificateResult::parse(const std::string &payload)
|
||||
for (auto dataNodeTranslatedValuesCertificateTranslateItemDTO : allTranslatedValuesNode)
|
||||
{
|
||||
Data::CertificateTranslateItemDTO certificateTranslateItemDTOObject;
|
||||
if(!dataNodeTranslatedValuesCertificateTranslateItemDTO["KeyTranslation"].isNull())
|
||||
certificateTranslateItemDTOObject.keyTranslation = dataNodeTranslatedValuesCertificateTranslateItemDTO["KeyTranslation"].asString();
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateECommerceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateECommerceRequest;
|
||||
|
||||
TranslateECommerceRequest::TranslateECommerceRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "TranslateECommerce")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateECommerceRequest::~TranslateECommerceRequest()
|
||||
{}
|
||||
|
||||
std::string TranslateECommerceRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateECommerceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateECommerceRequest;
|
||||
|
||||
TranslateECommerceRequest::TranslateECommerceRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "TranslateECommerce") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
TranslateECommerceRequest::~TranslateECommerceRequest() {}
|
||||
|
||||
std::string TranslateECommerceRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
void TranslateECommerceRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter("SourceText", sourceText);
|
||||
std::string TranslateECommerceRequest::getSourceText() const {
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getFormatType()const
|
||||
{
|
||||
return formatType_;
|
||||
void TranslateECommerceRequest::setSourceText(const std::string &sourceText) {
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter(std::string("SourceText"), sourceText);
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setFormatType(const std::string& formatType)
|
||||
{
|
||||
formatType_ = formatType;
|
||||
setBodyParameter("FormatType", formatType);
|
||||
std::string TranslateECommerceRequest::getFormatType() const {
|
||||
return formatType_;
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
void TranslateECommerceRequest::setFormatType(const std::string &formatType) {
|
||||
formatType_ = formatType;
|
||||
setBodyParameter(std::string("FormatType"), formatType);
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setBodyParameter("Scene", scene);
|
||||
std::string TranslateECommerceRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
std::string TranslateECommerceRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void TranslateECommerceRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("Scene"), scene);
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string TranslateECommerceRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateECommerceRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateGeneralRequest;
|
||||
|
||||
TranslateGeneralRequest::TranslateGeneralRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "TranslateGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateGeneralRequest::~TranslateGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string TranslateGeneralRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateGeneralRequest;
|
||||
|
||||
TranslateGeneralRequest::TranslateGeneralRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "TranslateGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
TranslateGeneralRequest::~TranslateGeneralRequest() {}
|
||||
|
||||
std::string TranslateGeneralRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
void TranslateGeneralRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter("SourceText", sourceText);
|
||||
std::string TranslateGeneralRequest::getSourceText() const {
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getFormatType()const
|
||||
{
|
||||
return formatType_;
|
||||
void TranslateGeneralRequest::setSourceText(const std::string &sourceText) {
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter(std::string("SourceText"), sourceText);
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setFormatType(const std::string& formatType)
|
||||
{
|
||||
formatType_ = formatType;
|
||||
setBodyParameter("FormatType", formatType);
|
||||
std::string TranslateGeneralRequest::getFormatType() const {
|
||||
return formatType_;
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
void TranslateGeneralRequest::setFormatType(const std::string &formatType) {
|
||||
formatType_ = formatType;
|
||||
setBodyParameter(std::string("FormatType"), formatType);
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setBodyParameter("Scene", scene);
|
||||
std::string TranslateGeneralRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
std::string TranslateGeneralRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void TranslateGeneralRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("Scene"), scene);
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string TranslateGeneralRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateGeneralRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
|
||||
81
alimt/src/model/TranslateImageRequest.cc
Normal file
81
alimt/src/model/TranslateImageRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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/TranslateImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateImageRequest;
|
||||
|
||||
TranslateImageRequest::TranslateImageRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "TranslateImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateImageRequest::~TranslateImageRequest() {}
|
||||
|
||||
std::string TranslateImageRequest::getExt() const {
|
||||
return ext_;
|
||||
}
|
||||
|
||||
void TranslateImageRequest::setExt(const std::string &ext) {
|
||||
ext_ = ext;
|
||||
setBodyParameter(std::string("Ext"), ext);
|
||||
}
|
||||
|
||||
std::string TranslateImageRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void TranslateImageRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
std::string TranslateImageRequest::getField() const {
|
||||
return field_;
|
||||
}
|
||||
|
||||
void TranslateImageRequest::setField(const std::string &field) {
|
||||
field_ = field;
|
||||
setBodyParameter(std::string("Field"), field);
|
||||
}
|
||||
|
||||
std::string TranslateImageRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void TranslateImageRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
}
|
||||
|
||||
std::string TranslateImageRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateImageRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
std::string TranslateImageRequest::getImageBase64() const {
|
||||
return imageBase64_;
|
||||
}
|
||||
|
||||
void TranslateImageRequest::setImageBase64(const std::string &imageBase64) {
|
||||
imageBase64_ = imageBase64;
|
||||
setBodyParameter(std::string("ImageBase64"), imageBase64);
|
||||
}
|
||||
|
||||
70
alimt/src/model/TranslateImageResult.cc
Normal file
70
alimt/src/model/TranslateImageResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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/TranslateImageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
TranslateImageResult::TranslateImageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TranslateImageResult::TranslateImageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TranslateImageResult::~TranslateImageResult()
|
||||
{}
|
||||
|
||||
void TranslateImageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["InPaintingUrl"].isNull())
|
||||
data_.inPaintingUrl = dataNode["InPaintingUrl"].asString();
|
||||
if(!dataNode["TemplateJson"].isNull())
|
||||
data_.templateJson = dataNode["TemplateJson"].asString();
|
||||
if(!dataNode["FinalImageUrl"].isNull())
|
||||
data_.finalImageUrl = dataNode["FinalImageUrl"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TranslateImageResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
TranslateImageResult::Data TranslateImageResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int TranslateImageResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateRequest;
|
||||
|
||||
TranslateRequest::TranslateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "Translate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateRequest::~TranslateRequest()
|
||||
{}
|
||||
|
||||
std::string TranslateRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alimt/model/TranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::TranslateRequest;
|
||||
|
||||
TranslateRequest::TranslateRequest()
|
||||
: RpcServiceRequest("alimt", "2018-10-12", "Translate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void TranslateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
TranslateRequest::~TranslateRequest() {}
|
||||
|
||||
std::string TranslateRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
std::string TranslateRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
void TranslateRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("SourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
void TranslateRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter("SourceText", sourceText);
|
||||
std::string TranslateRequest::getSourceText() const {
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
std::string TranslateRequest::getFormatType()const
|
||||
{
|
||||
return formatType_;
|
||||
void TranslateRequest::setSourceText(const std::string &sourceText) {
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter(std::string("SourceText"), sourceText);
|
||||
}
|
||||
|
||||
void TranslateRequest::setFormatType(const std::string& formatType)
|
||||
{
|
||||
formatType_ = formatType;
|
||||
setBodyParameter("FormatType", formatType);
|
||||
std::string TranslateRequest::getFormatType() const {
|
||||
return formatType_;
|
||||
}
|
||||
|
||||
std::string TranslateRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
void TranslateRequest::setFormatType(const std::string &formatType) {
|
||||
formatType_ = formatType;
|
||||
setBodyParameter(std::string("FormatType"), formatType);
|
||||
}
|
||||
|
||||
void TranslateRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setBodyParameter("Scene", scene);
|
||||
std::string TranslateRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
std::string TranslateRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
void TranslateRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("Scene"), scene);
|
||||
}
|
||||
|
||||
void TranslateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
std::string TranslateRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TranslateRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("TargetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -23,22 +23,32 @@ set(cbn_public_header
|
||||
set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/ActiveFlowLogRequest.h
|
||||
include/alibabacloud/cbn/model/ActiveFlowLogResult.h
|
||||
include/alibabacloud/cbn/model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/AddTraficMatchRuleToTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/AssociateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/AssociateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/AssociateTransitRouterAttachmentWithRouteTableRequest.h
|
||||
include/alibabacloud/cbn/model/AssociateTransitRouterAttachmentWithRouteTableResult.h
|
||||
include/alibabacloud/cbn/model/AttachCenChildInstanceRequest.h
|
||||
include/alibabacloud/cbn/model/AttachCenChildInstanceResult.h
|
||||
include/alibabacloud/cbn/model/CheckTransitRouterServiceRequest.h
|
||||
include/alibabacloud/cbn/model/CheckTransitRouterServiceResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToAttachmentRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToAttachmentResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenInterRegionTrafficQosPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenInterRegionTrafficQosPolicyResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/CreateFlowlogRequest.h
|
||||
include/alibabacloud/cbn/model/CreateFlowlogResult.h
|
||||
include/alibabacloud/cbn/model/CreateTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/CreateTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/CreateTransitRouterRequest.h
|
||||
include/alibabacloud/cbn/model/CreateTransitRouterResult.h
|
||||
include/alibabacloud/cbn/model/CreateTransitRouterPeerAttachmentRequest.h
|
||||
@@ -57,14 +67,22 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/DeleteCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToAttachmentRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToAttachmentResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosPolicyResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosQueueRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenInterRegionTrafficQosQueueResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/DeleteFlowlogRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteFlowlogResult.h
|
||||
include/alibabacloud/cbn/model/DeleteRouteServiceInCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteRouteServiceInCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterPeerAttachmentResult.h
|
||||
include/alibabacloud/cbn/model/DeleteTransitRouterRouteEntryRequest.h
|
||||
@@ -125,8 +143,12 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/EnableCenVbrHealthCheckResult.h
|
||||
include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationRequest.h
|
||||
include/alibabacloud/cbn/model/EnableTransitRouterRouteTablePropagationResult.h
|
||||
include/alibabacloud/cbn/model/ListCenInterRegionTrafficQosPoliciesRequest.h
|
||||
include/alibabacloud/cbn/model/ListCenInterRegionTrafficQosPoliciesResult.h
|
||||
include/alibabacloud/cbn/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/cbn/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/cbn/model/ListTrafficMarkingPoliciesRequest.h
|
||||
include/alibabacloud/cbn/model/ListTrafficMarkingPoliciesResult.h
|
||||
include/alibabacloud/cbn/model/ListTransitRouterAvailableResourceRequest.h
|
||||
include/alibabacloud/cbn/model/ListTransitRouterAvailableResourceResult.h
|
||||
include/alibabacloud/cbn/model/ListTransitRouterPeerAttachmentsRequest.h
|
||||
@@ -155,8 +177,16 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/ModifyCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/ModifyFlowLogAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/ModifyFlowLogAttributeResult.h
|
||||
include/alibabacloud/cbn/model/MoveResourceGroupRequest.h
|
||||
include/alibabacloud/cbn/model/MoveResourceGroupResult.h
|
||||
include/alibabacloud/cbn/model/OpenTransitRouterServiceRequest.h
|
||||
include/alibabacloud/cbn/model/OpenTransitRouterServiceResult.h
|
||||
include/alibabacloud/cbn/model/PublishRouteEntriesRequest.h
|
||||
include/alibabacloud/cbn/model/PublishRouteEntriesResult.h
|
||||
include/alibabacloud/cbn/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest.h
|
||||
include/alibabacloud/cbn/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyResult.h
|
||||
include/alibabacloud/cbn/model/ReplaceTransitRouterRouteTableAssociationRequest.h
|
||||
include/alibabacloud/cbn/model/ReplaceTransitRouterRouteTableAssociationResult.h
|
||||
include/alibabacloud/cbn/model/ResolveAndRouteServiceInCenRequest.h
|
||||
include/alibabacloud/cbn/model/ResolveAndRouteServiceInCenResult.h
|
||||
include/alibabacloud/cbn/model/RoutePrivateZoneInCenToVpcRequest.h
|
||||
@@ -173,6 +203,12 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/UnroutePrivateZoneInCenToVpcResult.h
|
||||
include/alibabacloud/cbn/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/cbn/model/UntagResourcesResult.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosPolicyAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosPolicyAttributeResult.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosQueueAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateCenInterRegionTrafficQosQueueAttributeResult.h
|
||||
include/alibabacloud/cbn/model/UpdateTrafficMarkingPolicyAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateTrafficMarkingPolicyAttributeResult.h
|
||||
include/alibabacloud/cbn/model/UpdateTransitRouterRequest.h
|
||||
include/alibabacloud/cbn/model/UpdateTransitRouterResult.h
|
||||
include/alibabacloud/cbn/model/UpdateTransitRouterPeerAttachmentAttributeRequest.h
|
||||
@@ -192,22 +228,32 @@ set(cbn_src
|
||||
src/CbnClient.cc
|
||||
src/model/ActiveFlowLogRequest.cc
|
||||
src/model/ActiveFlowLogResult.cc
|
||||
src/model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.cc
|
||||
src/model/AddTraficMatchRuleToTrafficMarkingPolicyResult.cc
|
||||
src/model/AssociateCenBandwidthPackageRequest.cc
|
||||
src/model/AssociateCenBandwidthPackageResult.cc
|
||||
src/model/AssociateTransitRouterAttachmentWithRouteTableRequest.cc
|
||||
src/model/AssociateTransitRouterAttachmentWithRouteTableResult.cc
|
||||
src/model/AttachCenChildInstanceRequest.cc
|
||||
src/model/AttachCenChildInstanceResult.cc
|
||||
src/model/CheckTransitRouterServiceRequest.cc
|
||||
src/model/CheckTransitRouterServiceResult.cc
|
||||
src/model/CreateCenRequest.cc
|
||||
src/model/CreateCenResult.cc
|
||||
src/model/CreateCenBandwidthPackageRequest.cc
|
||||
src/model/CreateCenBandwidthPackageResult.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToAttachmentRequest.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToAttachmentResult.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/CreateCenInterRegionTrafficQosPolicyRequest.cc
|
||||
src/model/CreateCenInterRegionTrafficQosPolicyResult.cc
|
||||
src/model/CreateCenRouteMapRequest.cc
|
||||
src/model/CreateCenRouteMapResult.cc
|
||||
src/model/CreateFlowlogRequest.cc
|
||||
src/model/CreateFlowlogResult.cc
|
||||
src/model/CreateTrafficMarkingPolicyRequest.cc
|
||||
src/model/CreateTrafficMarkingPolicyResult.cc
|
||||
src/model/CreateTransitRouterRequest.cc
|
||||
src/model/CreateTransitRouterResult.cc
|
||||
src/model/CreateTransitRouterPeerAttachmentRequest.cc
|
||||
@@ -226,14 +272,22 @@ set(cbn_src
|
||||
src/model/DeleteCenResult.cc
|
||||
src/model/DeleteCenBandwidthPackageRequest.cc
|
||||
src/model/DeleteCenBandwidthPackageResult.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToAttachmentRequest.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToAttachmentResult.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosPolicyRequest.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosPolicyResult.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosQueueRequest.cc
|
||||
src/model/DeleteCenInterRegionTrafficQosQueueResult.cc
|
||||
src/model/DeleteCenRouteMapRequest.cc
|
||||
src/model/DeleteCenRouteMapResult.cc
|
||||
src/model/DeleteFlowlogRequest.cc
|
||||
src/model/DeleteFlowlogResult.cc
|
||||
src/model/DeleteRouteServiceInCenRequest.cc
|
||||
src/model/DeleteRouteServiceInCenResult.cc
|
||||
src/model/DeleteTrafficMarkingPolicyRequest.cc
|
||||
src/model/DeleteTrafficMarkingPolicyResult.cc
|
||||
src/model/DeleteTransitRouterPeerAttachmentRequest.cc
|
||||
src/model/DeleteTransitRouterPeerAttachmentResult.cc
|
||||
src/model/DeleteTransitRouterRouteEntryRequest.cc
|
||||
@@ -294,8 +348,12 @@ set(cbn_src
|
||||
src/model/EnableCenVbrHealthCheckResult.cc
|
||||
src/model/EnableTransitRouterRouteTablePropagationRequest.cc
|
||||
src/model/EnableTransitRouterRouteTablePropagationResult.cc
|
||||
src/model/ListCenInterRegionTrafficQosPoliciesRequest.cc
|
||||
src/model/ListCenInterRegionTrafficQosPoliciesResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ListTrafficMarkingPoliciesRequest.cc
|
||||
src/model/ListTrafficMarkingPoliciesResult.cc
|
||||
src/model/ListTransitRouterAvailableResourceRequest.cc
|
||||
src/model/ListTransitRouterAvailableResourceResult.cc
|
||||
src/model/ListTransitRouterPeerAttachmentsRequest.cc
|
||||
@@ -324,8 +382,16 @@ set(cbn_src
|
||||
src/model/ModifyCenRouteMapResult.cc
|
||||
src/model/ModifyFlowLogAttributeRequest.cc
|
||||
src/model/ModifyFlowLogAttributeResult.cc
|
||||
src/model/MoveResourceGroupRequest.cc
|
||||
src/model/MoveResourceGroupResult.cc
|
||||
src/model/OpenTransitRouterServiceRequest.cc
|
||||
src/model/OpenTransitRouterServiceResult.cc
|
||||
src/model/PublishRouteEntriesRequest.cc
|
||||
src/model/PublishRouteEntriesResult.cc
|
||||
src/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest.cc
|
||||
src/model/RemoveTraficMatchRuleFromTrafficMarkingPolicyResult.cc
|
||||
src/model/ReplaceTransitRouterRouteTableAssociationRequest.cc
|
||||
src/model/ReplaceTransitRouterRouteTableAssociationResult.cc
|
||||
src/model/ResolveAndRouteServiceInCenRequest.cc
|
||||
src/model/ResolveAndRouteServiceInCenResult.cc
|
||||
src/model/RoutePrivateZoneInCenToVpcRequest.cc
|
||||
@@ -342,6 +408,12 @@ set(cbn_src
|
||||
src/model/UnroutePrivateZoneInCenToVpcResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosPolicyAttributeRequest.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosPolicyAttributeResult.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosQueueAttributeRequest.cc
|
||||
src/model/UpdateCenInterRegionTrafficQosQueueAttributeResult.cc
|
||||
src/model/UpdateTrafficMarkingPolicyAttributeRequest.cc
|
||||
src/model/UpdateTrafficMarkingPolicyAttributeResult.cc
|
||||
src/model/UpdateTransitRouterRequest.cc
|
||||
src/model/UpdateTransitRouterResult.cc
|
||||
src/model/UpdateTransitRouterPeerAttachmentAttributeRequest.cc
|
||||
|
||||
@@ -24,22 +24,32 @@
|
||||
#include "CbnExport.h"
|
||||
#include "model/ActiveFlowLogRequest.h"
|
||||
#include "model/ActiveFlowLogResult.h"
|
||||
#include "model/AddTraficMatchRuleToTrafficMarkingPolicyRequest.h"
|
||||
#include "model/AddTraficMatchRuleToTrafficMarkingPolicyResult.h"
|
||||
#include "model/AssociateCenBandwidthPackageRequest.h"
|
||||
#include "model/AssociateCenBandwidthPackageResult.h"
|
||||
#include "model/AssociateTransitRouterAttachmentWithRouteTableRequest.h"
|
||||
#include "model/AssociateTransitRouterAttachmentWithRouteTableResult.h"
|
||||
#include "model/AttachCenChildInstanceRequest.h"
|
||||
#include "model/AttachCenChildInstanceResult.h"
|
||||
#include "model/CheckTransitRouterServiceRequest.h"
|
||||
#include "model/CheckTransitRouterServiceResult.h"
|
||||
#include "model/CreateCenRequest.h"
|
||||
#include "model/CreateCenResult.h"
|
||||
#include "model/CreateCenBandwidthPackageRequest.h"
|
||||
#include "model/CreateCenBandwidthPackageResult.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToAttachmentRequest.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToAttachmentResult.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/CreateCenInterRegionTrafficQosPolicyRequest.h"
|
||||
#include "model/CreateCenInterRegionTrafficQosPolicyResult.h"
|
||||
#include "model/CreateCenRouteMapRequest.h"
|
||||
#include "model/CreateCenRouteMapResult.h"
|
||||
#include "model/CreateFlowlogRequest.h"
|
||||
#include "model/CreateFlowlogResult.h"
|
||||
#include "model/CreateTrafficMarkingPolicyRequest.h"
|
||||
#include "model/CreateTrafficMarkingPolicyResult.h"
|
||||
#include "model/CreateTransitRouterRequest.h"
|
||||
#include "model/CreateTransitRouterResult.h"
|
||||
#include "model/CreateTransitRouterPeerAttachmentRequest.h"
|
||||
@@ -58,14 +68,22 @@
|
||||
#include "model/DeleteCenResult.h"
|
||||
#include "model/DeleteCenBandwidthPackageRequest.h"
|
||||
#include "model/DeleteCenBandwidthPackageResult.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToAttachmentRequest.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToAttachmentResult.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosPolicyRequest.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosPolicyResult.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosQueueRequest.h"
|
||||
#include "model/DeleteCenInterRegionTrafficQosQueueResult.h"
|
||||
#include "model/DeleteCenRouteMapRequest.h"
|
||||
#include "model/DeleteCenRouteMapResult.h"
|
||||
#include "model/DeleteFlowlogRequest.h"
|
||||
#include "model/DeleteFlowlogResult.h"
|
||||
#include "model/DeleteRouteServiceInCenRequest.h"
|
||||
#include "model/DeleteRouteServiceInCenResult.h"
|
||||
#include "model/DeleteTrafficMarkingPolicyRequest.h"
|
||||
#include "model/DeleteTrafficMarkingPolicyResult.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentRequest.h"
|
||||
#include "model/DeleteTransitRouterPeerAttachmentResult.h"
|
||||
#include "model/DeleteTransitRouterRouteEntryRequest.h"
|
||||
@@ -126,8 +144,12 @@
|
||||
#include "model/EnableCenVbrHealthCheckResult.h"
|
||||
#include "model/EnableTransitRouterRouteTablePropagationRequest.h"
|
||||
#include "model/EnableTransitRouterRouteTablePropagationResult.h"
|
||||
#include "model/ListCenInterRegionTrafficQosPoliciesRequest.h"
|
||||
#include "model/ListCenInterRegionTrafficQosPoliciesResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ListTrafficMarkingPoliciesRequest.h"
|
||||
#include "model/ListTrafficMarkingPoliciesResult.h"
|
||||
#include "model/ListTransitRouterAvailableResourceRequest.h"
|
||||
#include "model/ListTransitRouterAvailableResourceResult.h"
|
||||
#include "model/ListTransitRouterPeerAttachmentsRequest.h"
|
||||
@@ -156,8 +178,16 @@
|
||||
#include "model/ModifyCenRouteMapResult.h"
|
||||
#include "model/ModifyFlowLogAttributeRequest.h"
|
||||
#include "model/ModifyFlowLogAttributeResult.h"
|
||||
#include "model/MoveResourceGroupRequest.h"
|
||||
#include "model/MoveResourceGroupResult.h"
|
||||
#include "model/OpenTransitRouterServiceRequest.h"
|
||||
#include "model/OpenTransitRouterServiceResult.h"
|
||||
#include "model/PublishRouteEntriesRequest.h"
|
||||
#include "model/PublishRouteEntriesResult.h"
|
||||
#include "model/RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest.h"
|
||||
#include "model/RemoveTraficMatchRuleFromTrafficMarkingPolicyResult.h"
|
||||
#include "model/ReplaceTransitRouterRouteTableAssociationRequest.h"
|
||||
#include "model/ReplaceTransitRouterRouteTableAssociationResult.h"
|
||||
#include "model/ResolveAndRouteServiceInCenRequest.h"
|
||||
#include "model/ResolveAndRouteServiceInCenResult.h"
|
||||
#include "model/RoutePrivateZoneInCenToVpcRequest.h"
|
||||
@@ -174,6 +204,12 @@
|
||||
#include "model/UnroutePrivateZoneInCenToVpcResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosPolicyAttributeRequest.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosPolicyAttributeResult.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosQueueAttributeRequest.h"
|
||||
#include "model/UpdateCenInterRegionTrafficQosQueueAttributeResult.h"
|
||||
#include "model/UpdateTrafficMarkingPolicyAttributeRequest.h"
|
||||
#include "model/UpdateTrafficMarkingPolicyAttributeResult.h"
|
||||
#include "model/UpdateTransitRouterRequest.h"
|
||||
#include "model/UpdateTransitRouterResult.h"
|
||||
#include "model/UpdateTransitRouterPeerAttachmentAttributeRequest.h"
|
||||
@@ -200,6 +236,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ActiveFlowLogResult> ActiveFlowLogOutcome;
|
||||
typedef std::future<ActiveFlowLogOutcome> ActiveFlowLogOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ActiveFlowLogRequest&, const ActiveFlowLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveFlowLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddTraficMatchRuleToTrafficMarkingPolicyResult> AddTraficMatchRuleToTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<AddTraficMatchRuleToTrafficMarkingPolicyOutcome> AddTraficMatchRuleToTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest&, const AddTraficMatchRuleToTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTraficMatchRuleToTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssociateCenBandwidthPackageResult> AssociateCenBandwidthPackageOutcome;
|
||||
typedef std::future<AssociateCenBandwidthPackageOutcome> AssociateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AssociateCenBandwidthPackageRequest&, const AssociateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateCenBandwidthPackageAsyncHandler;
|
||||
@@ -209,21 +248,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AttachCenChildInstanceResult> AttachCenChildInstanceOutcome;
|
||||
typedef std::future<AttachCenChildInstanceOutcome> AttachCenChildInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AttachCenChildInstanceRequest&, const AttachCenChildInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachCenChildInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckTransitRouterServiceResult> CheckTransitRouterServiceOutcome;
|
||||
typedef std::future<CheckTransitRouterServiceOutcome> CheckTransitRouterServiceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CheckTransitRouterServiceRequest&, const CheckTransitRouterServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckTransitRouterServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenResult> CreateCenOutcome;
|
||||
typedef std::future<CreateCenOutcome> CreateCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenRequest&, const CreateCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenBandwidthPackageResult> CreateCenBandwidthPackageOutcome;
|
||||
typedef std::future<CreateCenBandwidthPackageOutcome> CreateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenBandwidthPackageRequest&, const CreateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenChildInstanceRouteEntryToAttachmentResult> CreateCenChildInstanceRouteEntryToAttachmentOutcome;
|
||||
typedef std::future<CreateCenChildInstanceRouteEntryToAttachmentOutcome> CreateCenChildInstanceRouteEntryToAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest&, const CreateCenChildInstanceRouteEntryToAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenChildInstanceRouteEntryToAttachmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenChildInstanceRouteEntryToCenResult> CreateCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<CreateCenChildInstanceRouteEntryToCenOutcome> CreateCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenChildInstanceRouteEntryToCenRequest&, const CreateCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenInterRegionTrafficQosPolicyResult> CreateCenInterRegionTrafficQosPolicyOutcome;
|
||||
typedef std::future<CreateCenInterRegionTrafficQosPolicyOutcome> CreateCenInterRegionTrafficQosPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenInterRegionTrafficQosPolicyRequest&, const CreateCenInterRegionTrafficQosPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenInterRegionTrafficQosPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenRouteMapResult> CreateCenRouteMapOutcome;
|
||||
typedef std::future<CreateCenRouteMapOutcome> CreateCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenRouteMapRequest&, const CreateCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenRouteMapAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateFlowlogResult> CreateFlowlogOutcome;
|
||||
typedef std::future<CreateFlowlogOutcome> CreateFlowlogOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateFlowlogRequest&, const CreateFlowlogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFlowlogAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrafficMarkingPolicyResult> CreateTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<CreateTrafficMarkingPolicyOutcome> CreateTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateTrafficMarkingPolicyRequest&, const CreateTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTransitRouterResult> CreateTransitRouterOutcome;
|
||||
typedef std::future<CreateTransitRouterOutcome> CreateTransitRouterOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateTransitRouterRequest&, const CreateTransitRouterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransitRouterAsyncHandler;
|
||||
@@ -251,9 +302,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCenBandwidthPackageResult> DeleteCenBandwidthPackageOutcome;
|
||||
typedef std::future<DeleteCenBandwidthPackageOutcome> DeleteCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenBandwidthPackageRequest&, const DeleteCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenChildInstanceRouteEntryToAttachmentResult> DeleteCenChildInstanceRouteEntryToAttachmentOutcome;
|
||||
typedef std::future<DeleteCenChildInstanceRouteEntryToAttachmentOutcome> DeleteCenChildInstanceRouteEntryToAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest&, const DeleteCenChildInstanceRouteEntryToAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenChildInstanceRouteEntryToAttachmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenChildInstanceRouteEntryToCenResult> DeleteCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<DeleteCenChildInstanceRouteEntryToCenOutcome> DeleteCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenChildInstanceRouteEntryToCenRequest&, const DeleteCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenInterRegionTrafficQosPolicyResult> DeleteCenInterRegionTrafficQosPolicyOutcome;
|
||||
typedef std::future<DeleteCenInterRegionTrafficQosPolicyOutcome> DeleteCenInterRegionTrafficQosPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenInterRegionTrafficQosPolicyRequest&, const DeleteCenInterRegionTrafficQosPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenInterRegionTrafficQosPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenInterRegionTrafficQosQueueResult> DeleteCenInterRegionTrafficQosQueueOutcome;
|
||||
typedef std::future<DeleteCenInterRegionTrafficQosQueueOutcome> DeleteCenInterRegionTrafficQosQueueOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenInterRegionTrafficQosQueueRequest&, const DeleteCenInterRegionTrafficQosQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenInterRegionTrafficQosQueueAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenRouteMapResult> DeleteCenRouteMapOutcome;
|
||||
typedef std::future<DeleteCenRouteMapOutcome> DeleteCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenRouteMapRequest&, const DeleteCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenRouteMapAsyncHandler;
|
||||
@@ -263,6 +323,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteRouteServiceInCenResult> DeleteRouteServiceInCenOutcome;
|
||||
typedef std::future<DeleteRouteServiceInCenOutcome> DeleteRouteServiceInCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteRouteServiceInCenRequest&, const DeleteRouteServiceInCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRouteServiceInCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTrafficMarkingPolicyResult> DeleteTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<DeleteTrafficMarkingPolicyOutcome> DeleteTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTrafficMarkingPolicyRequest&, const DeleteTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTransitRouterPeerAttachmentResult> DeleteTransitRouterPeerAttachmentOutcome;
|
||||
typedef std::future<DeleteTransitRouterPeerAttachmentOutcome> DeleteTransitRouterPeerAttachmentOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteTransitRouterPeerAttachmentRequest&, const DeleteTransitRouterPeerAttachmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTransitRouterPeerAttachmentAsyncHandler;
|
||||
@@ -353,9 +416,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::EnableTransitRouterRouteTablePropagationResult> EnableTransitRouterRouteTablePropagationOutcome;
|
||||
typedef std::future<EnableTransitRouterRouteTablePropagationOutcome> EnableTransitRouterRouteTablePropagationOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::EnableTransitRouterRouteTablePropagationRequest&, const EnableTransitRouterRouteTablePropagationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableTransitRouterRouteTablePropagationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCenInterRegionTrafficQosPoliciesResult> ListCenInterRegionTrafficQosPoliciesOutcome;
|
||||
typedef std::future<ListCenInterRegionTrafficQosPoliciesOutcome> ListCenInterRegionTrafficQosPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListCenInterRegionTrafficQosPoliciesRequest&, const ListCenInterRegionTrafficQosPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCenInterRegionTrafficQosPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTrafficMarkingPoliciesResult> ListTrafficMarkingPoliciesOutcome;
|
||||
typedef std::future<ListTrafficMarkingPoliciesOutcome> ListTrafficMarkingPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTrafficMarkingPoliciesRequest&, const ListTrafficMarkingPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTrafficMarkingPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTransitRouterAvailableResourceResult> ListTransitRouterAvailableResourceOutcome;
|
||||
typedef std::future<ListTransitRouterAvailableResourceOutcome> ListTransitRouterAvailableResourceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ListTransitRouterAvailableResourceRequest&, const ListTransitRouterAvailableResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTransitRouterAvailableResourceAsyncHandler;
|
||||
@@ -398,9 +467,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyFlowLogAttributeResult> ModifyFlowLogAttributeOutcome;
|
||||
typedef std::future<ModifyFlowLogAttributeOutcome> ModifyFlowLogAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ModifyFlowLogAttributeRequest&, const ModifyFlowLogAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyFlowLogAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveResourceGroupResult> MoveResourceGroupOutcome;
|
||||
typedef std::future<MoveResourceGroupOutcome> MoveResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::MoveResourceGroupRequest&, const MoveResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenTransitRouterServiceResult> OpenTransitRouterServiceOutcome;
|
||||
typedef std::future<OpenTransitRouterServiceOutcome> OpenTransitRouterServiceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::OpenTransitRouterServiceRequest&, const OpenTransitRouterServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenTransitRouterServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishRouteEntriesResult> PublishRouteEntriesOutcome;
|
||||
typedef std::future<PublishRouteEntriesOutcome> PublishRouteEntriesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::PublishRouteEntriesRequest&, const PublishRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishRouteEntriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyResult> RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome;
|
||||
typedef std::future<RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome> RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest&, const RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveTraficMatchRuleFromTrafficMarkingPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReplaceTransitRouterRouteTableAssociationResult> ReplaceTransitRouterRouteTableAssociationOutcome;
|
||||
typedef std::future<ReplaceTransitRouterRouteTableAssociationOutcome> ReplaceTransitRouterRouteTableAssociationOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ReplaceTransitRouterRouteTableAssociationRequest&, const ReplaceTransitRouterRouteTableAssociationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceTransitRouterRouteTableAssociationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResolveAndRouteServiceInCenResult> ResolveAndRouteServiceInCenOutcome;
|
||||
typedef std::future<ResolveAndRouteServiceInCenOutcome> ResolveAndRouteServiceInCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ResolveAndRouteServiceInCenRequest&, const ResolveAndRouteServiceInCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResolveAndRouteServiceInCenAsyncHandler;
|
||||
@@ -425,6 +506,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCenInterRegionTrafficQosPolicyAttributeResult> UpdateCenInterRegionTrafficQosPolicyAttributeOutcome;
|
||||
typedef std::future<UpdateCenInterRegionTrafficQosPolicyAttributeOutcome> UpdateCenInterRegionTrafficQosPolicyAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest&, const UpdateCenInterRegionTrafficQosPolicyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCenInterRegionTrafficQosPolicyAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCenInterRegionTrafficQosQueueAttributeResult> UpdateCenInterRegionTrafficQosQueueAttributeOutcome;
|
||||
typedef std::future<UpdateCenInterRegionTrafficQosQueueAttributeOutcome> UpdateCenInterRegionTrafficQosQueueAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest&, const UpdateCenInterRegionTrafficQosQueueAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCenInterRegionTrafficQosQueueAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateTrafficMarkingPolicyAttributeResult> UpdateTrafficMarkingPolicyAttributeOutcome;
|
||||
typedef std::future<UpdateTrafficMarkingPolicyAttributeOutcome> UpdateTrafficMarkingPolicyAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateTrafficMarkingPolicyAttributeRequest&, const UpdateTrafficMarkingPolicyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTrafficMarkingPolicyAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateTransitRouterResult> UpdateTransitRouterOutcome;
|
||||
typedef std::future<UpdateTransitRouterOutcome> UpdateTransitRouterOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UpdateTransitRouterRequest&, const UpdateTransitRouterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTransitRouterAsyncHandler;
|
||||
@@ -454,6 +544,9 @@ namespace AlibabaCloud
|
||||
ActiveFlowLogOutcome activeFlowLog(const Model::ActiveFlowLogRequest &request)const;
|
||||
void activeFlowLogAsync(const Model::ActiveFlowLogRequest& request, const ActiveFlowLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActiveFlowLogOutcomeCallable activeFlowLogCallable(const Model::ActiveFlowLogRequest& request) const;
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyOutcome addTraficMatchRuleToTrafficMarkingPolicy(const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest &request)const;
|
||||
void addTraficMatchRuleToTrafficMarkingPolicyAsync(const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest& request, const AddTraficMatchRuleToTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyOutcomeCallable addTraficMatchRuleToTrafficMarkingPolicyCallable(const Model::AddTraficMatchRuleToTrafficMarkingPolicyRequest& request) const;
|
||||
AssociateCenBandwidthPackageOutcome associateCenBandwidthPackage(const Model::AssociateCenBandwidthPackageRequest &request)const;
|
||||
void associateCenBandwidthPackageAsync(const Model::AssociateCenBandwidthPackageRequest& request, const AssociateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssociateCenBandwidthPackageOutcomeCallable associateCenBandwidthPackageCallable(const Model::AssociateCenBandwidthPackageRequest& request) const;
|
||||
@@ -463,21 +556,33 @@ namespace AlibabaCloud
|
||||
AttachCenChildInstanceOutcome attachCenChildInstance(const Model::AttachCenChildInstanceRequest &request)const;
|
||||
void attachCenChildInstanceAsync(const Model::AttachCenChildInstanceRequest& request, const AttachCenChildInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachCenChildInstanceOutcomeCallable attachCenChildInstanceCallable(const Model::AttachCenChildInstanceRequest& request) const;
|
||||
CheckTransitRouterServiceOutcome checkTransitRouterService(const Model::CheckTransitRouterServiceRequest &request)const;
|
||||
void checkTransitRouterServiceAsync(const Model::CheckTransitRouterServiceRequest& request, const CheckTransitRouterServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckTransitRouterServiceOutcomeCallable checkTransitRouterServiceCallable(const Model::CheckTransitRouterServiceRequest& request) const;
|
||||
CreateCenOutcome createCen(const Model::CreateCenRequest &request)const;
|
||||
void createCenAsync(const Model::CreateCenRequest& request, const CreateCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenOutcomeCallable createCenCallable(const Model::CreateCenRequest& request) const;
|
||||
CreateCenBandwidthPackageOutcome createCenBandwidthPackage(const Model::CreateCenBandwidthPackageRequest &request)const;
|
||||
void createCenBandwidthPackageAsync(const Model::CreateCenBandwidthPackageRequest& request, const CreateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenBandwidthPackageOutcomeCallable createCenBandwidthPackageCallable(const Model::CreateCenBandwidthPackageRequest& request) const;
|
||||
CreateCenChildInstanceRouteEntryToAttachmentOutcome createCenChildInstanceRouteEntryToAttachment(const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest &request)const;
|
||||
void createCenChildInstanceRouteEntryToAttachmentAsync(const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest& request, const CreateCenChildInstanceRouteEntryToAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenChildInstanceRouteEntryToAttachmentOutcomeCallable createCenChildInstanceRouteEntryToAttachmentCallable(const Model::CreateCenChildInstanceRouteEntryToAttachmentRequest& request) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcome createCenChildInstanceRouteEntryToCen(const Model::CreateCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void createCenChildInstanceRouteEntryToCenAsync(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request, const CreateCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcomeCallable createCenChildInstanceRouteEntryToCenCallable(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
CreateCenInterRegionTrafficQosPolicyOutcome createCenInterRegionTrafficQosPolicy(const Model::CreateCenInterRegionTrafficQosPolicyRequest &request)const;
|
||||
void createCenInterRegionTrafficQosPolicyAsync(const Model::CreateCenInterRegionTrafficQosPolicyRequest& request, const CreateCenInterRegionTrafficQosPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenInterRegionTrafficQosPolicyOutcomeCallable createCenInterRegionTrafficQosPolicyCallable(const Model::CreateCenInterRegionTrafficQosPolicyRequest& request) const;
|
||||
CreateCenRouteMapOutcome createCenRouteMap(const Model::CreateCenRouteMapRequest &request)const;
|
||||
void createCenRouteMapAsync(const Model::CreateCenRouteMapRequest& request, const CreateCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenRouteMapOutcomeCallable createCenRouteMapCallable(const Model::CreateCenRouteMapRequest& request) const;
|
||||
CreateFlowlogOutcome createFlowlog(const Model::CreateFlowlogRequest &request)const;
|
||||
void createFlowlogAsync(const Model::CreateFlowlogRequest& request, const CreateFlowlogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFlowlogOutcomeCallable createFlowlogCallable(const Model::CreateFlowlogRequest& request) const;
|
||||
CreateTrafficMarkingPolicyOutcome createTrafficMarkingPolicy(const Model::CreateTrafficMarkingPolicyRequest &request)const;
|
||||
void createTrafficMarkingPolicyAsync(const Model::CreateTrafficMarkingPolicyRequest& request, const CreateTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrafficMarkingPolicyOutcomeCallable createTrafficMarkingPolicyCallable(const Model::CreateTrafficMarkingPolicyRequest& request) const;
|
||||
CreateTransitRouterOutcome createTransitRouter(const Model::CreateTransitRouterRequest &request)const;
|
||||
void createTransitRouterAsync(const Model::CreateTransitRouterRequest& request, const CreateTransitRouterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTransitRouterOutcomeCallable createTransitRouterCallable(const Model::CreateTransitRouterRequest& request) const;
|
||||
@@ -505,9 +610,18 @@ namespace AlibabaCloud
|
||||
DeleteCenBandwidthPackageOutcome deleteCenBandwidthPackage(const Model::DeleteCenBandwidthPackageRequest &request)const;
|
||||
void deleteCenBandwidthPackageAsync(const Model::DeleteCenBandwidthPackageRequest& request, const DeleteCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenBandwidthPackageOutcomeCallable deleteCenBandwidthPackageCallable(const Model::DeleteCenBandwidthPackageRequest& request) const;
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentOutcome deleteCenChildInstanceRouteEntryToAttachment(const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest &request)const;
|
||||
void deleteCenChildInstanceRouteEntryToAttachmentAsync(const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest& request, const DeleteCenChildInstanceRouteEntryToAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentOutcomeCallable deleteCenChildInstanceRouteEntryToAttachmentCallable(const Model::DeleteCenChildInstanceRouteEntryToAttachmentRequest& request) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcome deleteCenChildInstanceRouteEntryToCen(const Model::DeleteCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void deleteCenChildInstanceRouteEntryToCenAsync(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request, const DeleteCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcomeCallable deleteCenChildInstanceRouteEntryToCenCallable(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
DeleteCenInterRegionTrafficQosPolicyOutcome deleteCenInterRegionTrafficQosPolicy(const Model::DeleteCenInterRegionTrafficQosPolicyRequest &request)const;
|
||||
void deleteCenInterRegionTrafficQosPolicyAsync(const Model::DeleteCenInterRegionTrafficQosPolicyRequest& request, const DeleteCenInterRegionTrafficQosPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenInterRegionTrafficQosPolicyOutcomeCallable deleteCenInterRegionTrafficQosPolicyCallable(const Model::DeleteCenInterRegionTrafficQosPolicyRequest& request) const;
|
||||
DeleteCenInterRegionTrafficQosQueueOutcome deleteCenInterRegionTrafficQosQueue(const Model::DeleteCenInterRegionTrafficQosQueueRequest &request)const;
|
||||
void deleteCenInterRegionTrafficQosQueueAsync(const Model::DeleteCenInterRegionTrafficQosQueueRequest& request, const DeleteCenInterRegionTrafficQosQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenInterRegionTrafficQosQueueOutcomeCallable deleteCenInterRegionTrafficQosQueueCallable(const Model::DeleteCenInterRegionTrafficQosQueueRequest& request) const;
|
||||
DeleteCenRouteMapOutcome deleteCenRouteMap(const Model::DeleteCenRouteMapRequest &request)const;
|
||||
void deleteCenRouteMapAsync(const Model::DeleteCenRouteMapRequest& request, const DeleteCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenRouteMapOutcomeCallable deleteCenRouteMapCallable(const Model::DeleteCenRouteMapRequest& request) const;
|
||||
@@ -517,6 +631,9 @@ namespace AlibabaCloud
|
||||
DeleteRouteServiceInCenOutcome deleteRouteServiceInCen(const Model::DeleteRouteServiceInCenRequest &request)const;
|
||||
void deleteRouteServiceInCenAsync(const Model::DeleteRouteServiceInCenRequest& request, const DeleteRouteServiceInCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRouteServiceInCenOutcomeCallable deleteRouteServiceInCenCallable(const Model::DeleteRouteServiceInCenRequest& request) const;
|
||||
DeleteTrafficMarkingPolicyOutcome deleteTrafficMarkingPolicy(const Model::DeleteTrafficMarkingPolicyRequest &request)const;
|
||||
void deleteTrafficMarkingPolicyAsync(const Model::DeleteTrafficMarkingPolicyRequest& request, const DeleteTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTrafficMarkingPolicyOutcomeCallable deleteTrafficMarkingPolicyCallable(const Model::DeleteTrafficMarkingPolicyRequest& request) const;
|
||||
DeleteTransitRouterPeerAttachmentOutcome deleteTransitRouterPeerAttachment(const Model::DeleteTransitRouterPeerAttachmentRequest &request)const;
|
||||
void deleteTransitRouterPeerAttachmentAsync(const Model::DeleteTransitRouterPeerAttachmentRequest& request, const DeleteTransitRouterPeerAttachmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTransitRouterPeerAttachmentOutcomeCallable deleteTransitRouterPeerAttachmentCallable(const Model::DeleteTransitRouterPeerAttachmentRequest& request) const;
|
||||
@@ -607,9 +724,15 @@ namespace AlibabaCloud
|
||||
EnableTransitRouterRouteTablePropagationOutcome enableTransitRouterRouteTablePropagation(const Model::EnableTransitRouterRouteTablePropagationRequest &request)const;
|
||||
void enableTransitRouterRouteTablePropagationAsync(const Model::EnableTransitRouterRouteTablePropagationRequest& request, const EnableTransitRouterRouteTablePropagationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableTransitRouterRouteTablePropagationOutcomeCallable enableTransitRouterRouteTablePropagationCallable(const Model::EnableTransitRouterRouteTablePropagationRequest& request) const;
|
||||
ListCenInterRegionTrafficQosPoliciesOutcome listCenInterRegionTrafficQosPolicies(const Model::ListCenInterRegionTrafficQosPoliciesRequest &request)const;
|
||||
void listCenInterRegionTrafficQosPoliciesAsync(const Model::ListCenInterRegionTrafficQosPoliciesRequest& request, const ListCenInterRegionTrafficQosPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCenInterRegionTrafficQosPoliciesOutcomeCallable listCenInterRegionTrafficQosPoliciesCallable(const Model::ListCenInterRegionTrafficQosPoliciesRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ListTrafficMarkingPoliciesOutcome listTrafficMarkingPolicies(const Model::ListTrafficMarkingPoliciesRequest &request)const;
|
||||
void listTrafficMarkingPoliciesAsync(const Model::ListTrafficMarkingPoliciesRequest& request, const ListTrafficMarkingPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTrafficMarkingPoliciesOutcomeCallable listTrafficMarkingPoliciesCallable(const Model::ListTrafficMarkingPoliciesRequest& request) const;
|
||||
ListTransitRouterAvailableResourceOutcome listTransitRouterAvailableResource(const Model::ListTransitRouterAvailableResourceRequest &request)const;
|
||||
void listTransitRouterAvailableResourceAsync(const Model::ListTransitRouterAvailableResourceRequest& request, const ListTransitRouterAvailableResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTransitRouterAvailableResourceOutcomeCallable listTransitRouterAvailableResourceCallable(const Model::ListTransitRouterAvailableResourceRequest& request) const;
|
||||
@@ -652,9 +775,21 @@ namespace AlibabaCloud
|
||||
ModifyFlowLogAttributeOutcome modifyFlowLogAttribute(const Model::ModifyFlowLogAttributeRequest &request)const;
|
||||
void modifyFlowLogAttributeAsync(const Model::ModifyFlowLogAttributeRequest& request, const ModifyFlowLogAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyFlowLogAttributeOutcomeCallable modifyFlowLogAttributeCallable(const Model::ModifyFlowLogAttributeRequest& request) const;
|
||||
MoveResourceGroupOutcome moveResourceGroup(const Model::MoveResourceGroupRequest &request)const;
|
||||
void moveResourceGroupAsync(const Model::MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveResourceGroupOutcomeCallable moveResourceGroupCallable(const Model::MoveResourceGroupRequest& request) const;
|
||||
OpenTransitRouterServiceOutcome openTransitRouterService(const Model::OpenTransitRouterServiceRequest &request)const;
|
||||
void openTransitRouterServiceAsync(const Model::OpenTransitRouterServiceRequest& request, const OpenTransitRouterServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenTransitRouterServiceOutcomeCallable openTransitRouterServiceCallable(const Model::OpenTransitRouterServiceRequest& request) const;
|
||||
PublishRouteEntriesOutcome publishRouteEntries(const Model::PublishRouteEntriesRequest &request)const;
|
||||
void publishRouteEntriesAsync(const Model::PublishRouteEntriesRequest& request, const PublishRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishRouteEntriesOutcomeCallable publishRouteEntriesCallable(const Model::PublishRouteEntriesRequest& request) const;
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcome removeTraficMatchRuleFromTrafficMarkingPolicy(const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest &request)const;
|
||||
void removeTraficMatchRuleFromTrafficMarkingPolicyAsync(const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest& request, const RemoveTraficMatchRuleFromTrafficMarkingPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyOutcomeCallable removeTraficMatchRuleFromTrafficMarkingPolicyCallable(const Model::RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest& request) const;
|
||||
ReplaceTransitRouterRouteTableAssociationOutcome replaceTransitRouterRouteTableAssociation(const Model::ReplaceTransitRouterRouteTableAssociationRequest &request)const;
|
||||
void replaceTransitRouterRouteTableAssociationAsync(const Model::ReplaceTransitRouterRouteTableAssociationRequest& request, const ReplaceTransitRouterRouteTableAssociationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReplaceTransitRouterRouteTableAssociationOutcomeCallable replaceTransitRouterRouteTableAssociationCallable(const Model::ReplaceTransitRouterRouteTableAssociationRequest& request) const;
|
||||
ResolveAndRouteServiceInCenOutcome resolveAndRouteServiceInCen(const Model::ResolveAndRouteServiceInCenRequest &request)const;
|
||||
void resolveAndRouteServiceInCenAsync(const Model::ResolveAndRouteServiceInCenRequest& request, const ResolveAndRouteServiceInCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResolveAndRouteServiceInCenOutcomeCallable resolveAndRouteServiceInCenCallable(const Model::ResolveAndRouteServiceInCenRequest& request) const;
|
||||
@@ -679,6 +814,15 @@ namespace AlibabaCloud
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeOutcome updateCenInterRegionTrafficQosPolicyAttribute(const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest &request)const;
|
||||
void updateCenInterRegionTrafficQosPolicyAttributeAsync(const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest& request, const UpdateCenInterRegionTrafficQosPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeOutcomeCallable updateCenInterRegionTrafficQosPolicyAttributeCallable(const Model::UpdateCenInterRegionTrafficQosPolicyAttributeRequest& request) const;
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeOutcome updateCenInterRegionTrafficQosQueueAttribute(const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest &request)const;
|
||||
void updateCenInterRegionTrafficQosQueueAttributeAsync(const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest& request, const UpdateCenInterRegionTrafficQosQueueAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeOutcomeCallable updateCenInterRegionTrafficQosQueueAttributeCallable(const Model::UpdateCenInterRegionTrafficQosQueueAttributeRequest& request) const;
|
||||
UpdateTrafficMarkingPolicyAttributeOutcome updateTrafficMarkingPolicyAttribute(const Model::UpdateTrafficMarkingPolicyAttributeRequest &request)const;
|
||||
void updateTrafficMarkingPolicyAttributeAsync(const Model::UpdateTrafficMarkingPolicyAttributeRequest& request, const UpdateTrafficMarkingPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateTrafficMarkingPolicyAttributeOutcomeCallable updateTrafficMarkingPolicyAttributeCallable(const Model::UpdateTrafficMarkingPolicyAttributeRequest& request) const;
|
||||
UpdateTransitRouterOutcome updateTransitRouter(const Model::UpdateTransitRouterRequest &request)const;
|
||||
void updateTransitRouterAsync(const Model::UpdateTransitRouterRequest& request, const UpdateTransitRouterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateTransitRouterOutcomeCallable updateTransitRouterCallable(const Model::UpdateTransitRouterRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AddTraficMatchRuleToTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TrafficMatchRules
|
||||
{
|
||||
std::vector<int> dstPortRange;
|
||||
int matchDscp;
|
||||
std::string protocol;
|
||||
std::string trafficMatchRuleDescription;
|
||||
std::vector<int> srcPortRange;
|
||||
std::string dstCidr;
|
||||
std::string trafficMatchRuleName;
|
||||
std::string srcCidr;
|
||||
};
|
||||
|
||||
public:
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyRequest();
|
||||
~AddTraficMatchRuleToTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::vector<TrafficMatchRules> getTrafficMatchRules()const;
|
||||
void setTrafficMatchRules(const std::vector<TrafficMatchRules>& trafficMatchRules);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
bool dryRun_;
|
||||
std::vector<TrafficMatchRules> trafficMatchRules_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYREQUEST_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_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AddTraficMatchRuleToTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddTraficMatchRuleToTrafficMarkingPolicyResult();
|
||||
explicit AddTraficMatchRuleToTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~AddTraficMatchRuleToTrafficMarkingPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ADDTRAFICMATCHRULETOTRAFFICMARKINGPOLICYRESULT_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_CBN_MODEL_CHECKTRANSITROUTERSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CheckTransitRouterServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckTransitRouterServiceRequest();
|
||||
~CheckTransitRouterServiceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CheckTransitRouterServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckTransitRouterServiceResult();
|
||||
explicit CheckTransitRouterServiceResult(const std::string &payload);
|
||||
~CheckTransitRouterServiceResult();
|
||||
std::string getEnabled()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string enabled_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CHECKTRANSITROUTERSERVICERESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToAttachmentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
~CreateCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
std::string routeTableId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_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_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToAttachmentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenChildInstanceRouteEntryToAttachmentResult();
|
||||
explicit CreateCenChildInstanceRouteEntryToAttachmentResult(const std::string &payload);
|
||||
~CreateCenChildInstanceRouteEntryToAttachmentResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenInterRegionTrafficQosPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TrafficQosQueues
|
||||
{
|
||||
std::vector<int> dscps;
|
||||
std::string qosQueueName;
|
||||
std::string remainBandwidthPercent;
|
||||
std::string qosQueueDescription;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateCenInterRegionTrafficQosPolicyRequest();
|
||||
~CreateCenInterRegionTrafficQosPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::vector<TrafficQosQueues> getTrafficQosQueues()const;
|
||||
void setTrafficQosQueues(const std::vector<TrafficQosQueues>& trafficQosQueues);
|
||||
std::string getTrafficQosPolicyName()const;
|
||||
void setTrafficQosPolicyName(const std::string& trafficQosPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getTrafficQosPolicyDescription()const;
|
||||
void setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::vector<TrafficQosQueues> trafficQosQueues_;
|
||||
std::string trafficQosPolicyName_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string trafficQosPolicyDescription_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenInterRegionTrafficQosPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenInterRegionTrafficQosPolicyResult();
|
||||
explicit CreateCenInterRegionTrafficQosPolicyResult(const std::string &payload);
|
||||
~CreateCenInterRegionTrafficQosPolicyResult();
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string trafficQosPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
@@ -55,6 +55,10 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
long getInterval()const;
|
||||
void setInterval(long interval);
|
||||
std::string getFlowLogName()const;
|
||||
void setFlowLogName(const std::string& flowLogName);
|
||||
|
||||
@@ -69,6 +73,8 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
long interval_;
|
||||
std::string flowLogName_;
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_CREATETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TrafficMatchRules
|
||||
{
|
||||
std::vector<int> dstPortRange;
|
||||
int matchDscp;
|
||||
std::string protocol;
|
||||
std::string trafficMatchRuleDescription;
|
||||
std::vector<int> srcPortRange;
|
||||
std::string dstCidr;
|
||||
std::string trafficMatchRuleName;
|
||||
std::string srcCidr;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateTrafficMarkingPolicyRequest();
|
||||
~CreateTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyDescription()const;
|
||||
void setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription);
|
||||
std::string getTrafficMarkingPolicyName()const;
|
||||
void setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::vector<TrafficMatchRules> getTrafficMatchRules()const;
|
||||
void setTrafficMatchRules(const std::vector<TrafficMatchRules>& trafficMatchRules);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
int getPriority()const;
|
||||
void setPriority(int priority);
|
||||
int getMarkingDscp()const;
|
||||
void setMarkingDscp(int markingDscp);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyDescription_;
|
||||
std::string trafficMarkingPolicyName_;
|
||||
bool dryRun_;
|
||||
std::vector<TrafficMatchRules> trafficMatchRules_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
int priority_;
|
||||
int markingDscp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
@@ -14,40 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEDOMAINOVERVIEWRESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEDOMAINOVERVIEWRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT DescribeDomainOverviewResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDomainOverviewResult();
|
||||
explicit DescribeDomainOverviewResult(const std::string &payload);
|
||||
~DescribeDomainOverviewResult();
|
||||
long getMaxHttps()const;
|
||||
long getMaxHttp()const;
|
||||
CreateTrafficMarkingPolicyResult();
|
||||
explicit CreateTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~CreateTrafficMarkingPolicyResult();
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long maxHttps_;
|
||||
long maxHttp_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEDOMAINOVERVIEWRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATETRAFFICMARKINGPOLICYRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBandwidthType()const;
|
||||
void setBandwidthType(const std::string& bandwidthType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCenId()const;
|
||||
@@ -76,6 +78,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string bandwidthType_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
bool routeTableAssociationEnabled_;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToAttachmentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
~DeleteCenChildInstanceRouteEntryToAttachmentRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
std::string routeTableId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTREQUEST_H_
|
||||
@@ -14,44 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEPORTCONNSCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEPORTCONNSCOUNTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT DescribePortConnsCountResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToAttachmentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribePortConnsCountResult();
|
||||
explicit DescribePortConnsCountResult(const std::string &payload);
|
||||
~DescribePortConnsCountResult();
|
||||
long getConns()const;
|
||||
long getCps()const;
|
||||
long getActConns()const;
|
||||
long getInActConns()const;
|
||||
DeleteCenChildInstanceRouteEntryToAttachmentResult();
|
||||
explicit DeleteCenChildInstanceRouteEntryToAttachmentResult(const std::string &payload);
|
||||
~DeleteCenChildInstanceRouteEntryToAttachmentResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long conns_;
|
||||
long cps_;
|
||||
long actConns_;
|
||||
long inActConns_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DESCRIBEPORTCONNSCOUNTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOATTACHMENTRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenInterRegionTrafficQosPolicyRequest();
|
||||
~DeleteCenInterRegionTrafficQosPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
void setTrafficQosPolicyId(const std::string& trafficQosPolicyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
bool dryRun_;
|
||||
std::string trafficQosPolicyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYREQUEST_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_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCenInterRegionTrafficQosPolicyResult();
|
||||
explicit DeleteCenInterRegionTrafficQosPolicyResult(const std::string &payload);
|
||||
~DeleteCenInterRegionTrafficQosPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSPOLICYRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosQueueRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenInterRegionTrafficQosQueueRequest();
|
||||
~DeleteCenInterRegionTrafficQosQueueRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getQosQueueId()const;
|
||||
void setQosQueueId(const std::string& qosQueueId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string qosQueueId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUEREQUEST_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_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenInterRegionTrafficQosQueueResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCenInterRegionTrafficQosQueueResult();
|
||||
explicit DeleteCenInterRegionTrafficQosQueueResult(const std::string &payload);
|
||||
~DeleteCenInterRegionTrafficQosQueueResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENINTERREGIONTRAFFICQOSQUEUERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_DELETETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTrafficMarkingPolicyRequest();
|
||||
~DeleteTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBAIPROTECTMODERESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBAIPROTECTMODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT ModifyWebAIProtectModeResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyWebAIProtectModeResult();
|
||||
explicit ModifyWebAIProtectModeResult(const std::string &payload);
|
||||
~ModifyWebAIProtectModeResult();
|
||||
DeleteTrafficMarkingPolicyResult();
|
||||
explicit DeleteTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~DeleteTrafficMarkingPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBAIPROTECTMODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETETRAFFICMARKINGPOLICYRESULT_H_
|
||||
@@ -55,9 +55,9 @@ namespace AlibabaCloud
|
||||
bool isCrossBorder;
|
||||
std::string hasReservationData;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string typeFor95;
|
||||
std::string reservationInternetChargeType;
|
||||
std::string typeFor95;
|
||||
std::string name;
|
||||
std::string reservationOrderType;
|
||||
std::string bandwidthPackageChargeType;
|
||||
long bandwidth;
|
||||
|
||||
@@ -35,14 +35,17 @@ namespace AlibabaCloud
|
||||
struct FlowLog
|
||||
{
|
||||
std::string status;
|
||||
std::string transitRouterAttachmentId;
|
||||
std::string flowLogName;
|
||||
std::string description;
|
||||
std::string logStoreName;
|
||||
std::string peerRegionId;
|
||||
std::string projectName;
|
||||
std::string creationTime;
|
||||
std::string cenId;
|
||||
std::string regionId;
|
||||
std::string flowLogId;
|
||||
long interval;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ namespace AlibabaCloud
|
||||
struct RouteServiceEntry
|
||||
{
|
||||
std::string status;
|
||||
std::string hostRegionId;
|
||||
std::string description;
|
||||
std::string hostRegionId;
|
||||
std::string cenId;
|
||||
std::string host;
|
||||
std::string accessRegionId;
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListCenInterRegionTrafficQosPoliciesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCenInterRegionTrafficQosPoliciesRequest();
|
||||
~ListCenInterRegionTrafficQosPoliciesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getTrafficQosPolicyName()const;
|
||||
void setTrafficQosPolicyName(const std::string& trafficQosPolicyName);
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
void setTrafficQosPolicyId(const std::string& trafficQosPolicyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getTrafficQosPolicyDescription()const;
|
||||
void setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextToken_;
|
||||
std::string trafficQosPolicyName_;
|
||||
std::string trafficQosPolicyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string trafficQosPolicyDescription_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListCenInterRegionTrafficQosPoliciesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrafficQosPolicy
|
||||
{
|
||||
struct TrafficQosQueue
|
||||
{
|
||||
int remainBandwidthPercent;
|
||||
std::string qosQueueId;
|
||||
std::vector<std::string> dscps;
|
||||
std::string qosQueueName;
|
||||
std::string qosQueueDescription;
|
||||
};
|
||||
std::vector<TrafficQosPolicy::TrafficQosQueue> trafficQosQueues;
|
||||
std::string trafficQosPolicyStatus;
|
||||
std::string trafficQosPolicyName;
|
||||
std::string trafficQosPolicyId;
|
||||
std::string trafficQosPolicyDescription;
|
||||
};
|
||||
|
||||
|
||||
ListCenInterRegionTrafficQosPoliciesResult();
|
||||
explicit ListCenInterRegionTrafficQosPoliciesResult(const std::string &payload);
|
||||
~ListCenInterRegionTrafficQosPoliciesResult();
|
||||
std::vector<TrafficQosPolicy> getTrafficQosPolicies()const;
|
||||
int getTotalCount()const;
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TrafficQosPolicy> trafficQosPolicies_;
|
||||
int totalCount_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTCENINTERREGIONTRAFFICQOSPOLICIESRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListTrafficMarkingPoliciesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTrafficMarkingPoliciesRequest();
|
||||
~ListTrafficMarkingPoliciesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTrafficMarkingPolicyDescription()const;
|
||||
void setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getTrafficMarkingPolicyName()const;
|
||||
void setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterId()const;
|
||||
void setTransitRouterId(const std::string& transitRouterId);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string trafficMarkingPolicyDescription_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
std::string nextToken_;
|
||||
std::string trafficMarkingPolicyName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterId_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ListTrafficMarkingPoliciesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrafficMarkingPolicy
|
||||
{
|
||||
struct TrafficMatchRule
|
||||
{
|
||||
std::string trafficMatchRuleDescription;
|
||||
int matchDscp;
|
||||
std::vector<std::string> dstPortRange;
|
||||
std::string srcCidr;
|
||||
std::string trafficMatchRuleName;
|
||||
std::string trafficMatchRuleStatus;
|
||||
std::string protocol;
|
||||
std::vector<std::string> srcPortRange;
|
||||
std::string dstCidr;
|
||||
std::string trafficMatchRuleId;
|
||||
};
|
||||
std::string trafficMarkingPolicyName;
|
||||
std::vector<TrafficMarkingPolicy::TrafficMatchRule> trafficMatchRules;
|
||||
std::string trafficMarkingPolicyStatus;
|
||||
int markingDscp;
|
||||
int priority;
|
||||
std::string trafficMarkingPolicyId;
|
||||
std::string trafficMarkingPolicyDescription;
|
||||
};
|
||||
|
||||
|
||||
ListTrafficMarkingPoliciesResult();
|
||||
explicit ListTrafficMarkingPoliciesResult(const std::string &payload);
|
||||
~ListTrafficMarkingPoliciesResult();
|
||||
int getTotalCount()const;
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
std::vector<TrafficMarkingPolicy> getTrafficMarkingPolicies()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
std::vector<TrafficMarkingPolicy> trafficMarkingPolicies_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_LISTTRAFFICMARKINGPOLICIESRESULT_H_
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
std::string transitRouterAttachmentName;
|
||||
std::string resourceType;
|
||||
bool autoPublishRouteEnabled;
|
||||
std::string bandwidthType;
|
||||
int bandwidth;
|
||||
std::string creationTime;
|
||||
std::string bandwidthPackageId;
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getInterval()const;
|
||||
void setInterval(long interval);
|
||||
std::string getFlowLogId()const;
|
||||
void setFlowLogId(const std::string& flowLogId);
|
||||
std::string getFlowLogName()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
long interval_;
|
||||
std::string flowLogId_;
|
||||
std::string flowLogName_;
|
||||
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT MoveResourceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoveResourceGroupRequest();
|
||||
~MoveResourceGroupRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getNewResourceGroupId()const;
|
||||
void setNewResourceGroupId(const std::string& newResourceGroupId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string resourceId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::string newResourceGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBRULERESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBRULERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT ModifyWebRuleResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT MoveResourceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyWebRuleResult();
|
||||
explicit ModifyWebRuleResult(const std::string &payload);
|
||||
~ModifyWebRuleResult();
|
||||
MoveResourceGroupResult();
|
||||
explicit MoveResourceGroupResult(const std::string &payload);
|
||||
~MoveResourceGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_MODIFYWEBRULERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MOVERESOURCEGROUPRESULT_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_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT OpenTransitRouterServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenTransitRouterServiceRequest();
|
||||
~OpenTransitRouterServiceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICEREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATEDOMAINRESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEDOMAINRESOURCERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ddoscoo
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDOSCOO_EXPORT CreateDomainResourceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CBN_EXPORT OpenTransitRouterServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDomainResourceResult();
|
||||
explicit CreateDomainResourceResult(const std::string &payload);
|
||||
~CreateDomainResourceResult();
|
||||
OpenTransitRouterServiceResult();
|
||||
explicit OpenTransitRouterServiceResult(const std::string &payload);
|
||||
~OpenTransitRouterServiceResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEDOMAINRESOURCERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_OPENTRANSITROUTERSERVICERESULT_H_
|
||||
@@ -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_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest();
|
||||
~RemoveTraficMatchRuleFromTrafficMarkingPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::vector<std::string> getTrafficMarkRuleIds()const;
|
||||
void setTrafficMarkRuleIds(const std::vector<std::string>& trafficMarkRuleIds);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::vector<std::string> trafficMarkRuleIds_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYREQUEST_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_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT RemoveTraficMatchRuleFromTrafficMarkingPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveTraficMatchRuleFromTrafficMarkingPolicyResult();
|
||||
explicit RemoveTraficMatchRuleFromTrafficMarkingPolicyResult(const std::string &payload);
|
||||
~RemoveTraficMatchRuleFromTrafficMarkingPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REMOVETRAFICMATCHRULEFROMTRAFFICMARKINGPOLICYRESULT_H_
|
||||
@@ -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_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ReplaceTransitRouterRouteTableAssociationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReplaceTransitRouterRouteTableAssociationRequest();
|
||||
~ReplaceTransitRouterRouteTableAssociationRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTransitRouterRouteTableId()const;
|
||||
void setTransitRouterRouteTableId(const std::string& transitRouterRouteTableId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTransitRouterAttachmentId()const;
|
||||
void setTransitRouterAttachmentId(const std::string& transitRouterAttachmentId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string transitRouterRouteTableId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string transitRouterAttachmentId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONREQUEST_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_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ReplaceTransitRouterRouteTableAssociationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ReplaceTransitRouterRouteTableAssociationResult();
|
||||
explicit ReplaceTransitRouterRouteTableAssociationResult(const std::string &payload);
|
||||
~ReplaceTransitRouterRouteTableAssociationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_REPLACETRANSITROUTERROUTETABLEASSOCIATIONRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosPolicyAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeRequest();
|
||||
~UpdateCenInterRegionTrafficQosPolicyAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficQosPolicyName()const;
|
||||
void setTrafficQosPolicyName(const std::string& trafficQosPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getTrafficQosPolicyId()const;
|
||||
void setTrafficQosPolicyId(const std::string& trafficQosPolicyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getTrafficQosPolicyDescription()const;
|
||||
void setTrafficQosPolicyDescription(const std::string& trafficQosPolicyDescription);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficQosPolicyName_;
|
||||
bool dryRun_;
|
||||
std::string trafficQosPolicyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string trafficQosPolicyDescription_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTEREQUEST_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_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosPolicyAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCenInterRegionTrafficQosPolicyAttributeResult();
|
||||
explicit UpdateCenInterRegionTrafficQosPolicyAttributeResult(const std::string &payload);
|
||||
~UpdateCenInterRegionTrafficQosPolicyAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSPOLICYATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosQueueAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeRequest();
|
||||
~UpdateCenInterRegionTrafficQosQueueAttributeRequest();
|
||||
|
||||
std::vector<int> getDscps()const;
|
||||
void setDscps(const std::vector<int>& dscps);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getQosQueueName()const;
|
||||
void setQosQueueName(const std::string& qosQueueName);
|
||||
std::string getRemainBandwidthPercent()const;
|
||||
void setRemainBandwidthPercent(const std::string& remainBandwidthPercent);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getQosQueueId()const;
|
||||
void setQosQueueId(const std::string& qosQueueId);
|
||||
std::string getQosQueueDescription()const;
|
||||
void setQosQueueDescription(const std::string& qosQueueDescription);
|
||||
|
||||
private:
|
||||
std::vector<int> dscps_;
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string qosQueueName_;
|
||||
std::string remainBandwidthPercent_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string qosQueueId_;
|
||||
std::string qosQueueDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTEREQUEST_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_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateCenInterRegionTrafficQosQueueAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCenInterRegionTrafficQosQueueAttributeResult();
|
||||
explicit UpdateCenInterRegionTrafficQosQueueAttributeResult(const std::string &payload);
|
||||
~UpdateCenInterRegionTrafficQosQueueAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATECENINTERREGIONTRAFFICQOSQUEUEATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateTrafficMarkingPolicyAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateTrafficMarkingPolicyAttributeRequest();
|
||||
~UpdateTrafficMarkingPolicyAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTrafficMarkingPolicyDescription()const;
|
||||
void setTrafficMarkingPolicyDescription(const std::string& trafficMarkingPolicyDescription);
|
||||
std::string getTrafficMarkingPolicyId()const;
|
||||
void setTrafficMarkingPolicyId(const std::string& trafficMarkingPolicyId);
|
||||
std::string getTrafficMarkingPolicyName()const;
|
||||
void setTrafficMarkingPolicyName(const std::string& trafficMarkingPolicyName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string trafficMarkingPolicyDescription_;
|
||||
std::string trafficMarkingPolicyId_;
|
||||
std::string trafficMarkingPolicyName_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTEREQUEST_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_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UpdateTrafficMarkingPolicyAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateTrafficMarkingPolicyAttributeResult();
|
||||
explicit UpdateTrafficMarkingPolicyAttributeResult(const std::string &payload);
|
||||
~UpdateTrafficMarkingPolicyAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UPDATETRAFFICMARKINGPOLICYATTRIBUTERESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBandwidthType()const;
|
||||
void setBandwidthType(const std::string& bandwidthType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTransitRouterAttachmentName()const;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string bandwidthType_;
|
||||
std::string clientToken_;
|
||||
std::string transitRouterAttachmentName_;
|
||||
bool autoPublishRouteEnabled_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user