Compare commits

..

42 Commits

Author SHA1 Message Date
sdk-team
05785cf5fd ChatApp third version. 2020-10-12 01:52:38 +00:00
sdk-team
15b4e73175 Update Scdn API. 2020-10-09 07:40:30 +00:00
sdk-team
e1f296f89d Update DescribeCdnUserBillHistory API. 2020-10-09 06:46:57 +00:00
sdk-team
8615dbe002 Update SetVideoSeekConfig API. 2020-10-09 02:45:24 +00:00
sdk-team
8fd81bf1dd Add API OpenOnsService which can active ons service. 2020-09-29 13:19:22 +00:00
sdk-team
88f0753937 Add API OpenOnsService which can active ons service. 2020-09-29 11:12:25 +00:00
sdk-team
c93100c1b5 Update CalcCACS. 2020-09-29 10:04:38 +00:00
sdk-team
c5dd7f096e Add API OpenOnsService which can active ons service. 2020-09-29 09:46:01 +00:00
sdk-team
e3b1009a94 Add API OpenOnsService which can active ons service. 2020-09-29 08:44:45 +00:00
sdk-team
37c044aa31 Supported regional API. 2020-09-29 07:23:09 +00:00
sdk-team
5aead39d0e Update Scdn API. 2020-09-28 16:29:31 +00:00
sdk-team
b9a7e15af4 Support for resize hbaseue multi-zone cluster. 2020-09-28 14:27:27 +00:00
sdk-team
60799e2b22 Support filtering keys and secrets. 2020-09-28 05:07:41 +00:00
sdk-team
d4c20caaed Update domain API. 2020-09-27 09:31:12 +00:00
sdk-team
f2caf37a92 Update domain API. 2020-09-27 09:25:54 +00:00
sdk-team
b31d71fa81 Support Open Service API. 2020-09-27 02:38:25 +00:00
sdk-team
7ee07b8331 DescribeAvailableResource support list available resource for modify instance. 2020-09-27 01:58:53 +00:00
sdk-team
cfb09d135f Public beta version. 2020-09-25 02:09:32 +00:00
sdk-team
c1b1b41108 Public beta version. 2020-09-25 01:47:01 +00:00
sdk-team
08b2ac884b Support create for serverlesshbase. 2020-09-24 13:40:31 +00:00
sdk-team
84a2c24970 ContrastFaceVerify API Add Model Parameter. 2020-09-24 07:54:40 +00:00
sdk-team
d088239972 Add a new api named SubmitAIImageAuditJob to submit image ai detection job. 2020-09-24 03:24:57 +00:00
sdk-team
f014392806 Add spotDuration support. 2020-09-23 09:45:22 +00:00
sdk-team
9290117d12 Some new parameters are supported. 2020-09-23 07:32:10 +00:00
sdk-team
99236bb124 Update domain API. 2020-09-23 03:11:06 +00:00
sdk-team
4595bf16e1 Update Scdn API. 2020-09-23 03:06:46 +00:00
sdk-team
152b44dbed Sync cdn APIs. 2020-09-23 02:50:08 +00:00
sdk-team
9535455a22 DescribePrice update amount type to string. 2020-09-22 02:05:15 +00:00
sdk-team
2de19aea44 Generated 2019-03-08 for ivision. 2020-09-22 02:02:07 +00:00
sdk-team
23cb861a2f Generated 2018-01-11 for rtc. 2020-09-22 01:59:10 +00:00
sdk-team
2123976cc2 Generated 2018-12-12 for vs. 2020-09-22 01:54:19 +00:00
sdk-team
7097cf0d88 Generated 2016-11-01 for live. 2020-09-22 01:53:20 +00:00
sdk-team
dd1d0e5359 Interface add column wordCount. 2020-09-21 08:33:16 +00:00
sdk-team
3823d5045a Add search object. 2020-09-21 01:38:33 +00:00
sdk-team
80e095a3fc Add describe devices to return device status. 2020-09-20 13:02:30 +00:00
sdk-team
c12d0267d7 Add describe devices to return device status. 2020-09-20 12:12:16 +00:00
sdk-team
d69766bdfd Support query user tenant list and current active tenant. 2020-09-19 07:29:55 +00:00
sdk-team
7ac1c23a9f Update DetectLungNodule, DetectSpineMRI, DetectKneeXRay, DetectCovid19Cad. 2020-09-18 08:48:48 +00:00
sdk-team
088c3010cd Add Api DetectIPCPedestrianOptimized. 2020-09-17 16:57:51 +00:00
sdk-team
5c7994cbcb Add Api DetectIPCPedestrianOptimized. 2020-09-17 16:37:37 +00:00
sdk-team
3fc73ce0c4 GetTitleIntelligence add interface. 2020-09-17 11:57:26 +00:00
sdk-team
aa99d784f0 Fix endpoint. 2020-09-17 09:44:49 +00:00
1124 changed files with 66170 additions and 2428 deletions

136
CHANGELOG
View File

@@ -1,3 +1,139 @@
2020-10-12 Version: patch
- ChatApp third version.
- Add contack check api.
2020-10-09 Version: patch
- Update Scdn API.
2020-10-09 Version: patch
- Update DescribeCdnUserBillHistory API.
2020-10-09 Version: patch
- Update SetVideoSeekConfig API.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Update CalcCACS.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Supported regional API.
2020-09-28 Version: patch
- Update Scdn API.
2020-09-28 Version: patch
- Support for resize hbaseue multi-zone cluster.
2020-09-28 Version: patch
- Support filtering keys and secrets.
- Support opening KMS service and describing service status by API.
- Add a prefix limitation for SecretName.
2020-09-27 Version: patch
- Update domain API.
2020-09-27 Version: patch
- Update domain API.
2020-09-27 Version: patch
- Support Open Service API.
2020-09-27 Version: patch
- DescribeAvailableResource support list available resource for modify instance.
2020-09-25 Version: patch
- Public beta version.
- Add Api Overseas.
2020-09-25 Version: patch
- Public beta version.
- Add Api Overseas.
2020-09-24 Version: patch
- Support create for serverlesshbase.
2020-09-24 Version: patch
- ContrastFaceVerify API Add Model Parameter.
2020-09-24 Version: patch
- Add a new api named SubmitAIImageAuditJob to submit image ai detection job.
- Add a new api named CreateDNADB to create a DNA analysis library.
- Add a new api named ListDNADB to query the list of DNA analysis libraries.
- Add a new api named GetDNADB to query specified DNA analysis library.
- Add a new field DNADBId to the request parameter Config structure for SubmitAIJob api.
2020-09-23 Version: patch
- Add spotDuration support.
2020-09-23 Version: patch
- Some new parameters are supported.
2020-09-23 Version: patch
- Update domain API.
2020-09-23 Version: patch
- Update Scdn API.
2020-09-23 Version: patch
- Sync cdn APIs.
2020-09-22 Version: patch
- DescribePrice update amount type to string.
2020-09-22 Version: patch
- Generated 2019-03-08 for `ivision`.
2020-09-22 Version: patch
- Generated 2018-01-11 for `rtc`.
2020-09-22 Version: patch
- Generated 2018-12-12 for `vs`.
2020-09-22 Version: patch
- Generated 2016-11-01 for `live`.
2020-09-21 Version: patch
- Interface add column wordCount.
2020-09-21 Version: patch
- Add search object.
2020-09-20 Version: patch
- Add describe devices to return device status.
2020-09-20 Version: patch
- Add describe devices to return device status.
2020-09-19 Version: patch
- Support query user tenant list and current active tenant.
- Support query table meta information via table GUID.
2020-09-18 Version: patch
- Update DetectLungNodule, DetectSpineMRI, DetectKneeXRay, DetectCovid19Cad.
2020-09-17 Version: patch
- Add Api DetectIPCPedestrianOptimized.
2020-09-17 Version: patch
- Add Api DetectIPCPedestrianOptimized.
2020-09-17 Version: patch
- GetTitleIntelligence add interface.
2020-09-17 Version: patch
- Fix endpoint.
2020-09-16 Version: patch
- Add Content.

View File

@@ -35,6 +35,8 @@ set(alimt_public_header_model
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
include/alibabacloud/alimt/model/GetTitleGenerateResult.h
include/alibabacloud/alimt/model/GetTitleIntelligenceRequest.h
include/alibabacloud/alimt/model/GetTitleIntelligenceResult.h
include/alibabacloud/alimt/model/TranslateRequest.h
include/alibabacloud/alimt/model/TranslateResult.h
include/alibabacloud/alimt/model/TranslateCertificateRequest.h
@@ -60,6 +62,8 @@ set(alimt_src
src/model/GetTitleDiagnoseResult.cc
src/model/GetTitleGenerateRequest.cc
src/model/GetTitleGenerateResult.cc
src/model/GetTitleIntelligenceRequest.cc
src/model/GetTitleIntelligenceResult.cc
src/model/TranslateRequest.cc
src/model/TranslateResult.cc
src/model/TranslateCertificateRequest.cc

View File

@@ -36,6 +36,8 @@
#include "model/GetTitleDiagnoseResult.h"
#include "model/GetTitleGenerateRequest.h"
#include "model/GetTitleGenerateResult.h"
#include "model/GetTitleIntelligenceRequest.h"
#include "model/GetTitleIntelligenceResult.h"
#include "model/TranslateRequest.h"
#include "model/TranslateResult.h"
#include "model/TranslateCertificateRequest.h"
@@ -74,6 +76,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetTitleGenerateResult> GetTitleGenerateOutcome;
typedef std::future<GetTitleGenerateOutcome> GetTitleGenerateOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::GetTitleGenerateRequest&, const GetTitleGenerateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleGenerateAsyncHandler;
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::TranslateResult> TranslateOutcome;
typedef std::future<TranslateOutcome> TranslateOutcomeCallable;
typedef std::function<void(const AlimtClient*, const Model::TranslateRequest&, const TranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateAsyncHandler;
@@ -112,6 +117,9 @@ namespace AlibabaCloud
GetTitleGenerateOutcome getTitleGenerate(const Model::GetTitleGenerateRequest &request)const;
void getTitleGenerateAsync(const Model::GetTitleGenerateRequest& request, const GetTitleGenerateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTitleGenerateOutcomeCallable getTitleGenerateCallable(const Model::GetTitleGenerateRequest& request) const;
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;
TranslateOutcome translate(const Model::TranslateRequest &request)const;
void translateAsync(const Model::TranslateRequest& request, const TranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TranslateOutcomeCallable translateCallable(const Model::TranslateRequest& request) const;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,59 @@
/*
* 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_GETTITLEINTELLIGENCERESULT_H_
#define ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCERESULT_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 GetTitleIntelligenceResult : public ServiceResult
{
public:
struct Data
{
std::string titles;
};
GetTitleIntelligenceResult();
explicit GetTitleIntelligenceResult(const std::string &payload);
~GetTitleIntelligenceResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETTITLEINTELLIGENCERESULT_H_

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Data
{
std::string wordCount;
std::string translated;
};

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Data
{
std::string wordCount;
std::string translated;
};

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Data
{
std::string wordCount;
std::string translated;
};

View File

@@ -303,6 +303,42 @@ AlimtClient::GetTitleGenerateOutcomeCallable AlimtClient::getTitleGenerateCallab
return task->get_future();
}
AlimtClient::GetTitleIntelligenceOutcome AlimtClient::getTitleIntelligence(const GetTitleIntelligenceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTitleIntelligenceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTitleIntelligenceOutcome(GetTitleIntelligenceResult(outcome.result()));
else
return GetTitleIntelligenceOutcome(outcome.error());
}
void AlimtClient::getTitleIntelligenceAsync(const GetTitleIntelligenceRequest& request, const GetTitleIntelligenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTitleIntelligence(request), context);
};
asyncExecute(new Runnable(fn));
}
AlimtClient::GetTitleIntelligenceOutcomeCallable AlimtClient::getTitleIntelligenceCallable(const GetTitleIntelligenceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTitleIntelligenceOutcome()>>(
[this, request]()
{
return this->getTitleIntelligence(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AlimtClient::TranslateOutcome AlimtClient::translate(const TranslateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/alimt/model/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_;
}
void GetTitleIntelligenceRequest::setCatLevelThreeId(long catLevelThreeId)
{
catLevelThreeId_ = catLevelThreeId;
setBodyParameter("CatLevelThreeId", std::to_string(catLevelThreeId));
}
long GetTitleIntelligenceRequest::getCatLevelTwoId()const
{
return catLevelTwoId_;
}
void GetTitleIntelligenceRequest::setCatLevelTwoId(long catLevelTwoId)
{
catLevelTwoId_ = catLevelTwoId;
setBodyParameter("CatLevelTwoId", std::to_string(catLevelTwoId));
}
std::string GetTitleIntelligenceRequest::getKeywords()const
{
return keywords_;
}
void GetTitleIntelligenceRequest::setKeywords(const std::string& keywords)
{
keywords_ = keywords;
setBodyParameter("Keywords", keywords);
}
std::string GetTitleIntelligenceRequest::getPlatform()const
{
return platform_;
}
void GetTitleIntelligenceRequest::setPlatform(const std::string& platform)
{
platform_ = platform;
setBodyParameter("Platform", platform);
}
std::string GetTitleIntelligenceRequest::getExtra()const
{
return extra_;
}
void GetTitleIntelligenceRequest::setExtra(const std::string& extra)
{
extra_ = extra;
setBodyParameter("Extra", extra);
}

View File

@@ -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.
*/
#include <alibabacloud/alimt/model/GetTitleIntelligenceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Alimt;
using namespace AlibabaCloud::Alimt::Model;
GetTitleIntelligenceResult::GetTitleIntelligenceResult() :
ServiceResult()
{}
GetTitleIntelligenceResult::GetTitleIntelligenceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTitleIntelligenceResult::~GetTitleIntelligenceResult()
{}
void GetTitleIntelligenceResult::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["Titles"].isNull())
data_.titles = dataNode["Titles"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string GetTitleIntelligenceResult::getMessage()const
{
return message_;
}
GetTitleIntelligenceResult::Data GetTitleIntelligenceResult::getData()const
{
return data_;
}
int GetTitleIntelligenceResult::getCode()const
{
return code_;
}

View File

@@ -42,6 +42,8 @@ void TranslateECommerceResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["Translated"].isNull())
data_.translated = dataNode["Translated"].asString();
if(!dataNode["WordCount"].isNull())
data_.wordCount = dataNode["WordCount"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())

View File

@@ -42,6 +42,8 @@ void TranslateGeneralResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["Translated"].isNull())
data_.translated = dataNode["Translated"].asString();
if(!dataNode["WordCount"].isNull())
data_.wordCount = dataNode["WordCount"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())

View File

@@ -42,6 +42,8 @@ void TranslateResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["Translated"].isNull())
data_.translated = dataNode["Translated"].asString();
if(!dataNode["WordCount"].isNull())
data_.wordCount = dataNode["WordCount"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())

View File

@@ -65,8 +65,12 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h
include/alibabacloud/aliyuncvc/model/EndLiveRequest.h
include/alibabacloud/aliyuncvc/model/EndLiveResult.h
include/alibabacloud/aliyuncvc/model/GetAccountInfoRequest.h
include/alibabacloud/aliyuncvc/model/GetAccountInfoResult.h
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
@@ -77,6 +81,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
include/alibabacloud/aliyuncvc/model/GetUserResult.h
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
@@ -89,6 +95,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesRequest.h
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesResult.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
@@ -101,10 +109,14 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
include/alibabacloud/aliyuncvc/model/ListUsersResult.h
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundRequest.h
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundResult.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
@@ -115,6 +127,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureRequest.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureResult.h
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutRequest.h
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutResult.h
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
@@ -166,8 +180,12 @@ set(aliyuncvc_src
src/model/EndDeviceMeetingResult.cc
src/model/EndLiveRequest.cc
src/model/EndLiveResult.cc
src/model/GetAccountInfoRequest.cc
src/model/GetAccountInfoResult.cc
src/model/GetDeviceActiveCodeRequest.cc
src/model/GetDeviceActiveCodeResult.cc
src/model/GetDeviceInfoRequest.cc
src/model/GetDeviceInfoResult.cc
src/model/GetDeviceTokenRequest.cc
src/model/GetDeviceTokenResult.cc
src/model/GetMeetingRequest.cc
@@ -178,6 +196,8 @@ set(aliyuncvc_src
src/model/GetMeetingMemberResult.cc
src/model/GetMembersRequest.cc
src/model/GetMembersResult.cc
src/model/GetStatisticRequest.cc
src/model/GetStatisticResult.cc
src/model/GetUserRequest.cc
src/model/GetUserResult.cc
src/model/InviteUserRequest.cc
@@ -190,6 +210,8 @@ set(aliyuncvc_src
src/model/JoinMeetingResult.cc
src/model/JoinMeetingInternationalRequest.cc
src/model/JoinMeetingInternationalResult.cc
src/model/ListConferenceDevicesRequest.cc
src/model/ListConferenceDevicesResult.cc
src/model/ListDeviceIpRequest.cc
src/model/ListDeviceIpResult.cc
src/model/ListDevicesRequest.cc
@@ -202,10 +224,14 @@ set(aliyuncvc_src
src/model/ListMembersResult.cc
src/model/ListUsersRequest.cc
src/model/ListUsersResult.cc
src/model/ModifyDeviceBackgroundRequest.cc
src/model/ModifyDeviceBackgroundResult.cc
src/model/ModifyMeetingPasswordRequest.cc
src/model/ModifyMeetingPasswordResult.cc
src/model/ModifyMeetingPasswordInternationalRequest.cc
src/model/ModifyMeetingPasswordInternationalResult.cc
src/model/RefreshDeviceScreenCodeRequest.cc
src/model/RefreshDeviceScreenCodeResult.cc
src/model/RegisterDeviceRequest.cc
src/model/RegisterDeviceResult.cc
src/model/RegisterUemDeviceRequest.cc
@@ -216,6 +242,8 @@ set(aliyuncvc_src
src/model/StartLiveResult.cc
src/model/UpdateDeviceHeartBeatRequest.cc
src/model/UpdateDeviceHeartBeatResult.cc
src/model/UpdateDeviceStartupPictureRequest.cc
src/model/UpdateDeviceStartupPictureResult.cc
src/model/UpdateGonggeLayoutRequest.cc
src/model/UpdateGonggeLayoutResult.cc
src/model/UpdateLivePasswordRequest.cc

View File

@@ -66,8 +66,12 @@
#include "model/EndDeviceMeetingResult.h"
#include "model/EndLiveRequest.h"
#include "model/EndLiveResult.h"
#include "model/GetAccountInfoRequest.h"
#include "model/GetAccountInfoResult.h"
#include "model/GetDeviceActiveCodeRequest.h"
#include "model/GetDeviceActiveCodeResult.h"
#include "model/GetDeviceInfoRequest.h"
#include "model/GetDeviceInfoResult.h"
#include "model/GetDeviceTokenRequest.h"
#include "model/GetDeviceTokenResult.h"
#include "model/GetMeetingRequest.h"
@@ -78,6 +82,8 @@
#include "model/GetMeetingMemberResult.h"
#include "model/GetMembersRequest.h"
#include "model/GetMembersResult.h"
#include "model/GetStatisticRequest.h"
#include "model/GetStatisticResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/InviteUserRequest.h"
@@ -90,6 +96,8 @@
#include "model/JoinMeetingResult.h"
#include "model/JoinMeetingInternationalRequest.h"
#include "model/JoinMeetingInternationalResult.h"
#include "model/ListConferenceDevicesRequest.h"
#include "model/ListConferenceDevicesResult.h"
#include "model/ListDeviceIpRequest.h"
#include "model/ListDeviceIpResult.h"
#include "model/ListDevicesRequest.h"
@@ -102,10 +110,14 @@
#include "model/ListMembersResult.h"
#include "model/ListUsersRequest.h"
#include "model/ListUsersResult.h"
#include "model/ModifyDeviceBackgroundRequest.h"
#include "model/ModifyDeviceBackgroundResult.h"
#include "model/ModifyMeetingPasswordRequest.h"
#include "model/ModifyMeetingPasswordResult.h"
#include "model/ModifyMeetingPasswordInternationalRequest.h"
#include "model/ModifyMeetingPasswordInternationalResult.h"
#include "model/RefreshDeviceScreenCodeRequest.h"
#include "model/RefreshDeviceScreenCodeResult.h"
#include "model/RegisterDeviceRequest.h"
#include "model/RegisterDeviceResult.h"
#include "model/RegisterUemDeviceRequest.h"
@@ -116,6 +128,8 @@
#include "model/StartLiveResult.h"
#include "model/UpdateDeviceHeartBeatRequest.h"
#include "model/UpdateDeviceHeartBeatResult.h"
#include "model/UpdateDeviceStartupPictureRequest.h"
#include "model/UpdateDeviceStartupPictureResult.h"
#include "model/UpdateGonggeLayoutRequest.h"
#include "model/UpdateGonggeLayoutResult.h"
#include "model/UpdateLivePasswordRequest.h"
@@ -195,9 +209,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::EndLiveResult> EndLiveOutcome;
typedef std::future<EndLiveOutcome> EndLiveOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::EndLiveRequest&, const EndLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndLiveAsyncHandler;
typedef Outcome<Error, Model::GetAccountInfoResult> GetAccountInfoOutcome;
typedef std::future<GetAccountInfoOutcome> GetAccountInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetAccountInfoRequest&, const GetAccountInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountInfoAsyncHandler;
typedef Outcome<Error, Model::GetDeviceActiveCodeResult> GetDeviceActiveCodeOutcome;
typedef std::future<GetDeviceActiveCodeOutcome> GetDeviceActiveCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceActiveCodeRequest&, const GetDeviceActiveCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceActiveCodeAsyncHandler;
typedef Outcome<Error, Model::GetDeviceInfoResult> GetDeviceInfoOutcome;
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
@@ -213,6 +233,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
typedef Outcome<Error, Model::GetStatisticResult> GetStatisticOutcome;
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
@@ -231,6 +254,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
typedef Outcome<Error, Model::ListConferenceDevicesResult> ListConferenceDevicesOutcome;
typedef std::future<ListConferenceDevicesOutcome> ListConferenceDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListConferenceDevicesRequest&, const ListConferenceDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConferenceDevicesAsyncHandler;
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
@@ -249,12 +275,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
typedef Outcome<Error, Model::ModifyDeviceBackgroundResult> ModifyDeviceBackgroundOutcome;
typedef std::future<ModifyDeviceBackgroundOutcome> ModifyDeviceBackgroundOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyDeviceBackgroundRequest&, const ModifyDeviceBackgroundOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceBackgroundAsyncHandler;
typedef Outcome<Error, Model::ModifyMeetingPasswordResult> ModifyMeetingPasswordOutcome;
typedef std::future<ModifyMeetingPasswordOutcome> ModifyMeetingPasswordOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordRequest&, const ModifyMeetingPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordAsyncHandler;
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
typedef Outcome<Error, Model::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
@@ -270,6 +302,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateDeviceHeartBeatResult> UpdateDeviceHeartBeatOutcome;
typedef std::future<UpdateDeviceHeartBeatOutcome> UpdateDeviceHeartBeatOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceHeartBeatRequest&, const UpdateDeviceHeartBeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceHeartBeatAsyncHandler;
typedef Outcome<Error, Model::UpdateDeviceStartupPictureResult> UpdateDeviceStartupPictureOutcome;
typedef std::future<UpdateDeviceStartupPictureOutcome> UpdateDeviceStartupPictureOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceStartupPictureRequest&, const UpdateDeviceStartupPictureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceStartupPictureAsyncHandler;
typedef Outcome<Error, Model::UpdateGonggeLayoutResult> UpdateGonggeLayoutOutcome;
typedef std::future<UpdateGonggeLayoutOutcome> UpdateGonggeLayoutOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateGonggeLayoutRequest&, const UpdateGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGonggeLayoutAsyncHandler;
@@ -347,9 +382,15 @@ namespace AlibabaCloud
EndLiveOutcome endLive(const Model::EndLiveRequest &request)const;
void endLiveAsync(const Model::EndLiveRequest& request, const EndLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EndLiveOutcomeCallable endLiveCallable(const Model::EndLiveRequest& request) const;
GetAccountInfoOutcome getAccountInfo(const Model::GetAccountInfoRequest &request)const;
void getAccountInfoAsync(const Model::GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountInfoOutcomeCallable getAccountInfoCallable(const Model::GetAccountInfoRequest& request) const;
GetDeviceActiveCodeOutcome getDeviceActiveCode(const Model::GetDeviceActiveCodeRequest &request)const;
void getDeviceActiveCodeAsync(const Model::GetDeviceActiveCodeRequest& request, const GetDeviceActiveCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceActiveCodeOutcomeCallable getDeviceActiveCodeCallable(const Model::GetDeviceActiveCodeRequest& request) const;
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
@@ -365,6 +406,9 @@ namespace AlibabaCloud
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& 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;
@@ -383,6 +427,9 @@ namespace AlibabaCloud
JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const;
void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const;
ListConferenceDevicesOutcome listConferenceDevices(const Model::ListConferenceDevicesRequest &request)const;
void listConferenceDevicesAsync(const Model::ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListConferenceDevicesOutcomeCallable listConferenceDevicesCallable(const Model::ListConferenceDevicesRequest& request) const;
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
@@ -401,12 +448,18 @@ namespace AlibabaCloud
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
ModifyDeviceBackgroundOutcome modifyDeviceBackground(const Model::ModifyDeviceBackgroundRequest &request)const;
void modifyDeviceBackgroundAsync(const Model::ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDeviceBackgroundOutcomeCallable modifyDeviceBackgroundCallable(const Model::ModifyDeviceBackgroundRequest& request) const;
ModifyMeetingPasswordOutcome modifyMeetingPassword(const Model::ModifyMeetingPasswordRequest &request)const;
void modifyMeetingPasswordAsync(const Model::ModifyMeetingPasswordRequest& request, const ModifyMeetingPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMeetingPasswordOutcomeCallable modifyMeetingPasswordCallable(const Model::ModifyMeetingPasswordRequest& request) const;
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const;
@@ -422,6 +475,9 @@ namespace AlibabaCloud
UpdateDeviceHeartBeatOutcome updateDeviceHeartBeat(const Model::UpdateDeviceHeartBeatRequest &request)const;
void updateDeviceHeartBeatAsync(const Model::UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const;
UpdateDeviceStartupPictureOutcome updateDeviceStartupPicture(const Model::UpdateDeviceStartupPictureRequest &request)const;
void updateDeviceStartupPictureAsync(const Model::UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeviceStartupPictureOutcomeCallable updateDeviceStartupPictureCallable(const Model::UpdateDeviceStartupPictureRequest& request) const;
UpdateGonggeLayoutOutcome updateGonggeLayout(const Model::UpdateGonggeLayoutRequest &request)const;
void updateGonggeLayoutAsync(const Model::UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGonggeLayoutOutcomeCallable updateGonggeLayoutCallable(const Model::UpdateGonggeLayoutRequest& request) const;

View File

@@ -39,14 +39,14 @@ namespace AlibabaCloud
~DeleteUserResult();
std::string getMessage()const;
int getErrorCode()const;
std::string getSuccess()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
std::string success_;
bool success_;
};
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetAccountInfoRequest : public RpcServiceRequest
{
public:
GetAccountInfoRequest();
~GetAccountInfoRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetAccountInfoResult : public ServiceResult
{
public:
struct AccountInfo
{
int accountApplicationNumber;
int accountApplicationMax;
int accountConcurrentMax;
};
GetAccountInfoResult();
explicit GetAccountInfoResult(const std::string &payload);
~GetAccountInfoResult();
std::string getMessage()const;
int getErrorCode()const;
AccountInfo getAccountInfo()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
AccountInfo accountInfo_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceInfoRequest : public RpcServiceRequest
{
public:
GetDeviceInfoRequest();
~GetDeviceInfoRequest();
std::string getCastScreenCode()const;
void setCastScreenCode(const std::string& castScreenCode);
private:
std::string castScreenCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceInfoResult : public ServiceResult
{
public:
struct Device
{
int status;
std::string castScreenCode;
std::string iP;
std::string sn;
std::string ssid;
std::string activationCode;
std::string mac;
};
GetDeviceInfoResult();
explicit GetDeviceInfoResult(const std::string &payload);
~GetDeviceInfoResult();
std::string getMessage()const;
Device getDevice()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Device device_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetStatisticRequest : public RpcServiceRequest
{
public:
GetStatisticRequest();
~GetStatisticRequest();
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
private:
long endTime_;
long startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetStatisticResult : public ServiceResult
{
public:
struct StatisticInfo
{
long meetingNumber;
long memberNumber;
long maxConcurrency;
long meetingDuration;
};
GetStatisticResult();
explicit GetStatisticResult(const std::string &payload);
~GetStatisticResult();
std::string getMessage()const;
StatisticInfo getStatisticInfo()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
StatisticInfo statisticInfo_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListConferenceDevicesRequest : public RpcServiceRequest
{
public:
ListConferenceDevicesRequest();
~ListConferenceDevicesRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string serialNumber_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* 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_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListConferenceDevicesResult : public ServiceResult
{
public:
struct Data
{
struct Data
{
std::string deviceModel;
std::string status;
std::string castScreenCode;
std::string createTime;
std::string manufacturer;
std::string pictureUrl;
std::string sN;
std::string conferenceName;
std::string activationCode;
std::string conferenceCode;
};
std::vector<Data> conferences;
int pageSize;
int pageNumber;
int total;
};
ListConferenceDevicesResult();
explicit ListConferenceDevicesResult(const std::string &payload);
~ListConferenceDevicesResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyDeviceBackgroundRequest : public RpcServiceRequest
{
public:
ModifyDeviceBackgroundRequest();
~ModifyDeviceBackgroundRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
std::string getPicture()const;
void setPicture(const std::string& picture);
private:
std::string serialNumber_;
std::string picture_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_H_

View 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_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyDeviceBackgroundResult : public ServiceResult
{
public:
ModifyDeviceBackgroundResult();
explicit ModifyDeviceBackgroundResult(const std::string &payload);
~ModifyDeviceBackgroundResult();
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT RefreshDeviceScreenCodeRequest : public RpcServiceRequest
{
public:
RefreshDeviceScreenCodeRequest();
~RefreshDeviceScreenCodeRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
private:
std::string serialNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT RefreshDeviceScreenCodeResult : public ServiceResult
{
public:
struct Data
{
std::string screenCode;
std::string serialNumber;
};
RefreshDeviceScreenCodeResult();
explicit RefreshDeviceScreenCodeResult(const std::string &payload);
~RefreshDeviceScreenCodeResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setIP(const std::string& iP);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getGroupName()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
std::string iP_;
std::string groupId_;
std::string ownerId_;
std::string deviceId_;
std::string groupName_;
std::string mac_;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceStartupPictureRequest : public RpcServiceRequest
{
public:
UpdateDeviceStartupPictureRequest();
~UpdateDeviceStartupPictureRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
std::string getPicture()const;
void setPicture(const std::string& picture);
private:
std::string serialNumber_;
std::string picture_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_H_

View 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_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceStartupPictureResult : public ServiceResult
{
public:
UpdateDeviceStartupPictureResult();
explicit UpdateDeviceStartupPictureResult(const std::string &payload);
~UpdateDeviceStartupPictureResult();
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_H_

View File

@@ -843,6 +843,42 @@ AliyuncvcClient::EndLiveOutcomeCallable AliyuncvcClient::endLiveCallable(const E
return task->get_future();
}
AliyuncvcClient::GetAccountInfoOutcome AliyuncvcClient::getAccountInfo(const GetAccountInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAccountInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAccountInfoOutcome(GetAccountInfoResult(outcome.result()));
else
return GetAccountInfoOutcome(outcome.error());
}
void AliyuncvcClient::getAccountInfoAsync(const GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAccountInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetAccountInfoOutcomeCallable AliyuncvcClient::getAccountInfoCallable(const GetAccountInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAccountInfoOutcome()>>(
[this, request]()
{
return this->getAccountInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetDeviceActiveCodeOutcome AliyuncvcClient::getDeviceActiveCode(const GetDeviceActiveCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +915,42 @@ AliyuncvcClient::GetDeviceActiveCodeOutcomeCallable AliyuncvcClient::getDeviceAc
return task->get_future();
}
AliyuncvcClient::GetDeviceInfoOutcome AliyuncvcClient::getDeviceInfo(const GetDeviceInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetDeviceInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetDeviceInfoOutcome(GetDeviceInfoResult(outcome.result()));
else
return GetDeviceInfoOutcome(outcome.error());
}
void AliyuncvcClient::getDeviceInfoAsync(const GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getDeviceInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetDeviceInfoOutcomeCallable AliyuncvcClient::getDeviceInfoCallable(const GetDeviceInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetDeviceInfoOutcome()>>(
[this, request]()
{
return this->getDeviceInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1059,6 +1131,42 @@ AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(c
return task->get_future();
}
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStatisticOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStatisticOutcome(GetStatisticResult(outcome.result()));
else
return GetStatisticOutcome(outcome.error());
}
void AliyuncvcClient::getStatisticAsync(const GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStatistic(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetStatisticOutcomeCallable AliyuncvcClient::getStatisticCallable(const GetStatisticRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStatisticOutcome()>>(
[this, request]()
{
return this->getStatistic(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1275,6 +1383,42 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe
return task->get_future();
}
AliyuncvcClient::ListConferenceDevicesOutcome AliyuncvcClient::listConferenceDevices(const ListConferenceDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListConferenceDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListConferenceDevicesOutcome(ListConferenceDevicesResult(outcome.result()));
else
return ListConferenceDevicesOutcome(outcome.error());
}
void AliyuncvcClient::listConferenceDevicesAsync(const ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listConferenceDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListConferenceDevicesOutcomeCallable AliyuncvcClient::listConferenceDevicesCallable(const ListConferenceDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListConferenceDevicesOutcome()>>(
[this, request]()
{
return this->listConferenceDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1491,6 +1635,42 @@ AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(con
return task->get_future();
}
AliyuncvcClient::ModifyDeviceBackgroundOutcome AliyuncvcClient::modifyDeviceBackground(const ModifyDeviceBackgroundRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyDeviceBackgroundOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyDeviceBackgroundOutcome(ModifyDeviceBackgroundResult(outcome.result()));
else
return ModifyDeviceBackgroundOutcome(outcome.error());
}
void AliyuncvcClient::modifyDeviceBackgroundAsync(const ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyDeviceBackground(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ModifyDeviceBackgroundOutcomeCallable AliyuncvcClient::modifyDeviceBackgroundCallable(const ModifyDeviceBackgroundRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyDeviceBackgroundOutcome()>>(
[this, request]()
{
return this->modifyDeviceBackground(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ModifyMeetingPasswordOutcome AliyuncvcClient::modifyMeetingPassword(const ModifyMeetingPasswordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1563,6 +1743,42 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
return task->get_future();
}
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RefreshDeviceScreenCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RefreshDeviceScreenCodeOutcome(RefreshDeviceScreenCodeResult(outcome.result()));
else
return RefreshDeviceScreenCodeOutcome(outcome.error());
}
void AliyuncvcClient::refreshDeviceScreenCodeAsync(const RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, refreshDeviceScreenCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::RefreshDeviceScreenCodeOutcomeCallable AliyuncvcClient::refreshDeviceScreenCodeCallable(const RefreshDeviceScreenCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RefreshDeviceScreenCodeOutcome()>>(
[this, request]()
{
return this->refreshDeviceScreenCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1743,6 +1959,42 @@ AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDev
return task->get_future();
}
AliyuncvcClient::UpdateDeviceStartupPictureOutcome AliyuncvcClient::updateDeviceStartupPicture(const UpdateDeviceStartupPictureRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateDeviceStartupPictureOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateDeviceStartupPictureOutcome(UpdateDeviceStartupPictureResult(outcome.result()));
else
return UpdateDeviceStartupPictureOutcome(outcome.error());
}
void AliyuncvcClient::updateDeviceStartupPictureAsync(const UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateDeviceStartupPicture(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::UpdateDeviceStartupPictureOutcomeCallable AliyuncvcClient::updateDeviceStartupPictureCallable(const UpdateDeviceStartupPictureRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateDeviceStartupPictureOutcome()>>(
[this, request]()
{
return this->updateDeviceStartupPicture(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::UpdateGonggeLayoutOutcome AliyuncvcClient::updateGonggeLayout(const UpdateGonggeLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -40,7 +40,7 @@ void DeleteUserResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString();
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
@@ -58,7 +58,7 @@ int DeleteUserResult::getErrorCode()const
return errorCode_;
}
std::string DeleteUserResult::getSuccess()const
bool DeleteUserResult::getSuccess()const
{
return success_;
}

View File

@@ -14,17 +14,16 @@
* limitations under the License.
*/
#include <alibabacloud/cs/model/DeleteTriggerHookRequest.h>
#include <alibabacloud/aliyuncvc/model/GetAccountInfoRequest.h>
using AlibabaCloud::CS::Model::DeleteTriggerHookRequest;
using AlibabaCloud::Aliyuncvc::Model::GetAccountInfoRequest;
DeleteTriggerHookRequest::DeleteTriggerHookRequest() :
RoaServiceRequest("cs", "2015-12-15")
GetAccountInfoRequest::GetAccountInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetAccountInfo")
{
setResourcePath("/api/v2/hook/trigger");
setMethod(HttpRequest::Method::Post);
}
DeleteTriggerHookRequest::~DeleteTriggerHookRequest()
GetAccountInfoRequest::~GetAccountInfoRequest()
{}

View File

@@ -0,0 +1,77 @@
/*
* 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/aliyuncvc/model/GetAccountInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetAccountInfoResult::GetAccountInfoResult() :
ServiceResult()
{}
GetAccountInfoResult::GetAccountInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAccountInfoResult::~GetAccountInfoResult()
{}
void GetAccountInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto accountInfoNode = value["AccountInfo"];
if(!accountInfoNode["AccountConcurrentMax"].isNull())
accountInfo_.accountConcurrentMax = std::stoi(accountInfoNode["AccountConcurrentMax"].asString());
if(!accountInfoNode["AccountApplicationMax"].isNull())
accountInfo_.accountApplicationMax = std::stoi(accountInfoNode["AccountApplicationMax"].asString());
if(!accountInfoNode["AccountApplicationNumber"].isNull())
accountInfo_.accountApplicationNumber = std::stoi(accountInfoNode["AccountApplicationNumber"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string GetAccountInfoResult::getMessage()const
{
return message_;
}
int GetAccountInfoResult::getErrorCode()const
{
return errorCode_;
}
GetAccountInfoResult::AccountInfo GetAccountInfoResult::getAccountInfo()const
{
return accountInfo_;
}
bool GetAccountInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* 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/aliyuncvc/model/GetDeviceInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::GetDeviceInfoRequest;
GetDeviceInfoRequest::GetDeviceInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceInfo")
{
setMethod(HttpRequest::Method::Post);
}
GetDeviceInfoRequest::~GetDeviceInfoRequest()
{}
std::string GetDeviceInfoRequest::getCastScreenCode()const
{
return castScreenCode_;
}
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
{
castScreenCode_ = castScreenCode;
setBodyParameter("CastScreenCode", castScreenCode);
}

View File

@@ -0,0 +1,85 @@
/*
* 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/aliyuncvc/model/GetDeviceInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetDeviceInfoResult::GetDeviceInfoResult() :
ServiceResult()
{}
GetDeviceInfoResult::GetDeviceInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDeviceInfoResult::~GetDeviceInfoResult()
{}
void GetDeviceInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto deviceNode = value["Device"];
if(!deviceNode["ActivationCode"].isNull())
device_.activationCode = deviceNode["ActivationCode"].asString();
if(!deviceNode["CastScreenCode"].isNull())
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
if(!deviceNode["Sn"].isNull())
device_.sn = deviceNode["Sn"].asString();
if(!deviceNode["Status"].isNull())
device_.status = std::stoi(deviceNode["Status"].asString());
if(!deviceNode["IP"].isNull())
device_.iP = deviceNode["IP"].asString();
if(!deviceNode["Mac"].isNull())
device_.mac = deviceNode["Mac"].asString();
if(!deviceNode["Ssid"].isNull())
device_.ssid = deviceNode["Ssid"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string GetDeviceInfoResult::getMessage()const
{
return message_;
}
GetDeviceInfoResult::Device GetDeviceInfoResult::getDevice()const
{
return device_;
}
int GetDeviceInfoResult::getErrorCode()const
{
return errorCode_;
}
bool GetDeviceInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/GetStatisticRequest.h>
using AlibabaCloud::Aliyuncvc::Model::GetStatisticRequest;
GetStatisticRequest::GetStatisticRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetStatistic")
{
setMethod(HttpRequest::Method::Post);
}
GetStatisticRequest::~GetStatisticRequest()
{}
long GetStatisticRequest::getEndTime()const
{
return endTime_;
}
void GetStatisticRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", std::to_string(endTime));
}
long GetStatisticRequest::getStartTime()const
{
return startTime_;
}
void GetStatisticRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", std::to_string(startTime));
}

View File

@@ -0,0 +1,79 @@
/*
* 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/aliyuncvc/model/GetStatisticResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetStatisticResult::GetStatisticResult() :
ServiceResult()
{}
GetStatisticResult::GetStatisticResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetStatisticResult::~GetStatisticResult()
{}
void GetStatisticResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto statisticInfoNode = value["StatisticInfo"];
if(!statisticInfoNode["MeetingDuration"].isNull())
statisticInfo_.meetingDuration = std::stol(statisticInfoNode["MeetingDuration"].asString());
if(!statisticInfoNode["MeetingNumber"].isNull())
statisticInfo_.meetingNumber = std::stol(statisticInfoNode["MeetingNumber"].asString());
if(!statisticInfoNode["MemberNumber"].isNull())
statisticInfo_.memberNumber = std::stol(statisticInfoNode["MemberNumber"].asString());
if(!statisticInfoNode["MaxConcurrency"].isNull())
statisticInfo_.maxConcurrency = std::stol(statisticInfoNode["MaxConcurrency"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string GetStatisticResult::getMessage()const
{
return message_;
}
GetStatisticResult::StatisticInfo GetStatisticResult::getStatisticInfo()const
{
return statisticInfo_;
}
int GetStatisticResult::getErrorCode()const
{
return errorCode_;
}
bool GetStatisticResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ListConferenceDevicesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ListConferenceDevicesRequest;
ListConferenceDevicesRequest::ListConferenceDevicesRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListConferenceDevices")
{
setMethod(HttpRequest::Method::Post);
}
ListConferenceDevicesRequest::~ListConferenceDevicesRequest()
{}
std::string ListConferenceDevicesRequest::getSerialNumber()const
{
return serialNumber_;
}
void ListConferenceDevicesRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setParameter("SerialNumber", serialNumber);
}
int ListConferenceDevicesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListConferenceDevicesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListConferenceDevicesRequest::getPageSize()const
{
return pageSize_;
}
void ListConferenceDevicesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,103 @@
/*
* 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/aliyuncvc/model/ListConferenceDevicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ListConferenceDevicesResult::ListConferenceDevicesResult() :
ServiceResult()
{}
ListConferenceDevicesResult::ListConferenceDevicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListConferenceDevicesResult::~ListConferenceDevicesResult()
{}
void ListConferenceDevicesResult::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["Total"].isNull())
data_.total = std::stoi(dataNode["Total"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allConferencesNode = dataNode["Conferences"]["data"];
for (auto dataNodeConferencesdata : allConferencesNode)
{
Data::Data dataObject;
if(!dataNodeConferencesdata["ActivationCode"].isNull())
dataObject.activationCode = dataNodeConferencesdata["ActivationCode"].asString();
if(!dataNodeConferencesdata["ConferenceCode"].isNull())
dataObject.conferenceCode = dataNodeConferencesdata["ConferenceCode"].asString();
if(!dataNodeConferencesdata["ConferenceName"].isNull())
dataObject.conferenceName = dataNodeConferencesdata["ConferenceName"].asString();
if(!dataNodeConferencesdata["CreateTime"].isNull())
dataObject.createTime = dataNodeConferencesdata["CreateTime"].asString();
if(!dataNodeConferencesdata["DeviceModel"].isNull())
dataObject.deviceModel = dataNodeConferencesdata["DeviceModel"].asString();
if(!dataNodeConferencesdata["Manufacturer"].isNull())
dataObject.manufacturer = dataNodeConferencesdata["Manufacturer"].asString();
if(!dataNodeConferencesdata["PictureUrl"].isNull())
dataObject.pictureUrl = dataNodeConferencesdata["PictureUrl"].asString();
if(!dataNodeConferencesdata["SN"].isNull())
dataObject.sN = dataNodeConferencesdata["SN"].asString();
if(!dataNodeConferencesdata["Status"].isNull())
dataObject.status = dataNodeConferencesdata["Status"].asString();
if(!dataNodeConferencesdata["CastScreenCode"].isNull())
dataObject.castScreenCode = dataNodeConferencesdata["CastScreenCode"].asString();
data_.conferences.push_back(dataObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string ListConferenceDevicesResult::getMessage()const
{
return message_;
}
ListConferenceDevicesResult::Data ListConferenceDevicesResult::getData()const
{
return data_;
}
int ListConferenceDevicesResult::getErrorCode()const
{
return errorCode_;
}
bool ListConferenceDevicesResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ModifyDeviceBackgroundRequest;
ModifyDeviceBackgroundRequest::ModifyDeviceBackgroundRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "ModifyDeviceBackground")
{
setMethod(HttpRequest::Method::Post);
}
ModifyDeviceBackgroundRequest::~ModifyDeviceBackgroundRequest()
{}
std::string ModifyDeviceBackgroundRequest::getSerialNumber()const
{
return serialNumber_;
}
void ModifyDeviceBackgroundRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setBodyParameter("SerialNumber", serialNumber);
}
std::string ModifyDeviceBackgroundRequest::getPicture()const
{
return picture_;
}
void ModifyDeviceBackgroundRequest::setPicture(const std::string& picture)
{
picture_ = picture;
setBodyParameter("Picture", picture);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult() :
ServiceResult()
{}
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyDeviceBackgroundResult::~ModifyDeviceBackgroundResult()
{}
void ModifyDeviceBackgroundResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string ModifyDeviceBackgroundResult::getMessage()const
{
return message_;
}
int ModifyDeviceBackgroundResult::getErrorCode()const
{
return errorCode_;
}
bool ModifyDeviceBackgroundResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* 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/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::RefreshDeviceScreenCodeRequest;
RefreshDeviceScreenCodeRequest::RefreshDeviceScreenCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "RefreshDeviceScreenCode")
{
setMethod(HttpRequest::Method::Post);
}
RefreshDeviceScreenCodeRequest::~RefreshDeviceScreenCodeRequest()
{}
std::string RefreshDeviceScreenCodeRequest::getSerialNumber()const
{
return serialNumber_;
}
void RefreshDeviceScreenCodeRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setBodyParameter("SerialNumber", serialNumber);
}

View File

@@ -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.
*/
#include <alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult() :
ServiceResult()
{}
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RefreshDeviceScreenCodeResult::~RefreshDeviceScreenCodeResult()
{}
void RefreshDeviceScreenCodeResult::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["SerialNumber"].isNull())
data_.serialNumber = dataNode["SerialNumber"].asString();
if(!dataNode["ScreenCode"].isNull())
data_.screenCode = dataNode["ScreenCode"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string RefreshDeviceScreenCodeResult::getMessage()const
{
return message_;
}
RefreshDeviceScreenCodeResult::Data RefreshDeviceScreenCodeResult::getData()const
{
return data_;
}
int RefreshDeviceScreenCodeResult::getErrorCode()const
{
return errorCode_;
}
bool RefreshDeviceScreenCodeResult::getSuccess()const
{
return success_;
}

View File

@@ -49,6 +49,17 @@ void RegisterUemDeviceRequest::setGroupId(const std::string& groupId)
setParameter("GroupId", groupId);
}
std::string RegisterUemDeviceRequest::getOwnerId()const
{
return ownerId_;
}
void RegisterUemDeviceRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
}
std::string RegisterUemDeviceRequest::getDeviceId()const
{
return deviceId_;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureRequest.h>
using AlibabaCloud::Aliyuncvc::Model::UpdateDeviceStartupPictureRequest;
UpdateDeviceStartupPictureRequest::UpdateDeviceStartupPictureRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "UpdateDeviceStartupPicture")
{
setMethod(HttpRequest::Method::Post);
}
UpdateDeviceStartupPictureRequest::~UpdateDeviceStartupPictureRequest()
{}
std::string UpdateDeviceStartupPictureRequest::getSerialNumber()const
{
return serialNumber_;
}
void UpdateDeviceStartupPictureRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setBodyParameter("SerialNumber", serialNumber);
}
std::string UpdateDeviceStartupPictureRequest::getPicture()const
{
return picture_;
}
void UpdateDeviceStartupPictureRequest::setPicture(const std::string& picture)
{
picture_ = picture;
setBodyParameter("Picture", picture);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult() :
ServiceResult()
{}
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateDeviceStartupPictureResult::~UpdateDeviceStartupPictureResult()
{}
void UpdateDeviceStartupPictureResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string UpdateDeviceStartupPictureResult::getMessage()const
{
return message_;
}
int UpdateDeviceStartupPictureResult::getErrorCode()const
{
return errorCode_;
}
bool UpdateDeviceStartupPictureResult::getSuccess()const
{
return success_;
}

View File

@@ -21,11 +21,15 @@ set(cams_public_header
include/alibabacloud/cams/CamsExport.h )
set(cams_public_header_model
include/alibabacloud/cams/model/CheckContactsRequest.h
include/alibabacloud/cams/model/CheckContactsResult.h
include/alibabacloud/cams/model/SendMessageRequest.h
include/alibabacloud/cams/model/SendMessageResult.h )
set(cams_src
src/CamsClient.cc
src/model/CheckContactsRequest.cc
src/model/CheckContactsResult.cc
src/model/SendMessageRequest.cc
src/model/SendMessageResult.cc )

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "CamsExport.h"
#include "model/CheckContactsRequest.h"
#include "model/CheckContactsResult.h"
#include "model/SendMessageRequest.h"
#include "model/SendMessageResult.h"
@@ -33,6 +35,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_CAMS_EXPORT CamsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CheckContactsResult> CheckContactsOutcome;
typedef std::future<CheckContactsOutcome> CheckContactsOutcomeCallable;
typedef std::function<void(const CamsClient*, const Model::CheckContactsRequest&, const CheckContactsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckContactsAsyncHandler;
typedef Outcome<Error, Model::SendMessageResult> SendMessageOutcome;
typedef std::future<SendMessageOutcome> SendMessageOutcomeCallable;
typedef std::function<void(const CamsClient*, const Model::SendMessageRequest&, const SendMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMessageAsyncHandler;
@@ -41,6 +46,9 @@ namespace AlibabaCloud
CamsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
CamsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~CamsClient();
CheckContactsOutcome checkContacts(const Model::CheckContactsRequest &request)const;
void checkContactsAsync(const Model::CheckContactsRequest& request, const CheckContactsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckContactsOutcomeCallable checkContactsCallable(const Model::CheckContactsRequest& request) const;
SendMessageOutcome sendMessage(const Model::SendMessageRequest &request)const;
void sendMessageAsync(const Model::SendMessageRequest& request, const SendMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendMessageOutcomeCallable sendMessageCallable(const Model::SendMessageRequest& request) const;

View File

@@ -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_CAMS_MODEL_CHECKCONTACTSREQUEST_H_
#define ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cams/CamsExport.h>
namespace AlibabaCloud
{
namespace Cams
{
namespace Model
{
class ALIBABACLOUD_CAMS_EXPORT CheckContactsRequest : public RpcServiceRequest
{
public:
CheckContactsRequest();
~CheckContactsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getChannelType()const;
void setChannelType(const std::string& channelType);
std::string getFrom()const;
void setFrom(const std::string& from);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getContacts()const;
void setContacts(const std::string& contacts);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string channelType_;
std::string from_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string contacts_;
};
}
}
}
#endif // !ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSRESULT_H_
#define ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cams/CamsExport.h>
namespace AlibabaCloud
{
namespace Cams
{
namespace Model
{
class ALIBABACLOUD_CAMS_EXPORT CheckContactsResult : public ServiceResult
{
public:
struct ContactStatus
{
std::string status;
std::string phoneNumber;
};
CheckContactsResult();
explicit CheckContactsResult(const std::string &payload);
~CheckContactsResult();
std::vector<ContactStatus> getContacts()const;
std::string getResultMessage()const;
std::string getResultCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ContactStatus> contacts_;
std::string resultMessage_;
std::string resultCode_;
};
}
}
}
#endif // !ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getMessageType()const;
void setMessageType(const std::string& messageType);
std::string getTemplateBodyParams()const;
void setTemplateBodyParams(const std::string& templateBodyParams);
std::string getLink()const;
@@ -45,14 +47,14 @@ namespace AlibabaCloud
void setCaption(const std::string& caption);
std::string getType()const;
void setType(const std::string& type);
std::string getBody()const;
void setBody(const std::string& body);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getChannelType()const;
void setChannelType(const std::string& channelType);
std::string getFrom()const;
void setFrom(const std::string& from);
std::string getText()const;
void setText(const std::string& text);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
@@ -61,24 +63,22 @@ namespace AlibabaCloud
void setTo(const std::string& to);
std::string getTemplateCode()const;
void setTemplateCode(const std::string& templateCode);
std::string getMediaType()const;
void setMediaType(const std::string& mediaType);
private:
long resourceOwnerId_;
std::string messageType_;
std::string templateBodyParams_;
std::string link_;
std::string caption_;
std::string type_;
std::string body_;
std::string accessKeyId_;
std::string channelType_;
std::string from_;
std::string text_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string to_;
std::string templateCode_;
std::string mediaType_;
};
}

View File

@@ -51,6 +51,42 @@ CamsClient::CamsClient(const std::string & accessKeyId, const std::string & acce
CamsClient::~CamsClient()
{}
CamsClient::CheckContactsOutcome CamsClient::checkContacts(const CheckContactsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CheckContactsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CheckContactsOutcome(CheckContactsResult(outcome.result()));
else
return CheckContactsOutcome(outcome.error());
}
void CamsClient::checkContactsAsync(const CheckContactsRequest& request, const CheckContactsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, checkContacts(request), context);
};
asyncExecute(new Runnable(fn));
}
CamsClient::CheckContactsOutcomeCallable CamsClient::checkContactsCallable(const CheckContactsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CheckContactsOutcome()>>(
[this, request]()
{
return this->checkContacts(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CamsClient::SendMessageOutcome CamsClient::sendMessage(const SendMessageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,106 @@
/*
* 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/cams/model/CheckContactsRequest.h>
using AlibabaCloud::Cams::Model::CheckContactsRequest;
CheckContactsRequest::CheckContactsRequest() :
RpcServiceRequest("cams", "2020-06-06", "CheckContacts")
{
setMethod(HttpRequest::Method::Post);
}
CheckContactsRequest::~CheckContactsRequest()
{}
long CheckContactsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CheckContactsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CheckContactsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CheckContactsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CheckContactsRequest::getChannelType()const
{
return channelType_;
}
void CheckContactsRequest::setChannelType(const std::string& channelType)
{
channelType_ = channelType;
setBodyParameter("ChannelType", channelType);
}
std::string CheckContactsRequest::getFrom()const
{
return from_;
}
void CheckContactsRequest::setFrom(const std::string& from)
{
from_ = from;
setBodyParameter("From", from);
}
std::string CheckContactsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CheckContactsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long CheckContactsRequest::getOwnerId()const
{
return ownerId_;
}
void CheckContactsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CheckContactsRequest::getContacts()const
{
return contacts_;
}
void CheckContactsRequest::setContacts(const std::string& contacts)
{
contacts_ = contacts;
setBodyParameter("Contacts", contacts);
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cams/model/CheckContactsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cams;
using namespace AlibabaCloud::Cams::Model;
CheckContactsResult::CheckContactsResult() :
ServiceResult()
{}
CheckContactsResult::CheckContactsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckContactsResult::~CheckContactsResult()
{}
void CheckContactsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContactsNode = value["Contacts"]["ContactStatus"];
for (auto valueContactsContactStatus : allContactsNode)
{
ContactStatus contactsObject;
if(!valueContactsContactStatus["PhoneNumber"].isNull())
contactsObject.phoneNumber = valueContactsContactStatus["PhoneNumber"].asString();
if(!valueContactsContactStatus["Status"].isNull())
contactsObject.status = valueContactsContactStatus["Status"].asString();
contacts_.push_back(contactsObject);
}
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
}
std::vector<CheckContactsResult::ContactStatus> CheckContactsResult::getContacts()const
{
return contacts_;
}
std::string CheckContactsResult::getResultMessage()const
{
return resultMessage_;
}
std::string CheckContactsResult::getResultCode()const
{
return resultCode_;
}

View File

@@ -38,6 +38,17 @@ void SendMessageRequest::setResourceOwnerId(long resourceOwnerId)
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string SendMessageRequest::getMessageType()const
{
return messageType_;
}
void SendMessageRequest::setMessageType(const std::string& messageType)
{
messageType_ = messageType;
setBodyParameter("MessageType", messageType);
}
std::string SendMessageRequest::getTemplateBodyParams()const
{
return templateBodyParams_;
@@ -82,17 +93,6 @@ void SendMessageRequest::setType(const std::string& type)
setBodyParameter("Type", type);
}
std::string SendMessageRequest::getBody()const
{
return body_;
}
void SendMessageRequest::setBody(const std::string& body)
{
body_ = body;
setBodyParameter("Body", body);
}
std::string SendMessageRequest::getAccessKeyId()const
{
return accessKeyId_;
@@ -126,6 +126,17 @@ void SendMessageRequest::setFrom(const std::string& from)
setBodyParameter("From", from);
}
std::string SendMessageRequest::getText()const
{
return text_;
}
void SendMessageRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}
std::string SendMessageRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
@@ -170,14 +181,3 @@ void SendMessageRequest::setTemplateCode(const std::string& templateCode)
setBodyParameter("TemplateCode", templateCode);
}
std::string SendMessageRequest::getMediaType()const
{
return mediaType_;
}
void SendMessageRequest::setMediaType(const std::string& mediaType)
{
mediaType_ = mediaType;
setBodyParameter("MediaType", mediaType);
}

View File

@@ -103,6 +103,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeCdnServiceResult.h
include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h
include/alibabacloud/cdn/model/DescribeCdnTypesResult.h
include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h
@@ -115,6 +117,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h
include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h
include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h
include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h
include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h
include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h
@@ -395,8 +399,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h
include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h
include/alibabacloud/cdn/model/SetSourceHostConfigResult.h
include/alibabacloud/cdn/model/SetUserGreenManagerConfigRequest.h
include/alibabacloud/cdn/model/SetUserGreenManagerConfigResult.h
include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h
include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h
include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h
@@ -500,6 +502,8 @@ set(cdn_src
src/model/DescribeCdnServiceResult.cc
src/model/DescribeCdnTypesRequest.cc
src/model/DescribeCdnTypesResult.cc
src/model/DescribeCdnUserBillHistoryRequest.cc
src/model/DescribeCdnUserBillHistoryResult.cc
src/model/DescribeCdnUserBillPredictionRequest.cc
src/model/DescribeCdnUserBillPredictionResult.cc
src/model/DescribeCdnUserBillTypeRequest.cc
@@ -512,6 +516,8 @@ set(cdn_src
src/model/DescribeCdnUserQuotaResult.cc
src/model/DescribeCdnUserResourcePackageRequest.cc
src/model/DescribeCdnUserResourcePackageResult.cc
src/model/DescribeCdnWafDomainRequest.cc
src/model/DescribeCdnWafDomainResult.cc
src/model/DescribeCertificateInfoByIDRequest.cc
src/model/DescribeCertificateInfoByIDResult.cc
src/model/DescribeConfigOfVersionRequest.cc
@@ -792,8 +798,6 @@ set(cdn_src
src/model/SetReqHeaderConfigResult.cc
src/model/SetSourceHostConfigRequest.cc
src/model/SetSourceHostConfigResult.cc
src/model/SetUserGreenManagerConfigRequest.cc
src/model/SetUserGreenManagerConfigResult.cc
src/model/SetVideoSeekConfigRequest.cc
src/model/SetVideoSeekConfigResult.cc
src/model/SetWaitingRoomConfigRequest.cc

View File

@@ -104,6 +104,8 @@
#include "model/DescribeCdnServiceResult.h"
#include "model/DescribeCdnTypesRequest.h"
#include "model/DescribeCdnTypesResult.h"
#include "model/DescribeCdnUserBillHistoryRequest.h"
#include "model/DescribeCdnUserBillHistoryResult.h"
#include "model/DescribeCdnUserBillPredictionRequest.h"
#include "model/DescribeCdnUserBillPredictionResult.h"
#include "model/DescribeCdnUserBillTypeRequest.h"
@@ -116,6 +118,8 @@
#include "model/DescribeCdnUserQuotaResult.h"
#include "model/DescribeCdnUserResourcePackageRequest.h"
#include "model/DescribeCdnUserResourcePackageResult.h"
#include "model/DescribeCdnWafDomainRequest.h"
#include "model/DescribeCdnWafDomainResult.h"
#include "model/DescribeCertificateInfoByIDRequest.h"
#include "model/DescribeCertificateInfoByIDResult.h"
#include "model/DescribeConfigOfVersionRequest.h"
@@ -396,8 +400,6 @@
#include "model/SetReqHeaderConfigResult.h"
#include "model/SetSourceHostConfigRequest.h"
#include "model/SetSourceHostConfigResult.h"
#include "model/SetUserGreenManagerConfigRequest.h"
#include "model/SetUserGreenManagerConfigResult.h"
#include "model/SetVideoSeekConfigRequest.h"
#include "model/SetVideoSeekConfigResult.h"
#include "model/SetWaitingRoomConfigRequest.h"
@@ -548,6 +550,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCdnTypesResult> DescribeCdnTypesOutcome;
typedef std::future<DescribeCdnTypesOutcome> DescribeCdnTypesOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnTypesRequest&, const DescribeCdnTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnTypesAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserBillHistoryResult> DescribeCdnUserBillHistoryOutcome;
typedef std::future<DescribeCdnUserBillHistoryOutcome> DescribeCdnUserBillHistoryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillHistoryRequest&, const DescribeCdnUserBillHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillHistoryAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserBillPredictionResult> DescribeCdnUserBillPredictionOutcome;
typedef std::future<DescribeCdnUserBillPredictionOutcome> DescribeCdnUserBillPredictionOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillPredictionRequest&, const DescribeCdnUserBillPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillPredictionAsyncHandler;
@@ -566,6 +571,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCdnUserResourcePackageResult> DescribeCdnUserResourcePackageOutcome;
typedef std::future<DescribeCdnUserResourcePackageOutcome> DescribeCdnUserResourcePackageOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserResourcePackageRequest&, const DescribeCdnUserResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserResourcePackageAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnWafDomainResult> DescribeCdnWafDomainOutcome;
typedef std::future<DescribeCdnWafDomainOutcome> DescribeCdnWafDomainOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnWafDomainRequest&, const DescribeCdnWafDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnWafDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeCertificateInfoByIDResult> DescribeCertificateInfoByIDOutcome;
typedef std::future<DescribeCertificateInfoByIDOutcome> DescribeCertificateInfoByIDOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCertificateInfoByIDRequest&, const DescribeCertificateInfoByIDOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCertificateInfoByIDAsyncHandler;
@@ -986,9 +994,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetSourceHostConfigResult> SetSourceHostConfigOutcome;
typedef std::future<SetSourceHostConfigOutcome> SetSourceHostConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetSourceHostConfigRequest&, const SetSourceHostConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetSourceHostConfigAsyncHandler;
typedef Outcome<Error, Model::SetUserGreenManagerConfigResult> SetUserGreenManagerConfigOutcome;
typedef std::future<SetUserGreenManagerConfigOutcome> SetUserGreenManagerConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetUserGreenManagerConfigRequest&, const SetUserGreenManagerConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserGreenManagerConfigAsyncHandler;
typedef Outcome<Error, Model::SetVideoSeekConfigResult> SetVideoSeekConfigOutcome;
typedef std::future<SetVideoSeekConfigOutcome> SetVideoSeekConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetVideoSeekConfigRequest&, const SetVideoSeekConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVideoSeekConfigAsyncHandler;
@@ -1144,6 +1149,9 @@ namespace AlibabaCloud
DescribeCdnTypesOutcome describeCdnTypes(const Model::DescribeCdnTypesRequest &request)const;
void describeCdnTypesAsync(const Model::DescribeCdnTypesRequest& request, const DescribeCdnTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnTypesOutcomeCallable describeCdnTypesCallable(const Model::DescribeCdnTypesRequest& request) const;
DescribeCdnUserBillHistoryOutcome describeCdnUserBillHistory(const Model::DescribeCdnUserBillHistoryRequest &request)const;
void describeCdnUserBillHistoryAsync(const Model::DescribeCdnUserBillHistoryRequest& request, const DescribeCdnUserBillHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserBillHistoryOutcomeCallable describeCdnUserBillHistoryCallable(const Model::DescribeCdnUserBillHistoryRequest& request) const;
DescribeCdnUserBillPredictionOutcome describeCdnUserBillPrediction(const Model::DescribeCdnUserBillPredictionRequest &request)const;
void describeCdnUserBillPredictionAsync(const Model::DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserBillPredictionOutcomeCallable describeCdnUserBillPredictionCallable(const Model::DescribeCdnUserBillPredictionRequest& request) const;
@@ -1162,6 +1170,9 @@ namespace AlibabaCloud
DescribeCdnUserResourcePackageOutcome describeCdnUserResourcePackage(const Model::DescribeCdnUserResourcePackageRequest &request)const;
void describeCdnUserResourcePackageAsync(const Model::DescribeCdnUserResourcePackageRequest& request, const DescribeCdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserResourcePackageOutcomeCallable describeCdnUserResourcePackageCallable(const Model::DescribeCdnUserResourcePackageRequest& request) const;
DescribeCdnWafDomainOutcome describeCdnWafDomain(const Model::DescribeCdnWafDomainRequest &request)const;
void describeCdnWafDomainAsync(const Model::DescribeCdnWafDomainRequest& request, const DescribeCdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnWafDomainOutcomeCallable describeCdnWafDomainCallable(const Model::DescribeCdnWafDomainRequest& request) const;
DescribeCertificateInfoByIDOutcome describeCertificateInfoByID(const Model::DescribeCertificateInfoByIDRequest &request)const;
void describeCertificateInfoByIDAsync(const Model::DescribeCertificateInfoByIDRequest& request, const DescribeCertificateInfoByIDAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCertificateInfoByIDOutcomeCallable describeCertificateInfoByIDCallable(const Model::DescribeCertificateInfoByIDRequest& request) const;
@@ -1582,9 +1593,6 @@ namespace AlibabaCloud
SetSourceHostConfigOutcome setSourceHostConfig(const Model::SetSourceHostConfigRequest &request)const;
void setSourceHostConfigAsync(const Model::SetSourceHostConfigRequest& request, const SetSourceHostConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetSourceHostConfigOutcomeCallable setSourceHostConfigCallable(const Model::SetSourceHostConfigRequest& request) const;
SetUserGreenManagerConfigOutcome setUserGreenManagerConfig(const Model::SetUserGreenManagerConfigRequest &request)const;
void setUserGreenManagerConfigAsync(const Model::SetUserGreenManagerConfigRequest& request, const SetUserGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetUserGreenManagerConfigOutcomeCallable setUserGreenManagerConfigCallable(const Model::SetUserGreenManagerConfigRequest& request) const;
SetVideoSeekConfigOutcome setVideoSeekConfig(const Model::SetVideoSeekConfigRequest &request)const;
void setVideoSeekConfigAsync(const Model::SetVideoSeekConfigRequest& request, const SetVideoSeekConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetVideoSeekConfigOutcomeCallable setVideoSeekConfigCallable(const Model::SetVideoSeekConfigRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillHistoryRequest : public RpcServiceRequest
{
public:
DescribeCdnUserBillHistoryRequest();
~DescribeCdnUserBillHistoryRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string startTime_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_

View File

@@ -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_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillHistoryResult : public ServiceResult
{
public:
struct BillHistoryDataItem
{
struct BillingDataItem
{
std::string chargeType;
float bandwidth;
std::string cdnRegion;
float count;
float flow;
};
std::string billType;
std::string billTime;
std::vector<BillHistoryDataItem::BillingDataItem> billingData;
std::string dimension;
};
DescribeCdnUserBillHistoryResult();
explicit DescribeCdnUserBillHistoryResult(const std::string &payload);
~DescribeCdnUserBillHistoryResult();
std::vector<BillHistoryDataItem> getBillHistoryData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BillHistoryDataItem> billHistoryData_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnWafDomainRequest : public RpcServiceRequest
{
public:
DescribeCdnWafDomainRequest();
~DescribeCdnWafDomainRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string regionId_;
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnWafDomainResult : public ServiceResult
{
public:
struct OutPutDomain
{
std::string status;
std::string aclStatus;
std::string ccStatus;
std::string domain;
std::string wafStatus;
};
DescribeCdnWafDomainResult();
explicit DescribeCdnWafDomainResult(const std::string &payload);
~DescribeCdnWafDomainResult();
int getTotalCount()const;
std::vector<OutPutDomain> getOutPutDomains()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<OutPutDomain> outPutDomains_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_

View File

@@ -41,8 +41,6 @@ namespace AlibabaCloud
TagResourcesRequest();
~TagResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
@@ -53,7 +51,6 @@ namespace AlibabaCloud
void setResourceType(const std::string& resourceType);
private:
std::string regionId_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
long ownerId_;

View File

@@ -35,8 +35,8 @@ namespace AlibabaCloud
UntagResourcesRequest();
~UntagResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
long getOwnerId()const;
@@ -47,7 +47,7 @@ namespace AlibabaCloud
void setTagKey(const std::vector<std::string>& tagKey);
private:
std::string regionId_;
bool all_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;

View File

@@ -1527,6 +1527,42 @@ CdnClient::DescribeCdnTypesOutcomeCallable CdnClient::describeCdnTypesCallable(c
return task->get_future();
}
CdnClient::DescribeCdnUserBillHistoryOutcome CdnClient::describeCdnUserBillHistory(const DescribeCdnUserBillHistoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCdnUserBillHistoryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCdnUserBillHistoryOutcome(DescribeCdnUserBillHistoryResult(outcome.result()));
else
return DescribeCdnUserBillHistoryOutcome(outcome.error());
}
void CdnClient::describeCdnUserBillHistoryAsync(const DescribeCdnUserBillHistoryRequest& request, const DescribeCdnUserBillHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCdnUserBillHistory(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeCdnUserBillHistoryOutcomeCallable CdnClient::describeCdnUserBillHistoryCallable(const DescribeCdnUserBillHistoryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCdnUserBillHistoryOutcome()>>(
[this, request]()
{
return this->describeCdnUserBillHistory(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeCdnUserBillPredictionOutcome CdnClient::describeCdnUserBillPrediction(const DescribeCdnUserBillPredictionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1743,6 +1779,42 @@ CdnClient::DescribeCdnUserResourcePackageOutcomeCallable CdnClient::describeCdnU
return task->get_future();
}
CdnClient::DescribeCdnWafDomainOutcome CdnClient::describeCdnWafDomain(const DescribeCdnWafDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCdnWafDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCdnWafDomainOutcome(DescribeCdnWafDomainResult(outcome.result()));
else
return DescribeCdnWafDomainOutcome(outcome.error());
}
void CdnClient::describeCdnWafDomainAsync(const DescribeCdnWafDomainRequest& request, const DescribeCdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCdnWafDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeCdnWafDomainOutcomeCallable CdnClient::describeCdnWafDomainCallable(const DescribeCdnWafDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCdnWafDomainOutcome()>>(
[this, request]()
{
return this->describeCdnWafDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeCertificateInfoByIDOutcome CdnClient::describeCertificateInfoByID(const DescribeCertificateInfoByIDRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6783,42 +6855,6 @@ CdnClient::SetSourceHostConfigOutcomeCallable CdnClient::setSourceHostConfigCall
return task->get_future();
}
CdnClient::SetUserGreenManagerConfigOutcome CdnClient::setUserGreenManagerConfig(const SetUserGreenManagerConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetUserGreenManagerConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetUserGreenManagerConfigOutcome(SetUserGreenManagerConfigResult(outcome.result()));
else
return SetUserGreenManagerConfigOutcome(outcome.error());
}
void CdnClient::setUserGreenManagerConfigAsync(const SetUserGreenManagerConfigRequest& request, const SetUserGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setUserGreenManagerConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetUserGreenManagerConfigOutcomeCallable CdnClient::setUserGreenManagerConfigCallable(const SetUserGreenManagerConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetUserGreenManagerConfigOutcome()>>(
[this, request]()
{
return this->setUserGreenManagerConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::SetVideoSeekConfigOutcome CdnClient::setVideoSeekConfig(const SetVideoSeekConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Cdn::Model::BatchDeleteCdnDomainConfigRequest;
BatchDeleteCdnDomainConfigRequest::BatchDeleteCdnDomainConfigRequest() :
RpcServiceRequest("cdn", "2018-05-10", "BatchDeleteCdnDomainConfig")
RpcServiceRequest("cdn", "2014-11-11", "BatchDeleteCdnDomainConfig")
{
setMethod(HttpRequest::Method::Post);
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h>
using AlibabaCloud::Cdn::Model::DescribeCdnUserBillHistoryRequest;
DescribeCdnUserBillHistoryRequest::DescribeCdnUserBillHistoryRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserBillHistory")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCdnUserBillHistoryRequest::~DescribeCdnUserBillHistoryRequest()
{}
std::string DescribeCdnUserBillHistoryRequest::getStartTime()const
{
return startTime_;
}
void DescribeCdnUserBillHistoryRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeCdnUserBillHistoryRequest::getEndTime()const
{
return endTime_;
}
void DescribeCdnUserBillHistoryRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeCdnUserBillHistoryRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeCdnUserBillHistoryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
DescribeCdnUserBillHistoryResult::DescribeCdnUserBillHistoryResult() :
ServiceResult()
{}
DescribeCdnUserBillHistoryResult::DescribeCdnUserBillHistoryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCdnUserBillHistoryResult::~DescribeCdnUserBillHistoryResult()
{}
void DescribeCdnUserBillHistoryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBillHistoryDataNode = value["BillHistoryData"]["BillHistoryDataItem"];
for (auto valueBillHistoryDataBillHistoryDataItem : allBillHistoryDataNode)
{
BillHistoryDataItem billHistoryDataObject;
if(!valueBillHistoryDataBillHistoryDataItem["Dimension"].isNull())
billHistoryDataObject.dimension = valueBillHistoryDataBillHistoryDataItem["Dimension"].asString();
if(!valueBillHistoryDataBillHistoryDataItem["BillType"].isNull())
billHistoryDataObject.billType = valueBillHistoryDataBillHistoryDataItem["BillType"].asString();
if(!valueBillHistoryDataBillHistoryDataItem["BillTime"].isNull())
billHistoryDataObject.billTime = valueBillHistoryDataBillHistoryDataItem["BillTime"].asString();
auto allBillingDataNode = allBillHistoryDataNode["BillingData"]["BillingDataItem"];
for (auto allBillHistoryDataNodeBillingDataBillingDataItem : allBillingDataNode)
{
BillHistoryDataItem::BillingDataItem billingDataObject;
if(!allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].isNull())
billingDataObject.chargeType = allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].asString();
if(!allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].isNull())
billingDataObject.cdnRegion = allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].asString();
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].isNull())
billingDataObject.bandwidth = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].asString());
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].isNull())
billingDataObject.flow = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].asString());
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Count"].isNull())
billingDataObject.count = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Count"].asString());
billHistoryDataObject.billingData.push_back(billingDataObject);
}
billHistoryData_.push_back(billHistoryDataObject);
}
}
std::vector<DescribeCdnUserBillHistoryResult::BillHistoryDataItem> DescribeCdnUserBillHistoryResult::getBillHistoryData()const
{
return billHistoryData_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h>
using AlibabaCloud::Cdn::Model::DescribeCdnWafDomainRequest;
DescribeCdnWafDomainRequest::DescribeCdnWafDomainRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnWafDomain")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCdnWafDomainRequest::~DescribeCdnWafDomainRequest()
{}
std::string DescribeCdnWafDomainRequest::getRegionId()const
{
return regionId_;
}
void DescribeCdnWafDomainRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeCdnWafDomainRequest::getDomainName()const
{
return domainName_;
}
void DescribeCdnWafDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DescribeCdnWafDomainRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeCdnWafDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/DescribeCdnWafDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
DescribeCdnWafDomainResult::DescribeCdnWafDomainResult() :
ServiceResult()
{}
DescribeCdnWafDomainResult::DescribeCdnWafDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCdnWafDomainResult::~DescribeCdnWafDomainResult()
{}
void DescribeCdnWafDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allOutPutDomainsNode = value["OutPutDomains"]["OutPutDomain"];
for (auto valueOutPutDomainsOutPutDomain : allOutPutDomainsNode)
{
OutPutDomain outPutDomainsObject;
if(!valueOutPutDomainsOutPutDomain["Status"].isNull())
outPutDomainsObject.status = valueOutPutDomainsOutPutDomain["Status"].asString();
if(!valueOutPutDomainsOutPutDomain["Domain"].isNull())
outPutDomainsObject.domain = valueOutPutDomainsOutPutDomain["Domain"].asString();
if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull())
outPutDomainsObject.wafStatus = valueOutPutDomainsOutPutDomain["WafStatus"].asString();
if(!valueOutPutDomainsOutPutDomain["CcStatus"].isNull())
outPutDomainsObject.ccStatus = valueOutPutDomainsOutPutDomain["CcStatus"].asString();
if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull())
outPutDomainsObject.aclStatus = valueOutPutDomainsOutPutDomain["AclStatus"].asString();
outPutDomains_.push_back(outPutDomainsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int DescribeCdnWafDomainResult::getTotalCount()const
{
return totalCount_;
}
std::vector<DescribeCdnWafDomainResult::OutPutDomain> DescribeCdnWafDomainResult::getOutPutDomains()const
{
return outPutDomains_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetUserGreenManagerConfigRequest.h>
using AlibabaCloud::Cdn::Model::SetUserGreenManagerConfigRequest;
SetUserGreenManagerConfigRequest::SetUserGreenManagerConfigRequest() :
RpcServiceRequest("cdn", "2018-05-10", "SetUserGreenManagerConfig")
{
setMethod(HttpRequest::Method::Post);
}
SetUserGreenManagerConfigRequest::~SetUserGreenManagerConfigRequest()
{}
long SetUserGreenManagerConfigRequest::getOwnerId()const
{
return ownerId_;
}
void SetUserGreenManagerConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string SetUserGreenManagerConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void SetUserGreenManagerConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string SetUserGreenManagerConfigRequest::getQuota()const
{
return quota_;
}
void SetUserGreenManagerConfigRequest::setQuota(const std::string& quota)
{
quota_ = quota;
setParameter("Quota", quota);
}
std::string SetUserGreenManagerConfigRequest::getRatio()const
{
return ratio_;
}
void SetUserGreenManagerConfigRequest::setRatio(const std::string& ratio)
{
ratio_ = ratio;
setParameter("Ratio", ratio);
}

View File

@@ -27,17 +27,6 @@ TagResourcesRequest::TagResourcesRequest() :
TagResourcesRequest::~TagResourcesRequest()
{}
std::string TagResourcesRequest::getRegionId()const
{
return regionId_;
}
void TagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
{
return tag_;

View File

@@ -27,15 +27,15 @@ UntagResourcesRequest::UntagResourcesRequest() :
UntagResourcesRequest::~UntagResourcesRequest()
{}
std::string UntagResourcesRequest::getRegionId()const
bool UntagResourcesRequest::getAll()const
{
return regionId_;
return all_;
}
void UntagResourcesRequest::setRegionId(const std::string& regionId)
void UntagResourcesRequest::setAll(bool all)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
all_ = all;
setParameter("All", all ? "true" : "false");
}
std::vector<std::string> UntagResourcesRequest::getResourceId()const

View File

@@ -37,16 +37,8 @@ namespace AlibabaCloud
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getFaceContrastPicture()const;
void setFaceContrastPicture(const std::string& faceContrastPicture);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getDeviceToken()const;
void setDeviceToken(const std::string& deviceToken);
std::string getUserId()const;
@@ -61,6 +53,16 @@ namespace AlibabaCloud
void setCertType(const std::string& certType);
std::string getFaceContrastPictureUrl()const;
void setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl);
std::string getModel()const;
void setModel(const std::string& model);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getMobile()const;
void setMobile(const std::string& mobile);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getOssBucketName()const;
@@ -68,11 +70,7 @@ namespace AlibabaCloud
private:
std::string productCode_;
std::string ossObjectName_;
std::string faceContrastPicture_;
std::string certName_;
std::string ip_;
std::string mobile_;
std::string deviceToken_;
std::string userId_;
std::string certifyId_;
@@ -80,6 +78,11 @@ namespace AlibabaCloud
std::string outerOrderNo_;
std::string certType_;
std::string faceContrastPictureUrl_;
std::string model_;
std::string ossObjectName_;
std::string certName_;
std::string ip_;
std::string mobile_;
long sceneId_;
std::string ossBucketName_;

View File

@@ -38,17 +38,6 @@ void ContrastFaceVerifyRequest::setProductCode(const std::string& productCode)
setBodyParameter("ProductCode", productCode);
}
std::string ContrastFaceVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void ContrastFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setBodyParameter("OssObjectName", ossObjectName);
}
std::string ContrastFaceVerifyRequest::getFaceContrastPicture()const
{
return faceContrastPicture_;
@@ -60,39 +49,6 @@ void ContrastFaceVerifyRequest::setFaceContrastPicture(const std::string& faceCo
setBodyParameter("FaceContrastPicture", faceContrastPicture);
}
std::string ContrastFaceVerifyRequest::getCertName()const
{
return certName_;
}
void ContrastFaceVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setBodyParameter("CertName", certName);
}
std::string ContrastFaceVerifyRequest::getIp()const
{
return ip_;
}
void ContrastFaceVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setBodyParameter("Ip", ip);
}
std::string ContrastFaceVerifyRequest::getMobile()const
{
return mobile_;
}
void ContrastFaceVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setBodyParameter("Mobile", mobile);
}
std::string ContrastFaceVerifyRequest::getDeviceToken()const
{
return deviceToken_;
@@ -170,6 +126,61 @@ void ContrastFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& fac
setBodyParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
}
std::string ContrastFaceVerifyRequest::getModel()const
{
return model_;
}
void ContrastFaceVerifyRequest::setModel(const std::string& model)
{
model_ = model;
setParameter("Model", model);
}
std::string ContrastFaceVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void ContrastFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setBodyParameter("OssObjectName", ossObjectName);
}
std::string ContrastFaceVerifyRequest::getCertName()const
{
return certName_;
}
void ContrastFaceVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setBodyParameter("CertName", certName);
}
std::string ContrastFaceVerifyRequest::getIp()const
{
return ip_;
}
void ContrastFaceVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setBodyParameter("Ip", ip);
}
std::string ContrastFaceVerifyRequest::getMobile()const
{
return mobile_;
}
void ContrastFaceVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setBodyParameter("Mobile", mobile);
}
long ContrastFaceVerifyRequest::getSceneId()const
{
return sceneId_;

View File

@@ -31,26 +31,26 @@ set(cs_public_header_model
include/alibabacloud/cs/model/CancelWorkflowResult.h
include/alibabacloud/cs/model/CreateClusterRequest.h
include/alibabacloud/cs/model/CreateClusterResult.h
include/alibabacloud/cs/model/CreateKubernetesTriggerRequest.h
include/alibabacloud/cs/model/CreateKubernetesTriggerResult.h
include/alibabacloud/cs/model/CreateTemplateRequest.h
include/alibabacloud/cs/model/CreateTemplateResult.h
include/alibabacloud/cs/model/CreateTriggerHookRequest.h
include/alibabacloud/cs/model/CreateTriggerHookResult.h
include/alibabacloud/cs/model/DeleteClusterRequest.h
include/alibabacloud/cs/model/DeleteClusterResult.h
include/alibabacloud/cs/model/DeleteClusterNodesRequest.h
include/alibabacloud/cs/model/DeleteClusterNodesResult.h
include/alibabacloud/cs/model/DeleteKubernetesTriggerRequest.h
include/alibabacloud/cs/model/DeleteKubernetesTriggerResult.h
include/alibabacloud/cs/model/DeleteTemplateRequest.h
include/alibabacloud/cs/model/DeleteTemplateResult.h
include/alibabacloud/cs/model/DeleteTriggerHookRequest.h
include/alibabacloud/cs/model/DeleteTriggerHookResult.h
include/alibabacloud/cs/model/DescirbeWorkflowRequest.h
include/alibabacloud/cs/model/DescirbeWorkflowResult.h
include/alibabacloud/cs/model/DescribeAddonsRequest.h
include/alibabacloud/cs/model/DescribeAddonsResult.h
include/alibabacloud/cs/model/DescribeApiVersionRequest.h
include/alibabacloud/cs/model/DescribeApiVersionResult.h
include/alibabacloud/cs/model/DescribeClusterAddonUpgradeStatusRequest.h
include/alibabacloud/cs/model/DescribeClusterAddonUpgradeStatusResult.h
include/alibabacloud/cs/model/DescribeClusterAddonsUpgradeStatusRequest.h
include/alibabacloud/cs/model/DescribeClusterAddonsUpgradeStatusResult.h
include/alibabacloud/cs/model/DescribeClusterAddonsVersionRequest.h
include/alibabacloud/cs/model/DescribeClusterAddonsVersionResult.h
include/alibabacloud/cs/model/DescribeClusterAttachScriptsRequest.h
@@ -69,6 +69,8 @@ set(cs_public_header_model
include/alibabacloud/cs/model/DescribeClusterV2UserKubeconfigResult.h
include/alibabacloud/cs/model/DescribeClustersRequest.h
include/alibabacloud/cs/model/DescribeClustersResult.h
include/alibabacloud/cs/model/DescribeClustersV1Request.h
include/alibabacloud/cs/model/DescribeClustersV1Result.h
include/alibabacloud/cs/model/DescribeExternalAgentRequest.h
include/alibabacloud/cs/model/DescribeExternalAgentResult.h
include/alibabacloud/cs/model/DescribeTemplatesRequest.h
@@ -77,6 +79,8 @@ set(cs_public_header_model
include/alibabacloud/cs/model/DescribeUserQuotaResult.h
include/alibabacloud/cs/model/DescribeWorkflowsRequest.h
include/alibabacloud/cs/model/DescribeWorkflowsResult.h
include/alibabacloud/cs/model/GetKubernetesTriggerRequest.h
include/alibabacloud/cs/model/GetKubernetesTriggerResult.h
include/alibabacloud/cs/model/GetUpgradeStatusRequest.h
include/alibabacloud/cs/model/GetUpgradeStatusResult.h
include/alibabacloud/cs/model/InstallClusterAddonsRequest.h
@@ -85,6 +89,8 @@ set(cs_public_header_model
include/alibabacloud/cs/model/ListTagResourcesResult.h
include/alibabacloud/cs/model/ModifyClusterRequest.h
include/alibabacloud/cs/model/ModifyClusterResult.h
include/alibabacloud/cs/model/ModifyClusterConfigurationRequest.h
include/alibabacloud/cs/model/ModifyClusterConfigurationResult.h
include/alibabacloud/cs/model/ModifyClusterTagsRequest.h
include/alibabacloud/cs/model/ModifyClusterTagsResult.h
include/alibabacloud/cs/model/PauseClusterUpgradeRequest.h
@@ -109,6 +115,8 @@ set(cs_public_header_model
include/alibabacloud/cs/model/UnInstallClusterAddonsResult.h
include/alibabacloud/cs/model/UpdateK8sClusterUserConfigExpireRequest.h
include/alibabacloud/cs/model/UpdateK8sClusterUserConfigExpireResult.h
include/alibabacloud/cs/model/UpdateTemplateRequest.h
include/alibabacloud/cs/model/UpdateTemplateResult.h
include/alibabacloud/cs/model/UpgradeClusterRequest.h
include/alibabacloud/cs/model/UpgradeClusterResult.h
include/alibabacloud/cs/model/UpgradeClusterAddonsRequest.h
@@ -126,26 +134,26 @@ set(cs_src
src/model/CancelWorkflowResult.cc
src/model/CreateClusterRequest.cc
src/model/CreateClusterResult.cc
src/model/CreateKubernetesTriggerRequest.cc
src/model/CreateKubernetesTriggerResult.cc
src/model/CreateTemplateRequest.cc
src/model/CreateTemplateResult.cc
src/model/CreateTriggerHookRequest.cc
src/model/CreateTriggerHookResult.cc
src/model/DeleteClusterRequest.cc
src/model/DeleteClusterResult.cc
src/model/DeleteClusterNodesRequest.cc
src/model/DeleteClusterNodesResult.cc
src/model/DeleteKubernetesTriggerRequest.cc
src/model/DeleteKubernetesTriggerResult.cc
src/model/DeleteTemplateRequest.cc
src/model/DeleteTemplateResult.cc
src/model/DeleteTriggerHookRequest.cc
src/model/DeleteTriggerHookResult.cc
src/model/DescirbeWorkflowRequest.cc
src/model/DescirbeWorkflowResult.cc
src/model/DescribeAddonsRequest.cc
src/model/DescribeAddonsResult.cc
src/model/DescribeApiVersionRequest.cc
src/model/DescribeApiVersionResult.cc
src/model/DescribeClusterAddonUpgradeStatusRequest.cc
src/model/DescribeClusterAddonUpgradeStatusResult.cc
src/model/DescribeClusterAddonsUpgradeStatusRequest.cc
src/model/DescribeClusterAddonsUpgradeStatusResult.cc
src/model/DescribeClusterAddonsVersionRequest.cc
src/model/DescribeClusterAddonsVersionResult.cc
src/model/DescribeClusterAttachScriptsRequest.cc
@@ -164,6 +172,8 @@ set(cs_src
src/model/DescribeClusterV2UserKubeconfigResult.cc
src/model/DescribeClustersRequest.cc
src/model/DescribeClustersResult.cc
src/model/DescribeClustersV1Request.cc
src/model/DescribeClustersV1Result.cc
src/model/DescribeExternalAgentRequest.cc
src/model/DescribeExternalAgentResult.cc
src/model/DescribeTemplatesRequest.cc
@@ -172,6 +182,8 @@ set(cs_src
src/model/DescribeUserQuotaResult.cc
src/model/DescribeWorkflowsRequest.cc
src/model/DescribeWorkflowsResult.cc
src/model/GetKubernetesTriggerRequest.cc
src/model/GetKubernetesTriggerResult.cc
src/model/GetUpgradeStatusRequest.cc
src/model/GetUpgradeStatusResult.cc
src/model/InstallClusterAddonsRequest.cc
@@ -180,6 +192,8 @@ set(cs_src
src/model/ListTagResourcesResult.cc
src/model/ModifyClusterRequest.cc
src/model/ModifyClusterResult.cc
src/model/ModifyClusterConfigurationRequest.cc
src/model/ModifyClusterConfigurationResult.cc
src/model/ModifyClusterTagsRequest.cc
src/model/ModifyClusterTagsResult.cc
src/model/PauseClusterUpgradeRequest.cc
@@ -204,6 +218,8 @@ set(cs_src
src/model/UnInstallClusterAddonsResult.cc
src/model/UpdateK8sClusterUserConfigExpireRequest.cc
src/model/UpdateK8sClusterUserConfigExpireResult.cc
src/model/UpdateTemplateRequest.cc
src/model/UpdateTemplateResult.cc
src/model/UpgradeClusterRequest.cc
src/model/UpgradeClusterResult.cc
src/model/UpgradeClusterAddonsRequest.cc

View File

@@ -32,26 +32,26 @@
#include "model/CancelWorkflowResult.h"
#include "model/CreateClusterRequest.h"
#include "model/CreateClusterResult.h"
#include "model/CreateKubernetesTriggerRequest.h"
#include "model/CreateKubernetesTriggerResult.h"
#include "model/CreateTemplateRequest.h"
#include "model/CreateTemplateResult.h"
#include "model/CreateTriggerHookRequest.h"
#include "model/CreateTriggerHookResult.h"
#include "model/DeleteClusterRequest.h"
#include "model/DeleteClusterResult.h"
#include "model/DeleteClusterNodesRequest.h"
#include "model/DeleteClusterNodesResult.h"
#include "model/DeleteKubernetesTriggerRequest.h"
#include "model/DeleteKubernetesTriggerResult.h"
#include "model/DeleteTemplateRequest.h"
#include "model/DeleteTemplateResult.h"
#include "model/DeleteTriggerHookRequest.h"
#include "model/DeleteTriggerHookResult.h"
#include "model/DescirbeWorkflowRequest.h"
#include "model/DescirbeWorkflowResult.h"
#include "model/DescribeAddonsRequest.h"
#include "model/DescribeAddonsResult.h"
#include "model/DescribeApiVersionRequest.h"
#include "model/DescribeApiVersionResult.h"
#include "model/DescribeClusterAddonUpgradeStatusRequest.h"
#include "model/DescribeClusterAddonUpgradeStatusResult.h"
#include "model/DescribeClusterAddonsUpgradeStatusRequest.h"
#include "model/DescribeClusterAddonsUpgradeStatusResult.h"
#include "model/DescribeClusterAddonsVersionRequest.h"
#include "model/DescribeClusterAddonsVersionResult.h"
#include "model/DescribeClusterAttachScriptsRequest.h"
@@ -70,6 +70,8 @@
#include "model/DescribeClusterV2UserKubeconfigResult.h"
#include "model/DescribeClustersRequest.h"
#include "model/DescribeClustersResult.h"
#include "model/DescribeClustersV1Request.h"
#include "model/DescribeClustersV1Result.h"
#include "model/DescribeExternalAgentRequest.h"
#include "model/DescribeExternalAgentResult.h"
#include "model/DescribeTemplatesRequest.h"
@@ -78,6 +80,8 @@
#include "model/DescribeUserQuotaResult.h"
#include "model/DescribeWorkflowsRequest.h"
#include "model/DescribeWorkflowsResult.h"
#include "model/GetKubernetesTriggerRequest.h"
#include "model/GetKubernetesTriggerResult.h"
#include "model/GetUpgradeStatusRequest.h"
#include "model/GetUpgradeStatusResult.h"
#include "model/InstallClusterAddonsRequest.h"
@@ -86,6 +90,8 @@
#include "model/ListTagResourcesResult.h"
#include "model/ModifyClusterRequest.h"
#include "model/ModifyClusterResult.h"
#include "model/ModifyClusterConfigurationRequest.h"
#include "model/ModifyClusterConfigurationResult.h"
#include "model/ModifyClusterTagsRequest.h"
#include "model/ModifyClusterTagsResult.h"
#include "model/PauseClusterUpgradeRequest.h"
@@ -110,6 +116,8 @@
#include "model/UnInstallClusterAddonsResult.h"
#include "model/UpdateK8sClusterUserConfigExpireRequest.h"
#include "model/UpdateK8sClusterUserConfigExpireResult.h"
#include "model/UpdateTemplateRequest.h"
#include "model/UpdateTemplateResult.h"
#include "model/UpgradeClusterRequest.h"
#include "model/UpgradeClusterResult.h"
#include "model/UpgradeClusterAddonsRequest.h"
@@ -138,36 +146,36 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateClusterResult> CreateClusterOutcome;
typedef std::future<CreateClusterOutcome> CreateClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateClusterRequest&, const CreateClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterAsyncHandler;
typedef Outcome<Error, Model::CreateKubernetesTriggerResult> CreateKubernetesTriggerOutcome;
typedef std::future<CreateKubernetesTriggerOutcome> CreateKubernetesTriggerOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateKubernetesTriggerRequest&, const CreateKubernetesTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateKubernetesTriggerAsyncHandler;
typedef Outcome<Error, Model::CreateTemplateResult> CreateTemplateOutcome;
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateTemplateRequest&, const CreateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTemplateAsyncHandler;
typedef Outcome<Error, Model::CreateTriggerHookResult> CreateTriggerHookOutcome;
typedef std::future<CreateTriggerHookOutcome> CreateTriggerHookOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateTriggerHookRequest&, const CreateTriggerHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTriggerHookAsyncHandler;
typedef Outcome<Error, Model::DeleteClusterResult> DeleteClusterOutcome;
typedef std::future<DeleteClusterOutcome> DeleteClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteClusterRequest&, const DeleteClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterAsyncHandler;
typedef Outcome<Error, Model::DeleteClusterNodesResult> DeleteClusterNodesOutcome;
typedef std::future<DeleteClusterNodesOutcome> DeleteClusterNodesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteClusterNodesRequest&, const DeleteClusterNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterNodesAsyncHandler;
typedef Outcome<Error, Model::DeleteKubernetesTriggerResult> DeleteKubernetesTriggerOutcome;
typedef std::future<DeleteKubernetesTriggerOutcome> DeleteKubernetesTriggerOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteKubernetesTriggerRequest&, const DeleteKubernetesTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteKubernetesTriggerAsyncHandler;
typedef Outcome<Error, Model::DeleteTemplateResult> DeleteTemplateOutcome;
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteTemplateRequest&, const DeleteTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTemplateAsyncHandler;
typedef Outcome<Error, Model::DeleteTriggerHookResult> DeleteTriggerHookOutcome;
typedef std::future<DeleteTriggerHookOutcome> DeleteTriggerHookOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteTriggerHookRequest&, const DeleteTriggerHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTriggerHookAsyncHandler;
typedef Outcome<Error, Model::DescirbeWorkflowResult> DescirbeWorkflowOutcome;
typedef std::future<DescirbeWorkflowOutcome> DescirbeWorkflowOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescirbeWorkflowRequest&, const DescirbeWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescirbeWorkflowAsyncHandler;
typedef Outcome<Error, Model::DescribeAddonsResult> DescribeAddonsOutcome;
typedef std::future<DescribeAddonsOutcome> DescribeAddonsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeAddonsRequest&, const DescribeAddonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAddonsAsyncHandler;
typedef Outcome<Error, Model::DescribeApiVersionResult> DescribeApiVersionOutcome;
typedef std::future<DescribeApiVersionOutcome> DescribeApiVersionOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeApiVersionRequest&, const DescribeApiVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApiVersionAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterAddonUpgradeStatusResult> DescribeClusterAddonUpgradeStatusOutcome;
typedef std::future<DescribeClusterAddonUpgradeStatusOutcome> DescribeClusterAddonUpgradeStatusOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterAddonUpgradeStatusRequest&, const DescribeClusterAddonUpgradeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAddonUpgradeStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterAddonsUpgradeStatusResult> DescribeClusterAddonsUpgradeStatusOutcome;
typedef std::future<DescribeClusterAddonsUpgradeStatusOutcome> DescribeClusterAddonsUpgradeStatusOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterAddonsUpgradeStatusRequest&, const DescribeClusterAddonsUpgradeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAddonsUpgradeStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterAddonsVersionResult> DescribeClusterAddonsVersionOutcome;
typedef std::future<DescribeClusterAddonsVersionOutcome> DescribeClusterAddonsVersionOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterAddonsVersionRequest&, const DescribeClusterAddonsVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAddonsVersionAsyncHandler;
@@ -195,6 +203,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeClustersResult> DescribeClustersOutcome;
typedef std::future<DescribeClustersOutcome> DescribeClustersOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClustersRequest&, const DescribeClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeClustersV1Result> DescribeClustersV1Outcome;
typedef std::future<DescribeClustersV1Outcome> DescribeClustersV1OutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClustersV1Request&, const DescribeClustersV1Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClustersV1AsyncHandler;
typedef Outcome<Error, Model::DescribeExternalAgentResult> DescribeExternalAgentOutcome;
typedef std::future<DescribeExternalAgentOutcome> DescribeExternalAgentOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeExternalAgentRequest&, const DescribeExternalAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExternalAgentAsyncHandler;
@@ -207,6 +218,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeWorkflowsResult> DescribeWorkflowsOutcome;
typedef std::future<DescribeWorkflowsOutcome> DescribeWorkflowsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeWorkflowsRequest&, const DescribeWorkflowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWorkflowsAsyncHandler;
typedef Outcome<Error, Model::GetKubernetesTriggerResult> GetKubernetesTriggerOutcome;
typedef std::future<GetKubernetesTriggerOutcome> GetKubernetesTriggerOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::GetKubernetesTriggerRequest&, const GetKubernetesTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetKubernetesTriggerAsyncHandler;
typedef Outcome<Error, Model::GetUpgradeStatusResult> GetUpgradeStatusOutcome;
typedef std::future<GetUpgradeStatusOutcome> GetUpgradeStatusOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::GetUpgradeStatusRequest&, const GetUpgradeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUpgradeStatusAsyncHandler;
@@ -219,6 +233,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyClusterResult> ModifyClusterOutcome;
typedef std::future<ModifyClusterOutcome> ModifyClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ModifyClusterRequest&, const ModifyClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterAsyncHandler;
typedef Outcome<Error, Model::ModifyClusterConfigurationResult> ModifyClusterConfigurationOutcome;
typedef std::future<ModifyClusterConfigurationOutcome> ModifyClusterConfigurationOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ModifyClusterConfigurationRequest&, const ModifyClusterConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterConfigurationAsyncHandler;
typedef Outcome<Error, Model::ModifyClusterTagsResult> ModifyClusterTagsOutcome;
typedef std::future<ModifyClusterTagsOutcome> ModifyClusterTagsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ModifyClusterTagsRequest&, const ModifyClusterTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterTagsAsyncHandler;
@@ -255,6 +272,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateK8sClusterUserConfigExpireResult> UpdateK8sClusterUserConfigExpireOutcome;
typedef std::future<UpdateK8sClusterUserConfigExpireOutcome> UpdateK8sClusterUserConfigExpireOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UpdateK8sClusterUserConfigExpireRequest&, const UpdateK8sClusterUserConfigExpireOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateK8sClusterUserConfigExpireAsyncHandler;
typedef Outcome<Error, Model::UpdateTemplateResult> UpdateTemplateOutcome;
typedef std::future<UpdateTemplateOutcome> UpdateTemplateOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UpdateTemplateRequest&, const UpdateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTemplateAsyncHandler;
typedef Outcome<Error, Model::UpgradeClusterResult> UpgradeClusterOutcome;
typedef std::future<UpgradeClusterOutcome> UpgradeClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UpgradeClusterRequest&, const UpgradeClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeClusterAsyncHandler;
@@ -281,36 +301,36 @@ namespace AlibabaCloud
CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const;
void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const;
CreateKubernetesTriggerOutcome createKubernetesTrigger(const Model::CreateKubernetesTriggerRequest &request)const;
void createKubernetesTriggerAsync(const Model::CreateKubernetesTriggerRequest& request, const CreateKubernetesTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateKubernetesTriggerOutcomeCallable createKubernetesTriggerCallable(const Model::CreateKubernetesTriggerRequest& request) const;
CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const;
void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const;
CreateTriggerHookOutcome createTriggerHook(const Model::CreateTriggerHookRequest &request)const;
void createTriggerHookAsync(const Model::CreateTriggerHookRequest& request, const CreateTriggerHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTriggerHookOutcomeCallable createTriggerHookCallable(const Model::CreateTriggerHookRequest& request) const;
DeleteClusterOutcome deleteCluster(const Model::DeleteClusterRequest &request)const;
void deleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClusterOutcomeCallable deleteClusterCallable(const Model::DeleteClusterRequest& request) const;
DeleteClusterNodesOutcome deleteClusterNodes(const Model::DeleteClusterNodesRequest &request)const;
void deleteClusterNodesAsync(const Model::DeleteClusterNodesRequest& request, const DeleteClusterNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClusterNodesOutcomeCallable deleteClusterNodesCallable(const Model::DeleteClusterNodesRequest& request) const;
DeleteKubernetesTriggerOutcome deleteKubernetesTrigger(const Model::DeleteKubernetesTriggerRequest &request)const;
void deleteKubernetesTriggerAsync(const Model::DeleteKubernetesTriggerRequest& request, const DeleteKubernetesTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteKubernetesTriggerOutcomeCallable deleteKubernetesTriggerCallable(const Model::DeleteKubernetesTriggerRequest& request) const;
DeleteTemplateOutcome deleteTemplate(const Model::DeleteTemplateRequest &request)const;
void deleteTemplateAsync(const Model::DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTemplateOutcomeCallable deleteTemplateCallable(const Model::DeleteTemplateRequest& request) const;
DeleteTriggerHookOutcome deleteTriggerHook(const Model::DeleteTriggerHookRequest &request)const;
void deleteTriggerHookAsync(const Model::DeleteTriggerHookRequest& request, const DeleteTriggerHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTriggerHookOutcomeCallable deleteTriggerHookCallable(const Model::DeleteTriggerHookRequest& request) const;
DescirbeWorkflowOutcome descirbeWorkflow(const Model::DescirbeWorkflowRequest &request)const;
void descirbeWorkflowAsync(const Model::DescirbeWorkflowRequest& request, const DescirbeWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescirbeWorkflowOutcomeCallable descirbeWorkflowCallable(const Model::DescirbeWorkflowRequest& request) const;
DescribeAddonsOutcome describeAddons(const Model::DescribeAddonsRequest &request)const;
void describeAddonsAsync(const Model::DescribeAddonsRequest& request, const DescribeAddonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAddonsOutcomeCallable describeAddonsCallable(const Model::DescribeAddonsRequest& request) const;
DescribeApiVersionOutcome describeApiVersion(const Model::DescribeApiVersionRequest &request)const;
void describeApiVersionAsync(const Model::DescribeApiVersionRequest& request, const DescribeApiVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeApiVersionOutcomeCallable describeApiVersionCallable(const Model::DescribeApiVersionRequest& request) const;
DescribeClusterAddonUpgradeStatusOutcome describeClusterAddonUpgradeStatus(const Model::DescribeClusterAddonUpgradeStatusRequest &request)const;
void describeClusterAddonUpgradeStatusAsync(const Model::DescribeClusterAddonUpgradeStatusRequest& request, const DescribeClusterAddonUpgradeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterAddonUpgradeStatusOutcomeCallable describeClusterAddonUpgradeStatusCallable(const Model::DescribeClusterAddonUpgradeStatusRequest& request) const;
DescribeClusterAddonsUpgradeStatusOutcome describeClusterAddonsUpgradeStatus(const Model::DescribeClusterAddonsUpgradeStatusRequest &request)const;
void describeClusterAddonsUpgradeStatusAsync(const Model::DescribeClusterAddonsUpgradeStatusRequest& request, const DescribeClusterAddonsUpgradeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterAddonsUpgradeStatusOutcomeCallable describeClusterAddonsUpgradeStatusCallable(const Model::DescribeClusterAddonsUpgradeStatusRequest& request) const;
DescribeClusterAddonsVersionOutcome describeClusterAddonsVersion(const Model::DescribeClusterAddonsVersionRequest &request)const;
void describeClusterAddonsVersionAsync(const Model::DescribeClusterAddonsVersionRequest& request, const DescribeClusterAddonsVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterAddonsVersionOutcomeCallable describeClusterAddonsVersionCallable(const Model::DescribeClusterAddonsVersionRequest& request) const;
@@ -338,6 +358,9 @@ namespace AlibabaCloud
DescribeClustersOutcome describeClusters(const Model::DescribeClustersRequest &request)const;
void describeClustersAsync(const Model::DescribeClustersRequest& request, const DescribeClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClustersOutcomeCallable describeClustersCallable(const Model::DescribeClustersRequest& request) const;
DescribeClustersV1Outcome describeClustersV1(const Model::DescribeClustersV1Request &request)const;
void describeClustersV1Async(const Model::DescribeClustersV1Request& request, const DescribeClustersV1AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClustersV1OutcomeCallable describeClustersV1Callable(const Model::DescribeClustersV1Request& request) const;
DescribeExternalAgentOutcome describeExternalAgent(const Model::DescribeExternalAgentRequest &request)const;
void describeExternalAgentAsync(const Model::DescribeExternalAgentRequest& request, const DescribeExternalAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExternalAgentOutcomeCallable describeExternalAgentCallable(const Model::DescribeExternalAgentRequest& request) const;
@@ -350,6 +373,9 @@ namespace AlibabaCloud
DescribeWorkflowsOutcome describeWorkflows(const Model::DescribeWorkflowsRequest &request)const;
void describeWorkflowsAsync(const Model::DescribeWorkflowsRequest& request, const DescribeWorkflowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeWorkflowsOutcomeCallable describeWorkflowsCallable(const Model::DescribeWorkflowsRequest& request) const;
GetKubernetesTriggerOutcome getKubernetesTrigger(const Model::GetKubernetesTriggerRequest &request)const;
void getKubernetesTriggerAsync(const Model::GetKubernetesTriggerRequest& request, const GetKubernetesTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetKubernetesTriggerOutcomeCallable getKubernetesTriggerCallable(const Model::GetKubernetesTriggerRequest& request) const;
GetUpgradeStatusOutcome getUpgradeStatus(const Model::GetUpgradeStatusRequest &request)const;
void getUpgradeStatusAsync(const Model::GetUpgradeStatusRequest& request, const GetUpgradeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUpgradeStatusOutcomeCallable getUpgradeStatusCallable(const Model::GetUpgradeStatusRequest& request) const;
@@ -362,6 +388,9 @@ namespace AlibabaCloud
ModifyClusterOutcome modifyCluster(const Model::ModifyClusterRequest &request)const;
void modifyClusterAsync(const Model::ModifyClusterRequest& request, const ModifyClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyClusterOutcomeCallable modifyClusterCallable(const Model::ModifyClusterRequest& request) const;
ModifyClusterConfigurationOutcome modifyClusterConfiguration(const Model::ModifyClusterConfigurationRequest &request)const;
void modifyClusterConfigurationAsync(const Model::ModifyClusterConfigurationRequest& request, const ModifyClusterConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyClusterConfigurationOutcomeCallable modifyClusterConfigurationCallable(const Model::ModifyClusterConfigurationRequest& request) const;
ModifyClusterTagsOutcome modifyClusterTags(const Model::ModifyClusterTagsRequest &request)const;
void modifyClusterTagsAsync(const Model::ModifyClusterTagsRequest& request, const ModifyClusterTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyClusterTagsOutcomeCallable modifyClusterTagsCallable(const Model::ModifyClusterTagsRequest& request) const;
@@ -398,6 +427,9 @@ namespace AlibabaCloud
UpdateK8sClusterUserConfigExpireOutcome updateK8sClusterUserConfigExpire(const Model::UpdateK8sClusterUserConfigExpireRequest &request)const;
void updateK8sClusterUserConfigExpireAsync(const Model::UpdateK8sClusterUserConfigExpireRequest& request, const UpdateK8sClusterUserConfigExpireAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateK8sClusterUserConfigExpireOutcomeCallable updateK8sClusterUserConfigExpireCallable(const Model::UpdateK8sClusterUserConfigExpireRequest& request) const;
UpdateTemplateOutcome updateTemplate(const Model::UpdateTemplateRequest &request)const;
void updateTemplateAsync(const Model::UpdateTemplateRequest& request, const UpdateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTemplateOutcomeCallable updateTemplateCallable(const Model::UpdateTemplateRequest& request) const;
UpgradeClusterOutcome upgradeCluster(const Model::UpgradeClusterRequest &request)const;
void upgradeClusterAsync(const Model::UpgradeClusterRequest& request, const UpgradeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeClusterOutcomeCallable upgradeClusterCallable(const Model::UpgradeClusterRequest& request) const;

View File

@@ -43,18 +43,30 @@ namespace AlibabaCloud
void setKey_pair(const std::string& key_pair);
std::string getCpu_policy()const;
void setCpu_policy(const std::string& cpu_policy);
bool getIs_edge_worker()const;
void setIs_edge_worker(bool is_edge_worker);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getUser_data()const;
void setUser_data(const std::string& user_data);
std::string getImage_id()const;
void setImage_id(const std::string& image_id);
bool getFormat_disk()const;
void setFormat_disk(bool format_disk);
std::string getNodepool_id()const;
void setNodepool_id(const std::string& nodepool_id);
private:
std::string password_;
bool keep_instance_name_;
std::string key_pair_;
std::string cpu_policy_;
bool is_edge_worker_;
std::string clusterId_;
std::string user_data_;
std::string image_id_;
bool format_disk_;
std::string nodepool_id_;
};
}

View File

@@ -35,14 +35,16 @@ namespace AlibabaCloud
CreateClusterRequest();
~CreateClusterRequest();
bool getPrivate_zone()const;
void setPrivate_zone(bool private_zone);
std::string getProxy_mode()const;
void setProxy_mode(const std::string& proxy_mode);
std::string getMaster_system_disk_category()const;
void setMaster_system_disk_category(const std::string& master_system_disk_category);
long getMaster_period()const;
void setMaster_period(long master_period);
bool getCloud_monitor_flags()const;
void setCloud_monitor_flags(bool cloud_monitor_flags);
int getMaster_period()const;
void setMaster_period(int master_period);
bool getSsh_flags()const;
void setSsh_flags(bool ssh_flags);
std::string getSecurity_group_id()const;
@@ -57,60 +59,66 @@ namespace AlibabaCloud
void setWorker_auto_renew(bool worker_auto_renew);
std::string getPlatform()const;
void setPlatform(const std::string& platform);
std::string getNode_port_range()const;
void setNode_port_range(const std::string& node_port_range);
std::string getService_cidr()const;
void setService_cidr(const std::string& service_cidr);
std::string getNode_port_range()const;
void setNode_port_range(const std::string& node_port_range);
std::string getZone_id()const;
void setZone_id(const std::string& zone_id);
std::string getLogin_password()const;
void setLogin_password(const std::string& login_password);
std::string getKubernetes_version()const;
void setKubernetes_version(const std::string& kubernetes_version);
bool getIs_enterprise_security_group()const;
void setIs_enterprise_security_group(bool is_enterprise_security_group);
std::string getMaster_period_unit()const;
void setMaster_period_unit(const std::string& master_period_unit);
int getMaster_system_disk_size()const;
void setMaster_system_disk_size(int master_system_disk_size);
int getMaster_count()const;
void setMaster_count(int master_count);
int getNum_of_nodes()const;
void setNum_of_nodes(int num_of_nodes);
bool getDeletion_protection()const;
void setDeletion_protection(bool deletion_protection);
long getMaster_system_disk_size()const;
void setMaster_system_disk_size(long master_system_disk_size);
long getMaster_count()const;
void setMaster_count(long master_count);
long getNum_of_nodes()const;
void setNum_of_nodes(long num_of_nodes);
std::string getDeletion_protection()const;
void setDeletion_protection(const std::string& deletion_protection);
std::string getKey_pair()const;
void setKey_pair(const std::string& key_pair);
bool getWorker_data_disk()const;
void setWorker_data_disk(bool worker_data_disk);
bool getMaster_auto_renew()const;
void setMaster_auto_renew(bool master_auto_renew);
std::string getProfile()const;
void setProfile(const std::string& profile);
std::string getRegion_id()const;
void setRegion_id(const std::string& region_id);
bool getSnat_entry()const;
void setSnat_entry(bool snat_entry);
std::string getWorker_system_disk_category()const;
void setWorker_system_disk_category(const std::string& worker_system_disk_category);
std::string getRuntime()const;
void setRuntime(const std::string& runtime);
std::string getUser_data()const;
void setUser_data(const std::string& user_data);
std::string getWorker_period_unit()const;
void setWorker_period_unit(const std::string& worker_period_unit);
std::string getMaster_instance_charge_type()const;
void setMaster_instance_charge_type(const std::string& master_instance_charge_type);
std::string getNode_cidr_mask()const;
void setNode_cidr_mask(const std::string& node_cidr_mask);
int getWorker_auto_renew_period()const;
void setWorker_auto_renew_period(int worker_auto_renew_period);
int getMaster_auto_renew_period()const;
void setMaster_auto_renew_period(int master_auto_renew_period);
int getWorker_period()const;
void setWorker_period(int worker_period);
int getTimeout_mins()const;
void setTimeout_mins(int timeout_mins);
int getWorker_system_disk_size()const;
void setWorker_system_disk_size(int worker_system_disk_size);
long getWorker_auto_renew_period()const;
void setWorker_auto_renew_period(long worker_auto_renew_period);
long getMaster_auto_renew_period()const;
void setMaster_auto_renew_period(long master_auto_renew_period);
long getWorker_period()const;
void setWorker_period(long worker_period);
long getTimeout_mins()const;
void setTimeout_mins(long timeout_mins);
std::string getImages_id()const;
void setImages_id(const std::string& images_id);
long getWorker_system_disk_size()const;
void setWorker_system_disk_size(long worker_system_disk_size);
std::string getVpcid()const;
void setVpcid(const std::string& vpcid);
std::string getOs_type()const;
void setOs_type(const std::string& os_type);
std::string getCpu_policy()const;
void setCpu_policy(const std::string& cpu_policy);
std::string getVpcid()const;
void setVpcid(const std::string& vpcid);
std::string getName()const;
void setName(const std::string& name);
bool getDisable_rollback()const;
@@ -119,10 +127,11 @@ namespace AlibabaCloud
void setWorker_instance_charge_type(const std::string& worker_instance_charge_type);
private:
bool private_zone_;
std::string proxy_mode_;
std::string master_system_disk_category_;
long master_period_;
bool cloud_monitor_flags_;
int master_period_;
bool ssh_flags_;
std::string security_group_id_;
std::string container_cidr_;
@@ -130,33 +139,36 @@ namespace AlibabaCloud
bool endpoint_public_access_;
bool worker_auto_renew_;
std::string platform_;
std::string node_port_range_;
std::string service_cidr_;
std::string node_port_range_;
std::string zone_id_;
std::string login_password_;
std::string kubernetes_version_;
bool is_enterprise_security_group_;
std::string master_period_unit_;
int master_system_disk_size_;
int master_count_;
int num_of_nodes_;
bool deletion_protection_;
long master_system_disk_size_;
long master_count_;
long num_of_nodes_;
std::string deletion_protection_;
std::string key_pair_;
bool worker_data_disk_;
bool master_auto_renew_;
std::string profile_;
std::string region_id_;
bool snat_entry_;
std::string worker_system_disk_category_;
std::string runtime_;
std::string user_data_;
std::string worker_period_unit_;
std::string master_instance_charge_type_;
std::string node_cidr_mask_;
int worker_auto_renew_period_;
int master_auto_renew_period_;
int worker_period_;
int timeout_mins_;
int worker_system_disk_size_;
long worker_auto_renew_period_;
long master_auto_renew_period_;
long worker_period_;
long timeout_mins_;
std::string images_id_;
long worker_system_disk_size_;
std::string vpcid_;
std::string os_type_;
std::string cpu_policy_;
std::string vpcid_;
std::string name_;
bool disable_rollback_;
std::string worker_instance_charge_type_;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_CREATEKUBERNETESTRIGGERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CREATEKUBERNETESTRIGGERREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CreateTriggerHookRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT CreateKubernetesTriggerRequest : public RoaServiceRequest
{
public:
CreateTriggerHookRequest();
~CreateTriggerHookRequest();
CreateKubernetesTriggerRequest();
~CreateKubernetesTriggerRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getProject_id()const;
void setProject_id(const std::string& project_id);
std::string getTrigger_url()const;
void setTrigger_url(const std::string& trigger_url);
std::string getRegion_id()const;
void setRegion_id(const std::string& region_id);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAction()const;
void setAction(const std::string& action);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getType()const;
void setType(const std::string& type);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
private:
std::string cluster_id_;
std::string project_id_;
std::string trigger_url_;
std::string region_id_;
std::string regionId_;
std::string action_;
std::string clusterId_;
std::string type_;
std::string projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_CREATEKUBERNETESTRIGGERREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_CREATEKUBERNETESTRIGGERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_CREATEKUBERNETESTRIGGERRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeApiVersionResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT CreateKubernetesTriggerResult : public ServiceResult
{
public:
DescribeApiVersionResult();
explicit DescribeApiVersionResult(const std::string &payload);
~DescribeApiVersionResult();
std::string getDocker_version()const;
std::string getVersion()const;
std::string getBuild()const;
std::string getDocker_region_versions()const;
CreateKubernetesTriggerResult();
explicit CreateKubernetesTriggerResult(const std::string &payload);
~CreateKubernetesTriggerResult();
std::string getAction()const;
std::string getCluster_id()const;
std::string getProject_id()const;
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string docker_version_;
std::string version_;
std::string build_;
std::string docker_region_versions_;
std::string action_;
std::string cluster_id_;
std::string project_id_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_CREATEKUBERNETESTRIGGERRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_DELETEKUBERNETESTRIGGERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DELETEKUBERNETESTRIGGERREQUEST_H_
#include <string>
#include <vector>
@@ -28,18 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeApiVersionRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT DeleteKubernetesTriggerRequest : public RoaServiceRequest
{
public:
DescribeApiVersionRequest();
~DescribeApiVersionRequest();
DeleteKubernetesTriggerRequest();
~DeleteKubernetesTriggerRequest();
std::string getId()const;
void setId(const std::string& id);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_DELETEKUBERNETESTRIGGERREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_DELETEKUBERNETESTRIGGERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DELETEKUBERNETESTRIGGERRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DeleteTriggerHookResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT DeleteKubernetesTriggerResult : public ServiceResult
{
public:
DeleteTriggerHookResult();
explicit DeleteTriggerHookResult(const std::string &payload);
~DeleteTriggerHookResult();
DeleteKubernetesTriggerResult();
explicit DeleteKubernetesTriggerResult(const std::string &payload);
~DeleteKubernetesTriggerResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_DELETEKUBERNETESTRIGGERRESULT_H_

View File

@@ -34,23 +34,15 @@ namespace AlibabaCloud
public:
struct StandardComponents
{
struct Addon_name
{
std::string required;
std::string version;
std::string config;
bool disabled;
std::string name;
};
Addon_name addon_name;
std::string componentName;
};
struct ComponentGroupsItem
{
struct ItemsItem
{
std::string description;
std::string required;
std::string version;
std::string config;
bool disabled;
std::string name;
};

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSUPGRADESTATUSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSUPGRADESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/cs/CSExport.h>
namespace AlibabaCloud
{
namespace CS
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeClusterAddonsUpgradeStatusRequest : public RoaServiceRequest
{
public:
DescribeClusterAddonsUpgradeStatusRequest();
~DescribeClusterAddonsUpgradeStatusRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSUPGRADESTATUSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSUPGRADESTATUSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSUPGRADESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cs/CSExport.h>
namespace AlibabaCloud
{
namespace CS
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeClusterAddonsUpgradeStatusResult : public ServiceResult
{
public:
DescribeClusterAddonsUpgradeStatusResult();
explicit DescribeClusterAddonsUpgradeStatusResult(const std::string &payload);
~DescribeClusterAddonsUpgradeStatusResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERADDONSUPGRADESTATUSRESULT_H_

View File

@@ -37,26 +37,12 @@ namespace AlibabaCloud
DescribeClusterAddonsVersionResult();
explicit DescribeClusterAddonsVersionResult(const std::string &payload);
~DescribeClusterAddonsVersionResult();
std::string getNext_version()const;
std::string get_Template()const;
bool getCan_upgrade()const;
std::string getMessage()const;
bool getRequired()const;
std::string getVersion()const;
std::string getChanged()const;
std::string getComponent_name()const;
std::string getAddonsName()const;
protected:
void parse(const std::string &payload);
private:
std::string next_version_;
std::string _template_;
bool can_upgrade_;
std::string message_;
bool required_;
std::string version_;
std::string changed_;
std::string component_name_;
std::string addonsName_;
};
}

View File

@@ -37,9 +37,12 @@ namespace AlibabaCloud
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getArch()const;
void setArch(const std::string& arch);
private:
std::string clusterId_;
std::string arch_;
};
}

View File

@@ -42,27 +42,25 @@ namespace AlibabaCloud
DescribeClusterDetailResult();
explicit DescribeClusterDetailResult(const std::string &payload);
~DescribeClusterDetailResult();
std::string getCluster_type()const;
std::string getResource_group_id()const;
std::string getData_disk_category()const;
std::string getCluster_type()const;
std::string getDocker_version()const;
std::string getCluster_id()const;
std::string getExternal_loadbalancer_id()const;
std::string getUpdated()const;
std::string getRegion_id()const;
std::string getSize()const;
int getSize()const;
std::string getVpc_id()const;
std::string getVswitch_id()const;
std::string getMeta_data()const;
bool getDeletion_protection()const;
std::string getMeta_data()const;
std::string getNetwork_mode()const;
std::string getSecurity_group_id()const;
std::vector<TagsItem> gettags()const;
std::string getName()const;
int getData_disk_size()const;
std::string getCreated()const;
std::string getState()const;
std::string getName()const;
std::string getZone_id()const;
std::string getState()const;
std::string getVswitch_cidr()const;
std::string getCurrent_version()const;
std::string getInstance_type()const;
@@ -70,27 +68,25 @@ namespace AlibabaCloud
protected:
void parse(const std::string &payload);
private:
std::string cluster_type_;
std::string resource_group_id_;
std::string data_disk_category_;
std::string cluster_type_;
std::string docker_version_;
std::string cluster_id_;
std::string external_loadbalancer_id_;
std::string updated_;
std::string region_id_;
std::string size_;
int size_;
std::string vpc_id_;
std::string vswitch_id_;
std::string meta_data_;
bool deletion_protection_;
std::string meta_data_;
std::string network_mode_;
std::string security_group_id_;
std::vector<TagsItem> tags_;
std::string name_;
int data_disk_size_;
std::string created_;
std::string state_;
std::string name_;
std::string zone_id_;
std::string state_;
std::string vswitch_cidr_;
std::string current_version_;
std::string instance_type_;

View File

@@ -38,7 +38,9 @@ namespace AlibabaCloud
explicit DescribeClusterLogsResult(const std::string &payload);
~DescribeClusterLogsResult();
std::string getCluster_id()const;
std::string getUpdated()const;
std::string getLog_level()const;
std::string getID()const;
std::string getCluster_log()const;
std::string getCreated()const;
@@ -46,7 +48,9 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string cluster_id_;
std::string updated_;
std::string log_level_;
std::string iD_;
std::string cluster_log_;
std::string created_;

View File

@@ -40,8 +40,8 @@ namespace AlibabaCloud
};
struct Node
{
std::string instance_name;
std::string error_message;
std::string instance_name;
std::string creation_time;
std::string image_id;
std::string instance_status;
@@ -57,8 +57,8 @@ namespace AlibabaCloud
std::string instance_id;
std::string node_name;
std::string instance_type;
std::string expired_time;
bool is_aliyun_node;
std::string expired_time;
};

View File

@@ -32,24 +32,15 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT DescribeClusterResourcesResult : public ServiceResult
{
public:
struct ResourcesItem
{
std::string resource_info;
std::string state;
std::string resource_type;
std::string instance_id;
};
DescribeClusterResourcesResult();
explicit DescribeClusterResourcesResult(const std::string &payload);
~DescribeClusterResourcesResult();
std::vector<ResourcesItem> getresources()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResourcesItem> resources_;
};
}

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
DescribeClusterV2UserKubeconfigResult();
explicit DescribeClusterV2UserKubeconfigResult(const std::string &payload);
~DescribeClusterV2UserKubeconfigResult();
std::string getConfig()const;
protected:
void parse(const std::string &payload);
private:
std::string config_;
};
}

View File

@@ -32,49 +32,15 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT DescribeClustersResult : public ServiceResult
{
public:
struct ClusterDetail
{
struct TagsItem
{
std::string value;
std::string key;
};
std::string cluster_type;
std::string resource_group_id;
std::string data_disk_category;
std::string docker_version;
std::string cluster_id;
std::string external_loadbalancer_id;
std::string updated;
std::string region_id;
std::string size;
std::string vpc_id;
std::string vswitch_id;
std::string meta_data;
bool deletion_protection;
std::string network_mode;
std::string security_group_id;
std::vector<ClusterDetail::TagsItem> tags;
std::string name;
int data_disk_size;
std::string created;
std::string state;
std::string zone_id;
std::string vswitch_cidr;
std::string master_url;
std::string current_version;
};
DescribeClustersResult();
explicit DescribeClustersResult(const std::string &payload);
~DescribeClustersResult();
std::vector<ClusterDetail> getclusters()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ClusterDetail> clusters_;
};
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSV1REQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSV1REQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/cs/CSExport.h>
namespace AlibabaCloud
{
namespace CS
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeClustersV1Request : public RoaServiceRequest
{
public:
DescribeClustersV1Request();
~DescribeClustersV1Request();
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
long getPage_number()const;
void setPage_number(long page_number);
std::string getName()const;
void setName(const std::string& name);
long getPage_size()const;
void setPage_size(long page_size);
private:
std::string clusterType_;
long page_number_;
std::string name_;
long page_size_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSV1REQUEST_H_

View File

@@ -0,0 +1,98 @@
/*
* 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_CS_MODEL_DESCRIBECLUSTERSV1RESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSV1RESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cs/CSExport.h>
namespace AlibabaCloud
{
namespace CS
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeClustersV1Result : public ServiceResult
{
public:
struct Page_info
{
int page_size;
int page_number;
int total_count;
};
struct ClustersItem
{
struct TagsItem
{
std::string value;
std::string key;
};
std::string cluster_id;
std::string external_loadbalancer_id;
std::string cluster_healthy;
std::string region_id;
long size;
std::string worker_ram_role_name;
std::string vpc_id;
bool deletion_protection;
std::string profile;
std::string created;
std::string name;
std::string vswitch_cidr;
std::string init_version;
std::string resource_group_id;
std::string cluster_type;
std::string docker_version;
std::string data_disk_category;
std::string updated;
std::string vswitch_id;
std::string meta_data;
std::string network_mode;
std::string security_group_id;
std::string subnet_cidr;
std::vector<ClustersItem::TagsItem> tags;
long data_disk_size;
bool private_zone;
std::string zone_id;
std::string state;
std::string node_status;
std::string master_url;
std::string current_version;
};
DescribeClustersV1Result();
explicit DescribeClustersV1Result(const std::string &payload);
~DescribeClustersV1Result();
Page_info getPage_info()const;
std::vector<ClustersItem> getclusters()const;
protected:
void parse(const std::string &payload);
private:
Page_info page_info_;
std::vector<ClustersItem> clusters_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSV1RESULT_H_

View File

@@ -32,27 +32,37 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT DescribeTemplatesResult : public ServiceResult
{
public:
struct Page_info
{
long page_size;
long page_number;
long total_count;
};
struct TemplatesItem
{
std::string _template;
std::string description;
std::string updated;
std::string template_type;
std::string id;
std::string acl;
std::string tags;
std::string created;
std::string name;
};
DescribeTemplatesResult();
explicit DescribeTemplatesResult(const std::string &payload);
~DescribeTemplatesResult();
std::string get_Template()const;
std::string getDescription()const;
std::string getAcl()const;
std::string getTemplate_type()const;
std::string getTags()const;
std::string getName()const;
Page_info getPage_info()const;
std::vector<TemplatesItem> gettemplates()const;
protected:
void parse(const std::string &payload);
private:
std::string _template_;
std::string description_;
std::string acl_;
std::string template_type_;
std::string tags_;
std::string name_;
Page_info page_info_;
std::vector<TemplatesItem> templates_;
};
}

View File

@@ -37,18 +37,20 @@ namespace AlibabaCloud
DescribeUserQuotaResult();
explicit DescribeUserQuotaResult(const std::string &payload);
~DescribeUserQuotaResult();
int getNode_quota()const;
int getAmk_cluster_quota()const;
int getCluster_quota()const;
int getAsk_cluster_quota()const;
long getAmk_cluster_quota()const;
long getNode_quota()const;
long getCluster_quota()const;
long getAsk_cluster_quota()const;
long getCluster_nodepool_quota()const;
protected:
void parse(const std::string &payload);
private:
int node_quota_;
int amk_cluster_quota_;
int cluster_quota_;
int ask_cluster_quota_;
long amk_cluster_quota_;
long node_quota_;
long cluster_quota_;
long ask_cluster_quota_;
long cluster_nodepool_quota_;
};
}

Some files were not shown because too many files have changed in this diff Show More