Compare commits

..

30 Commits

Author SHA1 Message Date
sdk-team
f82391b140 Add Content. 2020-09-16 01:31:22 +00:00
sdk-team
c920c94335 Add describe devices to return device status. 2020-09-15 03:07:47 +00:00
wb-hx510875
d7f985a33b Adding some request header
when constructing request
2020-09-14 14:21:49 +08:00
sdk-team
7db054750e Support corp name search. 2020-09-14 02:30:34 +00:00
sdk-team
73412a8d8d Support corp name search. 2020-09-14 02:24:32 +00:00
sdk-team
51f047d6f3 Support execute database script via open api. 2020-09-11 03:24:25 +00:00
sdk-team
2d5bf1dbd8 Add DisableBackupLog. 2020-09-10 07:25:08 +00:00
sdk-team
a60cd6a5ae Update HasRenewChangeOrder type to Boolean in DescribeInstances. 2020-09-10 06:49:15 +00:00
sdk-team
59dbc66bfe Add support cn-beijing service region. 2020-09-09 16:41:12 +00:00
sdk-team
d6292fe40b Release ChangeSky. 2020-09-09 11:48:18 +00:00
sdk-team
061f62c362 Release DetectChefCap. 2020-09-09 09:02:34 +00:00
sdk-team
a3ccdb3f65 Release DetectKneeKeypointXRay, DetectHipKeypointXRay, CalcCACS, RunCTRegistration, ClassifyFNF. 2020-09-09 07:48:43 +00:00
sdk-team
565bfada36 Supported backend interface for ICBU. 2020-09-08 08:39:04 +00:00
sdk-team
716769a300 Add DescribeActiveOperationTask. 2020-09-08 06:10:22 +00:00
sdk-team
c4348c87cb Modify CreateAsyncPredict add new parameters. 2020-09-08 03:28:20 +00:00
sdk-team
d3ce4be157 Support parameter APIs. 2020-09-07 11:13:16 +00:00
sdk-team
05e5980ef3 Add describes devices API. 2020-09-07 07:23:58 +00:00
sdk-team
7cf2b932e7 Add describes devices API. 2020-09-07 07:16:31 +00:00
sdk-team
c056e54eae Add describes devices API. 2020-09-07 06:51:47 +00:00
sdk-team
04cce0ba30 Add describes devices API. 2020-09-07 03:37:21 +00:00
sdk-team
c5b68d7ead Add describes devices API. 2020-09-07 03:21:11 +00:00
sdk-team
52e7b30f54 Add describes devices API. 2020-09-05 04:05:12 +00:00
sdk-team
98ef8c88e8 Sync cdn APIs. 2020-09-04 09:19:24 +00:00
sdk-team
8f2290c159 Update Scdn API. 2020-09-04 09:19:03 +00:00
sdk-team
a264cee31b Update domain API. 2020-09-04 09:18:17 +00:00
sdk-team
ebdf18def1 Add GetImageQuality API. 2020-09-04 09:04:23 +00:00
sdk-team
5a6bd32d63 DescribeCameraStatistics add parameters. 2020-09-03 10:57:01 +08:00
sdk-team
86f01c44a8 Support sg for ml region. 2020-09-02 21:43:23 +08:00
sdk-team
a69c540c10 ChatApp second version. 2020-09-02 16:35:44 +08:00
sdk-team
60ea8efd1a Supported AndroidNotificationHuaweiChannel for Push and MassPush. 2020-09-02 10:33:02 +08:00
537 changed files with 32081 additions and 842 deletions

101
CHANGELOG
View File

@@ -1,3 +1,104 @@
2020-09-16 Version: patch
- Add Content.
2020-09-15 Version: patch
- Add describe devices to return device status.
2020-09-14 Version: patch
- Support corp name search.
2020-09-14 Version: patch
- Support corp name search.
2020-09-11 Version: patch
- Support execute database script via open api.
2020-09-10 Version: patch
- Add DisableBackupLog.
- Add EnableBackupLog.
- Add ReleaseBackupPlan.
- Add ModifyStorageStrategy.
- Modify ModifyBackupStrategy.
- Modify ModifyBackupSetDownloadRules.
2020-09-10 Version: patch
- Update HasRenewChangeOrder type to Boolean in DescribeInstances.
2020-09-09 Version: patch
- Add support cn-beijing service region.
- Add ai video cover interface,include submit and query.
- Add dynamic image query interface.
- Update SubmitMediaAuditJob support MediaAuditConfiguration to set ResourceType.
2020-09-09 Version: patch
- Release ChangeSky.
2020-09-09 Version: patch
- Release DetectChefCap.
2020-09-09 Version: patch
- Release DetectKneeKeypointXRay, DetectHipKeypointXRay, CalcCACS, RunCTRegistration, ClassifyFNF.
2020-09-08 Version: patch
- Supported backend interface for ICBU.
2020-09-08 Version: patch
- Add DescribeActiveOperationTask.
- Add DescribeActiveOperationTaskCount.
- Add DescribeActiveOperationTaskRegion.
- Add DescribeActiveOperationTaskType.
- Add ModifyActiveOperationTask.
2020-09-08 Version: patch
- Modify CreateAsyncPredict add new parameters.
2020-09-07 Version: patch
- Support parameter APIs.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-07 Version: patch
- Add describes devices API.
2020-09-05 Version: patch
- Add describes devices API.
2020-09-04 Version: patch
- Sync cdn APIs.
2020-09-04 Version: patch
- Update Scdn API.
2020-09-04 Version: patch
- Update domain API.
2020-09-04 Version: patch
- Add GetImageQuality API.
- Add more info as parameters to Images related APIs.
2020-09-03 Version: 1.36.632
- DescribeCameraStatistics add parameters.
2020-09-02 Version: 1.36.631
- Support sg for ml region.
2020-09-02 Version: 1.36.630
- ChatApp second version.
- Support new message fomat.
2020-09-02 Version: 1.36.629
- Supported AndroidNotificationHuaweiChannel for Push and MassPush.
2020-09-02 Version: 1.36.628
- Supported AndroidNotificationHuaweiChannel for Push and MassPush.

View File

@@ -1 +1 @@
1.36.628
1.36.632

View File

@@ -39,8 +39,14 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getTemplateBodyParams()const;
void setTemplateBodyParams(const std::string& templateBodyParams);
std::string getLink()const;
void setLink(const std::string& link);
std::string getCaption()const;
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;
@@ -55,11 +61,16 @@ 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 templateBodyParams_;
std::string link_;
std::string caption_;
std::string type_;
std::string body_;
std::string accessKeyId_;
std::string channelType_;
std::string from_;
@@ -67,6 +78,7 @@ namespace AlibabaCloud
long ownerId_;
std::string to_;
std::string templateCode_;
std::string mediaType_;
};
}

View File

@@ -46,7 +46,29 @@ std::string SendMessageRequest::getTemplateBodyParams()const
void SendMessageRequest::setTemplateBodyParams(const std::string& templateBodyParams)
{
templateBodyParams_ = templateBodyParams;
setParameter("TemplateBodyParams", templateBodyParams);
setBodyParameter("TemplateBodyParams", templateBodyParams);
}
std::string SendMessageRequest::getLink()const
{
return link_;
}
void SendMessageRequest::setLink(const std::string& link)
{
link_ = link;
setBodyParameter("Link", link);
}
std::string SendMessageRequest::getCaption()const
{
return caption_;
}
void SendMessageRequest::setCaption(const std::string& caption)
{
caption_ = caption;
setBodyParameter("Caption", caption);
}
std::string SendMessageRequest::getType()const
@@ -57,7 +79,18 @@ std::string SendMessageRequest::getType()const
void SendMessageRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", 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
@@ -79,7 +112,7 @@ std::string SendMessageRequest::getChannelType()const
void SendMessageRequest::setChannelType(const std::string& channelType)
{
channelType_ = channelType;
setParameter("ChannelType", channelType);
setBodyParameter("ChannelType", channelType);
}
std::string SendMessageRequest::getFrom()const
@@ -90,7 +123,7 @@ std::string SendMessageRequest::getFrom()const
void SendMessageRequest::setFrom(const std::string& from)
{
from_ = from;
setParameter("From", from);
setBodyParameter("From", from);
}
std::string SendMessageRequest::getResourceOwnerAccount()const
@@ -123,7 +156,7 @@ std::string SendMessageRequest::getTo()const
void SendMessageRequest::setTo(const std::string& to)
{
to_ = to;
setParameter("To", to);
setBodyParameter("To", to);
}
std::string SendMessageRequest::getTemplateCode()const
@@ -134,6 +167,17 @@ std::string SendMessageRequest::getTemplateCode()const
void SendMessageRequest::setTemplateCode(const std::string& templateCode)
{
templateCode_ = templateCode;
setParameter("TemplateCode", 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

@@ -109,6 +109,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h
include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h
include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserDomainsByFuncResult.h
include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
@@ -397,8 +399,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/SetUserGreenManagerConfigResult.h
include/alibabacloud/cdn/model/SetVideoSeekConfigRequest.h
include/alibabacloud/cdn/model/SetVideoSeekConfigResult.h
include/alibabacloud/cdn/model/SetWafConfigRequest.h
include/alibabacloud/cdn/model/SetWafConfigResult.h
include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h
include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h
include/alibabacloud/cdn/model/StartCdnDomainRequest.h
@@ -506,6 +506,8 @@ set(cdn_src
src/model/DescribeCdnUserBillTypeResult.cc
src/model/DescribeCdnUserConfigsRequest.cc
src/model/DescribeCdnUserConfigsResult.cc
src/model/DescribeCdnUserDomainsByFuncRequest.cc
src/model/DescribeCdnUserDomainsByFuncResult.cc
src/model/DescribeCdnUserQuotaRequest.cc
src/model/DescribeCdnUserQuotaResult.cc
src/model/DescribeCdnUserResourcePackageRequest.cc
@@ -794,8 +796,6 @@ set(cdn_src
src/model/SetUserGreenManagerConfigResult.cc
src/model/SetVideoSeekConfigRequest.cc
src/model/SetVideoSeekConfigResult.cc
src/model/SetWafConfigRequest.cc
src/model/SetWafConfigResult.cc
src/model/SetWaitingRoomConfigRequest.cc
src/model/SetWaitingRoomConfigResult.cc
src/model/StartCdnDomainRequest.cc

View File

@@ -110,6 +110,8 @@
#include "model/DescribeCdnUserBillTypeResult.h"
#include "model/DescribeCdnUserConfigsRequest.h"
#include "model/DescribeCdnUserConfigsResult.h"
#include "model/DescribeCdnUserDomainsByFuncRequest.h"
#include "model/DescribeCdnUserDomainsByFuncResult.h"
#include "model/DescribeCdnUserQuotaRequest.h"
#include "model/DescribeCdnUserQuotaResult.h"
#include "model/DescribeCdnUserResourcePackageRequest.h"
@@ -398,8 +400,6 @@
#include "model/SetUserGreenManagerConfigResult.h"
#include "model/SetVideoSeekConfigRequest.h"
#include "model/SetVideoSeekConfigResult.h"
#include "model/SetWafConfigRequest.h"
#include "model/SetWafConfigResult.h"
#include "model/SetWaitingRoomConfigRequest.h"
#include "model/SetWaitingRoomConfigResult.h"
#include "model/StartCdnDomainRequest.h"
@@ -557,6 +557,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCdnUserConfigsResult> DescribeCdnUserConfigsOutcome;
typedef std::future<DescribeCdnUserConfigsOutcome> DescribeCdnUserConfigsOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserConfigsRequest&, const DescribeCdnUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserConfigsAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserDomainsByFuncResult> DescribeCdnUserDomainsByFuncOutcome;
typedef std::future<DescribeCdnUserDomainsByFuncOutcome> DescribeCdnUserDomainsByFuncOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserDomainsByFuncRequest&, const DescribeCdnUserDomainsByFuncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserDomainsByFuncAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserQuotaResult> DescribeCdnUserQuotaOutcome;
typedef std::future<DescribeCdnUserQuotaOutcome> DescribeCdnUserQuotaOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserQuotaRequest&, const DescribeCdnUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserQuotaAsyncHandler;
@@ -989,9 +992,6 @@ namespace AlibabaCloud
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;
typedef Outcome<Error, Model::SetWafConfigResult> SetWafConfigOutcome;
typedef std::future<SetWafConfigOutcome> SetWafConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetWafConfigRequest&, const SetWafConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetWafConfigAsyncHandler;
typedef Outcome<Error, Model::SetWaitingRoomConfigResult> SetWaitingRoomConfigOutcome;
typedef std::future<SetWaitingRoomConfigOutcome> SetWaitingRoomConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetWaitingRoomConfigRequest&, const SetWaitingRoomConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetWaitingRoomConfigAsyncHandler;
@@ -1153,6 +1153,9 @@ namespace AlibabaCloud
DescribeCdnUserConfigsOutcome describeCdnUserConfigs(const Model::DescribeCdnUserConfigsRequest &request)const;
void describeCdnUserConfigsAsync(const Model::DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserConfigsOutcomeCallable describeCdnUserConfigsCallable(const Model::DescribeCdnUserConfigsRequest& request) const;
DescribeCdnUserDomainsByFuncOutcome describeCdnUserDomainsByFunc(const Model::DescribeCdnUserDomainsByFuncRequest &request)const;
void describeCdnUserDomainsByFuncAsync(const Model::DescribeCdnUserDomainsByFuncRequest& request, const DescribeCdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserDomainsByFuncOutcomeCallable describeCdnUserDomainsByFuncCallable(const Model::DescribeCdnUserDomainsByFuncRequest& request) const;
DescribeCdnUserQuotaOutcome describeCdnUserQuota(const Model::DescribeCdnUserQuotaRequest &request)const;
void describeCdnUserQuotaAsync(const Model::DescribeCdnUserQuotaRequest& request, const DescribeCdnUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserQuotaOutcomeCallable describeCdnUserQuotaCallable(const Model::DescribeCdnUserQuotaRequest& request) const;
@@ -1585,9 +1588,6 @@ namespace AlibabaCloud
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;
SetWafConfigOutcome setWafConfig(const Model::SetWafConfigRequest &request)const;
void setWafConfigAsync(const Model::SetWafConfigRequest& request, const SetWafConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetWafConfigOutcomeCallable setWafConfigCallable(const Model::SetWafConfigRequest& request) const;
SetWaitingRoomConfigOutcome setWaitingRoomConfig(const Model::SetWaitingRoomConfigRequest &request)const;
void setWaitingRoomConfigAsync(const Model::SetWaitingRoomConfigRequest& request, const SetWaitingRoomConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetWaitingRoomConfigOutcomeCallable setWaitingRoomConfigCallable(const Model::SetWaitingRoomConfigRequest& 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_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_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 DescribeCdnUserDomainsByFuncRequest : public RpcServiceRequest
{
public:
DescribeCdnUserDomainsByFuncRequest();
~DescribeCdnUserDomainsByFuncRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
int getPageSize()const;
void setPageSize(int pageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getFuncId()const;
void setFuncId(int funcId);
private:
int pageNumber_;
std::string resourceGroupId_;
int pageSize_;
long ownerId_;
int funcId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_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 DescribeCdnUserDomainsByFuncResult : public ServiceResult
{
public:
struct PageData
{
struct Source
{
std::string type;
std::string content;
std::string priority;
int port;
std::string weight;
};
std::string description;
std::string sslProtocol;
std::string resourceGroupId;
std::string domainName;
std::string gmtModified;
std::string cdnType;
std::string gmtCreated;
std::vector<PageData::Source> sources;
std::string cname;
std::string domainStatus;
std::string sandbox;
};
DescribeCdnUserDomainsByFuncResult();
explicit DescribeCdnUserDomainsByFuncResult(const std::string &payload);
~DescribeCdnUserDomainsByFuncResult();
std::vector<PageData> getDomains()const;
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PageData> domains_;
long totalCount_;
long pageSize_;
long pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERDOMAINSBYFUNCRESULT_H_

View File

@@ -1635,6 +1635,42 @@ CdnClient::DescribeCdnUserConfigsOutcomeCallable CdnClient::describeCdnUserConfi
return task->get_future();
}
CdnClient::DescribeCdnUserDomainsByFuncOutcome CdnClient::describeCdnUserDomainsByFunc(const DescribeCdnUserDomainsByFuncRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCdnUserDomainsByFuncOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCdnUserDomainsByFuncOutcome(DescribeCdnUserDomainsByFuncResult(outcome.result()));
else
return DescribeCdnUserDomainsByFuncOutcome(outcome.error());
}
void CdnClient::describeCdnUserDomainsByFuncAsync(const DescribeCdnUserDomainsByFuncRequest& request, const DescribeCdnUserDomainsByFuncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCdnUserDomainsByFunc(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeCdnUserDomainsByFuncOutcomeCallable CdnClient::describeCdnUserDomainsByFuncCallable(const DescribeCdnUserDomainsByFuncRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCdnUserDomainsByFuncOutcome()>>(
[this, request]()
{
return this->describeCdnUserDomainsByFunc(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeCdnUserQuotaOutcome CdnClient::describeCdnUserQuota(const DescribeCdnUserQuotaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6819,42 +6855,6 @@ CdnClient::SetVideoSeekConfigOutcomeCallable CdnClient::setVideoSeekConfigCallab
return task->get_future();
}
CdnClient::SetWafConfigOutcome CdnClient::setWafConfig(const SetWafConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetWafConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetWafConfigOutcome(SetWafConfigResult(outcome.result()));
else
return SetWafConfigOutcome(outcome.error());
}
void CdnClient::setWafConfigAsync(const SetWafConfigRequest& request, const SetWafConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setWafConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetWafConfigOutcomeCallable CdnClient::setWafConfigCallable(const SetWafConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetWafConfigOutcome()>>(
[this, request]()
{
return this->setWafConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::SetWaitingRoomConfigOutcome CdnClient::setWaitingRoomConfig(const SetWaitingRoomConfigRequest &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/cdn/model/DescribeCdnUserDomainsByFuncRequest.h>
using AlibabaCloud::Cdn::Model::DescribeCdnUserDomainsByFuncRequest;
DescribeCdnUserDomainsByFuncRequest::DescribeCdnUserDomainsByFuncRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserDomainsByFunc")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCdnUserDomainsByFuncRequest::~DescribeCdnUserDomainsByFuncRequest()
{}
int DescribeCdnUserDomainsByFuncRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeCdnUserDomainsByFuncRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeCdnUserDomainsByFuncRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeCdnUserDomainsByFuncRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
int DescribeCdnUserDomainsByFuncRequest::getPageSize()const
{
return pageSize_;
}
void DescribeCdnUserDomainsByFuncRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
long DescribeCdnUserDomainsByFuncRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeCdnUserDomainsByFuncRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
int DescribeCdnUserDomainsByFuncRequest::getFuncId()const
{
return funcId_;
}
void DescribeCdnUserDomainsByFuncRequest::setFuncId(int funcId)
{
funcId_ = funcId;
setParameter("FuncId", std::to_string(funcId));
}

View File

@@ -0,0 +1,112 @@
/*
* 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/DescribeCdnUserDomainsByFuncResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
DescribeCdnUserDomainsByFuncResult::DescribeCdnUserDomainsByFuncResult() :
ServiceResult()
{}
DescribeCdnUserDomainsByFuncResult::DescribeCdnUserDomainsByFuncResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCdnUserDomainsByFuncResult::~DescribeCdnUserDomainsByFuncResult()
{}
void DescribeCdnUserDomainsByFuncResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDomainsNode = value["Domains"]["PageData"];
for (auto valueDomainsPageData : allDomainsNode)
{
PageData domainsObject;
if(!valueDomainsPageData["DomainName"].isNull())
domainsObject.domainName = valueDomainsPageData["DomainName"].asString();
if(!valueDomainsPageData["Cname"].isNull())
domainsObject.cname = valueDomainsPageData["Cname"].asString();
if(!valueDomainsPageData["CdnType"].isNull())
domainsObject.cdnType = valueDomainsPageData["CdnType"].asString();
if(!valueDomainsPageData["DomainStatus"].isNull())
domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString();
if(!valueDomainsPageData["GmtCreated"].isNull())
domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString();
if(!valueDomainsPageData["GmtModified"].isNull())
domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString();
if(!valueDomainsPageData["Description"].isNull())
domainsObject.description = valueDomainsPageData["Description"].asString();
if(!valueDomainsPageData["SslProtocol"].isNull())
domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString();
if(!valueDomainsPageData["ResourceGroupId"].isNull())
domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString();
if(!valueDomainsPageData["Sandbox"].isNull())
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
auto allSourcesNode = allDomainsNode["Sources"]["Source"];
for (auto allDomainsNodeSourcesSource : allSourcesNode)
{
PageData::Source sourcesObject;
if(!allDomainsNodeSourcesSource["Type"].isNull())
sourcesObject.type = allDomainsNodeSourcesSource["Type"].asString();
if(!allDomainsNodeSourcesSource["Content"].isNull())
sourcesObject.content = allDomainsNodeSourcesSource["Content"].asString();
if(!allDomainsNodeSourcesSource["Port"].isNull())
sourcesObject.port = std::stoi(allDomainsNodeSourcesSource["Port"].asString());
if(!allDomainsNodeSourcesSource["Priority"].isNull())
sourcesObject.priority = allDomainsNodeSourcesSource["Priority"].asString();
if(!allDomainsNodeSourcesSource["Weight"].isNull())
sourcesObject.weight = allDomainsNodeSourcesSource["Weight"].asString();
domainsObject.sources.push_back(sourcesObject);
}
domains_.push_back(domainsObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stol(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stol(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
}
std::vector<DescribeCdnUserDomainsByFuncResult::PageData> DescribeCdnUserDomainsByFuncResult::getDomains()const
{
return domains_;
}
long DescribeCdnUserDomainsByFuncResult::getTotalCount()const
{
return totalCount_;
}
long DescribeCdnUserDomainsByFuncResult::getPageSize()const
{
return pageSize_;
}
long DescribeCdnUserDomainsByFuncResult::getPageNumber()const
{
return pageNumber_;
}

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/SetWafConfigRequest.h>
using AlibabaCloud::Cdn::Model::SetWafConfigRequest;
SetWafConfigRequest::SetWafConfigRequest() :
RpcServiceRequest("cdn", "2018-05-10", "SetWafConfig")
{
setMethod(HttpRequest::Method::Post);
}
SetWafConfigRequest::~SetWafConfigRequest()
{}
std::string SetWafConfigRequest::getEnable()const
{
return enable_;
}
void SetWafConfigRequest::setEnable(const std::string& enable)
{
enable_ = enable;
setParameter("Enable", enable);
}
std::string SetWafConfigRequest::getDomainName()const
{
return domainName_;
}
void SetWafConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long SetWafConfigRequest::getOwnerId()const
{
return ownerId_;
}
void SetWafConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
long SetWafConfigRequest::getConfigId()const
{
return configId_;
}
void SetWafConfigRequest::setConfigId(long configId)
{
configId_ = configId;
setParameter("ConfigId", std::to_string(configId));
}

View File

@@ -23,6 +23,7 @@ RpcServiceRequest::RpcServiceRequest(const std::string &product,
const std::string &action)
: ServiceRequest(product, version) {
setActionName(action);
setHeader(std::string("x-acs-action"), action);
}
RpcServiceRequest::~RpcServiceRequest() {}

View File

@@ -25,7 +25,9 @@ ServiceRequest::ServiceRequest(const std::string &product,
: content_(nullptr), contentSize_(0), params_(), product_(product),
resourcePath_("/"), version_(version), scheme_("https"),
connectTimeout_(kInvalidTimeout), readTimeout_(kInvalidTimeout),
method_(HttpRequest::Method::Get) {}
method_(HttpRequest::Method::Get) {
setHeader(std::string("x-acs-version"), version);
}
ServiceRequest::ServiceRequest(const ServiceRequest &other)
: content_(nullptr), contentSize_(other.contentSize_),

View File

@@ -57,6 +57,10 @@ set(dbs_public_header_model
include/alibabacloud/dbs/model/DescribeRestoreRangeInfoResult.h
include/alibabacloud/dbs/model/DescribeRestoreTaskListRequest.h
include/alibabacloud/dbs/model/DescribeRestoreTaskListResult.h
include/alibabacloud/dbs/model/DisableBackupLogRequest.h
include/alibabacloud/dbs/model/DisableBackupLogResult.h
include/alibabacloud/dbs/model/EnableBackupLogRequest.h
include/alibabacloud/dbs/model/EnableBackupLogResult.h
include/alibabacloud/dbs/model/GetDBListFromAgentRequest.h
include/alibabacloud/dbs/model/GetDBListFromAgentResult.h
include/alibabacloud/dbs/model/ModifyBackupObjectsRequest.h
@@ -69,6 +73,10 @@ set(dbs_public_header_model
include/alibabacloud/dbs/model/ModifyBackupSourceEndpointResult.h
include/alibabacloud/dbs/model/ModifyBackupStrategyRequest.h
include/alibabacloud/dbs/model/ModifyBackupStrategyResult.h
include/alibabacloud/dbs/model/ModifyStorageStrategyRequest.h
include/alibabacloud/dbs/model/ModifyStorageStrategyResult.h
include/alibabacloud/dbs/model/ReleaseBackupPlanRequest.h
include/alibabacloud/dbs/model/ReleaseBackupPlanResult.h
include/alibabacloud/dbs/model/RenewBackupPlanRequest.h
include/alibabacloud/dbs/model/RenewBackupPlanResult.h
include/alibabacloud/dbs/model/StartBackupPlanRequest.h
@@ -120,6 +128,10 @@ set(dbs_src
src/model/DescribeRestoreRangeInfoResult.cc
src/model/DescribeRestoreTaskListRequest.cc
src/model/DescribeRestoreTaskListResult.cc
src/model/DisableBackupLogRequest.cc
src/model/DisableBackupLogResult.cc
src/model/EnableBackupLogRequest.cc
src/model/EnableBackupLogResult.cc
src/model/GetDBListFromAgentRequest.cc
src/model/GetDBListFromAgentResult.cc
src/model/ModifyBackupObjectsRequest.cc
@@ -132,6 +144,10 @@ set(dbs_src
src/model/ModifyBackupSourceEndpointResult.cc
src/model/ModifyBackupStrategyRequest.cc
src/model/ModifyBackupStrategyResult.cc
src/model/ModifyStorageStrategyRequest.cc
src/model/ModifyStorageStrategyResult.cc
src/model/ReleaseBackupPlanRequest.cc
src/model/ReleaseBackupPlanResult.cc
src/model/RenewBackupPlanRequest.cc
src/model/RenewBackupPlanResult.cc
src/model/StartBackupPlanRequest.cc

View File

@@ -58,6 +58,10 @@
#include "model/DescribeRestoreRangeInfoResult.h"
#include "model/DescribeRestoreTaskListRequest.h"
#include "model/DescribeRestoreTaskListResult.h"
#include "model/DisableBackupLogRequest.h"
#include "model/DisableBackupLogResult.h"
#include "model/EnableBackupLogRequest.h"
#include "model/EnableBackupLogResult.h"
#include "model/GetDBListFromAgentRequest.h"
#include "model/GetDBListFromAgentResult.h"
#include "model/ModifyBackupObjectsRequest.h"
@@ -70,6 +74,10 @@
#include "model/ModifyBackupSourceEndpointResult.h"
#include "model/ModifyBackupStrategyRequest.h"
#include "model/ModifyBackupStrategyResult.h"
#include "model/ModifyStorageStrategyRequest.h"
#include "model/ModifyStorageStrategyResult.h"
#include "model/ReleaseBackupPlanRequest.h"
#include "model/ReleaseBackupPlanResult.h"
#include "model/RenewBackupPlanRequest.h"
#include "model/RenewBackupPlanResult.h"
#include "model/StartBackupPlanRequest.h"
@@ -145,6 +153,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRestoreTaskListResult> DescribeRestoreTaskListOutcome;
typedef std::future<DescribeRestoreTaskListOutcome> DescribeRestoreTaskListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeRestoreTaskListRequest&, const DescribeRestoreTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRestoreTaskListAsyncHandler;
typedef Outcome<Error, Model::DisableBackupLogResult> DisableBackupLogOutcome;
typedef std::future<DisableBackupLogOutcome> DisableBackupLogOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DisableBackupLogRequest&, const DisableBackupLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableBackupLogAsyncHandler;
typedef Outcome<Error, Model::EnableBackupLogResult> EnableBackupLogOutcome;
typedef std::future<EnableBackupLogOutcome> EnableBackupLogOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::EnableBackupLogRequest&, const EnableBackupLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableBackupLogAsyncHandler;
typedef Outcome<Error, Model::GetDBListFromAgentResult> GetDBListFromAgentOutcome;
typedef std::future<GetDBListFromAgentOutcome> GetDBListFromAgentOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::GetDBListFromAgentRequest&, const GetDBListFromAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDBListFromAgentAsyncHandler;
@@ -163,6 +177,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyBackupStrategyResult> ModifyBackupStrategyOutcome;
typedef std::future<ModifyBackupStrategyOutcome> ModifyBackupStrategyOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupStrategyRequest&, const ModifyBackupStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupStrategyAsyncHandler;
typedef Outcome<Error, Model::ModifyStorageStrategyResult> ModifyStorageStrategyOutcome;
typedef std::future<ModifyStorageStrategyOutcome> ModifyStorageStrategyOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyStorageStrategyRequest&, const ModifyStorageStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyStorageStrategyAsyncHandler;
typedef Outcome<Error, Model::ReleaseBackupPlanResult> ReleaseBackupPlanOutcome;
typedef std::future<ReleaseBackupPlanOutcome> ReleaseBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ReleaseBackupPlanRequest&, const ReleaseBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseBackupPlanAsyncHandler;
typedef Outcome<Error, Model::RenewBackupPlanResult> RenewBackupPlanOutcome;
typedef std::future<RenewBackupPlanOutcome> RenewBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::RenewBackupPlanRequest&, const RenewBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewBackupPlanAsyncHandler;
@@ -240,6 +260,12 @@ namespace AlibabaCloud
DescribeRestoreTaskListOutcome describeRestoreTaskList(const Model::DescribeRestoreTaskListRequest &request)const;
void describeRestoreTaskListAsync(const Model::DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRestoreTaskListOutcomeCallable describeRestoreTaskListCallable(const Model::DescribeRestoreTaskListRequest& request) const;
DisableBackupLogOutcome disableBackupLog(const Model::DisableBackupLogRequest &request)const;
void disableBackupLogAsync(const Model::DisableBackupLogRequest& request, const DisableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableBackupLogOutcomeCallable disableBackupLogCallable(const Model::DisableBackupLogRequest& request) const;
EnableBackupLogOutcome enableBackupLog(const Model::EnableBackupLogRequest &request)const;
void enableBackupLogAsync(const Model::EnableBackupLogRequest& request, const EnableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableBackupLogOutcomeCallable enableBackupLogCallable(const Model::EnableBackupLogRequest& request) const;
GetDBListFromAgentOutcome getDBListFromAgent(const Model::GetDBListFromAgentRequest &request)const;
void getDBListFromAgentAsync(const Model::GetDBListFromAgentRequest& request, const GetDBListFromAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDBListFromAgentOutcomeCallable getDBListFromAgentCallable(const Model::GetDBListFromAgentRequest& request) const;
@@ -258,6 +284,12 @@ namespace AlibabaCloud
ModifyBackupStrategyOutcome modifyBackupStrategy(const Model::ModifyBackupStrategyRequest &request)const;
void modifyBackupStrategyAsync(const Model::ModifyBackupStrategyRequest& request, const ModifyBackupStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupStrategyOutcomeCallable modifyBackupStrategyCallable(const Model::ModifyBackupStrategyRequest& request) const;
ModifyStorageStrategyOutcome modifyStorageStrategy(const Model::ModifyStorageStrategyRequest &request)const;
void modifyStorageStrategyAsync(const Model::ModifyStorageStrategyRequest& request, const ModifyStorageStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyStorageStrategyOutcomeCallable modifyStorageStrategyCallable(const Model::ModifyStorageStrategyRequest& request) const;
ReleaseBackupPlanOutcome releaseBackupPlan(const Model::ReleaseBackupPlanRequest &request)const;
void releaseBackupPlanAsync(const Model::ReleaseBackupPlanRequest& request, const ReleaseBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseBackupPlanOutcomeCallable releaseBackupPlanCallable(const Model::ReleaseBackupPlanRequest& request) const;
RenewBackupPlanOutcome renewBackupPlan(const Model::RenewBackupPlanRequest &request)const;
void renewBackupPlanAsync(const Model::RenewBackupPlanRequest& request, const RenewBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewBackupPlanOutcomeCallable renewBackupPlanCallable(const Model::RenewBackupPlanRequest& request) const;

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string sourceEndpointIpPort;
std::string storageMethod;
long endTime;
std::string backupSetJobId;
long backupSize;
long startTime;
long backupSetExpiredTime;

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_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT DisableBackupLogRequest : public RpcServiceRequest
{
public:
DisableBackupLogRequest();
~DisableBackupLogRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
private:
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGREQUEST_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_DBS_MODEL_DISABLEBACKUPLOGRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT DisableBackupLogResult : public ServiceResult
{
public:
DisableBackupLogResult();
explicit DisableBackupLogResult(const std::string &payload);
~DisableBackupLogResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGRESULT_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_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT EnableBackupLogRequest : public RpcServiceRequest
{
public:
EnableBackupLogRequest();
~EnableBackupLogRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
private:
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGREQUEST_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_DBS_MODEL_ENABLEBACKUPLOGRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT EnableBackupLogResult : public ServiceResult
{
public:
EnableBackupLogResult();
explicit EnableBackupLogResult(const std::string &payload);
~EnableBackupLogResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGRESULT_H_

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setOpenAutoDownload(bool openAutoDownload);
std::string getIncrementDataFormat()const;
void setIncrementDataFormat(const std::string& incrementDataFormat);
std::string getBackupSetDownloadTargetTypeLocation()const;
void setBackupSetDownloadTargetTypeLocation(const std::string& backupSetDownloadTargetTypeLocation);
std::string getBackupSetDownloadDir()const;
void setBackupSetDownloadDir(const std::string& backupSetDownloadDir);
@@ -63,6 +65,7 @@ namespace AlibabaCloud
std::string ownerId_;
bool openAutoDownload_;
std::string incrementDataFormat_;
std::string backupSetDownloadTargetTypeLocation_;
std::string backupSetDownloadDir_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
ModifyBackupStrategyRequest();
~ModifyBackupStrategyRequest();
int getBackupLogIntervalSeconds()const;
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setBackupStrategyType(const std::string& backupStrategyType);
private:
int backupLogIntervalSeconds_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;

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_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyStorageStrategyRequest : public RpcServiceRequest
{
public:
ModifyStorageStrategyRequest();
~ModifyStorageStrategyRequest();
int getDuplicationArchivePeriod()const;
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getBackupRetentionPeriod()const;
void setBackupRetentionPeriod(int backupRetentionPeriod);
int getDuplicationInfrequentAccessPeriod()const;
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
private:
int duplicationArchivePeriod_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
int backupRetentionPeriod_;
int duplicationInfrequentAccessPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_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_DBS_MODEL_MODIFYSTORAGESTRATEGYRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyStorageStrategyResult : public ServiceResult
{
public:
ModifyStorageStrategyResult();
explicit ModifyStorageStrategyResult(const std::string &payload);
~ModifyStorageStrategyResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYRESULT_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_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ReleaseBackupPlanRequest : public RpcServiceRequest
{
public:
ReleaseBackupPlanRequest();
~ReleaseBackupPlanRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
private:
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANREQUEST_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_DBS_MODEL_RELEASEBACKUPPLANRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ReleaseBackupPlanResult : public ServiceResult
{
public:
ReleaseBackupPlanResult();
explicit ReleaseBackupPlanResult(const std::string &payload);
~ReleaseBackupPlanResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANRESULT_H_

View File

@@ -699,6 +699,78 @@ DbsClient::DescribeRestoreTaskListOutcomeCallable DbsClient::describeRestoreTask
return task->get_future();
}
DbsClient::DisableBackupLogOutcome DbsClient::disableBackupLog(const DisableBackupLogRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DisableBackupLogOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DisableBackupLogOutcome(DisableBackupLogResult(outcome.result()));
else
return DisableBackupLogOutcome(outcome.error());
}
void DbsClient::disableBackupLogAsync(const DisableBackupLogRequest& request, const DisableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, disableBackupLog(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::DisableBackupLogOutcomeCallable DbsClient::disableBackupLogCallable(const DisableBackupLogRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DisableBackupLogOutcome()>>(
[this, request]()
{
return this->disableBackupLog(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::EnableBackupLogOutcome DbsClient::enableBackupLog(const EnableBackupLogRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return EnableBackupLogOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return EnableBackupLogOutcome(EnableBackupLogResult(outcome.result()));
else
return EnableBackupLogOutcome(outcome.error());
}
void DbsClient::enableBackupLogAsync(const EnableBackupLogRequest& request, const EnableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, enableBackupLog(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::EnableBackupLogOutcomeCallable DbsClient::enableBackupLogCallable(const EnableBackupLogRequest &request) const
{
auto task = std::make_shared<std::packaged_task<EnableBackupLogOutcome()>>(
[this, request]()
{
return this->enableBackupLog(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::GetDBListFromAgentOutcome DbsClient::getDBListFromAgent(const GetDBListFromAgentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -915,6 +987,78 @@ DbsClient::ModifyBackupStrategyOutcomeCallable DbsClient::modifyBackupStrategyCa
return task->get_future();
}
DbsClient::ModifyStorageStrategyOutcome DbsClient::modifyStorageStrategy(const ModifyStorageStrategyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyStorageStrategyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyStorageStrategyOutcome(ModifyStorageStrategyResult(outcome.result()));
else
return ModifyStorageStrategyOutcome(outcome.error());
}
void DbsClient::modifyStorageStrategyAsync(const ModifyStorageStrategyRequest& request, const ModifyStorageStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyStorageStrategy(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::ModifyStorageStrategyOutcomeCallable DbsClient::modifyStorageStrategyCallable(const ModifyStorageStrategyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyStorageStrategyOutcome()>>(
[this, request]()
{
return this->modifyStorageStrategy(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::ReleaseBackupPlanOutcome DbsClient::releaseBackupPlan(const ReleaseBackupPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ReleaseBackupPlanOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ReleaseBackupPlanOutcome(ReleaseBackupPlanResult(outcome.result()));
else
return ReleaseBackupPlanOutcome(outcome.error());
}
void DbsClient::releaseBackupPlanAsync(const ReleaseBackupPlanRequest& request, const ReleaseBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, releaseBackupPlan(request), context);
};
asyncExecute(new Runnable(fn));
}
DbsClient::ReleaseBackupPlanOutcomeCallable DbsClient::releaseBackupPlanCallable(const ReleaseBackupPlanRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ReleaseBackupPlanOutcome()>>(
[this, request]()
{
return this->releaseBackupPlan(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DbsClient::RenewBackupPlanOutcome DbsClient::renewBackupPlan(const RenewBackupPlanRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -45,6 +45,8 @@ void DescribeIncrementBackupListResult::parse(const std::string &payload)
IncrementBackupFile itemsObject;
if(!valueItemsIncrementBackupFile["BackupSetId"].isNull())
itemsObject.backupSetId = valueItemsIncrementBackupFile["BackupSetId"].asString();
if(!valueItemsIncrementBackupFile["BackupSetJobId"].isNull())
itemsObject.backupSetJobId = valueItemsIncrementBackupFile["BackupSetJobId"].asString();
if(!valueItemsIncrementBackupFile["SourceEndpointIpPort"].isNull())
itemsObject.sourceEndpointIpPort = valueItemsIncrementBackupFile["SourceEndpointIpPort"].asString();
if(!valueItemsIncrementBackupFile["StartTime"].isNull())

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/dbs/model/DisableBackupLogRequest.h>
using AlibabaCloud::Dbs::Model::DisableBackupLogRequest;
DisableBackupLogRequest::DisableBackupLogRequest() :
RpcServiceRequest("dbs", "2019-03-06", "DisableBackupLog")
{
setMethod(HttpRequest::Method::Post);
}
DisableBackupLogRequest::~DisableBackupLogRequest()
{}
std::string DisableBackupLogRequest::getClientToken()const
{
return clientToken_;
}
void DisableBackupLogRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string DisableBackupLogRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void DisableBackupLogRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setParameter("BackupPlanId", backupPlanId);
}
std::string DisableBackupLogRequest::getOwnerId()const
{
return ownerId_;
}
void DisableBackupLogRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
}

View File

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

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/dbs/model/EnableBackupLogRequest.h>
using AlibabaCloud::Dbs::Model::EnableBackupLogRequest;
EnableBackupLogRequest::EnableBackupLogRequest() :
RpcServiceRequest("dbs", "2019-03-06", "EnableBackupLog")
{
setMethod(HttpRequest::Method::Post);
}
EnableBackupLogRequest::~EnableBackupLogRequest()
{}
std::string EnableBackupLogRequest::getClientToken()const
{
return clientToken_;
}
void EnableBackupLogRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string EnableBackupLogRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void EnableBackupLogRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setParameter("BackupPlanId", backupPlanId);
}
std::string EnableBackupLogRequest::getOwnerId()const
{
return ownerId_;
}
void EnableBackupLogRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
}

View File

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

View File

@@ -115,6 +115,17 @@ void ModifyBackupSetDownloadRulesRequest::setIncrementDataFormat(const std::stri
setParameter("IncrementDataFormat", incrementDataFormat);
}
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadTargetTypeLocation()const
{
return backupSetDownloadTargetTypeLocation_;
}
void ModifyBackupSetDownloadRulesRequest::setBackupSetDownloadTargetTypeLocation(const std::string& backupSetDownloadTargetTypeLocation)
{
backupSetDownloadTargetTypeLocation_ = backupSetDownloadTargetTypeLocation;
setParameter("BackupSetDownloadTargetTypeLocation", backupSetDownloadTargetTypeLocation);
}
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadDir()const
{
return backupSetDownloadDir_;

View File

@@ -27,6 +27,17 @@ ModifyBackupStrategyRequest::ModifyBackupStrategyRequest() :
ModifyBackupStrategyRequest::~ModifyBackupStrategyRequest()
{}
int ModifyBackupStrategyRequest::getBackupLogIntervalSeconds()const
{
return backupLogIntervalSeconds_;
}
void ModifyBackupStrategyRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds)
{
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
setParameter("BackupLogIntervalSeconds", std::to_string(backupLogIntervalSeconds));
}
std::string ModifyBackupStrategyRequest::getClientToken()const
{
return clientToken_;

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dbs/model/ModifyStorageStrategyRequest.h>
using AlibabaCloud::Dbs::Model::ModifyStorageStrategyRequest;
ModifyStorageStrategyRequest::ModifyStorageStrategyRequest() :
RpcServiceRequest("dbs", "2019-03-06", "ModifyStorageStrategy")
{
setMethod(HttpRequest::Method::Post);
}
ModifyStorageStrategyRequest::~ModifyStorageStrategyRequest()
{}
int ModifyStorageStrategyRequest::getDuplicationArchivePeriod()const
{
return duplicationArchivePeriod_;
}
void ModifyStorageStrategyRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod)
{
duplicationArchivePeriod_ = duplicationArchivePeriod;
setParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
}
std::string ModifyStorageStrategyRequest::getClientToken()const
{
return clientToken_;
}
void ModifyStorageStrategyRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string ModifyStorageStrategyRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void ModifyStorageStrategyRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setParameter("BackupPlanId", backupPlanId);
}
std::string ModifyStorageStrategyRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyStorageStrategyRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
}
int ModifyStorageStrategyRequest::getBackupRetentionPeriod()const
{
return backupRetentionPeriod_;
}
void ModifyStorageStrategyRequest::setBackupRetentionPeriod(int backupRetentionPeriod)
{
backupRetentionPeriod_ = backupRetentionPeriod;
setParameter("BackupRetentionPeriod", std::to_string(backupRetentionPeriod));
}
int ModifyStorageStrategyRequest::getDuplicationInfrequentAccessPeriod()const
{
return duplicationInfrequentAccessPeriod_;
}
void ModifyStorageStrategyRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod)
{
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
setParameter("DuplicationInfrequentAccessPeriod", std::to_string(duplicationInfrequentAccessPeriod));
}

View File

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

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/dbs/model/ReleaseBackupPlanRequest.h>
using AlibabaCloud::Dbs::Model::ReleaseBackupPlanRequest;
ReleaseBackupPlanRequest::ReleaseBackupPlanRequest() :
RpcServiceRequest("dbs", "2019-03-06", "ReleaseBackupPlan")
{
setMethod(HttpRequest::Method::Post);
}
ReleaseBackupPlanRequest::~ReleaseBackupPlanRequest()
{}
std::string ReleaseBackupPlanRequest::getClientToken()const
{
return clientToken_;
}
void ReleaseBackupPlanRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string ReleaseBackupPlanRequest::getBackupPlanId()const
{
return backupPlanId_;
}
void ReleaseBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
{
backupPlanId_ = backupPlanId;
setParameter("BackupPlanId", backupPlanId);
}
std::string ReleaseBackupPlanRequest::getOwnerId()const
{
return ownerId_;
}
void ReleaseBackupPlanRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
}

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/dbs/model/ReleaseBackupPlanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dbs;
using namespace AlibabaCloud::Dbs::Model;
ReleaseBackupPlanResult::ReleaseBackupPlanResult() :
ServiceResult()
{}
ReleaseBackupPlanResult::ReleaseBackupPlanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ReleaseBackupPlanResult::~ReleaseBackupPlanResult()
{}
void ReleaseBackupPlanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["BackupPlanId"].isNull())
backupPlanId_ = value["BackupPlanId"].asString();
}
int ReleaseBackupPlanResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ReleaseBackupPlanResult::getBackupPlanId()const
{
return backupPlanId_;
}
std::string ReleaseBackupPlanResult::getErrMessage()const
{
return errMessage_;
}
bool ReleaseBackupPlanResult::getSuccess()const
{
return success_;
}
std::string ReleaseBackupPlanResult::getErrCode()const
{
return errCode_;
}

View File

@@ -43,10 +43,18 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigResult.h
include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.h
include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigResult.h
include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h
include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.h
include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateListResult.h
include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateRequest.h
@@ -71,6 +79,8 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainLogResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataRequest.h
@@ -93,10 +103,14 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeReqHitRateDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainTopUrlVisitRequest.h
@@ -113,6 +127,8 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h
include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h
include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailRequest.h
@@ -127,14 +143,22 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksResult.h
include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h
include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnStagingIpResult.h
include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h
include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h
include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusResult.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h
@@ -143,10 +167,18 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyResult.h
include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h
include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesResult.h
include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h
include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h
include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h
include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesResult.h
include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h
include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.h
include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h
include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h
include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h
include/alibabacloud/dcdn/model/SetDcdnDomainCertificateResult.h
include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h
include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h
include/alibabacloud/dcdn/model/StartDcdnDomainRequest.h
include/alibabacloud/dcdn/model/StartDcdnDomainResult.h
include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h
@@ -155,6 +187,10 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/StopDcdnDomainResult.h
include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h
include/alibabacloud/dcdn/model/StopDcdnIpaDomainResult.h
include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h
include/alibabacloud/dcdn/model/TagDcdnResourcesResult.h
include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h
include/alibabacloud/dcdn/model/UntagDcdnResourcesResult.h
include/alibabacloud/dcdn/model/UpdateDcdnDomainRequest.h
include/alibabacloud/dcdn/model/UpdateDcdnDomainResult.h
include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainRequest.h
@@ -184,10 +220,18 @@ set(dcdn_src
src/model/DeleteDcdnIpaSpecificConfigResult.cc
src/model/DeleteDcdnSpecificConfigRequest.cc
src/model/DeleteDcdnSpecificConfigResult.cc
src/model/DeleteDcdnSpecificStagingConfigRequest.cc
src/model/DeleteDcdnSpecificStagingConfigResult.cc
src/model/DescribeDcdnBgpBpsDataRequest.cc
src/model/DescribeDcdnBgpBpsDataResult.cc
src/model/DescribeDcdnBgpTrafficDataRequest.cc
src/model/DescribeDcdnBgpTrafficDataResult.cc
src/model/DescribeDcdnCertificateDetailRequest.cc
src/model/DescribeDcdnCertificateDetailResult.cc
src/model/DescribeDcdnCertificateListRequest.cc
src/model/DescribeDcdnCertificateListResult.cc
src/model/DescribeDcdnConfigOfVersionRequest.cc
src/model/DescribeDcdnConfigOfVersionResult.cc
src/model/DescribeDcdnDomainBpsDataRequest.cc
src/model/DescribeDcdnDomainBpsDataResult.cc
src/model/DescribeDcdnDomainByCertificateRequest.cc
@@ -212,6 +256,8 @@ set(dcdn_src
src/model/DescribeDcdnDomainIspDataResult.cc
src/model/DescribeDcdnDomainLogRequest.cc
src/model/DescribeDcdnDomainLogResult.cc
src/model/DescribeDcdnDomainMultiUsageDataRequest.cc
src/model/DescribeDcdnDomainMultiUsageDataResult.cc
src/model/DescribeDcdnDomainOriginBpsDataRequest.cc
src/model/DescribeDcdnDomainOriginBpsDataResult.cc
src/model/DescribeDcdnDomainOriginTrafficDataRequest.cc
@@ -234,10 +280,14 @@ set(dcdn_src
src/model/DescribeDcdnDomainRealTimeReqHitRateDataResult.cc
src/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.cc
src/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.cc
src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc
src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc
src/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.cc
src/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.cc
src/model/DescribeDcdnDomainRegionDataRequest.cc
src/model/DescribeDcdnDomainRegionDataResult.cc
src/model/DescribeDcdnDomainStagingConfigRequest.cc
src/model/DescribeDcdnDomainStagingConfigResult.cc
src/model/DescribeDcdnDomainTopReferVisitRequest.cc
src/model/DescribeDcdnDomainTopReferVisitResult.cc
src/model/DescribeDcdnDomainTopUrlVisitRequest.cc
@@ -254,6 +304,8 @@ set(dcdn_src
src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc
src/model/DescribeDcdnHttpsDomainListRequest.cc
src/model/DescribeDcdnHttpsDomainListResult.cc
src/model/DescribeDcdnIpInfoRequest.cc
src/model/DescribeDcdnIpInfoResult.cc
src/model/DescribeDcdnIpaDomainConfigsRequest.cc
src/model/DescribeDcdnIpaDomainConfigsResult.cc
src/model/DescribeDcdnIpaDomainDetailRequest.cc
@@ -268,14 +320,22 @@ set(dcdn_src
src/model/DescribeDcdnRefreshTasksResult.cc
src/model/DescribeDcdnServiceRequest.cc
src/model/DescribeDcdnServiceResult.cc
src/model/DescribeDcdnStagingIpRequest.cc
src/model/DescribeDcdnStagingIpResult.cc
src/model/DescribeDcdnTagResourcesRequest.cc
src/model/DescribeDcdnTagResourcesResult.cc
src/model/DescribeDcdnTopDomainsByFlowRequest.cc
src/model/DescribeDcdnTopDomainsByFlowResult.cc
src/model/DescribeDcdnUserBillTypeRequest.cc
src/model/DescribeDcdnUserBillTypeResult.cc
src/model/DescribeDcdnUserDomainsRequest.cc
src/model/DescribeDcdnUserDomainsResult.cc
src/model/DescribeDcdnUserQuotaRequest.cc
src/model/DescribeDcdnUserQuotaResult.cc
src/model/DescribeDcdnUserResourcePackageRequest.cc
src/model/DescribeDcdnUserResourcePackageResult.cc
src/model/DescribeDcdnUserTagsRequest.cc
src/model/DescribeDcdnUserTagsResult.cc
src/model/DescribeUserDcdnIpaStatusRequest.cc
src/model/DescribeUserDcdnIpaStatusResult.cc
src/model/DescribeUserDcdnStatusRequest.cc
@@ -284,10 +344,18 @@ set(dcdn_src
src/model/ModifyDCdnDomainSchdmByPropertyResult.cc
src/model/PreloadDcdnObjectCachesRequest.cc
src/model/PreloadDcdnObjectCachesResult.cc
src/model/PublishDcdnStagingConfigToProductionRequest.cc
src/model/PublishDcdnStagingConfigToProductionResult.cc
src/model/RefreshDcdnObjectCachesRequest.cc
src/model/RefreshDcdnObjectCachesResult.cc
src/model/RollbackDcdnStagingConfigRequest.cc
src/model/RollbackDcdnStagingConfigResult.cc
src/model/SetDcdnConfigOfVersionRequest.cc
src/model/SetDcdnConfigOfVersionResult.cc
src/model/SetDcdnDomainCertificateRequest.cc
src/model/SetDcdnDomainCertificateResult.cc
src/model/SetDcdnDomainStagingConfigRequest.cc
src/model/SetDcdnDomainStagingConfigResult.cc
src/model/StartDcdnDomainRequest.cc
src/model/StartDcdnDomainResult.cc
src/model/StartDcdnIpaDomainRequest.cc
@@ -296,6 +364,10 @@ set(dcdn_src
src/model/StopDcdnDomainResult.cc
src/model/StopDcdnIpaDomainRequest.cc
src/model/StopDcdnIpaDomainResult.cc
src/model/TagDcdnResourcesRequest.cc
src/model/TagDcdnResourcesResult.cc
src/model/UntagDcdnResourcesRequest.cc
src/model/UntagDcdnResourcesResult.cc
src/model/UpdateDcdnDomainRequest.cc
src/model/UpdateDcdnDomainResult.cc
src/model/UpdateDcdnIpaDomainRequest.cc

View File

@@ -44,10 +44,18 @@
#include "model/DeleteDcdnIpaSpecificConfigResult.h"
#include "model/DeleteDcdnSpecificConfigRequest.h"
#include "model/DeleteDcdnSpecificConfigResult.h"
#include "model/DeleteDcdnSpecificStagingConfigRequest.h"
#include "model/DeleteDcdnSpecificStagingConfigResult.h"
#include "model/DescribeDcdnBgpBpsDataRequest.h"
#include "model/DescribeDcdnBgpBpsDataResult.h"
#include "model/DescribeDcdnBgpTrafficDataRequest.h"
#include "model/DescribeDcdnBgpTrafficDataResult.h"
#include "model/DescribeDcdnCertificateDetailRequest.h"
#include "model/DescribeDcdnCertificateDetailResult.h"
#include "model/DescribeDcdnCertificateListRequest.h"
#include "model/DescribeDcdnCertificateListResult.h"
#include "model/DescribeDcdnConfigOfVersionRequest.h"
#include "model/DescribeDcdnConfigOfVersionResult.h"
#include "model/DescribeDcdnDomainBpsDataRequest.h"
#include "model/DescribeDcdnDomainBpsDataResult.h"
#include "model/DescribeDcdnDomainByCertificateRequest.h"
@@ -72,6 +80,8 @@
#include "model/DescribeDcdnDomainIspDataResult.h"
#include "model/DescribeDcdnDomainLogRequest.h"
#include "model/DescribeDcdnDomainLogResult.h"
#include "model/DescribeDcdnDomainMultiUsageDataRequest.h"
#include "model/DescribeDcdnDomainMultiUsageDataResult.h"
#include "model/DescribeDcdnDomainOriginBpsDataRequest.h"
#include "model/DescribeDcdnDomainOriginBpsDataResult.h"
#include "model/DescribeDcdnDomainOriginTrafficDataRequest.h"
@@ -94,10 +104,14 @@
#include "model/DescribeDcdnDomainRealTimeReqHitRateDataResult.h"
#include "model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h"
#include "model/DescribeDcdnDomainRealTimeSrcBpsDataResult.h"
#include "model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h"
#include "model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h"
#include "model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h"
#include "model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.h"
#include "model/DescribeDcdnDomainRegionDataRequest.h"
#include "model/DescribeDcdnDomainRegionDataResult.h"
#include "model/DescribeDcdnDomainStagingConfigRequest.h"
#include "model/DescribeDcdnDomainStagingConfigResult.h"
#include "model/DescribeDcdnDomainTopReferVisitRequest.h"
#include "model/DescribeDcdnDomainTopReferVisitResult.h"
#include "model/DescribeDcdnDomainTopUrlVisitRequest.h"
@@ -114,6 +128,8 @@
#include "model/DescribeDcdnDomainWebsocketTrafficDataResult.h"
#include "model/DescribeDcdnHttpsDomainListRequest.h"
#include "model/DescribeDcdnHttpsDomainListResult.h"
#include "model/DescribeDcdnIpInfoRequest.h"
#include "model/DescribeDcdnIpInfoResult.h"
#include "model/DescribeDcdnIpaDomainConfigsRequest.h"
#include "model/DescribeDcdnIpaDomainConfigsResult.h"
#include "model/DescribeDcdnIpaDomainDetailRequest.h"
@@ -128,14 +144,22 @@
#include "model/DescribeDcdnRefreshTasksResult.h"
#include "model/DescribeDcdnServiceRequest.h"
#include "model/DescribeDcdnServiceResult.h"
#include "model/DescribeDcdnStagingIpRequest.h"
#include "model/DescribeDcdnStagingIpResult.h"
#include "model/DescribeDcdnTagResourcesRequest.h"
#include "model/DescribeDcdnTagResourcesResult.h"
#include "model/DescribeDcdnTopDomainsByFlowRequest.h"
#include "model/DescribeDcdnTopDomainsByFlowResult.h"
#include "model/DescribeDcdnUserBillTypeRequest.h"
#include "model/DescribeDcdnUserBillTypeResult.h"
#include "model/DescribeDcdnUserDomainsRequest.h"
#include "model/DescribeDcdnUserDomainsResult.h"
#include "model/DescribeDcdnUserQuotaRequest.h"
#include "model/DescribeDcdnUserQuotaResult.h"
#include "model/DescribeDcdnUserResourcePackageRequest.h"
#include "model/DescribeDcdnUserResourcePackageResult.h"
#include "model/DescribeDcdnUserTagsRequest.h"
#include "model/DescribeDcdnUserTagsResult.h"
#include "model/DescribeUserDcdnIpaStatusRequest.h"
#include "model/DescribeUserDcdnIpaStatusResult.h"
#include "model/DescribeUserDcdnStatusRequest.h"
@@ -144,10 +168,18 @@
#include "model/ModifyDCdnDomainSchdmByPropertyResult.h"
#include "model/PreloadDcdnObjectCachesRequest.h"
#include "model/PreloadDcdnObjectCachesResult.h"
#include "model/PublishDcdnStagingConfigToProductionRequest.h"
#include "model/PublishDcdnStagingConfigToProductionResult.h"
#include "model/RefreshDcdnObjectCachesRequest.h"
#include "model/RefreshDcdnObjectCachesResult.h"
#include "model/RollbackDcdnStagingConfigRequest.h"
#include "model/RollbackDcdnStagingConfigResult.h"
#include "model/SetDcdnConfigOfVersionRequest.h"
#include "model/SetDcdnConfigOfVersionResult.h"
#include "model/SetDcdnDomainCertificateRequest.h"
#include "model/SetDcdnDomainCertificateResult.h"
#include "model/SetDcdnDomainStagingConfigRequest.h"
#include "model/SetDcdnDomainStagingConfigResult.h"
#include "model/StartDcdnDomainRequest.h"
#include "model/StartDcdnDomainResult.h"
#include "model/StartDcdnIpaDomainRequest.h"
@@ -156,6 +188,10 @@
#include "model/StopDcdnDomainResult.h"
#include "model/StopDcdnIpaDomainRequest.h"
#include "model/StopDcdnIpaDomainResult.h"
#include "model/TagDcdnResourcesRequest.h"
#include "model/TagDcdnResourcesResult.h"
#include "model/UntagDcdnResourcesRequest.h"
#include "model/UntagDcdnResourcesResult.h"
#include "model/UpdateDcdnDomainRequest.h"
#include "model/UpdateDcdnDomainResult.h"
#include "model/UpdateDcdnIpaDomainRequest.h"
@@ -202,12 +238,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteDcdnSpecificConfigResult> DeleteDcdnSpecificConfigOutcome;
typedef std::future<DeleteDcdnSpecificConfigOutcome> DeleteDcdnSpecificConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DeleteDcdnSpecificConfigRequest&, const DeleteDcdnSpecificConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDcdnSpecificConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteDcdnSpecificStagingConfigResult> DeleteDcdnSpecificStagingConfigOutcome;
typedef std::future<DeleteDcdnSpecificStagingConfigOutcome> DeleteDcdnSpecificStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DeleteDcdnSpecificStagingConfigRequest&, const DeleteDcdnSpecificStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDcdnSpecificStagingConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnBgpBpsDataResult> DescribeDcdnBgpBpsDataOutcome;
typedef std::future<DescribeDcdnBgpBpsDataOutcome> DescribeDcdnBgpBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnBgpBpsDataRequest&, const DescribeDcdnBgpBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnBgpBpsDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnBgpTrafficDataResult> DescribeDcdnBgpTrafficDataOutcome;
typedef std::future<DescribeDcdnBgpTrafficDataOutcome> DescribeDcdnBgpTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnBgpTrafficDataRequest&, const DescribeDcdnBgpTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnBgpTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnCertificateDetailResult> DescribeDcdnCertificateDetailOutcome;
typedef std::future<DescribeDcdnCertificateDetailOutcome> DescribeDcdnCertificateDetailOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateDetailRequest&, const DescribeDcdnCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnCertificateListResult> DescribeDcdnCertificateListOutcome;
typedef std::future<DescribeDcdnCertificateListOutcome> DescribeDcdnCertificateListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateListRequest&, const DescribeDcdnCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnConfigOfVersionResult> DescribeDcdnConfigOfVersionOutcome;
typedef std::future<DescribeDcdnConfigOfVersionOutcome> DescribeDcdnConfigOfVersionOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnConfigOfVersionRequest&, const DescribeDcdnConfigOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnConfigOfVersionAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainBpsDataResult> DescribeDcdnDomainBpsDataOutcome;
typedef std::future<DescribeDcdnDomainBpsDataOutcome> DescribeDcdnDomainBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainBpsDataRequest&, const DescribeDcdnDomainBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainBpsDataAsyncHandler;
@@ -244,6 +292,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnDomainLogResult> DescribeDcdnDomainLogOutcome;
typedef std::future<DescribeDcdnDomainLogOutcome> DescribeDcdnDomainLogOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainLogRequest&, const DescribeDcdnDomainLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainLogAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainMultiUsageDataResult> DescribeDcdnDomainMultiUsageDataOutcome;
typedef std::future<DescribeDcdnDomainMultiUsageDataOutcome> DescribeDcdnDomainMultiUsageDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainMultiUsageDataRequest&, const DescribeDcdnDomainMultiUsageDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainMultiUsageDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainOriginBpsDataResult> DescribeDcdnDomainOriginBpsDataOutcome;
typedef std::future<DescribeDcdnDomainOriginBpsDataOutcome> DescribeDcdnDomainOriginBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainOriginBpsDataRequest&, const DescribeDcdnDomainOriginBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainOriginBpsDataAsyncHandler;
@@ -277,12 +328,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnDomainRealTimeSrcBpsDataResult> DescribeDcdnDomainRealTimeSrcBpsDataOutcome;
typedef std::future<DescribeDcdnDomainRealTimeSrcBpsDataOutcome> DescribeDcdnDomainRealTimeSrcBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest&, const DescribeDcdnDomainRealTimeSrcBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRealTimeSrcBpsDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataResult> DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome;
typedef std::future<DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome> DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest&, const DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRealTimeSrcHttpCodeDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainRealTimeSrcTrafficDataResult> DescribeDcdnDomainRealTimeSrcTrafficDataOutcome;
typedef std::future<DescribeDcdnDomainRealTimeSrcTrafficDataOutcome> DescribeDcdnDomainRealTimeSrcTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest&, const DescribeDcdnDomainRealTimeSrcTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRealTimeSrcTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainRegionDataResult> DescribeDcdnDomainRegionDataOutcome;
typedef std::future<DescribeDcdnDomainRegionDataOutcome> DescribeDcdnDomainRegionDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainRegionDataRequest&, const DescribeDcdnDomainRegionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainRegionDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainStagingConfigResult> DescribeDcdnDomainStagingConfigOutcome;
typedef std::future<DescribeDcdnDomainStagingConfigOutcome> DescribeDcdnDomainStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainStagingConfigRequest&, const DescribeDcdnDomainStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainStagingConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnDomainTopReferVisitResult> DescribeDcdnDomainTopReferVisitOutcome;
typedef std::future<DescribeDcdnDomainTopReferVisitOutcome> DescribeDcdnDomainTopReferVisitOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainTopReferVisitRequest&, const DescribeDcdnDomainTopReferVisitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainTopReferVisitAsyncHandler;
@@ -307,6 +364,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnHttpsDomainListResult> DescribeDcdnHttpsDomainListOutcome;
typedef std::future<DescribeDcdnHttpsDomainListOutcome> DescribeDcdnHttpsDomainListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnHttpsDomainListRequest&, const DescribeDcdnHttpsDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnHttpsDomainListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnIpInfoResult> DescribeDcdnIpInfoOutcome;
typedef std::future<DescribeDcdnIpInfoOutcome> DescribeDcdnIpInfoOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpInfoRequest&, const DescribeDcdnIpInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnIpaDomainConfigsResult> DescribeDcdnIpaDomainConfigsOutcome;
typedef std::future<DescribeDcdnIpaDomainConfigsOutcome> DescribeDcdnIpaDomainConfigsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpaDomainConfigsRequest&, const DescribeDcdnIpaDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpaDomainConfigsAsyncHandler;
@@ -328,9 +388,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnServiceResult> DescribeDcdnServiceOutcome;
typedef std::future<DescribeDcdnServiceOutcome> DescribeDcdnServiceOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnServiceRequest&, const DescribeDcdnServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnServiceAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnStagingIpResult> DescribeDcdnStagingIpOutcome;
typedef std::future<DescribeDcdnStagingIpOutcome> DescribeDcdnStagingIpOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnStagingIpRequest&, const DescribeDcdnStagingIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnStagingIpAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnTagResourcesResult> DescribeDcdnTagResourcesOutcome;
typedef std::future<DescribeDcdnTagResourcesOutcome> DescribeDcdnTagResourcesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnTagResourcesRequest&, const DescribeDcdnTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnTagResourcesAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnTopDomainsByFlowResult> DescribeDcdnTopDomainsByFlowOutcome;
typedef std::future<DescribeDcdnTopDomainsByFlowOutcome> DescribeDcdnTopDomainsByFlowOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnTopDomainsByFlowRequest&, const DescribeDcdnTopDomainsByFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnTopDomainsByFlowAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserBillTypeResult> DescribeDcdnUserBillTypeOutcome;
typedef std::future<DescribeDcdnUserBillTypeOutcome> DescribeDcdnUserBillTypeOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserBillTypeRequest&, const DescribeDcdnUserBillTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserBillTypeAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserDomainsResult> DescribeDcdnUserDomainsOutcome;
typedef std::future<DescribeDcdnUserDomainsOutcome> DescribeDcdnUserDomainsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserDomainsRequest&, const DescribeDcdnUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserDomainsAsyncHandler;
@@ -340,6 +409,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnUserResourcePackageResult> DescribeDcdnUserResourcePackageOutcome;
typedef std::future<DescribeDcdnUserResourcePackageOutcome> DescribeDcdnUserResourcePackageOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserResourcePackageRequest&, const DescribeDcdnUserResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserResourcePackageAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserTagsResult> DescribeDcdnUserTagsOutcome;
typedef std::future<DescribeDcdnUserTagsOutcome> DescribeDcdnUserTagsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserTagsRequest&, const DescribeDcdnUserTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserTagsAsyncHandler;
typedef Outcome<Error, Model::DescribeUserDcdnIpaStatusResult> DescribeUserDcdnIpaStatusOutcome;
typedef std::future<DescribeUserDcdnIpaStatusOutcome> DescribeUserDcdnIpaStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnIpaStatusRequest&, const DescribeUserDcdnIpaStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnIpaStatusAsyncHandler;
@@ -352,12 +424,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::PreloadDcdnObjectCachesResult> PreloadDcdnObjectCachesOutcome;
typedef std::future<PreloadDcdnObjectCachesOutcome> PreloadDcdnObjectCachesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::PreloadDcdnObjectCachesRequest&, const PreloadDcdnObjectCachesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreloadDcdnObjectCachesAsyncHandler;
typedef Outcome<Error, Model::PublishDcdnStagingConfigToProductionResult> PublishDcdnStagingConfigToProductionOutcome;
typedef std::future<PublishDcdnStagingConfigToProductionOutcome> PublishDcdnStagingConfigToProductionOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::PublishDcdnStagingConfigToProductionRequest&, const PublishDcdnStagingConfigToProductionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishDcdnStagingConfigToProductionAsyncHandler;
typedef Outcome<Error, Model::RefreshDcdnObjectCachesResult> RefreshDcdnObjectCachesOutcome;
typedef std::future<RefreshDcdnObjectCachesOutcome> RefreshDcdnObjectCachesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::RefreshDcdnObjectCachesRequest&, const RefreshDcdnObjectCachesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDcdnObjectCachesAsyncHandler;
typedef Outcome<Error, Model::RollbackDcdnStagingConfigResult> RollbackDcdnStagingConfigOutcome;
typedef std::future<RollbackDcdnStagingConfigOutcome> RollbackDcdnStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::RollbackDcdnStagingConfigRequest&, const RollbackDcdnStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackDcdnStagingConfigAsyncHandler;
typedef Outcome<Error, Model::SetDcdnConfigOfVersionResult> SetDcdnConfigOfVersionOutcome;
typedef std::future<SetDcdnConfigOfVersionOutcome> SetDcdnConfigOfVersionOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnConfigOfVersionRequest&, const SetDcdnConfigOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnConfigOfVersionAsyncHandler;
typedef Outcome<Error, Model::SetDcdnDomainCertificateResult> SetDcdnDomainCertificateOutcome;
typedef std::future<SetDcdnDomainCertificateOutcome> SetDcdnDomainCertificateOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainCertificateRequest&, const SetDcdnDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnDomainCertificateAsyncHandler;
typedef Outcome<Error, Model::SetDcdnDomainStagingConfigResult> SetDcdnDomainStagingConfigOutcome;
typedef std::future<SetDcdnDomainStagingConfigOutcome> SetDcdnDomainStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainStagingConfigRequest&, const SetDcdnDomainStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnDomainStagingConfigAsyncHandler;
typedef Outcome<Error, Model::StartDcdnDomainResult> StartDcdnDomainOutcome;
typedef std::future<StartDcdnDomainOutcome> StartDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::StartDcdnDomainRequest&, const StartDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDcdnDomainAsyncHandler;
@@ -370,6 +454,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StopDcdnIpaDomainResult> StopDcdnIpaDomainOutcome;
typedef std::future<StopDcdnIpaDomainOutcome> StopDcdnIpaDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::StopDcdnIpaDomainRequest&, const StopDcdnIpaDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDcdnIpaDomainAsyncHandler;
typedef Outcome<Error, Model::TagDcdnResourcesResult> TagDcdnResourcesOutcome;
typedef std::future<TagDcdnResourcesOutcome> TagDcdnResourcesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::TagDcdnResourcesRequest&, const TagDcdnResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagDcdnResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagDcdnResourcesResult> UntagDcdnResourcesOutcome;
typedef std::future<UntagDcdnResourcesOutcome> UntagDcdnResourcesOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::UntagDcdnResourcesRequest&, const UntagDcdnResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagDcdnResourcesAsyncHandler;
typedef Outcome<Error, Model::UpdateDcdnDomainResult> UpdateDcdnDomainOutcome;
typedef std::future<UpdateDcdnDomainOutcome> UpdateDcdnDomainOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::UpdateDcdnDomainRequest&, const UpdateDcdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDcdnDomainAsyncHandler;
@@ -414,12 +504,24 @@ namespace AlibabaCloud
DeleteDcdnSpecificConfigOutcome deleteDcdnSpecificConfig(const Model::DeleteDcdnSpecificConfigRequest &request)const;
void deleteDcdnSpecificConfigAsync(const Model::DeleteDcdnSpecificConfigRequest& request, const DeleteDcdnSpecificConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDcdnSpecificConfigOutcomeCallable deleteDcdnSpecificConfigCallable(const Model::DeleteDcdnSpecificConfigRequest& request) const;
DeleteDcdnSpecificStagingConfigOutcome deleteDcdnSpecificStagingConfig(const Model::DeleteDcdnSpecificStagingConfigRequest &request)const;
void deleteDcdnSpecificStagingConfigAsync(const Model::DeleteDcdnSpecificStagingConfigRequest& request, const DeleteDcdnSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDcdnSpecificStagingConfigOutcomeCallable deleteDcdnSpecificStagingConfigCallable(const Model::DeleteDcdnSpecificStagingConfigRequest& request) const;
DescribeDcdnBgpBpsDataOutcome describeDcdnBgpBpsData(const Model::DescribeDcdnBgpBpsDataRequest &request)const;
void describeDcdnBgpBpsDataAsync(const Model::DescribeDcdnBgpBpsDataRequest& request, const DescribeDcdnBgpBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnBgpBpsDataOutcomeCallable describeDcdnBgpBpsDataCallable(const Model::DescribeDcdnBgpBpsDataRequest& request) const;
DescribeDcdnBgpTrafficDataOutcome describeDcdnBgpTrafficData(const Model::DescribeDcdnBgpTrafficDataRequest &request)const;
void describeDcdnBgpTrafficDataAsync(const Model::DescribeDcdnBgpTrafficDataRequest& request, const DescribeDcdnBgpTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnBgpTrafficDataOutcomeCallable describeDcdnBgpTrafficDataCallable(const Model::DescribeDcdnBgpTrafficDataRequest& request) const;
DescribeDcdnCertificateDetailOutcome describeDcdnCertificateDetail(const Model::DescribeDcdnCertificateDetailRequest &request)const;
void describeDcdnCertificateDetailAsync(const Model::DescribeDcdnCertificateDetailRequest& request, const DescribeDcdnCertificateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnCertificateDetailOutcomeCallable describeDcdnCertificateDetailCallable(const Model::DescribeDcdnCertificateDetailRequest& request) const;
DescribeDcdnCertificateListOutcome describeDcdnCertificateList(const Model::DescribeDcdnCertificateListRequest &request)const;
void describeDcdnCertificateListAsync(const Model::DescribeDcdnCertificateListRequest& request, const DescribeDcdnCertificateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnCertificateListOutcomeCallable describeDcdnCertificateListCallable(const Model::DescribeDcdnCertificateListRequest& request) const;
DescribeDcdnConfigOfVersionOutcome describeDcdnConfigOfVersion(const Model::DescribeDcdnConfigOfVersionRequest &request)const;
void describeDcdnConfigOfVersionAsync(const Model::DescribeDcdnConfigOfVersionRequest& request, const DescribeDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnConfigOfVersionOutcomeCallable describeDcdnConfigOfVersionCallable(const Model::DescribeDcdnConfigOfVersionRequest& request) const;
DescribeDcdnDomainBpsDataOutcome describeDcdnDomainBpsData(const Model::DescribeDcdnDomainBpsDataRequest &request)const;
void describeDcdnDomainBpsDataAsync(const Model::DescribeDcdnDomainBpsDataRequest& request, const DescribeDcdnDomainBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainBpsDataOutcomeCallable describeDcdnDomainBpsDataCallable(const Model::DescribeDcdnDomainBpsDataRequest& request) const;
@@ -456,6 +558,9 @@ namespace AlibabaCloud
DescribeDcdnDomainLogOutcome describeDcdnDomainLog(const Model::DescribeDcdnDomainLogRequest &request)const;
void describeDcdnDomainLogAsync(const Model::DescribeDcdnDomainLogRequest& request, const DescribeDcdnDomainLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainLogOutcomeCallable describeDcdnDomainLogCallable(const Model::DescribeDcdnDomainLogRequest& request) const;
DescribeDcdnDomainMultiUsageDataOutcome describeDcdnDomainMultiUsageData(const Model::DescribeDcdnDomainMultiUsageDataRequest &request)const;
void describeDcdnDomainMultiUsageDataAsync(const Model::DescribeDcdnDomainMultiUsageDataRequest& request, const DescribeDcdnDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainMultiUsageDataOutcomeCallable describeDcdnDomainMultiUsageDataCallable(const Model::DescribeDcdnDomainMultiUsageDataRequest& request) const;
DescribeDcdnDomainOriginBpsDataOutcome describeDcdnDomainOriginBpsData(const Model::DescribeDcdnDomainOriginBpsDataRequest &request)const;
void describeDcdnDomainOriginBpsDataAsync(const Model::DescribeDcdnDomainOriginBpsDataRequest& request, const DescribeDcdnDomainOriginBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainOriginBpsDataOutcomeCallable describeDcdnDomainOriginBpsDataCallable(const Model::DescribeDcdnDomainOriginBpsDataRequest& request) const;
@@ -489,12 +594,18 @@ namespace AlibabaCloud
DescribeDcdnDomainRealTimeSrcBpsDataOutcome describeDcdnDomainRealTimeSrcBpsData(const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest &request)const;
void describeDcdnDomainRealTimeSrcBpsDataAsync(const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest& request, const DescribeDcdnDomainRealTimeSrcBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainRealTimeSrcBpsDataOutcomeCallable describeDcdnDomainRealTimeSrcBpsDataCallable(const Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest& request) const;
DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome describeDcdnDomainRealTimeSrcHttpCodeData(const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest &request)const;
void describeDcdnDomainRealTimeSrcHttpCodeDataAsync(const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest& request, const DescribeDcdnDomainRealTimeSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcomeCallable describeDcdnDomainRealTimeSrcHttpCodeDataCallable(const Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest& request) const;
DescribeDcdnDomainRealTimeSrcTrafficDataOutcome describeDcdnDomainRealTimeSrcTrafficData(const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest &request)const;
void describeDcdnDomainRealTimeSrcTrafficDataAsync(const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest& request, const DescribeDcdnDomainRealTimeSrcTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainRealTimeSrcTrafficDataOutcomeCallable describeDcdnDomainRealTimeSrcTrafficDataCallable(const Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest& request) const;
DescribeDcdnDomainRegionDataOutcome describeDcdnDomainRegionData(const Model::DescribeDcdnDomainRegionDataRequest &request)const;
void describeDcdnDomainRegionDataAsync(const Model::DescribeDcdnDomainRegionDataRequest& request, const DescribeDcdnDomainRegionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainRegionDataOutcomeCallable describeDcdnDomainRegionDataCallable(const Model::DescribeDcdnDomainRegionDataRequest& request) const;
DescribeDcdnDomainStagingConfigOutcome describeDcdnDomainStagingConfig(const Model::DescribeDcdnDomainStagingConfigRequest &request)const;
void describeDcdnDomainStagingConfigAsync(const Model::DescribeDcdnDomainStagingConfigRequest& request, const DescribeDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainStagingConfigOutcomeCallable describeDcdnDomainStagingConfigCallable(const Model::DescribeDcdnDomainStagingConfigRequest& request) const;
DescribeDcdnDomainTopReferVisitOutcome describeDcdnDomainTopReferVisit(const Model::DescribeDcdnDomainTopReferVisitRequest &request)const;
void describeDcdnDomainTopReferVisitAsync(const Model::DescribeDcdnDomainTopReferVisitRequest& request, const DescribeDcdnDomainTopReferVisitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainTopReferVisitOutcomeCallable describeDcdnDomainTopReferVisitCallable(const Model::DescribeDcdnDomainTopReferVisitRequest& request) const;
@@ -519,6 +630,9 @@ namespace AlibabaCloud
DescribeDcdnHttpsDomainListOutcome describeDcdnHttpsDomainList(const Model::DescribeDcdnHttpsDomainListRequest &request)const;
void describeDcdnHttpsDomainListAsync(const Model::DescribeDcdnHttpsDomainListRequest& request, const DescribeDcdnHttpsDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnHttpsDomainListOutcomeCallable describeDcdnHttpsDomainListCallable(const Model::DescribeDcdnHttpsDomainListRequest& request) const;
DescribeDcdnIpInfoOutcome describeDcdnIpInfo(const Model::DescribeDcdnIpInfoRequest &request)const;
void describeDcdnIpInfoAsync(const Model::DescribeDcdnIpInfoRequest& request, const DescribeDcdnIpInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnIpInfoOutcomeCallable describeDcdnIpInfoCallable(const Model::DescribeDcdnIpInfoRequest& request) const;
DescribeDcdnIpaDomainConfigsOutcome describeDcdnIpaDomainConfigs(const Model::DescribeDcdnIpaDomainConfigsRequest &request)const;
void describeDcdnIpaDomainConfigsAsync(const Model::DescribeDcdnIpaDomainConfigsRequest& request, const DescribeDcdnIpaDomainConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnIpaDomainConfigsOutcomeCallable describeDcdnIpaDomainConfigsCallable(const Model::DescribeDcdnIpaDomainConfigsRequest& request) const;
@@ -540,9 +654,18 @@ namespace AlibabaCloud
DescribeDcdnServiceOutcome describeDcdnService(const Model::DescribeDcdnServiceRequest &request)const;
void describeDcdnServiceAsync(const Model::DescribeDcdnServiceRequest& request, const DescribeDcdnServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnServiceOutcomeCallable describeDcdnServiceCallable(const Model::DescribeDcdnServiceRequest& request) const;
DescribeDcdnStagingIpOutcome describeDcdnStagingIp(const Model::DescribeDcdnStagingIpRequest &request)const;
void describeDcdnStagingIpAsync(const Model::DescribeDcdnStagingIpRequest& request, const DescribeDcdnStagingIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnStagingIpOutcomeCallable describeDcdnStagingIpCallable(const Model::DescribeDcdnStagingIpRequest& request) const;
DescribeDcdnTagResourcesOutcome describeDcdnTagResources(const Model::DescribeDcdnTagResourcesRequest &request)const;
void describeDcdnTagResourcesAsync(const Model::DescribeDcdnTagResourcesRequest& request, const DescribeDcdnTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnTagResourcesOutcomeCallable describeDcdnTagResourcesCallable(const Model::DescribeDcdnTagResourcesRequest& request) const;
DescribeDcdnTopDomainsByFlowOutcome describeDcdnTopDomainsByFlow(const Model::DescribeDcdnTopDomainsByFlowRequest &request)const;
void describeDcdnTopDomainsByFlowAsync(const Model::DescribeDcdnTopDomainsByFlowRequest& request, const DescribeDcdnTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnTopDomainsByFlowOutcomeCallable describeDcdnTopDomainsByFlowCallable(const Model::DescribeDcdnTopDomainsByFlowRequest& request) const;
DescribeDcdnUserBillTypeOutcome describeDcdnUserBillType(const Model::DescribeDcdnUserBillTypeRequest &request)const;
void describeDcdnUserBillTypeAsync(const Model::DescribeDcdnUserBillTypeRequest& request, const DescribeDcdnUserBillTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserBillTypeOutcomeCallable describeDcdnUserBillTypeCallable(const Model::DescribeDcdnUserBillTypeRequest& request) const;
DescribeDcdnUserDomainsOutcome describeDcdnUserDomains(const Model::DescribeDcdnUserDomainsRequest &request)const;
void describeDcdnUserDomainsAsync(const Model::DescribeDcdnUserDomainsRequest& request, const DescribeDcdnUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserDomainsOutcomeCallable describeDcdnUserDomainsCallable(const Model::DescribeDcdnUserDomainsRequest& request) const;
@@ -552,6 +675,9 @@ namespace AlibabaCloud
DescribeDcdnUserResourcePackageOutcome describeDcdnUserResourcePackage(const Model::DescribeDcdnUserResourcePackageRequest &request)const;
void describeDcdnUserResourcePackageAsync(const Model::DescribeDcdnUserResourcePackageRequest& request, const DescribeDcdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserResourcePackageOutcomeCallable describeDcdnUserResourcePackageCallable(const Model::DescribeDcdnUserResourcePackageRequest& request) const;
DescribeDcdnUserTagsOutcome describeDcdnUserTags(const Model::DescribeDcdnUserTagsRequest &request)const;
void describeDcdnUserTagsAsync(const Model::DescribeDcdnUserTagsRequest& request, const DescribeDcdnUserTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserTagsOutcomeCallable describeDcdnUserTagsCallable(const Model::DescribeDcdnUserTagsRequest& request) const;
DescribeUserDcdnIpaStatusOutcome describeUserDcdnIpaStatus(const Model::DescribeUserDcdnIpaStatusRequest &request)const;
void describeUserDcdnIpaStatusAsync(const Model::DescribeUserDcdnIpaStatusRequest& request, const DescribeUserDcdnIpaStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserDcdnIpaStatusOutcomeCallable describeUserDcdnIpaStatusCallable(const Model::DescribeUserDcdnIpaStatusRequest& request) const;
@@ -564,12 +690,24 @@ namespace AlibabaCloud
PreloadDcdnObjectCachesOutcome preloadDcdnObjectCaches(const Model::PreloadDcdnObjectCachesRequest &request)const;
void preloadDcdnObjectCachesAsync(const Model::PreloadDcdnObjectCachesRequest& request, const PreloadDcdnObjectCachesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreloadDcdnObjectCachesOutcomeCallable preloadDcdnObjectCachesCallable(const Model::PreloadDcdnObjectCachesRequest& request) const;
PublishDcdnStagingConfigToProductionOutcome publishDcdnStagingConfigToProduction(const Model::PublishDcdnStagingConfigToProductionRequest &request)const;
void publishDcdnStagingConfigToProductionAsync(const Model::PublishDcdnStagingConfigToProductionRequest& request, const PublishDcdnStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishDcdnStagingConfigToProductionOutcomeCallable publishDcdnStagingConfigToProductionCallable(const Model::PublishDcdnStagingConfigToProductionRequest& request) const;
RefreshDcdnObjectCachesOutcome refreshDcdnObjectCaches(const Model::RefreshDcdnObjectCachesRequest &request)const;
void refreshDcdnObjectCachesAsync(const Model::RefreshDcdnObjectCachesRequest& request, const RefreshDcdnObjectCachesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefreshDcdnObjectCachesOutcomeCallable refreshDcdnObjectCachesCallable(const Model::RefreshDcdnObjectCachesRequest& request) const;
RollbackDcdnStagingConfigOutcome rollbackDcdnStagingConfig(const Model::RollbackDcdnStagingConfigRequest &request)const;
void rollbackDcdnStagingConfigAsync(const Model::RollbackDcdnStagingConfigRequest& request, const RollbackDcdnStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RollbackDcdnStagingConfigOutcomeCallable rollbackDcdnStagingConfigCallable(const Model::RollbackDcdnStagingConfigRequest& request) const;
SetDcdnConfigOfVersionOutcome setDcdnConfigOfVersion(const Model::SetDcdnConfigOfVersionRequest &request)const;
void setDcdnConfigOfVersionAsync(const Model::SetDcdnConfigOfVersionRequest& request, const SetDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDcdnConfigOfVersionOutcomeCallable setDcdnConfigOfVersionCallable(const Model::SetDcdnConfigOfVersionRequest& request) const;
SetDcdnDomainCertificateOutcome setDcdnDomainCertificate(const Model::SetDcdnDomainCertificateRequest &request)const;
void setDcdnDomainCertificateAsync(const Model::SetDcdnDomainCertificateRequest& request, const SetDcdnDomainCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDcdnDomainCertificateOutcomeCallable setDcdnDomainCertificateCallable(const Model::SetDcdnDomainCertificateRequest& request) const;
SetDcdnDomainStagingConfigOutcome setDcdnDomainStagingConfig(const Model::SetDcdnDomainStagingConfigRequest &request)const;
void setDcdnDomainStagingConfigAsync(const Model::SetDcdnDomainStagingConfigRequest& request, const SetDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDcdnDomainStagingConfigOutcomeCallable setDcdnDomainStagingConfigCallable(const Model::SetDcdnDomainStagingConfigRequest& request) const;
StartDcdnDomainOutcome startDcdnDomain(const Model::StartDcdnDomainRequest &request)const;
void startDcdnDomainAsync(const Model::StartDcdnDomainRequest& request, const StartDcdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartDcdnDomainOutcomeCallable startDcdnDomainCallable(const Model::StartDcdnDomainRequest& request) const;
@@ -582,6 +720,12 @@ namespace AlibabaCloud
StopDcdnIpaDomainOutcome stopDcdnIpaDomain(const Model::StopDcdnIpaDomainRequest &request)const;
void stopDcdnIpaDomainAsync(const Model::StopDcdnIpaDomainRequest& request, const StopDcdnIpaDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopDcdnIpaDomainOutcomeCallable stopDcdnIpaDomainCallable(const Model::StopDcdnIpaDomainRequest& request) const;
TagDcdnResourcesOutcome tagDcdnResources(const Model::TagDcdnResourcesRequest &request)const;
void tagDcdnResourcesAsync(const Model::TagDcdnResourcesRequest& request, const TagDcdnResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagDcdnResourcesOutcomeCallable tagDcdnResourcesCallable(const Model::TagDcdnResourcesRequest& request) const;
UntagDcdnResourcesOutcome untagDcdnResources(const Model::UntagDcdnResourcesRequest &request)const;
void untagDcdnResourcesAsync(const Model::UntagDcdnResourcesRequest& request, const UntagDcdnResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagDcdnResourcesOutcomeCallable untagDcdnResourcesCallable(const Model::UntagDcdnResourcesRequest& request) const;
UpdateDcdnDomainOutcome updateDcdnDomain(const Model::UpdateDcdnDomainRequest &request)const;
void updateDcdnDomainAsync(const Model::UpdateDcdnDomainRequest& request, const UpdateDcdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDcdnDomainOutcomeCallable updateDcdnDomainCallable(const Model::UpdateDcdnDomainRequest& request) const;

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_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificStagingConfigRequest : public RpcServiceRequest
{
public:
DeleteDcdnSpecificStagingConfigRequest();
~DeleteDcdnSpecificStagingConfigRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getConfigId()const;
void setConfigId(const std::string& configId);
private:
std::string securityToken_;
std::string domainName_;
long ownerId_;
std::string configId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_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_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificStagingConfigResult : public ServiceResult
{
public:
DeleteDcdnSpecificStagingConfigResult();
explicit DeleteDcdnSpecificStagingConfigResult(const std::string &payload);
~DeleteDcdnSpecificStagingConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGRESULT_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_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpBpsDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnBgpBpsDataRequest();
~DescribeDcdnBgpBpsDataRequest();
std::string getIsp()const;
void setIsp(const std::string& isp);
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);
std::string getInterval()const;
void setInterval(const std::string& interval);
private:
std::string isp_;
std::string startTime_;
std::string endTime_;
long ownerId_;
std::string interval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_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_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpBpsDataResult : public ServiceResult
{
public:
struct BgpData
{
float in;
std::string timeStamp;
float out;
};
DescribeDcdnBgpBpsDataResult();
explicit DescribeDcdnBgpBpsDataResult(const std::string &payload);
~DescribeDcdnBgpBpsDataResult();
std::string getEndTime()const;
std::string getStartTime()const;
std::vector<BgpData> getBgpDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string startTime_;
std::vector<BgpData> bgpDataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATARESULT_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_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpTrafficDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnBgpTrafficDataRequest();
~DescribeDcdnBgpTrafficDataRequest();
std::string getIsp()const;
void setIsp(const std::string& isp);
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);
std::string getInterval()const;
void setInterval(const std::string& interval);
private:
std::string isp_;
std::string startTime_;
std::string endTime_;
long ownerId_;
std::string interval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_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_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpTrafficDataResult : public ServiceResult
{
public:
struct BgpData
{
long in;
std::string timeStamp;
long out;
};
DescribeDcdnBgpTrafficDataResult();
explicit DescribeDcdnBgpTrafficDataResult(const std::string &payload);
~DescribeDcdnBgpTrafficDataResult();
std::string getEndTime()const;
std::string getStartTime()const;
std::vector<BgpData> getBgpDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string startTime_;
std::vector<BgpData> bgpDataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATARESULT_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_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigOfVersionRequest : public RpcServiceRequest
{
public:
DescribeDcdnConfigOfVersionRequest();
~DescribeDcdnConfigOfVersionRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getFunctionName()const;
void setFunctionName(const std::string& functionName);
long getGroupId()const;
void setGroupId(long groupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getFunctionId()const;
void setFunctionId(int functionId);
private:
std::string versionId_;
std::string securityToken_;
std::string functionName_;
long groupId_;
long ownerId_;
int functionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_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_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigOfVersionResult : public ServiceResult
{
public:
struct VersionConfig
{
struct FunctionArg
{
std::string argValue;
std::string argName;
};
std::string status;
std::string functionName;
std::vector<VersionConfig::FunctionArg> functionArgs;
std::string configId;
};
DescribeDcdnConfigOfVersionResult();
explicit DescribeDcdnConfigOfVersionResult(const std::string &payload);
~DescribeDcdnConfigOfVersionResult();
std::vector<VersionConfig> getVersionConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<VersionConfig> versionConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_

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_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainMultiUsageDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainMultiUsageDataRequest();
~DescribeDcdnDomainMultiUsageDataRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string startTime_;
std::string domainName_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainMultiUsageDataResult : public ServiceResult
{
public:
struct RequestDataModule
{
std::string type;
long request;
std::string domain;
std::string timeStamp;
};
struct TrafficDataModule
{
std::string type;
std::string area;
float bps;
std::string domain;
std::string timeStamp;
};
DescribeDcdnDomainMultiUsageDataResult();
explicit DescribeDcdnDomainMultiUsageDataResult(const std::string &payload);
~DescribeDcdnDomainMultiUsageDataResult();
std::string getEndTime()const;
std::string getStartTime()const;
std::vector<RequestDataModule> getRequestPerInterval()const;
std::vector<TrafficDataModule> getTrafficPerInterval()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string startTime_;
std::vector<RequestDataModule> requestPerInterval_;
std::vector<TrafficDataModule> trafficPerInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATARESULT_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_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest();
~DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest();
std::string getLocationNameEn()const;
void setLocationNameEn(const std::string& locationNameEn);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIspNameEn()const;
void setIspNameEn(const std::string& ispNameEn);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
std::string domainName_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcHttpCodeDataResult : public ServiceResult
{
public:
struct UsageData
{
struct RealTimeSrcCodeProportionData
{
std::string proportion;
std::string count;
std::string code;
};
std::vector<UsageData::RealTimeSrcCodeProportionData> value;
std::string timeStamp;
};
DescribeDcdnDomainRealTimeSrcHttpCodeDataResult();
explicit DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(const std::string &payload);
~DescribeDcdnDomainRealTimeSrcHttpCodeDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<UsageData> getRealTimeSrcHttpCodeData()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::vector<UsageData> realTimeSrcHttpCodeData_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATARESULT_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_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainStagingConfigRequest : public RpcServiceRequest
{
public:
DescribeDcdnDomainStagingConfigRequest();
~DescribeDcdnDomainStagingConfigRequest();
std::string getFunctionNames()const;
void setFunctionNames(const std::string& functionNames);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string functionNames_;
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_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_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainStagingConfigResult : public ServiceResult
{
public:
struct DomainConfig
{
struct FunctionArg
{
std::string argValue;
std::string argName;
};
std::string status;
std::string functionName;
std::vector<DomainConfig::FunctionArg> functionArgs;
std::string configId;
};
DescribeDcdnDomainStagingConfigResult();
explicit DescribeDcdnDomainStagingConfigResult(const std::string &payload);
~DescribeDcdnDomainStagingConfigResult();
std::vector<DomainConfig> getDomainConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainConfig> domainConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGRESULT_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_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpInfoRequest : public RpcServiceRequest
{
public:
DescribeDcdnIpInfoRequest();
~DescribeDcdnIpInfoRequest();
std::string getIP()const;
void setIP(const std::string& iP);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string iP_;
long ownerId_;
std::string securityToken_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_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_DCDN_MODEL_DESCRIBEDCDNIPINFORESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpInfoResult : public ServiceResult
{
public:
DescribeDcdnIpInfoResult();
explicit DescribeDcdnIpInfoResult(const std::string &payload);
~DescribeDcdnIpInfoResult();
std::string getISP()const;
std::string getRegion()const;
std::string getIspEname()const;
std::string getDcdnIp()const;
std::string getRegionEname()const;
protected:
void parse(const std::string &payload);
private:
std::string iSP_;
std::string region_;
std::string ispEname_;
std::string dcdnIp_;
std::string regionEname_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFORESULT_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_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnStagingIpRequest : public RpcServiceRequest
{
public:
DescribeDcdnStagingIpRequest();
~DescribeDcdnStagingIpRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_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_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnStagingIpResult : public ServiceResult
{
public:
DescribeDcdnStagingIpResult();
explicit DescribeDcdnStagingIpResult(const std::string &payload);
~DescribeDcdnStagingIpResult();
std::vector<std::string> getIPV4s()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> iPV4s_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPRESULT_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_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTagResourcesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
DescribeDcdnTagResourcesRequest();
~DescribeDcdnTagResourcesRequest();
std::string getScope()const;
void setScope(const std::string& scope);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
std::string scope_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_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_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTagResourcesResult : public ServiceResult
{
public:
struct TagResource
{
struct TagItem
{
std::string value;
std::string key;
};
std::string resourceId;
std::vector<TagResource::TagItem> tag;
};
DescribeDcdnTagResourcesResult();
explicit DescribeDcdnTagResourcesResult(const std::string &payload);
~DescribeDcdnTagResourcesResult();
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESRESULT_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_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillTypeRequest : public RpcServiceRequest
{
public:
DescribeDcdnUserBillTypeRequest();
~DescribeDcdnUserBillTypeRequest();
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_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_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_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPERESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillTypeResult : public ServiceResult
{
public:
struct BillTypeDataItem
{
std::string billType;
std::string billingCycle;
std::string endTime;
std::string startTime;
std::string product;
std::string dimension;
};
DescribeDcdnUserBillTypeResult();
explicit DescribeDcdnUserBillTypeResult(const std::string &payload);
~DescribeDcdnUserBillTypeResult();
std::vector<BillTypeDataItem> getBillTypeData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BillTypeDataItem> billTypeData_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPERESULT_H_

View File

@@ -14,38 +14,35 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUEREQUEST_H_
#define ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUEREQUEST_H_
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/industry-brain/Industry_brainExport.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Industry_brain
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_INDUSTRY_BRAIN_EXPORT GetPointSampleValueRequest : public RpcServiceRequest
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserTagsRequest : public RpcServiceRequest
{
public:
GetPointSampleValueRequest();
~GetPointSampleValueRequest();
DescribeDcdnUserTagsRequest();
~DescribeDcdnUserTagsRequest();
std::string getTimeType()const;
void setTimeType(const std::string& timeType);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string timeType_;
std::string templateId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUEREQUEST_H_
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_DCDN_MODEL_DESCRIBEDCDNUSERTAGSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserTagsResult : public ServiceResult
{
public:
struct Tag
{
std::vector<std::string> value;
std::string key;
};
DescribeDcdnUserTagsResult();
explicit DescribeDcdnUserTagsResult(const std::string &payload);
~DescribeDcdnUserTagsResult();
std::vector<Tag> getTags()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Tag> tags_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSRESULT_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_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT PublishDcdnStagingConfigToProductionRequest : public RpcServiceRequest
{
public:
PublishDcdnStagingConfigToProductionRequest();
~PublishDcdnStagingConfigToProductionRequest();
std::string getFunctionName()const;
void setFunctionName(const std::string& functionName);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string functionName_;
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_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_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT PublishDcdnStagingConfigToProductionResult : public ServiceResult
{
public:
PublishDcdnStagingConfigToProductionResult();
explicit PublishDcdnStagingConfigToProductionResult(const std::string &payload);
~PublishDcdnStagingConfigToProductionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONRESULT_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_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT RollbackDcdnStagingConfigRequest : public RpcServiceRequest
{
public:
RollbackDcdnStagingConfigRequest();
~RollbackDcdnStagingConfigRequest();
std::string getFunctionName()const;
void setFunctionName(const std::string& functionName);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string functionName_;
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_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_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT RollbackDcdnStagingConfigResult : public ServiceResult
{
public:
RollbackDcdnStagingConfigResult();
explicit RollbackDcdnStagingConfigResult(const std::string &payload);
~RollbackDcdnStagingConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT SetDcdnConfigOfVersionRequest : public RpcServiceRequest
{
public:
SetDcdnConfigOfVersionRequest();
~SetDcdnConfigOfVersionRequest();
std::string getVersionId()const;
void setVersionId(const std::string& versionId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getFunctionName()const;
void setFunctionName(const std::string& functionName);
std::string getFunctionArgs()const;
void setFunctionArgs(const std::string& functionArgs);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
long getFunctionId()const;
void setFunctionId(long functionId);
std::string getConfigId()const;
void setConfigId(const std::string& configId);
private:
std::string versionId_;
std::string securityToken_;
std::string functionName_;
std::string functionArgs_;
std::string ownerAccount_;
long ownerId_;
long functionId_;
std::string configId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_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_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT SetDcdnConfigOfVersionResult : public ServiceResult
{
public:
SetDcdnConfigOfVersionResult();
explicit SetDcdnConfigOfVersionResult(const std::string &payload);
~SetDcdnConfigOfVersionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_

View File

@@ -14,44 +14,41 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGREQUEST_H_
#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT SetWafConfigRequest : public RpcServiceRequest
class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainStagingConfigRequest : public RpcServiceRequest
{
public:
SetWafConfigRequest();
~SetWafConfigRequest();
SetDcdnDomainStagingConfigRequest();
~SetDcdnDomainStagingConfigRequest();
std::string getEnable()const;
void setEnable(const std::string& enable);
std::string getFunctions()const;
void setFunctions(const std::string& functions);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
long getConfigId()const;
void setConfigId(long configId);
private:
std::string enable_;
std::string functions_;
std::string domainName_;
long ownerId_;
long configId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETWAFCONFIGREQUEST_H_
#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_

View File

@@ -14,29 +14,29 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SCDN_MODEL_SETDOMAINSERVERCERTIFICATERESULT_H_
#define ALIBABACLOUD_SCDN_MODEL_SETDOMAINSERVERCERTIFICATERESULT_H_
#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/scdn/ScdnExport.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Scdn
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_SCDN_EXPORT SetDomainServerCertificateResult : public ServiceResult
class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainStagingConfigResult : public ServiceResult
{
public:
SetDomainServerCertificateResult();
explicit SetDomainServerCertificateResult(const std::string &payload);
~SetDomainServerCertificateResult();
SetDcdnDomainStagingConfigResult();
explicit SetDcdnDomainStagingConfigResult(const std::string &payload);
~SetDcdnDomainStagingConfigResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_SCDN_MODEL_SETDOMAINSERVERCERTIFICATERESULT_H_
#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGRESULT_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_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT TagDcdnResourcesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
TagDcdnResourcesRequest();
~TagDcdnResourcesRequest();
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;
void setResourceId(const std::vector<std::string>& resourceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
std::string regionId_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_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_DCDN_MODEL_TAGDCDNRESOURCESRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT TagDcdnResourcesResult : public ServiceResult
{
public:
TagDcdnResourcesResult();
explicit TagDcdnResourcesResult(const std::string &payload);
~TagDcdnResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESRESULT_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_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT UntagDcdnResourcesRequest : public RpcServiceRequest
{
public:
UntagDcdnResourcesRequest();
~UntagDcdnResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::vector<std::string> getTagKey()const;
void setTagKey(const std::vector<std::string>& tagKey);
private:
std::string regionId_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;
std::vector<std::string> tagKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_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_DCDN_MODEL_UNTAGDCDNRESOURCESRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT UntagDcdnResourcesResult : public ServiceResult
{
public:
UntagDcdnResourcesResult();
explicit UntagDcdnResourcesResult(const std::string &payload);
~UntagDcdnResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESRESULT_H_

View File

@@ -447,6 +447,114 @@ DcdnClient::DeleteDcdnSpecificConfigOutcomeCallable DcdnClient::deleteDcdnSpecif
return task->get_future();
}
DcdnClient::DeleteDcdnSpecificStagingConfigOutcome DcdnClient::deleteDcdnSpecificStagingConfig(const DeleteDcdnSpecificStagingConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteDcdnSpecificStagingConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteDcdnSpecificStagingConfigOutcome(DeleteDcdnSpecificStagingConfigResult(outcome.result()));
else
return DeleteDcdnSpecificStagingConfigOutcome(outcome.error());
}
void DcdnClient::deleteDcdnSpecificStagingConfigAsync(const DeleteDcdnSpecificStagingConfigRequest& request, const DeleteDcdnSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteDcdnSpecificStagingConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DeleteDcdnSpecificStagingConfigOutcomeCallable DcdnClient::deleteDcdnSpecificStagingConfigCallable(const DeleteDcdnSpecificStagingConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteDcdnSpecificStagingConfigOutcome()>>(
[this, request]()
{
return this->deleteDcdnSpecificStagingConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnBgpBpsDataOutcome DcdnClient::describeDcdnBgpBpsData(const DescribeDcdnBgpBpsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnBgpBpsDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnBgpBpsDataOutcome(DescribeDcdnBgpBpsDataResult(outcome.result()));
else
return DescribeDcdnBgpBpsDataOutcome(outcome.error());
}
void DcdnClient::describeDcdnBgpBpsDataAsync(const DescribeDcdnBgpBpsDataRequest& request, const DescribeDcdnBgpBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnBgpBpsData(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnBgpBpsDataOutcomeCallable DcdnClient::describeDcdnBgpBpsDataCallable(const DescribeDcdnBgpBpsDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnBgpBpsDataOutcome()>>(
[this, request]()
{
return this->describeDcdnBgpBpsData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnBgpTrafficDataOutcome DcdnClient::describeDcdnBgpTrafficData(const DescribeDcdnBgpTrafficDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnBgpTrafficDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnBgpTrafficDataOutcome(DescribeDcdnBgpTrafficDataResult(outcome.result()));
else
return DescribeDcdnBgpTrafficDataOutcome(outcome.error());
}
void DcdnClient::describeDcdnBgpTrafficDataAsync(const DescribeDcdnBgpTrafficDataRequest& request, const DescribeDcdnBgpTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnBgpTrafficData(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnBgpTrafficDataOutcomeCallable DcdnClient::describeDcdnBgpTrafficDataCallable(const DescribeDcdnBgpTrafficDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnBgpTrafficDataOutcome()>>(
[this, request]()
{
return this->describeDcdnBgpTrafficData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnCertificateDetailOutcome DcdnClient::describeDcdnCertificateDetail(const DescribeDcdnCertificateDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -519,6 +627,42 @@ DcdnClient::DescribeDcdnCertificateListOutcomeCallable DcdnClient::describeDcdnC
return task->get_future();
}
DcdnClient::DescribeDcdnConfigOfVersionOutcome DcdnClient::describeDcdnConfigOfVersion(const DescribeDcdnConfigOfVersionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnConfigOfVersionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnConfigOfVersionOutcome(DescribeDcdnConfigOfVersionResult(outcome.result()));
else
return DescribeDcdnConfigOfVersionOutcome(outcome.error());
}
void DcdnClient::describeDcdnConfigOfVersionAsync(const DescribeDcdnConfigOfVersionRequest& request, const DescribeDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnConfigOfVersion(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnConfigOfVersionOutcomeCallable DcdnClient::describeDcdnConfigOfVersionCallable(const DescribeDcdnConfigOfVersionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnConfigOfVersionOutcome()>>(
[this, request]()
{
return this->describeDcdnConfigOfVersion(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnDomainBpsDataOutcome DcdnClient::describeDcdnDomainBpsData(const DescribeDcdnDomainBpsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -951,6 +1095,42 @@ DcdnClient::DescribeDcdnDomainLogOutcomeCallable DcdnClient::describeDcdnDomainL
return task->get_future();
}
DcdnClient::DescribeDcdnDomainMultiUsageDataOutcome DcdnClient::describeDcdnDomainMultiUsageData(const DescribeDcdnDomainMultiUsageDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnDomainMultiUsageDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnDomainMultiUsageDataOutcome(DescribeDcdnDomainMultiUsageDataResult(outcome.result()));
else
return DescribeDcdnDomainMultiUsageDataOutcome(outcome.error());
}
void DcdnClient::describeDcdnDomainMultiUsageDataAsync(const DescribeDcdnDomainMultiUsageDataRequest& request, const DescribeDcdnDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnDomainMultiUsageData(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnDomainMultiUsageDataOutcomeCallable DcdnClient::describeDcdnDomainMultiUsageDataCallable(const DescribeDcdnDomainMultiUsageDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnDomainMultiUsageDataOutcome()>>(
[this, request]()
{
return this->describeDcdnDomainMultiUsageData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnDomainOriginBpsDataOutcome DcdnClient::describeDcdnDomainOriginBpsData(const DescribeDcdnDomainOriginBpsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1347,6 +1527,42 @@ DcdnClient::DescribeDcdnDomainRealTimeSrcBpsDataOutcomeCallable DcdnClient::desc
return task->get_future();
}
DcdnClient::DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome DcdnClient::describeDcdnDomainRealTimeSrcHttpCodeData(const DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome(DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(outcome.result()));
else
return DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome(outcome.error());
}
void DcdnClient::describeDcdnDomainRealTimeSrcHttpCodeDataAsync(const DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest& request, const DescribeDcdnDomainRealTimeSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnDomainRealTimeSrcHttpCodeData(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcomeCallable DcdnClient::describeDcdnDomainRealTimeSrcHttpCodeDataCallable(const DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnDomainRealTimeSrcHttpCodeDataOutcome()>>(
[this, request]()
{
return this->describeDcdnDomainRealTimeSrcHttpCodeData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnDomainRealTimeSrcTrafficDataOutcome DcdnClient::describeDcdnDomainRealTimeSrcTrafficData(const DescribeDcdnDomainRealTimeSrcTrafficDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1419,6 +1635,42 @@ DcdnClient::DescribeDcdnDomainRegionDataOutcomeCallable DcdnClient::describeDcdn
return task->get_future();
}
DcdnClient::DescribeDcdnDomainStagingConfigOutcome DcdnClient::describeDcdnDomainStagingConfig(const DescribeDcdnDomainStagingConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnDomainStagingConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnDomainStagingConfigOutcome(DescribeDcdnDomainStagingConfigResult(outcome.result()));
else
return DescribeDcdnDomainStagingConfigOutcome(outcome.error());
}
void DcdnClient::describeDcdnDomainStagingConfigAsync(const DescribeDcdnDomainStagingConfigRequest& request, const DescribeDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnDomainStagingConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnDomainStagingConfigOutcomeCallable DcdnClient::describeDcdnDomainStagingConfigCallable(const DescribeDcdnDomainStagingConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnDomainStagingConfigOutcome()>>(
[this, request]()
{
return this->describeDcdnDomainStagingConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnDomainTopReferVisitOutcome DcdnClient::describeDcdnDomainTopReferVisit(const DescribeDcdnDomainTopReferVisitRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1707,6 +1959,42 @@ DcdnClient::DescribeDcdnHttpsDomainListOutcomeCallable DcdnClient::describeDcdnH
return task->get_future();
}
DcdnClient::DescribeDcdnIpInfoOutcome DcdnClient::describeDcdnIpInfo(const DescribeDcdnIpInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnIpInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnIpInfoOutcome(DescribeDcdnIpInfoResult(outcome.result()));
else
return DescribeDcdnIpInfoOutcome(outcome.error());
}
void DcdnClient::describeDcdnIpInfoAsync(const DescribeDcdnIpInfoRequest& request, const DescribeDcdnIpInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnIpInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnIpInfoOutcomeCallable DcdnClient::describeDcdnIpInfoCallable(const DescribeDcdnIpInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnIpInfoOutcome()>>(
[this, request]()
{
return this->describeDcdnIpInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnIpaDomainConfigsOutcome DcdnClient::describeDcdnIpaDomainConfigs(const DescribeDcdnIpaDomainConfigsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1959,6 +2247,78 @@ DcdnClient::DescribeDcdnServiceOutcomeCallable DcdnClient::describeDcdnServiceCa
return task->get_future();
}
DcdnClient::DescribeDcdnStagingIpOutcome DcdnClient::describeDcdnStagingIp(const DescribeDcdnStagingIpRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnStagingIpOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnStagingIpOutcome(DescribeDcdnStagingIpResult(outcome.result()));
else
return DescribeDcdnStagingIpOutcome(outcome.error());
}
void DcdnClient::describeDcdnStagingIpAsync(const DescribeDcdnStagingIpRequest& request, const DescribeDcdnStagingIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnStagingIp(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnStagingIpOutcomeCallable DcdnClient::describeDcdnStagingIpCallable(const DescribeDcdnStagingIpRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnStagingIpOutcome()>>(
[this, request]()
{
return this->describeDcdnStagingIp(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnTagResourcesOutcome DcdnClient::describeDcdnTagResources(const DescribeDcdnTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnTagResourcesOutcome(DescribeDcdnTagResourcesResult(outcome.result()));
else
return DescribeDcdnTagResourcesOutcome(outcome.error());
}
void DcdnClient::describeDcdnTagResourcesAsync(const DescribeDcdnTagResourcesRequest& request, const DescribeDcdnTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnTagResourcesOutcomeCallable DcdnClient::describeDcdnTagResourcesCallable(const DescribeDcdnTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnTagResourcesOutcome()>>(
[this, request]()
{
return this->describeDcdnTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnTopDomainsByFlowOutcome DcdnClient::describeDcdnTopDomainsByFlow(const DescribeDcdnTopDomainsByFlowRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1995,6 +2355,42 @@ DcdnClient::DescribeDcdnTopDomainsByFlowOutcomeCallable DcdnClient::describeDcdn
return task->get_future();
}
DcdnClient::DescribeDcdnUserBillTypeOutcome DcdnClient::describeDcdnUserBillType(const DescribeDcdnUserBillTypeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnUserBillTypeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnUserBillTypeOutcome(DescribeDcdnUserBillTypeResult(outcome.result()));
else
return DescribeDcdnUserBillTypeOutcome(outcome.error());
}
void DcdnClient::describeDcdnUserBillTypeAsync(const DescribeDcdnUserBillTypeRequest& request, const DescribeDcdnUserBillTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnUserBillType(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnUserBillTypeOutcomeCallable DcdnClient::describeDcdnUserBillTypeCallable(const DescribeDcdnUserBillTypeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnUserBillTypeOutcome()>>(
[this, request]()
{
return this->describeDcdnUserBillType(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnUserDomainsOutcome DcdnClient::describeDcdnUserDomains(const DescribeDcdnUserDomainsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2103,6 +2499,42 @@ DcdnClient::DescribeDcdnUserResourcePackageOutcomeCallable DcdnClient::describeD
return task->get_future();
}
DcdnClient::DescribeDcdnUserTagsOutcome DcdnClient::describeDcdnUserTags(const DescribeDcdnUserTagsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnUserTagsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnUserTagsOutcome(DescribeDcdnUserTagsResult(outcome.result()));
else
return DescribeDcdnUserTagsOutcome(outcome.error());
}
void DcdnClient::describeDcdnUserTagsAsync(const DescribeDcdnUserTagsRequest& request, const DescribeDcdnUserTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnUserTags(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnUserTagsOutcomeCallable DcdnClient::describeDcdnUserTagsCallable(const DescribeDcdnUserTagsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnUserTagsOutcome()>>(
[this, request]()
{
return this->describeDcdnUserTags(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeUserDcdnIpaStatusOutcome DcdnClient::describeUserDcdnIpaStatus(const DescribeUserDcdnIpaStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2247,6 +2679,42 @@ DcdnClient::PreloadDcdnObjectCachesOutcomeCallable DcdnClient::preloadDcdnObject
return task->get_future();
}
DcdnClient::PublishDcdnStagingConfigToProductionOutcome DcdnClient::publishDcdnStagingConfigToProduction(const PublishDcdnStagingConfigToProductionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return PublishDcdnStagingConfigToProductionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return PublishDcdnStagingConfigToProductionOutcome(PublishDcdnStagingConfigToProductionResult(outcome.result()));
else
return PublishDcdnStagingConfigToProductionOutcome(outcome.error());
}
void DcdnClient::publishDcdnStagingConfigToProductionAsync(const PublishDcdnStagingConfigToProductionRequest& request, const PublishDcdnStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, publishDcdnStagingConfigToProduction(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::PublishDcdnStagingConfigToProductionOutcomeCallable DcdnClient::publishDcdnStagingConfigToProductionCallable(const PublishDcdnStagingConfigToProductionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<PublishDcdnStagingConfigToProductionOutcome()>>(
[this, request]()
{
return this->publishDcdnStagingConfigToProduction(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::RefreshDcdnObjectCachesOutcome DcdnClient::refreshDcdnObjectCaches(const RefreshDcdnObjectCachesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2283,6 +2751,78 @@ DcdnClient::RefreshDcdnObjectCachesOutcomeCallable DcdnClient::refreshDcdnObject
return task->get_future();
}
DcdnClient::RollbackDcdnStagingConfigOutcome DcdnClient::rollbackDcdnStagingConfig(const RollbackDcdnStagingConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RollbackDcdnStagingConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RollbackDcdnStagingConfigOutcome(RollbackDcdnStagingConfigResult(outcome.result()));
else
return RollbackDcdnStagingConfigOutcome(outcome.error());
}
void DcdnClient::rollbackDcdnStagingConfigAsync(const RollbackDcdnStagingConfigRequest& request, const RollbackDcdnStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, rollbackDcdnStagingConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::RollbackDcdnStagingConfigOutcomeCallable DcdnClient::rollbackDcdnStagingConfigCallable(const RollbackDcdnStagingConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RollbackDcdnStagingConfigOutcome()>>(
[this, request]()
{
return this->rollbackDcdnStagingConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::SetDcdnConfigOfVersionOutcome DcdnClient::setDcdnConfigOfVersion(const SetDcdnConfigOfVersionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetDcdnConfigOfVersionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetDcdnConfigOfVersionOutcome(SetDcdnConfigOfVersionResult(outcome.result()));
else
return SetDcdnConfigOfVersionOutcome(outcome.error());
}
void DcdnClient::setDcdnConfigOfVersionAsync(const SetDcdnConfigOfVersionRequest& request, const SetDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setDcdnConfigOfVersion(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::SetDcdnConfigOfVersionOutcomeCallable DcdnClient::setDcdnConfigOfVersionCallable(const SetDcdnConfigOfVersionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetDcdnConfigOfVersionOutcome()>>(
[this, request]()
{
return this->setDcdnConfigOfVersion(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::SetDcdnDomainCertificateOutcome DcdnClient::setDcdnDomainCertificate(const SetDcdnDomainCertificateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2319,6 +2859,42 @@ DcdnClient::SetDcdnDomainCertificateOutcomeCallable DcdnClient::setDcdnDomainCer
return task->get_future();
}
DcdnClient::SetDcdnDomainStagingConfigOutcome DcdnClient::setDcdnDomainStagingConfig(const SetDcdnDomainStagingConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetDcdnDomainStagingConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetDcdnDomainStagingConfigOutcome(SetDcdnDomainStagingConfigResult(outcome.result()));
else
return SetDcdnDomainStagingConfigOutcome(outcome.error());
}
void DcdnClient::setDcdnDomainStagingConfigAsync(const SetDcdnDomainStagingConfigRequest& request, const SetDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setDcdnDomainStagingConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::SetDcdnDomainStagingConfigOutcomeCallable DcdnClient::setDcdnDomainStagingConfigCallable(const SetDcdnDomainStagingConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetDcdnDomainStagingConfigOutcome()>>(
[this, request]()
{
return this->setDcdnDomainStagingConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::StartDcdnDomainOutcome DcdnClient::startDcdnDomain(const StartDcdnDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2463,6 +3039,78 @@ DcdnClient::StopDcdnIpaDomainOutcomeCallable DcdnClient::stopDcdnIpaDomainCallab
return task->get_future();
}
DcdnClient::TagDcdnResourcesOutcome DcdnClient::tagDcdnResources(const TagDcdnResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TagDcdnResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TagDcdnResourcesOutcome(TagDcdnResourcesResult(outcome.result()));
else
return TagDcdnResourcesOutcome(outcome.error());
}
void DcdnClient::tagDcdnResourcesAsync(const TagDcdnResourcesRequest& request, const TagDcdnResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, tagDcdnResources(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::TagDcdnResourcesOutcomeCallable DcdnClient::tagDcdnResourcesCallable(const TagDcdnResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TagDcdnResourcesOutcome()>>(
[this, request]()
{
return this->tagDcdnResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::UntagDcdnResourcesOutcome DcdnClient::untagDcdnResources(const UntagDcdnResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UntagDcdnResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UntagDcdnResourcesOutcome(UntagDcdnResourcesResult(outcome.result()));
else
return UntagDcdnResourcesOutcome(outcome.error());
}
void DcdnClient::untagDcdnResourcesAsync(const UntagDcdnResourcesRequest& request, const UntagDcdnResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, untagDcdnResources(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::UntagDcdnResourcesOutcomeCallable DcdnClient::untagDcdnResourcesCallable(const UntagDcdnResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UntagDcdnResourcesOutcome()>>(
[this, request]()
{
return this->untagDcdnResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::UpdateDcdnDomainOutcome DcdnClient::updateDcdnDomain(const UpdateDcdnDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

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/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h>
using AlibabaCloud::Dcdn::Model::DeleteDcdnSpecificStagingConfigRequest;
DeleteDcdnSpecificStagingConfigRequest::DeleteDcdnSpecificStagingConfigRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSpecificStagingConfig")
{
setMethod(HttpRequest::Method::Post);
}
DeleteDcdnSpecificStagingConfigRequest::~DeleteDcdnSpecificStagingConfigRequest()
{}
std::string DeleteDcdnSpecificStagingConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void DeleteDcdnSpecificStagingConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string DeleteDcdnSpecificStagingConfigRequest::getDomainName()const
{
return domainName_;
}
void DeleteDcdnSpecificStagingConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DeleteDcdnSpecificStagingConfigRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteDcdnSpecificStagingConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteDcdnSpecificStagingConfigRequest::getConfigId()const
{
return configId_;
}
void DeleteDcdnSpecificStagingConfigRequest::setConfigId(const std::string& configId)
{
configId_ = configId;
setParameter("ConfigId", configId);
}

View File

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

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/dcdn/model/DescribeDcdnBgpBpsDataRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnBgpBpsDataRequest;
DescribeDcdnBgpBpsDataRequest::DescribeDcdnBgpBpsDataRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpBpsData")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnBgpBpsDataRequest::~DescribeDcdnBgpBpsDataRequest()
{}
std::string DescribeDcdnBgpBpsDataRequest::getIsp()const
{
return isp_;
}
void DescribeDcdnBgpBpsDataRequest::setIsp(const std::string& isp)
{
isp_ = isp;
setParameter("Isp", isp);
}
std::string DescribeDcdnBgpBpsDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnBgpBpsDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnBgpBpsDataRequest::getEndTime()const
{
return endTime_;
}
void DescribeDcdnBgpBpsDataRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDcdnBgpBpsDataRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnBgpBpsDataRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnBgpBpsDataRequest::getInterval()const
{
return interval_;
}
void DescribeDcdnBgpBpsDataRequest::setInterval(const std::string& interval)
{
interval_ = interval;
setParameter("Interval", interval);
}

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/dcdn/model/DescribeDcdnBgpBpsDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnBgpBpsDataResult::DescribeDcdnBgpBpsDataResult() :
ServiceResult()
{}
DescribeDcdnBgpBpsDataResult::DescribeDcdnBgpBpsDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnBgpBpsDataResult::~DescribeDcdnBgpBpsDataResult()
{}
void DescribeDcdnBgpBpsDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBgpDataIntervalNode = value["BgpDataInterval"]["BgpData"];
for (auto valueBgpDataIntervalBgpData : allBgpDataIntervalNode)
{
BgpData bgpDataIntervalObject;
if(!valueBgpDataIntervalBgpData["In"].isNull())
bgpDataIntervalObject.in = std::stof(valueBgpDataIntervalBgpData["In"].asString());
if(!valueBgpDataIntervalBgpData["Out"].isNull())
bgpDataIntervalObject.out = std::stof(valueBgpDataIntervalBgpData["Out"].asString());
if(!valueBgpDataIntervalBgpData["TimeStamp"].isNull())
bgpDataIntervalObject.timeStamp = valueBgpDataIntervalBgpData["TimeStamp"].asString();
bgpDataInterval_.push_back(bgpDataIntervalObject);
}
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
}
std::string DescribeDcdnBgpBpsDataResult::getEndTime()const
{
return endTime_;
}
std::string DescribeDcdnBgpBpsDataResult::getStartTime()const
{
return startTime_;
}
std::vector<DescribeDcdnBgpBpsDataResult::BgpData> DescribeDcdnBgpBpsDataResult::getBgpDataInterval()const
{
return bgpDataInterval_;
}

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/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnBgpTrafficDataRequest;
DescribeDcdnBgpTrafficDataRequest::DescribeDcdnBgpTrafficDataRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpTrafficData")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnBgpTrafficDataRequest::~DescribeDcdnBgpTrafficDataRequest()
{}
std::string DescribeDcdnBgpTrafficDataRequest::getIsp()const
{
return isp_;
}
void DescribeDcdnBgpTrafficDataRequest::setIsp(const std::string& isp)
{
isp_ = isp;
setParameter("Isp", isp);
}
std::string DescribeDcdnBgpTrafficDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnBgpTrafficDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnBgpTrafficDataRequest::getEndTime()const
{
return endTime_;
}
void DescribeDcdnBgpTrafficDataRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDcdnBgpTrafficDataRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnBgpTrafficDataRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnBgpTrafficDataRequest::getInterval()const
{
return interval_;
}
void DescribeDcdnBgpTrafficDataRequest::setInterval(const std::string& interval)
{
interval_ = interval;
setParameter("Interval", interval);
}

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/dcdn/model/DescribeDcdnBgpTrafficDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnBgpTrafficDataResult::DescribeDcdnBgpTrafficDataResult() :
ServiceResult()
{}
DescribeDcdnBgpTrafficDataResult::DescribeDcdnBgpTrafficDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnBgpTrafficDataResult::~DescribeDcdnBgpTrafficDataResult()
{}
void DescribeDcdnBgpTrafficDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBgpDataIntervalNode = value["BgpDataInterval"]["BgpData"];
for (auto valueBgpDataIntervalBgpData : allBgpDataIntervalNode)
{
BgpData bgpDataIntervalObject;
if(!valueBgpDataIntervalBgpData["In"].isNull())
bgpDataIntervalObject.in = std::stol(valueBgpDataIntervalBgpData["In"].asString());
if(!valueBgpDataIntervalBgpData["Out"].isNull())
bgpDataIntervalObject.out = std::stol(valueBgpDataIntervalBgpData["Out"].asString());
if(!valueBgpDataIntervalBgpData["TimeStamp"].isNull())
bgpDataIntervalObject.timeStamp = valueBgpDataIntervalBgpData["TimeStamp"].asString();
bgpDataInterval_.push_back(bgpDataIntervalObject);
}
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
}
std::string DescribeDcdnBgpTrafficDataResult::getEndTime()const
{
return endTime_;
}
std::string DescribeDcdnBgpTrafficDataResult::getStartTime()const
{
return startTime_;
}
std::vector<DescribeDcdnBgpTrafficDataResult::BgpData> DescribeDcdnBgpTrafficDataResult::getBgpDataInterval()const
{
return bgpDataInterval_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnConfigOfVersionRequest;
DescribeDcdnConfigOfVersionRequest::DescribeDcdnConfigOfVersionRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnConfigOfVersion")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnConfigOfVersionRequest::~DescribeDcdnConfigOfVersionRequest()
{}
std::string DescribeDcdnConfigOfVersionRequest::getVersionId()const
{
return versionId_;
}
void DescribeDcdnConfigOfVersionRequest::setVersionId(const std::string& versionId)
{
versionId_ = versionId;
setParameter("VersionId", versionId);
}
std::string DescribeDcdnConfigOfVersionRequest::getSecurityToken()const
{
return securityToken_;
}
void DescribeDcdnConfigOfVersionRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string DescribeDcdnConfigOfVersionRequest::getFunctionName()const
{
return functionName_;
}
void DescribeDcdnConfigOfVersionRequest::setFunctionName(const std::string& functionName)
{
functionName_ = functionName;
setParameter("FunctionName", functionName);
}
long DescribeDcdnConfigOfVersionRequest::getGroupId()const
{
return groupId_;
}
void DescribeDcdnConfigOfVersionRequest::setGroupId(long groupId)
{
groupId_ = groupId;
setParameter("GroupId", std::to_string(groupId));
}
long DescribeDcdnConfigOfVersionRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnConfigOfVersionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
int DescribeDcdnConfigOfVersionRequest::getFunctionId()const
{
return functionId_;
}
void DescribeDcdnConfigOfVersionRequest::setFunctionId(int functionId)
{
functionId_ = functionId;
setParameter("FunctionId", std::to_string(functionId));
}

View File

@@ -0,0 +1,71 @@
/*
* 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/dcdn/model/DescribeDcdnConfigOfVersionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnConfigOfVersionResult::DescribeDcdnConfigOfVersionResult() :
ServiceResult()
{}
DescribeDcdnConfigOfVersionResult::DescribeDcdnConfigOfVersionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnConfigOfVersionResult::~DescribeDcdnConfigOfVersionResult()
{}
void DescribeDcdnConfigOfVersionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allVersionConfigsNode = value["VersionConfigs"]["VersionConfig"];
for (auto valueVersionConfigsVersionConfig : allVersionConfigsNode)
{
VersionConfig versionConfigsObject;
if(!valueVersionConfigsVersionConfig["Status"].isNull())
versionConfigsObject.status = valueVersionConfigsVersionConfig["Status"].asString();
if(!valueVersionConfigsVersionConfig["ConfigId"].isNull())
versionConfigsObject.configId = valueVersionConfigsVersionConfig["ConfigId"].asString();
if(!valueVersionConfigsVersionConfig["FunctionName"].isNull())
versionConfigsObject.functionName = valueVersionConfigsVersionConfig["FunctionName"].asString();
auto allFunctionArgsNode = allVersionConfigsNode["FunctionArgs"]["FunctionArg"];
for (auto allVersionConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
{
VersionConfig::FunctionArg functionArgsObject;
if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
versionConfigsObject.functionArgs.push_back(functionArgsObject);
}
versionConfigs_.push_back(versionConfigsObject);
}
}
std::vector<DescribeDcdnConfigOfVersionResult::VersionConfig> DescribeDcdnConfigOfVersionResult::getVersionConfigs()const
{
return versionConfigs_;
}

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/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainMultiUsageDataRequest;
DescribeDcdnDomainMultiUsageDataRequest::DescribeDcdnDomainMultiUsageDataRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainMultiUsageData")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnDomainMultiUsageDataRequest::~DescribeDcdnDomainMultiUsageDataRequest()
{}
std::string DescribeDcdnDomainMultiUsageDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnDomainMultiUsageDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnDomainMultiUsageDataRequest::getDomainName()const
{
return domainName_;
}
void DescribeDcdnDomainMultiUsageDataRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string DescribeDcdnDomainMultiUsageDataRequest::getEndTime()const
{
return endTime_;
}
void DescribeDcdnDomainMultiUsageDataRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDcdnDomainMultiUsageDataRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnDomainMultiUsageDataRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnDomainMultiUsageDataResult::DescribeDcdnDomainMultiUsageDataResult() :
ServiceResult()
{}
DescribeDcdnDomainMultiUsageDataResult::DescribeDcdnDomainMultiUsageDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnDomainMultiUsageDataResult::~DescribeDcdnDomainMultiUsageDataResult()
{}
void DescribeDcdnDomainMultiUsageDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allRequestPerIntervalNode = value["RequestPerInterval"]["RequestDataModule"];
for (auto valueRequestPerIntervalRequestDataModule : allRequestPerIntervalNode)
{
RequestDataModule requestPerIntervalObject;
if(!valueRequestPerIntervalRequestDataModule["TimeStamp"].isNull())
requestPerIntervalObject.timeStamp = valueRequestPerIntervalRequestDataModule["TimeStamp"].asString();
if(!valueRequestPerIntervalRequestDataModule["Domain"].isNull())
requestPerIntervalObject.domain = valueRequestPerIntervalRequestDataModule["Domain"].asString();
if(!valueRequestPerIntervalRequestDataModule["Request"].isNull())
requestPerIntervalObject.request = std::stol(valueRequestPerIntervalRequestDataModule["Request"].asString());
if(!valueRequestPerIntervalRequestDataModule["Type"].isNull())
requestPerIntervalObject.type = valueRequestPerIntervalRequestDataModule["Type"].asString();
requestPerInterval_.push_back(requestPerIntervalObject);
}
auto allTrafficPerIntervalNode = value["TrafficPerInterval"]["TrafficDataModule"];
for (auto valueTrafficPerIntervalTrafficDataModule : allTrafficPerIntervalNode)
{
TrafficDataModule trafficPerIntervalObject;
if(!valueTrafficPerIntervalTrafficDataModule["TimeStamp"].isNull())
trafficPerIntervalObject.timeStamp = valueTrafficPerIntervalTrafficDataModule["TimeStamp"].asString();
if(!valueTrafficPerIntervalTrafficDataModule["Domain"].isNull())
trafficPerIntervalObject.domain = valueTrafficPerIntervalTrafficDataModule["Domain"].asString();
if(!valueTrafficPerIntervalTrafficDataModule["Bps"].isNull())
trafficPerIntervalObject.bps = std::stof(valueTrafficPerIntervalTrafficDataModule["Bps"].asString());
if(!valueTrafficPerIntervalTrafficDataModule["Type"].isNull())
trafficPerIntervalObject.type = valueTrafficPerIntervalTrafficDataModule["Type"].asString();
if(!valueTrafficPerIntervalTrafficDataModule["Area"].isNull())
trafficPerIntervalObject.area = valueTrafficPerIntervalTrafficDataModule["Area"].asString();
trafficPerInterval_.push_back(trafficPerIntervalObject);
}
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
}
std::string DescribeDcdnDomainMultiUsageDataResult::getEndTime()const
{
return endTime_;
}
std::string DescribeDcdnDomainMultiUsageDataResult::getStartTime()const
{
return startTime_;
}
std::vector<DescribeDcdnDomainMultiUsageDataResult::RequestDataModule> DescribeDcdnDomainMultiUsageDataResult::getRequestPerInterval()const
{
return requestPerInterval_;
}
std::vector<DescribeDcdnDomainMultiUsageDataResult::TrafficDataModule> DescribeDcdnDomainMultiUsageDataResult::getTrafficPerInterval()const
{
return trafficPerInterval_;
}

View File

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

View File

@@ -0,0 +1,97 @@
/*
* 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/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::DescribeDcdnDomainRealTimeSrcHttpCodeDataResult() :
ServiceResult()
{}
DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::DescribeDcdnDomainRealTimeSrcHttpCodeDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::~DescribeDcdnDomainRealTimeSrcHttpCodeDataResult()
{}
void DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allRealTimeSrcHttpCodeDataNode = value["RealTimeSrcHttpCodeData"]["UsageData"];
for (auto valueRealTimeSrcHttpCodeDataUsageData : allRealTimeSrcHttpCodeDataNode)
{
UsageData realTimeSrcHttpCodeDataObject;
if(!valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].isNull())
realTimeSrcHttpCodeDataObject.timeStamp = valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].asString();
auto allValueNode = allRealTimeSrcHttpCodeDataNode["Value"]["RealTimeSrcCodeProportionData"];
for (auto allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData : allValueNode)
{
UsageData::RealTimeSrcCodeProportionData valueObject;
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].isNull())
valueObject.code = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].asString();
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].isNull())
valueObject.proportion = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].asString();
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].isNull())
valueObject.count = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].asString();
realTimeSrcHttpCodeDataObject.value.push_back(valueObject);
}
realTimeSrcHttpCodeData_.push_back(realTimeSrcHttpCodeDataObject);
}
if(!value["DomainName"].isNull())
domainName_ = value["DomainName"].asString();
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
if(!value["DataInterval"].isNull())
dataInterval_ = value["DataInterval"].asString();
}
std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getEndTime()const
{
return endTime_;
}
std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getDomainName()const
{
return domainName_;
}
std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getStartTime()const
{
return startTime_;
}
std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getDataInterval()const
{
return dataInterval_;
}
std::vector<DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::UsageData> DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::getRealTimeSrcHttpCodeData()const
{
return realTimeSrcHttpCodeData_;
}

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/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainStagingConfigRequest;
DescribeDcdnDomainStagingConfigRequest::DescribeDcdnDomainStagingConfigRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainStagingConfig")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnDomainStagingConfigRequest::~DescribeDcdnDomainStagingConfigRequest()
{}
std::string DescribeDcdnDomainStagingConfigRequest::getFunctionNames()const
{
return functionNames_;
}
void DescribeDcdnDomainStagingConfigRequest::setFunctionNames(const std::string& functionNames)
{
functionNames_ = functionNames;
setParameter("FunctionNames", functionNames);
}
std::string DescribeDcdnDomainStagingConfigRequest::getDomainName()const
{
return domainName_;
}
void DescribeDcdnDomainStagingConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DescribeDcdnDomainStagingConfigRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnDomainStagingConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,71 @@
/*
* 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/dcdn/model/DescribeDcdnDomainStagingConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnDomainStagingConfigResult::DescribeDcdnDomainStagingConfigResult() :
ServiceResult()
{}
DescribeDcdnDomainStagingConfigResult::DescribeDcdnDomainStagingConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnDomainStagingConfigResult::~DescribeDcdnDomainStagingConfigResult()
{}
void DescribeDcdnDomainStagingConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDomainConfigsNode = value["DomainConfigs"]["DomainConfig"];
for (auto valueDomainConfigsDomainConfig : allDomainConfigsNode)
{
DomainConfig domainConfigsObject;
if(!valueDomainConfigsDomainConfig["FunctionName"].isNull())
domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString();
if(!valueDomainConfigsDomainConfig["ConfigId"].isNull())
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
if(!valueDomainConfigsDomainConfig["Status"].isNull())
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"];
for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
{
DomainConfig::FunctionArg functionArgsObject;
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
domainConfigsObject.functionArgs.push_back(functionArgsObject);
}
domainConfigs_.push_back(domainConfigsObject);
}
}
std::vector<DescribeDcdnDomainStagingConfigResult::DomainConfig> DescribeDcdnDomainStagingConfigResult::getDomainConfigs()const
{
return domainConfigs_;
}

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/dcdn/model/DescribeDcdnIpInfoRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnIpInfoRequest;
DescribeDcdnIpInfoRequest::DescribeDcdnIpInfoRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnIpInfoRequest::~DescribeDcdnIpInfoRequest()
{}
std::string DescribeDcdnIpInfoRequest::getIP()const
{
return iP_;
}
void DescribeDcdnIpInfoRequest::setIP(const std::string& iP)
{
iP_ = iP;
setParameter("IP", iP);
}
long DescribeDcdnIpInfoRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnIpInfoRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnIpInfoRequest::getSecurityToken()const
{
return securityToken_;
}
void DescribeDcdnIpInfoRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}

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/dcdn/model/DescribeDcdnIpInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnIpInfoResult::DescribeDcdnIpInfoResult() :
ServiceResult()
{}
DescribeDcdnIpInfoResult::DescribeDcdnIpInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnIpInfoResult::~DescribeDcdnIpInfoResult()
{}
void DescribeDcdnIpInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DcdnIp"].isNull())
dcdnIp_ = value["DcdnIp"].asString();
if(!value["ISP"].isNull())
iSP_ = value["ISP"].asString();
if(!value["IspEname"].isNull())
ispEname_ = value["IspEname"].asString();
if(!value["Region"].isNull())
region_ = value["Region"].asString();
if(!value["RegionEname"].isNull())
regionEname_ = value["RegionEname"].asString();
}
std::string DescribeDcdnIpInfoResult::getISP()const
{
return iSP_;
}
std::string DescribeDcdnIpInfoResult::getRegion()const
{
return region_;
}
std::string DescribeDcdnIpInfoResult::getIspEname()const
{
return ispEname_;
}
std::string DescribeDcdnIpInfoResult::getDcdnIp()const
{
return dcdnIp_;
}
std::string DescribeDcdnIpInfoResult::getRegionEname()const
{
return regionEname_;
}

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/dcdn/model/DescribeDcdnStagingIpRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnStagingIpRequest;
DescribeDcdnStagingIpRequest::DescribeDcdnStagingIpRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnStagingIp")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnStagingIpRequest::~DescribeDcdnStagingIpRequest()
{}
long DescribeDcdnStagingIpRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnStagingIpRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,52 @@
/*
* 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/dcdn/model/DescribeDcdnStagingIpResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnStagingIpResult::DescribeDcdnStagingIpResult() :
ServiceResult()
{}
DescribeDcdnStagingIpResult::DescribeDcdnStagingIpResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnStagingIpResult::~DescribeDcdnStagingIpResult()
{}
void DescribeDcdnStagingIpResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allIPV4s = value["IPV4s"]["IPV4"];
for (const auto &item : allIPV4s)
iPV4s_.push_back(item.asString());
}
std::vector<std::string> DescribeDcdnStagingIpResult::getIPV4s()const
{
return iPV4s_;
}

View File

@@ -0,0 +1,91 @@
/*
* 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/dcdn/model/DescribeDcdnTagResourcesRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnTagResourcesRequest;
DescribeDcdnTagResourcesRequest::DescribeDcdnTagResourcesRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnTagResources")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnTagResourcesRequest::~DescribeDcdnTagResourcesRequest()
{}
std::string DescribeDcdnTagResourcesRequest::getScope()const
{
return scope_;
}
void DescribeDcdnTagResourcesRequest::setScope(const std::string& scope)
{
scope_ = scope;
setParameter("Scope", scope);
}
std::vector<DescribeDcdnTagResourcesRequest::Tag> DescribeDcdnTagResourcesRequest::getTag()const
{
return tag_;
}
void DescribeDcdnTagResourcesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Key", tagObj.key);
setParameter(tagObjStr + ".Value", tagObj.value);
}
}
std::vector<std::string> DescribeDcdnTagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void DescribeDcdnTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
}
}
long DescribeDcdnTagResourcesRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnTagResourcesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnTagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void DescribeDcdnTagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}

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.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnTagResourcesResult::DescribeDcdnTagResourcesResult() :
ServiceResult()
{}
DescribeDcdnTagResourcesResult::DescribeDcdnTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnTagResourcesResult::~DescribeDcdnTagResourcesResult()
{}
void DescribeDcdnTagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTagResourcesNode = value["TagResources"]["TagResource"];
for (auto valueTagResourcesTagResource : allTagResourcesNode)
{
TagResource tagResourcesObject;
if(!valueTagResourcesTagResource["ResourceId"].isNull())
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
auto allTagNode = allTagResourcesNode["Tag"]["TagItem"];
for (auto allTagResourcesNodeTagTagItem : allTagNode)
{
TagResource::TagItem tagObject;
if(!allTagResourcesNodeTagTagItem["Key"].isNull())
tagObject.key = allTagResourcesNodeTagTagItem["Key"].asString();
if(!allTagResourcesNodeTagTagItem["Value"].isNull())
tagObject.value = allTagResourcesNodeTagTagItem["Value"].asString();
tagResourcesObject.tag.push_back(tagObject);
}
tagResources_.push_back(tagResourcesObject);
}
}
std::vector<DescribeDcdnTagResourcesResult::TagResource> DescribeDcdnTagResourcesResult::getTagResources()const
{
return tagResources_;
}

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/dcdn/model/DescribeDcdnUserBillTypeRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnUserBillTypeRequest;
DescribeDcdnUserBillTypeRequest::DescribeDcdnUserBillTypeRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserBillType")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnUserBillTypeRequest::~DescribeDcdnUserBillTypeRequest()
{}
std::string DescribeDcdnUserBillTypeRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnUserBillTypeRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnUserBillTypeRequest::getEndTime()const
{
return endTime_;
}
void DescribeDcdnUserBillTypeRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDcdnUserBillTypeRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnUserBillTypeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnUserBillTypeResult::DescribeDcdnUserBillTypeResult() :
ServiceResult()
{}
DescribeDcdnUserBillTypeResult::DescribeDcdnUserBillTypeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnUserBillTypeResult::~DescribeDcdnUserBillTypeResult()
{}
void DescribeDcdnUserBillTypeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBillTypeDataNode = value["BillTypeData"]["BillTypeDataItem"];
for (auto valueBillTypeDataBillTypeDataItem : allBillTypeDataNode)
{
BillTypeDataItem billTypeDataObject;
if(!valueBillTypeDataBillTypeDataItem["StartTime"].isNull())
billTypeDataObject.startTime = valueBillTypeDataBillTypeDataItem["StartTime"].asString();
if(!valueBillTypeDataBillTypeDataItem["EndTime"].isNull())
billTypeDataObject.endTime = valueBillTypeDataBillTypeDataItem["EndTime"].asString();
if(!valueBillTypeDataBillTypeDataItem["Product"].isNull())
billTypeDataObject.product = valueBillTypeDataBillTypeDataItem["Product"].asString();
if(!valueBillTypeDataBillTypeDataItem["Dimension"].isNull())
billTypeDataObject.dimension = valueBillTypeDataBillTypeDataItem["Dimension"].asString();
if(!valueBillTypeDataBillTypeDataItem["BillType"].isNull())
billTypeDataObject.billType = valueBillTypeDataBillTypeDataItem["BillType"].asString();
if(!valueBillTypeDataBillTypeDataItem["BillingCycle"].isNull())
billTypeDataObject.billingCycle = valueBillTypeDataBillTypeDataItem["BillingCycle"].asString();
billTypeData_.push_back(billTypeDataObject);
}
}
std::vector<DescribeDcdnUserBillTypeResult::BillTypeDataItem> DescribeDcdnUserBillTypeResult::getBillTypeData()const
{
return billTypeData_;
}

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