Compare commits

..

16 Commits

Author SHA1 Message Date
sdk-team
22a5112af0 Generated 2019-01-01 for HBase. 2019-11-20 17:24:05 +08:00
sdk-team
99ae87ba10 Add API ReportVoipProblems. 2019-11-20 10:45:49 +08:00
sdk-team
b0c5f8414d Nlp Automl SDK. 2019-11-15 22:31:16 +08:00
sdk-team
b3e689b905 Sync cdn APIs. 2019-11-15 15:11:23 +08:00
sdk-team
2e832b9098 Fixed bugs. 2019-11-15 14:36:38 +08:00
sdk-team
9cc8d6643d Add Scdn APIS. 2019-11-15 14:16:55 +08:00
sdk-team
47fda11426 Modify QueryAccountBill, support group by product. 2019-11-15 09:47:44 +08:00
sdk-team
85c4ce8295 Modify DescribeRestoreRangeInfo. 2019-11-15 02:11:29 +08:00
sdk-team
7a898c20fc Add DescribeRestoreRangeInfo. 2019-11-15 01:34:57 +08:00
sdk-team
dae639ec05 Released dysms OpenAPI. 2019-11-14 22:43:29 +08:00
sdk-team
4819dbb983 Support Tag OpenAPI. 2019-11-14 15:22:17 +08:00
sdk-team
7e643e8a5d Initial construction. 2019-11-14 10:36:18 +08:00
sdk-team
5d643e91c9 Supported Stream analyse. 2019-11-13 20:41:28 +08:00
sdk-team
27cd07c728 Fix ResourceId type from Long to String on QueryCostUnitResource. 2019-11-13 18:06:04 +08:00
sdk-team
a9de1411e4 Fix ResourceId type from Long to String on QueryCostUnitResource. 2019-11-13 16:38:49 +08:00
sdk-team
022c13a360 Add new API QueryBillToOSSSubscription. 2019-11-13 16:03:30 +08:00
764 changed files with 20385 additions and 12045 deletions

View File

@@ -1,3 +1,58 @@
2019-11-20 Version 1.36.185
- Generated 2019-01-01 for `HBase`.
2019-11-20 Version 1.36.184
- Add API ReportVoipProblems.
- Add API QueryVoipNumberBindINfos.
2019-11-15 Version 1.36.183
- Nlp Automl SDK.
2019-11-15 Version 1.36.182
- Sync cdn APIs.
2019-11-15 Version 1.36.181
- Fixed bugs.
2019-11-15 Version 1.36.180
- Add Scdn APIS.
- Sync cdn APIS.
2019-11-15 Version 1.36.179
- Modify QueryAccountBill, support group by product.
2019-11-15 Version 1.36.178
- Modify DescribeRestoreRangeInfo.
2019-11-15 Version 1.36.177
- Add DescribeRestoreRangeInfo.
2019-11-14 Version 1.36.176
- Released dysms OpenAPI.
2019-11-14 Version 1.36.175
- Support Tag OpenAPI.
- Fix endpoint problem.
2019-11-14 Version 1.36.174
- Initial construction.
- Public beta version.
- Supported AliyunController for Interface.
- Supported ConsoleController for Interface.
- Supported AccountController for Interface.
2019-11-13 Version 1.36.173
- Supported Stream analyse.
2019-11-13 Version 1.36.172
- Fix ResourceId type from Long to String on QueryCostUnitResource.
2019-11-13 Version 1.36.171
- Fix ResourceId type from Long to String on QueryCostUnitResource.
2019-11-13 Version 1.36.170
- Add new API QueryBillToOSSSubscription.
2019-11-13 Version 1.36.169
- Supported API UpdateDomainRemark for Update Domain Remark.
- Supported API UpdateDomainRecordRemark for Update Record Remark.

View File

@@ -1 +1 @@
1.36.169
1.36.185

View File

@@ -57,6 +57,8 @@ set(adb_public_header_model
include/alibabacloud/adb/model/DescribeSlowLogTrendResult.h
include/alibabacloud/adb/model/GrantOperatorPermissionRequest.h
include/alibabacloud/adb/model/GrantOperatorPermissionResult.h
include/alibabacloud/adb/model/ListTagResourcesRequest.h
include/alibabacloud/adb/model/ListTagResourcesResult.h
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
include/alibabacloud/adb/model/ModifyAutoRenewAttributeRequest.h
@@ -72,7 +74,11 @@ set(adb_public_header_model
include/alibabacloud/adb/model/ResetAccountPasswordRequest.h
include/alibabacloud/adb/model/ResetAccountPasswordResult.h
include/alibabacloud/adb/model/RevokeOperatorPermissionRequest.h
include/alibabacloud/adb/model/RevokeOperatorPermissionResult.h )
include/alibabacloud/adb/model/RevokeOperatorPermissionResult.h
include/alibabacloud/adb/model/TagResourcesRequest.h
include/alibabacloud/adb/model/TagResourcesResult.h
include/alibabacloud/adb/model/UntagResourcesRequest.h
include/alibabacloud/adb/model/UntagResourcesResult.h )
set(adb_src
src/AdbClient.cc
@@ -112,6 +118,8 @@ set(adb_src
src/model/DescribeSlowLogTrendResult.cc
src/model/GrantOperatorPermissionRequest.cc
src/model/GrantOperatorPermissionResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ModifyAccountDescriptionRequest.cc
src/model/ModifyAccountDescriptionResult.cc
src/model/ModifyAutoRenewAttributeRequest.cc
@@ -127,7 +135,11 @@ set(adb_src
src/model/ResetAccountPasswordRequest.cc
src/model/ResetAccountPasswordResult.cc
src/model/RevokeOperatorPermissionRequest.cc
src/model/RevokeOperatorPermissionResult.cc )
src/model/RevokeOperatorPermissionResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc )
add_library(adb ${LIB_TYPE}
${adb_public_header}

View File

@@ -58,6 +58,8 @@
#include "model/DescribeSlowLogTrendResult.h"
#include "model/GrantOperatorPermissionRequest.h"
#include "model/GrantOperatorPermissionResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyAccountDescriptionRequest.h"
#include "model/ModifyAccountDescriptionResult.h"
#include "model/ModifyAutoRenewAttributeRequest.h"
@@ -74,6 +76,10 @@
#include "model/ResetAccountPasswordResult.h"
#include "model/RevokeOperatorPermissionRequest.h"
#include "model/RevokeOperatorPermissionResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
namespace AlibabaCloud
@@ -137,6 +143,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GrantOperatorPermissionResult> GrantOperatorPermissionOutcome;
typedef std::future<GrantOperatorPermissionOutcome> GrantOperatorPermissionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::GrantOperatorPermissionRequest&, const GrantOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantOperatorPermissionAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ModifyAccountDescriptionResult> ModifyAccountDescriptionOutcome;
typedef std::future<ModifyAccountDescriptionOutcome> ModifyAccountDescriptionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::ModifyAccountDescriptionRequest&, const ModifyAccountDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountDescriptionAsyncHandler;
@@ -161,6 +170,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RevokeOperatorPermissionResult> RevokeOperatorPermissionOutcome;
typedef std::future<RevokeOperatorPermissionOutcome> RevokeOperatorPermissionOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::RevokeOperatorPermissionRequest&, const RevokeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeOperatorPermissionAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const AdbClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
AdbClient(const Credentials &credentials, const ClientConfiguration &configuration);
AdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -220,6 +235,9 @@ namespace AlibabaCloud
GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const;
void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const;
@@ -244,6 +262,12 @@ namespace AlibabaCloud
RevokeOperatorPermissionOutcome revokeOperatorPermission(const Model::RevokeOperatorPermissionRequest &request)const;
void revokeOperatorPermissionAsync(const Model::RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RevokeOperatorPermissionOutcomeCallable revokeOperatorPermissionCallable(const Model::RevokeOperatorPermissionRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ListTagResourcesRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
ListTagResourcesRequest();
~ListTagResourcesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
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);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_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_ADB_MODEL_LISTTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT ListTagResourcesResult : public ServiceResult
{
public:
struct TagResource
{
std::string resourceId;
std::string tagKey;
std::string resourceType;
std::string tagValue;
};
ListTagResourcesResult();
explicit ListTagResourcesResult(const std::string &payload);
~ListTagResourcesResult();
std::string getNextToken()const;
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESRESULT_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT TagResourcesRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
TagResourcesRequest();
~TagResourcesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
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);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_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_ADB_MODEL_TAGRESOURCESRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_TAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT TagResourcesResult : public ServiceResult
{
public:
TagResourcesResult();
explicit TagResourcesResult(const std::string &payload);
~TagResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_TAGRESOURCESRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT UntagResourcesRequest : public RpcServiceRequest
{
public:
UntagResourcesRequest();
~UntagResourcesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::vector<std::string> getTagKey()const;
void setTagKey(const std::vector<std::string>& tagKey);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
bool all_;
std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string resourceType_;
std::vector<std::string> tagKey_;
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_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_ADB_MODEL_UNTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/adb/AdbExport.h>
namespace AlibabaCloud
{
namespace Adb
{
namespace Model
{
class ALIBABACLOUD_ADB_EXPORT UntagResourcesResult : public ServiceResult
{
public:
UntagResourcesResult();
explicit UntagResourcesResult(const std::string &payload);
~UntagResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESRESULT_H_

View File

@@ -699,6 +699,42 @@ AdbClient::GrantOperatorPermissionOutcomeCallable AdbClient::grantOperatorPermis
return task->get_future();
}
AdbClient::ListTagResourcesOutcome AdbClient::listTagResources(const ListTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
else
return ListTagResourcesOutcome(outcome.error());
}
void AdbClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::ListTagResourcesOutcomeCallable AdbClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
[this, request]()
{
return this->listTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::ModifyAccountDescriptionOutcome AdbClient::modifyAccountDescription(const ModifyAccountDescriptionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -987,3 +1023,75 @@ AdbClient::RevokeOperatorPermissionOutcomeCallable AdbClient::revokeOperatorPerm
return task->get_future();
}
AdbClient::TagResourcesOutcome AdbClient::tagResources(const TagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
else
return TagResourcesOutcome(outcome.error());
}
void AdbClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, tagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::TagResourcesOutcomeCallable AdbClient::tagResourcesCallable(const TagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
[this, request]()
{
return this->tagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AdbClient::UntagResourcesOutcome AdbClient::untagResources(const UntagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UntagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
else
return UntagResourcesOutcome(outcome.error());
}
void AdbClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, untagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
AdbClient::UntagResourcesOutcomeCallable AdbClient::untagResourcesCallable(const UntagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
[this, request]()
{
return this->untagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,146 @@
/*
* 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/adb/model/ListTagResourcesRequest.h>
using AlibabaCloud::Adb::Model::ListTagResourcesRequest;
ListTagResourcesRequest::ListTagResourcesRequest() :
RpcServiceRequest("adb", "2019-03-15", "ListTagResources")
{
setMethod(HttpRequest::Method::Post);
}
ListTagResourcesRequest::~ListTagResourcesRequest()
{}
long ListTagResourcesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ListTagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ListTagResourcesRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListTagResourcesRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string ListTagResourcesRequest::getRegionId()const
{
return regionId_;
}
void ListTagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string ListTagResourcesRequest::getNextToken()const
{
return nextToken_;
}
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setCoreParameter("NextToken", nextToken);
}
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
{
return tag_;
}
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
int i = 0;
for(int i = 0; i!= tag.size(); i++) {
auto obj = tag.at(i);
std::string str ="Tag."+ std::to_string(i);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}
std::vector<std::string> ListTagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int i = 0; i!= resourceId.size(); i++)
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
}
std::string ListTagResourcesRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void ListTagResourcesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string ListTagResourcesRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void ListTagResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long ListTagResourcesRequest::getOwnerId()const
{
return ownerId_;
}
void ListTagResourcesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string ListTagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void ListTagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
}

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.
*/
#include <alibabacloud/adb/model/ListTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
ListTagResourcesResult::ListTagResourcesResult() :
ServiceResult()
{}
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagResourcesResult::~ListTagResourcesResult()
{}
void ListTagResourcesResult::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["TagKey"].isNull())
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
if(!valueTagResourcesTagResource["TagValue"].isNull())
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
if(!valueTagResourcesTagResource["ResourceType"].isNull())
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
if(!valueTagResourcesTagResource["ResourceId"].isNull())
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
tagResources_.push_back(tagResourcesObject);
}
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
std::string ListTagResourcesResult::getNextToken()const
{
return nextToken_;
}
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
{
return tagResources_;
}

View File

@@ -0,0 +1,135 @@
/*
* 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/adb/model/TagResourcesRequest.h>
using AlibabaCloud::Adb::Model::TagResourcesRequest;
TagResourcesRequest::TagResourcesRequest() :
RpcServiceRequest("adb", "2019-03-15", "TagResources")
{
setMethod(HttpRequest::Method::Post);
}
TagResourcesRequest::~TagResourcesRequest()
{}
long TagResourcesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void TagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string TagResourcesRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void TagResourcesRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string TagResourcesRequest::getRegionId()const
{
return regionId_;
}
void TagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
{
return tag_;
}
void TagResourcesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
int i = 0;
for(int i = 0; i!= tag.size(); i++) {
auto obj = tag.at(i);
std::string str ="Tag."+ std::to_string(i);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}
std::vector<std::string> TagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int i = 0; i!= resourceId.size(); i++)
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
}
std::string TagResourcesRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void TagResourcesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string TagResourcesRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void TagResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long TagResourcesRequest::getOwnerId()const
{
return ownerId_;
}
void TagResourcesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string TagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void TagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
}

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/adb/model/TagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
TagResourcesResult::TagResourcesResult() :
ServiceResult()
{}
TagResourcesResult::TagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TagResourcesResult::~TagResourcesResult()
{}
void TagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,141 @@
/*
* 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/adb/model/UntagResourcesRequest.h>
using AlibabaCloud::Adb::Model::UntagResourcesRequest;
UntagResourcesRequest::UntagResourcesRequest() :
RpcServiceRequest("adb", "2019-03-15", "UntagResources")
{
setMethod(HttpRequest::Method::Post);
}
UntagResourcesRequest::~UntagResourcesRequest()
{}
long UntagResourcesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void UntagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string UntagResourcesRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void UntagResourcesRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string UntagResourcesRequest::getRegionId()const
{
return regionId_;
}
void UntagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
bool UntagResourcesRequest::getAll()const
{
return all_;
}
void UntagResourcesRequest::setAll(bool all)
{
all_ = all;
setCoreParameter("All", all ? "true" : "false");
}
std::vector<std::string> UntagResourcesRequest::getResourceId()const
{
return resourceId_;
}
void UntagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
{
resourceId_ = resourceId;
for(int i = 0; i!= resourceId.size(); i++)
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
}
std::string UntagResourcesRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void UntagResourcesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string UntagResourcesRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void UntagResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long UntagResourcesRequest::getOwnerId()const
{
return ownerId_;
}
void UntagResourcesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string UntagResourcesRequest::getResourceType()const
{
return resourceType_;
}
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
}
std::vector<std::string> UntagResourcesRequest::getTagKey()const
{
return tagKey_;
}
void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
{
tagKey_ = tagKey;
for(int i = 0; i!= tagKey.size(); i++)
setCoreParameter("TagKey."+ std::to_string(i), tagKey.at(i));
}

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/adb/model/UntagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Adb;
using namespace AlibabaCloud::Adb::Model;
UntagResourcesResult::UntagResourcesResult() :
ServiceResult()
{}
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UntagResourcesResult::~UntagResourcesResult()
{}
void UntagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -41,6 +41,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h
include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h
include/alibabacloud/aliyuncvc/model/ListIsvStatisticsResult.h
include/alibabacloud/aliyuncvc/model/ListMembersRequest.h
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
@@ -68,6 +70,8 @@ set(aliyuncvc_src
src/model/JoinMeetingResult.cc
src/model/ListEvaluationsRequest.cc
src/model/ListEvaluationsResult.cc
src/model/ListIsvStatisticsRequest.cc
src/model/ListIsvStatisticsResult.cc
src/model/ListMembersRequest.cc
src/model/ListMembersResult.cc
src/model/ListUsersRequest.cc

View File

@@ -42,6 +42,8 @@
#include "model/JoinMeetingResult.h"
#include "model/ListEvaluationsRequest.h"
#include "model/ListEvaluationsResult.h"
#include "model/ListIsvStatisticsRequest.h"
#include "model/ListIsvStatisticsResult.h"
#include "model/ListMembersRequest.h"
#include "model/ListMembersResult.h"
#include "model/ListUsersRequest.h"
@@ -85,6 +87,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListEvaluationsResult> ListEvaluationsOutcome;
typedef std::future<ListEvaluationsOutcome> ListEvaluationsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListEvaluationsRequest&, const ListEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEvaluationsAsyncHandler;
typedef Outcome<Error, Model::ListIsvStatisticsResult> ListIsvStatisticsOutcome;
typedef std::future<ListIsvStatisticsOutcome> ListIsvStatisticsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListIsvStatisticsRequest&, const ListIsvStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIsvStatisticsAsyncHandler;
typedef Outcome<Error, Model::ListMembersResult> ListMembersOutcome;
typedef std::future<ListMembersOutcome> ListMembersOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListMembersRequest&, const ListMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMembersAsyncHandler;
@@ -126,6 +131,9 @@ namespace AlibabaCloud
ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const;
void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const;
ListIsvStatisticsOutcome listIsvStatistics(const Model::ListIsvStatisticsRequest &request)const;
void listIsvStatisticsAsync(const Model::ListIsvStatisticsRequest& request, const ListIsvStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListIsvStatisticsOutcomeCallable listIsvStatisticsCallable(const Model::ListIsvStatisticsRequest& request) const;
ListMembersOutcome listMembers(const Model::ListMembersRequest &request)const;
void listMembersAsync(const Model::ListMembersRequest& request, const ListMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMembersOutcomeCallable listMembersCallable(const Model::ListMembersRequest& request) const;

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string userTel;
std::string userId;
long createTime;
std::string jobName;
std::string userAvatarUrl;
std::string userEmail;
std::string departName;

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
JoinMeetingRequest();
~JoinMeetingRequest();
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
private:
std::string meetingCode_;
std::string userId_;
std::string meetingCode_;
};
}

View File

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

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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTISVSTATISTICSRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTISVSTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListIsvStatisticsResult : public ServiceResult
{
public:
struct Data
{
struct Total
{
int meetingNumber;
int memberNumber;
int meetingLength;
};
struct Statistic
{
std::string meetingNumber;
std::string memberNumber;
std::string meetingLength;
std::string day;
};
Total total;
std::vector<Statistic> statistics;
};
ListIsvStatisticsResult();
explicit ListIsvStatisticsResult(const std::string &payload);
~ListIsvStatisticsResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTISVSTATISTICSRESULT_H_

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
ListUsersRequest();
~ListUsersRequest();
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageSize_;
int pageNumber_;
int pageSize_;
};
}

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
std::string userName;
std::string userTel;
long createTime;
std::string jobName;
std::string userAvatarUrl;
std::string userEmail;
std::string departName;

View File

@@ -411,6 +411,42 @@ AliyuncvcClient::ListEvaluationsOutcomeCallable AliyuncvcClient::listEvaluations
return task->get_future();
}
AliyuncvcClient::ListIsvStatisticsOutcome AliyuncvcClient::listIsvStatistics(const ListIsvStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListIsvStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListIsvStatisticsOutcome(ListIsvStatisticsResult(outcome.result()));
else
return ListIsvStatisticsOutcome(outcome.error());
}
void AliyuncvcClient::listIsvStatisticsAsync(const ListIsvStatisticsRequest& request, const ListIsvStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listIsvStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListIsvStatisticsOutcomeCallable AliyuncvcClient::listIsvStatisticsCallable(const ListIsvStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListIsvStatisticsOutcome()>>(
[this, request]()
{
return this->listIsvStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListMembersOutcome AliyuncvcClient::listMembers(const ListMembersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -62,6 +62,8 @@ void GetUserResult::parse(const std::string &payload)
userInfo_.departId = userInfoNode["DepartId"].asString();
if(!userInfoNode["DepartName"].isNull())
userInfo_.departName = userInfoNode["DepartName"].asString();
if(!userInfoNode["JobName"].isNull())
userInfo_.jobName = userInfoNode["JobName"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())

View File

@@ -27,17 +27,6 @@ JoinMeetingRequest::JoinMeetingRequest() :
JoinMeetingRequest::~JoinMeetingRequest()
{}
std::string JoinMeetingRequest::getMeetingCode()const
{
return meetingCode_;
}
void JoinMeetingRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setCoreParameter("MeetingCode", meetingCode);
}
std::string JoinMeetingRequest::getUserId()const
{
return userId_;
@@ -49,3 +38,14 @@ void JoinMeetingRequest::setUserId(const std::string& userId)
setCoreParameter("UserId", userId);
}
std::string JoinMeetingRequest::getMeetingCode()const
{
return meetingCode_;
}
void JoinMeetingRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setCoreParameter("MeetingCode", meetingCode);
}

View File

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

View File

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

View File

@@ -27,17 +27,6 @@ ListUsersRequest::ListUsersRequest() :
ListUsersRequest::~ListUsersRequest()
{}
int ListUsersRequest::getPageSize()const
{
return pageSize_;
}
void ListUsersRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
int ListUsersRequest::getPageNumber()const
{
return pageNumber_;
@@ -49,3 +38,14 @@ void ListUsersRequest::setPageNumber(int pageNumber)
setCoreParameter("PageNumber", std::to_string(pageNumber));
}
int ListUsersRequest::getPageSize()const
{
return pageSize_;
}
void ListUsersRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -70,6 +70,8 @@ void ListUsersResult::parse(const std::string &payload)
userInfoObject.userMobile = dataNodeUserInfosUserInfo["UserMobile"].asString();
if(!dataNodeUserInfosUserInfo["UserAvatarUrl"].isNull())
userInfoObject.userAvatarUrl = dataNodeUserInfosUserInfo["UserAvatarUrl"].asString();
if(!dataNodeUserInfosUserInfo["JobName"].isNull())
userInfoObject.jobName = dataNodeUserInfosUserInfo["JobName"].asString();
data_.userInfos.push_back(userInfoObject);
}
if(!value["ErrorCode"].isNull())

View File

@@ -77,6 +77,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/QueryBillResult.h
include/alibabacloud/bssopenapi/model/QueryBillOverviewRequest.h
include/alibabacloud/bssopenapi/model/QueryBillOverviewResult.h
include/alibabacloud/bssopenapi/model/QueryBillToOSSSubscriptionRequest.h
include/alibabacloud/bssopenapi/model/QueryBillToOSSSubscriptionResult.h
include/alibabacloud/bssopenapi/model/QueryCashCouponsRequest.h
include/alibabacloud/bssopenapi/model/QueryCashCouponsResult.h
include/alibabacloud/bssopenapi/model/QueryCostUnitRequest.h
@@ -190,6 +192,8 @@ set(bssopenapi_src
src/model/QueryBillResult.cc
src/model/QueryBillOverviewRequest.cc
src/model/QueryBillOverviewResult.cc
src/model/QueryBillToOSSSubscriptionRequest.cc
src/model/QueryBillToOSSSubscriptionResult.cc
src/model/QueryCashCouponsRequest.cc
src/model/QueryCashCouponsResult.cc
src/model/QueryCostUnitRequest.cc

View File

@@ -78,6 +78,8 @@
#include "model/QueryBillResult.h"
#include "model/QueryBillOverviewRequest.h"
#include "model/QueryBillOverviewResult.h"
#include "model/QueryBillToOSSSubscriptionRequest.h"
#include "model/QueryBillToOSSSubscriptionResult.h"
#include "model/QueryCashCouponsRequest.h"
#include "model/QueryCashCouponsResult.h"
#include "model/QueryCostUnitRequest.h"
@@ -225,6 +227,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryBillOverviewResult> QueryBillOverviewOutcome;
typedef std::future<QueryBillOverviewOutcome> QueryBillOverviewOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryBillOverviewRequest&, const QueryBillOverviewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBillOverviewAsyncHandler;
typedef Outcome<Error, Model::QueryBillToOSSSubscriptionResult> QueryBillToOSSSubscriptionOutcome;
typedef std::future<QueryBillToOSSSubscriptionOutcome> QueryBillToOSSSubscriptionOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryBillToOSSSubscriptionRequest&, const QueryBillToOSSSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBillToOSSSubscriptionAsyncHandler;
typedef Outcome<Error, Model::QueryCashCouponsResult> QueryCashCouponsOutcome;
typedef std::future<QueryCashCouponsOutcome> QueryCashCouponsOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCashCouponsRequest&, const QueryCashCouponsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCashCouponsAsyncHandler;
@@ -395,6 +400,9 @@ namespace AlibabaCloud
QueryBillOverviewOutcome queryBillOverview(const Model::QueryBillOverviewRequest &request)const;
void queryBillOverviewAsync(const Model::QueryBillOverviewRequest& request, const QueryBillOverviewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryBillOverviewOutcomeCallable queryBillOverviewCallable(const Model::QueryBillOverviewRequest& request) const;
QueryBillToOSSSubscriptionOutcome queryBillToOSSSubscription(const Model::QueryBillToOSSSubscriptionRequest &request)const;
void queryBillToOSSSubscriptionAsync(const Model::QueryBillToOSSSubscriptionRequest& request, const QueryBillToOSSSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryBillToOSSSubscriptionOutcomeCallable queryBillToOSSSubscriptionCallable(const Model::QueryBillToOSSSubscriptionRequest& request) const;
QueryCashCouponsOutcome queryCashCoupons(const Model::QueryCashCouponsRequest &request)const;
void queryCashCouponsAsync(const Model::QueryCashCouponsRequest& request, const QueryCashCouponsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCashCouponsOutcomeCallable queryCashCouponsCallable(const Model::QueryCashCouponsRequest& request) const;

View File

@@ -35,19 +35,25 @@ namespace AlibabaCloud
QueryAccountBillRequest();
~QueryAccountBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
int getPageNum()const;
void setPageNum(int pageNum);
long getOwnerID()const;
void setOwnerID(long ownerID);
bool getIsGroupByProduct()const;
void setIsGroupByProduct(bool isGroupByProduct);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string productCode_;
std::string billingCycle_;
int pageNum_;
long ownerID_;
bool isGroupByProduct_;
int pageSize_;
};

View File

@@ -36,18 +36,21 @@ namespace AlibabaCloud
{
struct Item
{
float pretaxGrossAmount;
float deductedByCoupons;
std::string ownerName;
std::string ownerID;
float pretaxAmount;
std::string currency;
std::string productName;
std::string productCode;
float deductedByCashCoupons;
float outstandingAmount;
std::string costUnit;
float paymentAmount;
float deductedByPrepaidCard;
float invoiceDiscount;
std::string subscriptionType;
float pretaxGrossAmount;
std::string ownerID;
float pretaxAmount;
std::string currency;
std::string costUnit;
};
std::string billingCycle;
int totalCount;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillToOSSSubscriptionRequest : public RpcServiceRequest
{
public:
QueryBillToOSSSubscriptionRequest();
~QueryBillToOSSSubscriptionRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONREQUEST_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_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryBillToOSSSubscriptionResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
std::string subscribeBucket;
std::string subscribeTime;
std::string subscribeType;
long bucketOwnerId;
std::string multAccountRelSubscribe;
std::string subscribeLanguage;
};
std::string accountID;
std::vector<Item> items;
std::string accountName;
};
QueryBillToOSSSubscriptionResult();
explicit QueryBillToOSSSubscriptionResult(const std::string &payload);
~QueryBillToOSSSubscriptionResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYBILLTOOSSSUBSCRIPTIONRESULT_H_

View File

@@ -60,7 +60,7 @@ namespace AlibabaCloud
std::string resourceTag;
std::string relatedResources;
std::string apportionName;
long resourceId;
std::string resourceId;
std::string commodityCode;
std::string resourceStatus;
std::string resourceUserName;

View File

@@ -1059,6 +1059,42 @@ BssOpenApiClient::QueryBillOverviewOutcomeCallable BssOpenApiClient::queryBillOv
return task->get_future();
}
BssOpenApiClient::QueryBillToOSSSubscriptionOutcome BssOpenApiClient::queryBillToOSSSubscription(const QueryBillToOSSSubscriptionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryBillToOSSSubscriptionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryBillToOSSSubscriptionOutcome(QueryBillToOSSSubscriptionResult(outcome.result()));
else
return QueryBillToOSSSubscriptionOutcome(outcome.error());
}
void BssOpenApiClient::queryBillToOSSSubscriptionAsync(const QueryBillToOSSSubscriptionRequest& request, const QueryBillToOSSSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryBillToOSSSubscription(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QueryBillToOSSSubscriptionOutcomeCallable BssOpenApiClient::queryBillToOSSSubscriptionCallable(const QueryBillToOSSSubscriptionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryBillToOSSSubscriptionOutcome()>>(
[this, request]()
{
return this->queryBillToOSSSubscription(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QueryCashCouponsOutcome BssOpenApiClient::queryCashCoupons(const QueryCashCouponsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -27,6 +27,17 @@ QueryAccountBillRequest::QueryAccountBillRequest() :
QueryAccountBillRequest::~QueryAccountBillRequest()
{}
std::string QueryAccountBillRequest::getProductCode()const
{
return productCode_;
}
void QueryAccountBillRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setCoreParameter("ProductCode", productCode);
}
std::string QueryAccountBillRequest::getBillingCycle()const
{
return billingCycle_;
@@ -60,6 +71,17 @@ void QueryAccountBillRequest::setOwnerID(long ownerID)
setCoreParameter("OwnerID", std::to_string(ownerID));
}
bool QueryAccountBillRequest::getIsGroupByProduct()const
{
return isGroupByProduct_;
}
void QueryAccountBillRequest::setIsGroupByProduct(bool isGroupByProduct)
{
isGroupByProduct_ = isGroupByProduct;
setCoreParameter("IsGroupByProduct", isGroupByProduct ? "true" : "false");
}
int QueryAccountBillRequest::getPageSize()const
{
return pageSize_;

View File

@@ -80,6 +80,12 @@ void QueryAccountBillResult::parse(const std::string &payload)
itemObject.currency = dataNodeItemsItem["Currency"].asString();
if(!dataNodeItemsItem["OwnerName"].isNull())
itemObject.ownerName = dataNodeItemsItem["OwnerName"].asString();
if(!dataNodeItemsItem["ProductCode"].isNull())
itemObject.productCode = dataNodeItemsItem["ProductCode"].asString();
if(!dataNodeItemsItem["ProductName"].isNull())
itemObject.productName = dataNodeItemsItem["ProductName"].asString();
if(!dataNodeItemsItem["SubscriptionType"].isNull())
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -0,0 +1,29 @@
/*
* 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/bssopenapi/model/QueryBillToOSSSubscriptionRequest.h>
using AlibabaCloud::BssOpenApi::Model::QueryBillToOSSSubscriptionRequest;
QueryBillToOSSSubscriptionRequest::QueryBillToOSSSubscriptionRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryBillToOSSSubscription")
{
setMethod(HttpRequest::Method::Post);
}
QueryBillToOSSSubscriptionRequest::~QueryBillToOSSSubscriptionRequest()
{}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QueryBillToOSSSubscriptionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QueryBillToOSSSubscriptionResult::QueryBillToOSSSubscriptionResult() :
ServiceResult()
{}
QueryBillToOSSSubscriptionResult::QueryBillToOSSSubscriptionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryBillToOSSSubscriptionResult::~QueryBillToOSSSubscriptionResult()
{}
void QueryBillToOSSSubscriptionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["AccountID"].isNull())
data_.accountID = dataNode["AccountID"].asString();
if(!dataNode["AccountName"].isNull())
data_.accountName = dataNode["AccountName"].asString();
auto allItemsNode = dataNode["Items"]["Item"];
for (auto dataNodeItemsItem : allItemsNode)
{
Data::Item itemObject;
if(!dataNodeItemsItem["SubscribeType"].isNull())
itemObject.subscribeType = dataNodeItemsItem["SubscribeType"].asString();
if(!dataNodeItemsItem["SubscribeBucket"].isNull())
itemObject.subscribeBucket = dataNodeItemsItem["SubscribeBucket"].asString();
if(!dataNodeItemsItem["BucketOwnerId"].isNull())
itemObject.bucketOwnerId = std::stol(dataNodeItemsItem["BucketOwnerId"].asString());
if(!dataNodeItemsItem["SubscribeTime"].isNull())
itemObject.subscribeTime = dataNodeItemsItem["SubscribeTime"].asString();
if(!dataNodeItemsItem["SubscribeLanguage"].isNull())
itemObject.subscribeLanguage = dataNodeItemsItem["SubscribeLanguage"].asString();
if(!dataNodeItemsItem["MultAccountRelSubscribe"].isNull())
itemObject.multAccountRelSubscribe = dataNodeItemsItem["MultAccountRelSubscribe"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QueryBillToOSSSubscriptionResult::getMessage()const
{
return message_;
}
QueryBillToOSSSubscriptionResult::Data QueryBillToOSSSubscriptionResult::getData()const
{
return data_;
}
std::string QueryBillToOSSSubscriptionResult::getCode()const
{
return code_;
}
bool QueryBillToOSSSubscriptionResult::getSuccess()const
{
return success_;
}

View File

@@ -53,7 +53,7 @@ void QueryCostUnitResourceResult::parse(const std::string &payload)
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserId"].isNull())
resourceInstanceListObject.resourceUserId = std::stol(dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserId"].asString());
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceId"].isNull())
resourceInstanceListObject.resourceId = std::stol(dataNodeResourceInstanceDtoListResourceInstanceList["ResourceId"].asString());
resourceInstanceListObject.resourceId = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceId"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["CommodityCode"].isNull())
resourceInstanceListObject.commodityCode = dataNodeResourceInstanceDtoListResourceInstanceList["CommodityCode"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserName"].isNull())

View File

@@ -49,6 +49,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h
include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h
include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h
include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryResult.h
include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskRequest.h
include/alibabacloud/cdn/model/CreateUsageDetailDataExportTaskResult.h
include/alibabacloud/cdn/model/CreateUserUsageDataExportTaskRequest.h
@@ -69,10 +71,10 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h
include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h
include/alibabacloud/cdn/model/DeleteSpecificConfigResult.h
include/alibabacloud/cdn/model/DeleteSpecificStagingConfigRequest.h
include/alibabacloud/cdn/model/DeleteSpecificStagingConfigResult.h
include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskRequest.h
include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h
include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h
@@ -99,6 +101,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeCdnServiceResult.h
include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h
include/alibabacloud/cdn/model/DescribeCdnTypesResult.h
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h
include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
@@ -111,10 +115,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeDomainBpsDataResult.h
include/alibabacloud/cdn/model/DescribeDomainBpsDataByTimeStampRequest.h
include/alibabacloud/cdn/model/DescribeDomainBpsDataByTimeStampResult.h
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoRequest.h
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoResult.h
include/alibabacloud/cdn/model/DescribeDomainCCDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainCCDataResult.h
include/alibabacloud/cdn/model/DescribeDomainCertificateInfoRequest.h
include/alibabacloud/cdn/model/DescribeDomainCertificateInfoResult.h
include/alibabacloud/cdn/model/DescribeDomainCnameRequest.h
@@ -147,6 +147,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeDomainRealTimeBpsDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeByteHitRateDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeDetailDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeHttpCodeDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeQpsDataRequest.h
@@ -155,8 +157,14 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeDomainRealTimeReqHitRateDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcBpsDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcHttpCodeDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeSrcTrafficDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealTimeTrafficDataResult.h
include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryRequest.h
include/alibabacloud/cdn/model/DescribeDomainRealtimeLogDeliveryResult.h
include/alibabacloud/cdn/model/DescribeDomainRegionDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h
include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h
@@ -169,8 +177,12 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataResult.h
include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainSrcHttpCodeDataResult.h
include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitRequest.h
include/alibabacloud/cdn/model/DescribeDomainSrcTopUrlVisitResult.h
include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainSrcTrafficDataResult.h
include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitRequest.h
include/alibabacloud/cdn/model/DescribeDomainTopClientIpVisitResult.h
include/alibabacloud/cdn/model/DescribeDomainTopReferVisitRequest.h
include/alibabacloud/cdn/model/DescribeDomainTopReferVisitResult.h
include/alibabacloud/cdn/model/DescribeDomainTopUrlVisitRequest.h
@@ -235,8 +247,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeTagResourcesResult.h
include/alibabacloud/cdn/model/DescribeTopDomainsByFlowRequest.h
include/alibabacloud/cdn/model/DescribeTopDomainsByFlowResult.h
include/alibabacloud/cdn/model/DescribeUserCdnStatusRequest.h
include/alibabacloud/cdn/model/DescribeUserCdnStatusResult.h
include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h
include/alibabacloud/cdn/model/DescribeUserConfigsResult.h
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h
@@ -251,12 +261,24 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeUserUsageDataExportTaskResult.h
include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskRequest.h
include/alibabacloud/cdn/model/DescribeUserUsageDetailDataExportTaskResult.h
include/alibabacloud/cdn/model/DescribeUserVipsByDomainRequest.h
include/alibabacloud/cdn/model/DescribeUserVipsByDomainResult.h
include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryRequest.h
include/alibabacloud/cdn/model/DisableRealtimeLogDeliveryResult.h
include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryRequest.h
include/alibabacloud/cdn/model/EnableRealtimeLogDeliveryResult.h
include/alibabacloud/cdn/model/ForbidLiveStreamRequest.h
include/alibabacloud/cdn/model/ForbidLiveStreamResult.h
include/alibabacloud/cdn/model/ListDomainsByLogConfigIdRequest.h
include/alibabacloud/cdn/model/ListDomainsByLogConfigIdResult.h
include/alibabacloud/cdn/model/ListFCTriggerRequest.h
include/alibabacloud/cdn/model/ListFCTriggerResult.h
include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsRequest.h
include/alibabacloud/cdn/model/ListRealtimeLogDeliveryDomainsResult.h
include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosRequest.h
include/alibabacloud/cdn/model/ListRealtimeLogDeliveryInfosResult.h
include/alibabacloud/cdn/model/ListUserCustomLogConfigRequest.h
include/alibabacloud/cdn/model/ListUserCustomLogConfigResult.h
include/alibabacloud/cdn/model/ModifyCdnDomainRequest.h
include/alibabacloud/cdn/model/ModifyCdnDomainResult.h
include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h
@@ -271,6 +293,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/ModifyHttpHeaderConfigResult.h
include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigRequest.h
include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigResult.h
include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h
include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryResult.h
include/alibabacloud/cdn/model/ModifyUserCustomLogConfigRequest.h
include/alibabacloud/cdn/model/ModifyUserCustomLogConfigResult.h
include/alibabacloud/cdn/model/OpenCdnServiceRequest.h
@@ -386,6 +410,8 @@ set(cdn_src
src/model/BatchUpdateCdnDomainResult.cc
src/model/CreateLiveStreamRecordIndexFilesRequest.cc
src/model/CreateLiveStreamRecordIndexFilesResult.cc
src/model/CreateRealTimeLogDeliveryRequest.cc
src/model/CreateRealTimeLogDeliveryResult.cc
src/model/CreateUsageDetailDataExportTaskRequest.cc
src/model/CreateUsageDetailDataExportTaskResult.cc
src/model/CreateUserUsageDataExportTaskRequest.cc
@@ -406,10 +432,10 @@ set(cdn_src
src/model/DeleteLiveDomainMappingResult.cc
src/model/DeleteLiveStreamTranscodeRequest.cc
src/model/DeleteLiveStreamTranscodeResult.cc
src/model/DeleteRealtimeLogDeliveryRequest.cc
src/model/DeleteRealtimeLogDeliveryResult.cc
src/model/DeleteSpecificConfigRequest.cc
src/model/DeleteSpecificConfigResult.cc
src/model/DeleteSpecificStagingConfigRequest.cc
src/model/DeleteSpecificStagingConfigResult.cc
src/model/DeleteUsageDetailDataExportTaskRequest.cc
src/model/DeleteUsageDetailDataExportTaskResult.cc
src/model/DeleteUserUsageDataExportTaskRequest.cc
@@ -436,6 +462,8 @@ set(cdn_src
src/model/DescribeCdnServiceResult.cc
src/model/DescribeCdnTypesRequest.cc
src/model/DescribeCdnTypesResult.cc
src/model/DescribeCdnUserBillPredictionRequest.cc
src/model/DescribeCdnUserBillPredictionResult.cc
src/model/DescribeCdnUserQuotaRequest.cc
src/model/DescribeCdnUserQuotaResult.cc
src/model/DescribeCdnUserResourcePackageRequest.cc
@@ -448,10 +476,6 @@ set(cdn_src
src/model/DescribeDomainBpsDataResult.cc
src/model/DescribeDomainBpsDataByTimeStampRequest.cc
src/model/DescribeDomainBpsDataByTimeStampResult.cc
src/model/DescribeDomainCCAttackInfoRequest.cc
src/model/DescribeDomainCCAttackInfoResult.cc
src/model/DescribeDomainCCDataRequest.cc
src/model/DescribeDomainCCDataResult.cc
src/model/DescribeDomainCertificateInfoRequest.cc
src/model/DescribeDomainCertificateInfoResult.cc
src/model/DescribeDomainCnameRequest.cc
@@ -484,6 +508,8 @@ set(cdn_src
src/model/DescribeDomainRealTimeBpsDataResult.cc
src/model/DescribeDomainRealTimeByteHitRateDataRequest.cc
src/model/DescribeDomainRealTimeByteHitRateDataResult.cc
src/model/DescribeDomainRealTimeDetailDataRequest.cc
src/model/DescribeDomainRealTimeDetailDataResult.cc
src/model/DescribeDomainRealTimeHttpCodeDataRequest.cc
src/model/DescribeDomainRealTimeHttpCodeDataResult.cc
src/model/DescribeDomainRealTimeQpsDataRequest.cc
@@ -492,8 +518,14 @@ set(cdn_src
src/model/DescribeDomainRealTimeReqHitRateDataResult.cc
src/model/DescribeDomainRealTimeSrcBpsDataRequest.cc
src/model/DescribeDomainRealTimeSrcBpsDataResult.cc
src/model/DescribeDomainRealTimeSrcHttpCodeDataRequest.cc
src/model/DescribeDomainRealTimeSrcHttpCodeDataResult.cc
src/model/DescribeDomainRealTimeSrcTrafficDataRequest.cc
src/model/DescribeDomainRealTimeSrcTrafficDataResult.cc
src/model/DescribeDomainRealTimeTrafficDataRequest.cc
src/model/DescribeDomainRealTimeTrafficDataResult.cc
src/model/DescribeDomainRealtimeLogDeliveryRequest.cc
src/model/DescribeDomainRealtimeLogDeliveryResult.cc
src/model/DescribeDomainRegionDataRequest.cc
src/model/DescribeDomainRegionDataResult.cc
src/model/DescribeDomainReqHitRateDataRequest.cc
@@ -506,8 +538,12 @@ set(cdn_src
src/model/DescribeDomainSrcFlowDataResult.cc
src/model/DescribeDomainSrcHttpCodeDataRequest.cc
src/model/DescribeDomainSrcHttpCodeDataResult.cc
src/model/DescribeDomainSrcTopUrlVisitRequest.cc
src/model/DescribeDomainSrcTopUrlVisitResult.cc
src/model/DescribeDomainSrcTrafficDataRequest.cc
src/model/DescribeDomainSrcTrafficDataResult.cc
src/model/DescribeDomainTopClientIpVisitRequest.cc
src/model/DescribeDomainTopClientIpVisitResult.cc
src/model/DescribeDomainTopReferVisitRequest.cc
src/model/DescribeDomainTopReferVisitResult.cc
src/model/DescribeDomainTopUrlVisitRequest.cc
@@ -572,8 +608,6 @@ set(cdn_src
src/model/DescribeTagResourcesResult.cc
src/model/DescribeTopDomainsByFlowRequest.cc
src/model/DescribeTopDomainsByFlowResult.cc
src/model/DescribeUserCdnStatusRequest.cc
src/model/DescribeUserCdnStatusResult.cc
src/model/DescribeUserConfigsRequest.cc
src/model/DescribeUserConfigsResult.cc
src/model/DescribeUserCustomLogConfigRequest.cc
@@ -588,12 +622,24 @@ set(cdn_src
src/model/DescribeUserUsageDataExportTaskResult.cc
src/model/DescribeUserUsageDetailDataExportTaskRequest.cc
src/model/DescribeUserUsageDetailDataExportTaskResult.cc
src/model/DescribeUserVipsByDomainRequest.cc
src/model/DescribeUserVipsByDomainResult.cc
src/model/DisableRealtimeLogDeliveryRequest.cc
src/model/DisableRealtimeLogDeliveryResult.cc
src/model/EnableRealtimeLogDeliveryRequest.cc
src/model/EnableRealtimeLogDeliveryResult.cc
src/model/ForbidLiveStreamRequest.cc
src/model/ForbidLiveStreamResult.cc
src/model/ListDomainsByLogConfigIdRequest.cc
src/model/ListDomainsByLogConfigIdResult.cc
src/model/ListFCTriggerRequest.cc
src/model/ListFCTriggerResult.cc
src/model/ListRealtimeLogDeliveryDomainsRequest.cc
src/model/ListRealtimeLogDeliveryDomainsResult.cc
src/model/ListRealtimeLogDeliveryInfosRequest.cc
src/model/ListRealtimeLogDeliveryInfosResult.cc
src/model/ListUserCustomLogConfigRequest.cc
src/model/ListUserCustomLogConfigResult.cc
src/model/ModifyCdnDomainRequest.cc
src/model/ModifyCdnDomainResult.cc
src/model/ModifyCdnDomainSchdmByPropertyRequest.cc
@@ -608,6 +654,8 @@ set(cdn_src
src/model/ModifyHttpHeaderConfigResult.cc
src/model/ModifyPathCacheExpiredConfigRequest.cc
src/model/ModifyPathCacheExpiredConfigResult.cc
src/model/ModifyRealtimeLogDeliveryRequest.cc
src/model/ModifyRealtimeLogDeliveryResult.cc
src/model/ModifyUserCustomLogConfigRequest.cc
src/model/ModifyUserCustomLogConfigResult.cc
src/model/OpenCdnServiceRequest.cc

View File

@@ -50,6 +50,8 @@
#include "model/BatchUpdateCdnDomainResult.h"
#include "model/CreateLiveStreamRecordIndexFilesRequest.h"
#include "model/CreateLiveStreamRecordIndexFilesResult.h"
#include "model/CreateRealTimeLogDeliveryRequest.h"
#include "model/CreateRealTimeLogDeliveryResult.h"
#include "model/CreateUsageDetailDataExportTaskRequest.h"
#include "model/CreateUsageDetailDataExportTaskResult.h"
#include "model/CreateUserUsageDataExportTaskRequest.h"
@@ -70,10 +72,10 @@
#include "model/DeleteLiveDomainMappingResult.h"
#include "model/DeleteLiveStreamTranscodeRequest.h"
#include "model/DeleteLiveStreamTranscodeResult.h"
#include "model/DeleteRealtimeLogDeliveryRequest.h"
#include "model/DeleteRealtimeLogDeliveryResult.h"
#include "model/DeleteSpecificConfigRequest.h"
#include "model/DeleteSpecificConfigResult.h"
#include "model/DeleteSpecificStagingConfigRequest.h"
#include "model/DeleteSpecificStagingConfigResult.h"
#include "model/DeleteUsageDetailDataExportTaskRequest.h"
#include "model/DeleteUsageDetailDataExportTaskResult.h"
#include "model/DeleteUserUsageDataExportTaskRequest.h"
@@ -100,6 +102,8 @@
#include "model/DescribeCdnServiceResult.h"
#include "model/DescribeCdnTypesRequest.h"
#include "model/DescribeCdnTypesResult.h"
#include "model/DescribeCdnUserBillPredictionRequest.h"
#include "model/DescribeCdnUserBillPredictionResult.h"
#include "model/DescribeCdnUserQuotaRequest.h"
#include "model/DescribeCdnUserQuotaResult.h"
#include "model/DescribeCdnUserResourcePackageRequest.h"
@@ -112,10 +116,6 @@
#include "model/DescribeDomainBpsDataResult.h"
#include "model/DescribeDomainBpsDataByTimeStampRequest.h"
#include "model/DescribeDomainBpsDataByTimeStampResult.h"
#include "model/DescribeDomainCCAttackInfoRequest.h"
#include "model/DescribeDomainCCAttackInfoResult.h"
#include "model/DescribeDomainCCDataRequest.h"
#include "model/DescribeDomainCCDataResult.h"
#include "model/DescribeDomainCertificateInfoRequest.h"
#include "model/DescribeDomainCertificateInfoResult.h"
#include "model/DescribeDomainCnameRequest.h"
@@ -148,6 +148,8 @@
#include "model/DescribeDomainRealTimeBpsDataResult.h"
#include "model/DescribeDomainRealTimeByteHitRateDataRequest.h"
#include "model/DescribeDomainRealTimeByteHitRateDataResult.h"
#include "model/DescribeDomainRealTimeDetailDataRequest.h"
#include "model/DescribeDomainRealTimeDetailDataResult.h"
#include "model/DescribeDomainRealTimeHttpCodeDataRequest.h"
#include "model/DescribeDomainRealTimeHttpCodeDataResult.h"
#include "model/DescribeDomainRealTimeQpsDataRequest.h"
@@ -156,8 +158,14 @@
#include "model/DescribeDomainRealTimeReqHitRateDataResult.h"
#include "model/DescribeDomainRealTimeSrcBpsDataRequest.h"
#include "model/DescribeDomainRealTimeSrcBpsDataResult.h"
#include "model/DescribeDomainRealTimeSrcHttpCodeDataRequest.h"
#include "model/DescribeDomainRealTimeSrcHttpCodeDataResult.h"
#include "model/DescribeDomainRealTimeSrcTrafficDataRequest.h"
#include "model/DescribeDomainRealTimeSrcTrafficDataResult.h"
#include "model/DescribeDomainRealTimeTrafficDataRequest.h"
#include "model/DescribeDomainRealTimeTrafficDataResult.h"
#include "model/DescribeDomainRealtimeLogDeliveryRequest.h"
#include "model/DescribeDomainRealtimeLogDeliveryResult.h"
#include "model/DescribeDomainRegionDataRequest.h"
#include "model/DescribeDomainRegionDataResult.h"
#include "model/DescribeDomainReqHitRateDataRequest.h"
@@ -170,8 +178,12 @@
#include "model/DescribeDomainSrcFlowDataResult.h"
#include "model/DescribeDomainSrcHttpCodeDataRequest.h"
#include "model/DescribeDomainSrcHttpCodeDataResult.h"
#include "model/DescribeDomainSrcTopUrlVisitRequest.h"
#include "model/DescribeDomainSrcTopUrlVisitResult.h"
#include "model/DescribeDomainSrcTrafficDataRequest.h"
#include "model/DescribeDomainSrcTrafficDataResult.h"
#include "model/DescribeDomainTopClientIpVisitRequest.h"
#include "model/DescribeDomainTopClientIpVisitResult.h"
#include "model/DescribeDomainTopReferVisitRequest.h"
#include "model/DescribeDomainTopReferVisitResult.h"
#include "model/DescribeDomainTopUrlVisitRequest.h"
@@ -236,8 +248,6 @@
#include "model/DescribeTagResourcesResult.h"
#include "model/DescribeTopDomainsByFlowRequest.h"
#include "model/DescribeTopDomainsByFlowResult.h"
#include "model/DescribeUserCdnStatusRequest.h"
#include "model/DescribeUserCdnStatusResult.h"
#include "model/DescribeUserConfigsRequest.h"
#include "model/DescribeUserConfigsResult.h"
#include "model/DescribeUserCustomLogConfigRequest.h"
@@ -252,12 +262,24 @@
#include "model/DescribeUserUsageDataExportTaskResult.h"
#include "model/DescribeUserUsageDetailDataExportTaskRequest.h"
#include "model/DescribeUserUsageDetailDataExportTaskResult.h"
#include "model/DescribeUserVipsByDomainRequest.h"
#include "model/DescribeUserVipsByDomainResult.h"
#include "model/DisableRealtimeLogDeliveryRequest.h"
#include "model/DisableRealtimeLogDeliveryResult.h"
#include "model/EnableRealtimeLogDeliveryRequest.h"
#include "model/EnableRealtimeLogDeliveryResult.h"
#include "model/ForbidLiveStreamRequest.h"
#include "model/ForbidLiveStreamResult.h"
#include "model/ListDomainsByLogConfigIdRequest.h"
#include "model/ListDomainsByLogConfigIdResult.h"
#include "model/ListFCTriggerRequest.h"
#include "model/ListFCTriggerResult.h"
#include "model/ListRealtimeLogDeliveryDomainsRequest.h"
#include "model/ListRealtimeLogDeliveryDomainsResult.h"
#include "model/ListRealtimeLogDeliveryInfosRequest.h"
#include "model/ListRealtimeLogDeliveryInfosResult.h"
#include "model/ListUserCustomLogConfigRequest.h"
#include "model/ListUserCustomLogConfigResult.h"
#include "model/ModifyCdnDomainRequest.h"
#include "model/ModifyCdnDomainResult.h"
#include "model/ModifyCdnDomainSchdmByPropertyRequest.h"
@@ -272,6 +294,8 @@
#include "model/ModifyHttpHeaderConfigResult.h"
#include "model/ModifyPathCacheExpiredConfigRequest.h"
#include "model/ModifyPathCacheExpiredConfigResult.h"
#include "model/ModifyRealtimeLogDeliveryRequest.h"
#include "model/ModifyRealtimeLogDeliveryResult.h"
#include "model/ModifyUserCustomLogConfigRequest.h"
#include "model/ModifyUserCustomLogConfigResult.h"
#include "model/OpenCdnServiceRequest.h"
@@ -407,6 +431,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateLiveStreamRecordIndexFilesResult> CreateLiveStreamRecordIndexFilesOutcome;
typedef std::future<CreateLiveStreamRecordIndexFilesOutcome> CreateLiveStreamRecordIndexFilesOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::CreateLiveStreamRecordIndexFilesRequest&, const CreateLiveStreamRecordIndexFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLiveStreamRecordIndexFilesAsyncHandler;
typedef Outcome<Error, Model::CreateRealTimeLogDeliveryResult> CreateRealTimeLogDeliveryOutcome;
typedef std::future<CreateRealTimeLogDeliveryOutcome> CreateRealTimeLogDeliveryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::CreateRealTimeLogDeliveryRequest&, const CreateRealTimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRealTimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::CreateUsageDetailDataExportTaskResult> CreateUsageDetailDataExportTaskOutcome;
typedef std::future<CreateUsageDetailDataExportTaskOutcome> CreateUsageDetailDataExportTaskOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::CreateUsageDetailDataExportTaskRequest&, const CreateUsageDetailDataExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUsageDetailDataExportTaskAsyncHandler;
@@ -437,12 +464,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteLiveStreamTranscodeResult> DeleteLiveStreamTranscodeOutcome;
typedef std::future<DeleteLiveStreamTranscodeOutcome> DeleteLiveStreamTranscodeOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DeleteLiveStreamTranscodeRequest&, const DeleteLiveStreamTranscodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveStreamTranscodeAsyncHandler;
typedef Outcome<Error, Model::DeleteRealtimeLogDeliveryResult> DeleteRealtimeLogDeliveryOutcome;
typedef std::future<DeleteRealtimeLogDeliveryOutcome> DeleteRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DeleteRealtimeLogDeliveryRequest&, const DeleteRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRealtimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::DeleteSpecificConfigResult> DeleteSpecificConfigOutcome;
typedef std::future<DeleteSpecificConfigOutcome> DeleteSpecificConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DeleteSpecificConfigRequest&, const DeleteSpecificConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSpecificConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteSpecificStagingConfigResult> DeleteSpecificStagingConfigOutcome;
typedef std::future<DeleteSpecificStagingConfigOutcome> DeleteSpecificStagingConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DeleteSpecificStagingConfigRequest&, const DeleteSpecificStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSpecificStagingConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteUsageDetailDataExportTaskResult> DeleteUsageDetailDataExportTaskOutcome;
typedef std::future<DeleteUsageDetailDataExportTaskOutcome> DeleteUsageDetailDataExportTaskOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DeleteUsageDetailDataExportTaskRequest&, const DeleteUsageDetailDataExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUsageDetailDataExportTaskAsyncHandler;
@@ -482,6 +509,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCdnTypesResult> DescribeCdnTypesOutcome;
typedef std::future<DescribeCdnTypesOutcome> DescribeCdnTypesOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnTypesRequest&, const DescribeCdnTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnTypesAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserBillPredictionResult> DescribeCdnUserBillPredictionOutcome;
typedef std::future<DescribeCdnUserBillPredictionOutcome> DescribeCdnUserBillPredictionOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillPredictionRequest&, const DescribeCdnUserBillPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillPredictionAsyncHandler;
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;
@@ -500,12 +530,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainBpsDataByTimeStampResult> DescribeDomainBpsDataByTimeStampOutcome;
typedef std::future<DescribeDomainBpsDataByTimeStampOutcome> DescribeDomainBpsDataByTimeStampOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainBpsDataByTimeStampRequest&, const DescribeDomainBpsDataByTimeStampOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainBpsDataByTimeStampAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainCCAttackInfoResult> DescribeDomainCCAttackInfoOutcome;
typedef std::future<DescribeDomainCCAttackInfoOutcome> DescribeDomainCCAttackInfoOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCCAttackInfoRequest&, const DescribeDomainCCAttackInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCCAttackInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainCCDataResult> DescribeDomainCCDataOutcome;
typedef std::future<DescribeDomainCCDataOutcome> DescribeDomainCCDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCCDataRequest&, const DescribeDomainCCDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCCDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainCertificateInfoResult> DescribeDomainCertificateInfoOutcome;
typedef std::future<DescribeDomainCertificateInfoOutcome> DescribeDomainCertificateInfoOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCertificateInfoRequest&, const DescribeDomainCertificateInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCertificateInfoAsyncHandler;
@@ -554,6 +578,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainRealTimeByteHitRateDataResult> DescribeDomainRealTimeByteHitRateDataOutcome;
typedef std::future<DescribeDomainRealTimeByteHitRateDataOutcome> DescribeDomainRealTimeByteHitRateDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealTimeByteHitRateDataRequest&, const DescribeDomainRealTimeByteHitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealTimeByteHitRateDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRealTimeDetailDataResult> DescribeDomainRealTimeDetailDataOutcome;
typedef std::future<DescribeDomainRealTimeDetailDataOutcome> DescribeDomainRealTimeDetailDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealTimeDetailDataRequest&, const DescribeDomainRealTimeDetailDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealTimeDetailDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRealTimeHttpCodeDataResult> DescribeDomainRealTimeHttpCodeDataOutcome;
typedef std::future<DescribeDomainRealTimeHttpCodeDataOutcome> DescribeDomainRealTimeHttpCodeDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealTimeHttpCodeDataRequest&, const DescribeDomainRealTimeHttpCodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealTimeHttpCodeDataAsyncHandler;
@@ -566,9 +593,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainRealTimeSrcBpsDataResult> DescribeDomainRealTimeSrcBpsDataOutcome;
typedef std::future<DescribeDomainRealTimeSrcBpsDataOutcome> DescribeDomainRealTimeSrcBpsDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealTimeSrcBpsDataRequest&, const DescribeDomainRealTimeSrcBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealTimeSrcBpsDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRealTimeSrcHttpCodeDataResult> DescribeDomainRealTimeSrcHttpCodeDataOutcome;
typedef std::future<DescribeDomainRealTimeSrcHttpCodeDataOutcome> DescribeDomainRealTimeSrcHttpCodeDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealTimeSrcHttpCodeDataRequest&, const DescribeDomainRealTimeSrcHttpCodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealTimeSrcHttpCodeDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRealTimeSrcTrafficDataResult> DescribeDomainRealTimeSrcTrafficDataOutcome;
typedef std::future<DescribeDomainRealTimeSrcTrafficDataOutcome> DescribeDomainRealTimeSrcTrafficDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealTimeSrcTrafficDataRequest&, const DescribeDomainRealTimeSrcTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealTimeSrcTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRealTimeTrafficDataResult> DescribeDomainRealTimeTrafficDataOutcome;
typedef std::future<DescribeDomainRealTimeTrafficDataOutcome> DescribeDomainRealTimeTrafficDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealTimeTrafficDataRequest&, const DescribeDomainRealTimeTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealTimeTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRealtimeLogDeliveryResult> DescribeDomainRealtimeLogDeliveryOutcome;
typedef std::future<DescribeDomainRealtimeLogDeliveryOutcome> DescribeDomainRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRealtimeLogDeliveryRequest&, const DescribeDomainRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRealtimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainRegionDataResult> DescribeDomainRegionDataOutcome;
typedef std::future<DescribeDomainRegionDataOutcome> DescribeDomainRegionDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainRegionDataRequest&, const DescribeDomainRegionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainRegionDataAsyncHandler;
@@ -587,9 +623,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainSrcHttpCodeDataResult> DescribeDomainSrcHttpCodeDataOutcome;
typedef std::future<DescribeDomainSrcHttpCodeDataOutcome> DescribeDomainSrcHttpCodeDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainSrcHttpCodeDataRequest&, const DescribeDomainSrcHttpCodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainSrcHttpCodeDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainSrcTopUrlVisitResult> DescribeDomainSrcTopUrlVisitOutcome;
typedef std::future<DescribeDomainSrcTopUrlVisitOutcome> DescribeDomainSrcTopUrlVisitOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainSrcTopUrlVisitRequest&, const DescribeDomainSrcTopUrlVisitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainSrcTopUrlVisitAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainSrcTrafficDataResult> DescribeDomainSrcTrafficDataOutcome;
typedef std::future<DescribeDomainSrcTrafficDataOutcome> DescribeDomainSrcTrafficDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainSrcTrafficDataRequest&, const DescribeDomainSrcTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainSrcTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainTopClientIpVisitResult> DescribeDomainTopClientIpVisitOutcome;
typedef std::future<DescribeDomainTopClientIpVisitOutcome> DescribeDomainTopClientIpVisitOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainTopClientIpVisitRequest&, const DescribeDomainTopClientIpVisitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainTopClientIpVisitAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainTopReferVisitResult> DescribeDomainTopReferVisitOutcome;
typedef std::future<DescribeDomainTopReferVisitOutcome> DescribeDomainTopReferVisitOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainTopReferVisitRequest&, const DescribeDomainTopReferVisitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainTopReferVisitAsyncHandler;
@@ -686,9 +728,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeTopDomainsByFlowResult> DescribeTopDomainsByFlowOutcome;
typedef std::future<DescribeTopDomainsByFlowOutcome> DescribeTopDomainsByFlowOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeTopDomainsByFlowRequest&, const DescribeTopDomainsByFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTopDomainsByFlowAsyncHandler;
typedef Outcome<Error, Model::DescribeUserCdnStatusResult> DescribeUserCdnStatusOutcome;
typedef std::future<DescribeUserCdnStatusOutcome> DescribeUserCdnStatusOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeUserCdnStatusRequest&, const DescribeUserCdnStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserCdnStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeUserConfigsResult> DescribeUserConfigsOutcome;
typedef std::future<DescribeUserConfigsOutcome> DescribeUserConfigsOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeUserConfigsRequest&, const DescribeUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserConfigsAsyncHandler;
@@ -710,6 +749,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeUserUsageDetailDataExportTaskResult> DescribeUserUsageDetailDataExportTaskOutcome;
typedef std::future<DescribeUserUsageDetailDataExportTaskOutcome> DescribeUserUsageDetailDataExportTaskOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeUserUsageDetailDataExportTaskRequest&, const DescribeUserUsageDetailDataExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserUsageDetailDataExportTaskAsyncHandler;
typedef Outcome<Error, Model::DescribeUserVipsByDomainResult> DescribeUserVipsByDomainOutcome;
typedef std::future<DescribeUserVipsByDomainOutcome> DescribeUserVipsByDomainOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeUserVipsByDomainRequest&, const DescribeUserVipsByDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserVipsByDomainAsyncHandler;
typedef Outcome<Error, Model::DisableRealtimeLogDeliveryResult> DisableRealtimeLogDeliveryOutcome;
typedef std::future<DisableRealtimeLogDeliveryOutcome> DisableRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DisableRealtimeLogDeliveryRequest&, const DisableRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableRealtimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::EnableRealtimeLogDeliveryResult> EnableRealtimeLogDeliveryOutcome;
typedef std::future<EnableRealtimeLogDeliveryOutcome> EnableRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::EnableRealtimeLogDeliveryRequest&, const EnableRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableRealtimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::ForbidLiveStreamResult> ForbidLiveStreamOutcome;
typedef std::future<ForbidLiveStreamOutcome> ForbidLiveStreamOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ForbidLiveStreamRequest&, const ForbidLiveStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ForbidLiveStreamAsyncHandler;
@@ -719,6 +767,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListFCTriggerResult> ListFCTriggerOutcome;
typedef std::future<ListFCTriggerOutcome> ListFCTriggerOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ListFCTriggerRequest&, const ListFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFCTriggerAsyncHandler;
typedef Outcome<Error, Model::ListRealtimeLogDeliveryDomainsResult> ListRealtimeLogDeliveryDomainsOutcome;
typedef std::future<ListRealtimeLogDeliveryDomainsOutcome> ListRealtimeLogDeliveryDomainsOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ListRealtimeLogDeliveryDomainsRequest&, const ListRealtimeLogDeliveryDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRealtimeLogDeliveryDomainsAsyncHandler;
typedef Outcome<Error, Model::ListRealtimeLogDeliveryInfosResult> ListRealtimeLogDeliveryInfosOutcome;
typedef std::future<ListRealtimeLogDeliveryInfosOutcome> ListRealtimeLogDeliveryInfosOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ListRealtimeLogDeliveryInfosRequest&, const ListRealtimeLogDeliveryInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRealtimeLogDeliveryInfosAsyncHandler;
typedef Outcome<Error, Model::ListUserCustomLogConfigResult> ListUserCustomLogConfigOutcome;
typedef std::future<ListUserCustomLogConfigOutcome> ListUserCustomLogConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ListUserCustomLogConfigRequest&, const ListUserCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserCustomLogConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyCdnDomainResult> ModifyCdnDomainOutcome;
typedef std::future<ModifyCdnDomainOutcome> ModifyCdnDomainOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyCdnDomainRequest&, const ModifyCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCdnDomainAsyncHandler;
@@ -740,6 +797,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyPathCacheExpiredConfigResult> ModifyPathCacheExpiredConfigOutcome;
typedef std::future<ModifyPathCacheExpiredConfigOutcome> ModifyPathCacheExpiredConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyPathCacheExpiredConfigRequest&, const ModifyPathCacheExpiredConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPathCacheExpiredConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyRealtimeLogDeliveryResult> ModifyRealtimeLogDeliveryOutcome;
typedef std::future<ModifyRealtimeLogDeliveryOutcome> ModifyRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyRealtimeLogDeliveryRequest&, const ModifyRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyRealtimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::ModifyUserCustomLogConfigResult> ModifyUserCustomLogConfigOutcome;
typedef std::future<ModifyUserCustomLogConfigOutcome> ModifyUserCustomLogConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyUserCustomLogConfigRequest&, const ModifyUserCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserCustomLogConfigAsyncHandler;
@@ -913,6 +973,9 @@ namespace AlibabaCloud
CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const;
void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLiveStreamRecordIndexFilesOutcomeCallable createLiveStreamRecordIndexFilesCallable(const Model::CreateLiveStreamRecordIndexFilesRequest& request) const;
CreateRealTimeLogDeliveryOutcome createRealTimeLogDelivery(const Model::CreateRealTimeLogDeliveryRequest &request)const;
void createRealTimeLogDeliveryAsync(const Model::CreateRealTimeLogDeliveryRequest& request, const CreateRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRealTimeLogDeliveryOutcomeCallable createRealTimeLogDeliveryCallable(const Model::CreateRealTimeLogDeliveryRequest& request) const;
CreateUsageDetailDataExportTaskOutcome createUsageDetailDataExportTask(const Model::CreateUsageDetailDataExportTaskRequest &request)const;
void createUsageDetailDataExportTaskAsync(const Model::CreateUsageDetailDataExportTaskRequest& request, const CreateUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUsageDetailDataExportTaskOutcomeCallable createUsageDetailDataExportTaskCallable(const Model::CreateUsageDetailDataExportTaskRequest& request) const;
@@ -943,12 +1006,12 @@ namespace AlibabaCloud
DeleteLiveStreamTranscodeOutcome deleteLiveStreamTranscode(const Model::DeleteLiveStreamTranscodeRequest &request)const;
void deleteLiveStreamTranscodeAsync(const Model::DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLiveStreamTranscodeOutcomeCallable deleteLiveStreamTranscodeCallable(const Model::DeleteLiveStreamTranscodeRequest& request) const;
DeleteRealtimeLogDeliveryOutcome deleteRealtimeLogDelivery(const Model::DeleteRealtimeLogDeliveryRequest &request)const;
void deleteRealtimeLogDeliveryAsync(const Model::DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRealtimeLogDeliveryOutcomeCallable deleteRealtimeLogDeliveryCallable(const Model::DeleteRealtimeLogDeliveryRequest& request) const;
DeleteSpecificConfigOutcome deleteSpecificConfig(const Model::DeleteSpecificConfigRequest &request)const;
void deleteSpecificConfigAsync(const Model::DeleteSpecificConfigRequest& request, const DeleteSpecificConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSpecificConfigOutcomeCallable deleteSpecificConfigCallable(const Model::DeleteSpecificConfigRequest& request) const;
DeleteSpecificStagingConfigOutcome deleteSpecificStagingConfig(const Model::DeleteSpecificStagingConfigRequest &request)const;
void deleteSpecificStagingConfigAsync(const Model::DeleteSpecificStagingConfigRequest& request, const DeleteSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSpecificStagingConfigOutcomeCallable deleteSpecificStagingConfigCallable(const Model::DeleteSpecificStagingConfigRequest& request) const;
DeleteUsageDetailDataExportTaskOutcome deleteUsageDetailDataExportTask(const Model::DeleteUsageDetailDataExportTaskRequest &request)const;
void deleteUsageDetailDataExportTaskAsync(const Model::DeleteUsageDetailDataExportTaskRequest& request, const DeleteUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUsageDetailDataExportTaskOutcomeCallable deleteUsageDetailDataExportTaskCallable(const Model::DeleteUsageDetailDataExportTaskRequest& request) const;
@@ -988,6 +1051,9 @@ namespace AlibabaCloud
DescribeCdnTypesOutcome describeCdnTypes(const Model::DescribeCdnTypesRequest &request)const;
void describeCdnTypesAsync(const Model::DescribeCdnTypesRequest& request, const DescribeCdnTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnTypesOutcomeCallable describeCdnTypesCallable(const Model::DescribeCdnTypesRequest& request) const;
DescribeCdnUserBillPredictionOutcome describeCdnUserBillPrediction(const Model::DescribeCdnUserBillPredictionRequest &request)const;
void describeCdnUserBillPredictionAsync(const Model::DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserBillPredictionOutcomeCallable describeCdnUserBillPredictionCallable(const Model::DescribeCdnUserBillPredictionRequest& request) const;
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;
@@ -1006,12 +1072,6 @@ namespace AlibabaCloud
DescribeDomainBpsDataByTimeStampOutcome describeDomainBpsDataByTimeStamp(const Model::DescribeDomainBpsDataByTimeStampRequest &request)const;
void describeDomainBpsDataByTimeStampAsync(const Model::DescribeDomainBpsDataByTimeStampRequest& request, const DescribeDomainBpsDataByTimeStampAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainBpsDataByTimeStampOutcomeCallable describeDomainBpsDataByTimeStampCallable(const Model::DescribeDomainBpsDataByTimeStampRequest& request) const;
DescribeDomainCCAttackInfoOutcome describeDomainCCAttackInfo(const Model::DescribeDomainCCAttackInfoRequest &request)const;
void describeDomainCCAttackInfoAsync(const Model::DescribeDomainCCAttackInfoRequest& request, const DescribeDomainCCAttackInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainCCAttackInfoOutcomeCallable describeDomainCCAttackInfoCallable(const Model::DescribeDomainCCAttackInfoRequest& request) const;
DescribeDomainCCDataOutcome describeDomainCCData(const Model::DescribeDomainCCDataRequest &request)const;
void describeDomainCCDataAsync(const Model::DescribeDomainCCDataRequest& request, const DescribeDomainCCDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainCCDataOutcomeCallable describeDomainCCDataCallable(const Model::DescribeDomainCCDataRequest& request) const;
DescribeDomainCertificateInfoOutcome describeDomainCertificateInfo(const Model::DescribeDomainCertificateInfoRequest &request)const;
void describeDomainCertificateInfoAsync(const Model::DescribeDomainCertificateInfoRequest& request, const DescribeDomainCertificateInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainCertificateInfoOutcomeCallable describeDomainCertificateInfoCallable(const Model::DescribeDomainCertificateInfoRequest& request) const;
@@ -1060,6 +1120,9 @@ namespace AlibabaCloud
DescribeDomainRealTimeByteHitRateDataOutcome describeDomainRealTimeByteHitRateData(const Model::DescribeDomainRealTimeByteHitRateDataRequest &request)const;
void describeDomainRealTimeByteHitRateDataAsync(const Model::DescribeDomainRealTimeByteHitRateDataRequest& request, const DescribeDomainRealTimeByteHitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealTimeByteHitRateDataOutcomeCallable describeDomainRealTimeByteHitRateDataCallable(const Model::DescribeDomainRealTimeByteHitRateDataRequest& request) const;
DescribeDomainRealTimeDetailDataOutcome describeDomainRealTimeDetailData(const Model::DescribeDomainRealTimeDetailDataRequest &request)const;
void describeDomainRealTimeDetailDataAsync(const Model::DescribeDomainRealTimeDetailDataRequest& request, const DescribeDomainRealTimeDetailDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealTimeDetailDataOutcomeCallable describeDomainRealTimeDetailDataCallable(const Model::DescribeDomainRealTimeDetailDataRequest& request) const;
DescribeDomainRealTimeHttpCodeDataOutcome describeDomainRealTimeHttpCodeData(const Model::DescribeDomainRealTimeHttpCodeDataRequest &request)const;
void describeDomainRealTimeHttpCodeDataAsync(const Model::DescribeDomainRealTimeHttpCodeDataRequest& request, const DescribeDomainRealTimeHttpCodeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealTimeHttpCodeDataOutcomeCallable describeDomainRealTimeHttpCodeDataCallable(const Model::DescribeDomainRealTimeHttpCodeDataRequest& request) const;
@@ -1072,9 +1135,18 @@ namespace AlibabaCloud
DescribeDomainRealTimeSrcBpsDataOutcome describeDomainRealTimeSrcBpsData(const Model::DescribeDomainRealTimeSrcBpsDataRequest &request)const;
void describeDomainRealTimeSrcBpsDataAsync(const Model::DescribeDomainRealTimeSrcBpsDataRequest& request, const DescribeDomainRealTimeSrcBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealTimeSrcBpsDataOutcomeCallable describeDomainRealTimeSrcBpsDataCallable(const Model::DescribeDomainRealTimeSrcBpsDataRequest& request) const;
DescribeDomainRealTimeSrcHttpCodeDataOutcome describeDomainRealTimeSrcHttpCodeData(const Model::DescribeDomainRealTimeSrcHttpCodeDataRequest &request)const;
void describeDomainRealTimeSrcHttpCodeDataAsync(const Model::DescribeDomainRealTimeSrcHttpCodeDataRequest& request, const DescribeDomainRealTimeSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealTimeSrcHttpCodeDataOutcomeCallable describeDomainRealTimeSrcHttpCodeDataCallable(const Model::DescribeDomainRealTimeSrcHttpCodeDataRequest& request) const;
DescribeDomainRealTimeSrcTrafficDataOutcome describeDomainRealTimeSrcTrafficData(const Model::DescribeDomainRealTimeSrcTrafficDataRequest &request)const;
void describeDomainRealTimeSrcTrafficDataAsync(const Model::DescribeDomainRealTimeSrcTrafficDataRequest& request, const DescribeDomainRealTimeSrcTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealTimeSrcTrafficDataOutcomeCallable describeDomainRealTimeSrcTrafficDataCallable(const Model::DescribeDomainRealTimeSrcTrafficDataRequest& request) const;
DescribeDomainRealTimeTrafficDataOutcome describeDomainRealTimeTrafficData(const Model::DescribeDomainRealTimeTrafficDataRequest &request)const;
void describeDomainRealTimeTrafficDataAsync(const Model::DescribeDomainRealTimeTrafficDataRequest& request, const DescribeDomainRealTimeTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealTimeTrafficDataOutcomeCallable describeDomainRealTimeTrafficDataCallable(const Model::DescribeDomainRealTimeTrafficDataRequest& request) const;
DescribeDomainRealtimeLogDeliveryOutcome describeDomainRealtimeLogDelivery(const Model::DescribeDomainRealtimeLogDeliveryRequest &request)const;
void describeDomainRealtimeLogDeliveryAsync(const Model::DescribeDomainRealtimeLogDeliveryRequest& request, const DescribeDomainRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRealtimeLogDeliveryOutcomeCallable describeDomainRealtimeLogDeliveryCallable(const Model::DescribeDomainRealtimeLogDeliveryRequest& request) const;
DescribeDomainRegionDataOutcome describeDomainRegionData(const Model::DescribeDomainRegionDataRequest &request)const;
void describeDomainRegionDataAsync(const Model::DescribeDomainRegionDataRequest& request, const DescribeDomainRegionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainRegionDataOutcomeCallable describeDomainRegionDataCallable(const Model::DescribeDomainRegionDataRequest& request) const;
@@ -1093,9 +1165,15 @@ namespace AlibabaCloud
DescribeDomainSrcHttpCodeDataOutcome describeDomainSrcHttpCodeData(const Model::DescribeDomainSrcHttpCodeDataRequest &request)const;
void describeDomainSrcHttpCodeDataAsync(const Model::DescribeDomainSrcHttpCodeDataRequest& request, const DescribeDomainSrcHttpCodeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainSrcHttpCodeDataOutcomeCallable describeDomainSrcHttpCodeDataCallable(const Model::DescribeDomainSrcHttpCodeDataRequest& request) const;
DescribeDomainSrcTopUrlVisitOutcome describeDomainSrcTopUrlVisit(const Model::DescribeDomainSrcTopUrlVisitRequest &request)const;
void describeDomainSrcTopUrlVisitAsync(const Model::DescribeDomainSrcTopUrlVisitRequest& request, const DescribeDomainSrcTopUrlVisitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainSrcTopUrlVisitOutcomeCallable describeDomainSrcTopUrlVisitCallable(const Model::DescribeDomainSrcTopUrlVisitRequest& request) const;
DescribeDomainSrcTrafficDataOutcome describeDomainSrcTrafficData(const Model::DescribeDomainSrcTrafficDataRequest &request)const;
void describeDomainSrcTrafficDataAsync(const Model::DescribeDomainSrcTrafficDataRequest& request, const DescribeDomainSrcTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainSrcTrafficDataOutcomeCallable describeDomainSrcTrafficDataCallable(const Model::DescribeDomainSrcTrafficDataRequest& request) const;
DescribeDomainTopClientIpVisitOutcome describeDomainTopClientIpVisit(const Model::DescribeDomainTopClientIpVisitRequest &request)const;
void describeDomainTopClientIpVisitAsync(const Model::DescribeDomainTopClientIpVisitRequest& request, const DescribeDomainTopClientIpVisitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainTopClientIpVisitOutcomeCallable describeDomainTopClientIpVisitCallable(const Model::DescribeDomainTopClientIpVisitRequest& request) const;
DescribeDomainTopReferVisitOutcome describeDomainTopReferVisit(const Model::DescribeDomainTopReferVisitRequest &request)const;
void describeDomainTopReferVisitAsync(const Model::DescribeDomainTopReferVisitRequest& request, const DescribeDomainTopReferVisitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainTopReferVisitOutcomeCallable describeDomainTopReferVisitCallable(const Model::DescribeDomainTopReferVisitRequest& request) const;
@@ -1192,9 +1270,6 @@ namespace AlibabaCloud
DescribeTopDomainsByFlowOutcome describeTopDomainsByFlow(const Model::DescribeTopDomainsByFlowRequest &request)const;
void describeTopDomainsByFlowAsync(const Model::DescribeTopDomainsByFlowRequest& request, const DescribeTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTopDomainsByFlowOutcomeCallable describeTopDomainsByFlowCallable(const Model::DescribeTopDomainsByFlowRequest& request) const;
DescribeUserCdnStatusOutcome describeUserCdnStatus(const Model::DescribeUserCdnStatusRequest &request)const;
void describeUserCdnStatusAsync(const Model::DescribeUserCdnStatusRequest& request, const DescribeUserCdnStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserCdnStatusOutcomeCallable describeUserCdnStatusCallable(const Model::DescribeUserCdnStatusRequest& request) const;
DescribeUserConfigsOutcome describeUserConfigs(const Model::DescribeUserConfigsRequest &request)const;
void describeUserConfigsAsync(const Model::DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserConfigsOutcomeCallable describeUserConfigsCallable(const Model::DescribeUserConfigsRequest& request) const;
@@ -1216,6 +1291,15 @@ namespace AlibabaCloud
DescribeUserUsageDetailDataExportTaskOutcome describeUserUsageDetailDataExportTask(const Model::DescribeUserUsageDetailDataExportTaskRequest &request)const;
void describeUserUsageDetailDataExportTaskAsync(const Model::DescribeUserUsageDetailDataExportTaskRequest& request, const DescribeUserUsageDetailDataExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserUsageDetailDataExportTaskOutcomeCallable describeUserUsageDetailDataExportTaskCallable(const Model::DescribeUserUsageDetailDataExportTaskRequest& request) const;
DescribeUserVipsByDomainOutcome describeUserVipsByDomain(const Model::DescribeUserVipsByDomainRequest &request)const;
void describeUserVipsByDomainAsync(const Model::DescribeUserVipsByDomainRequest& request, const DescribeUserVipsByDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserVipsByDomainOutcomeCallable describeUserVipsByDomainCallable(const Model::DescribeUserVipsByDomainRequest& request) const;
DisableRealtimeLogDeliveryOutcome disableRealtimeLogDelivery(const Model::DisableRealtimeLogDeliveryRequest &request)const;
void disableRealtimeLogDeliveryAsync(const Model::DisableRealtimeLogDeliveryRequest& request, const DisableRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableRealtimeLogDeliveryOutcomeCallable disableRealtimeLogDeliveryCallable(const Model::DisableRealtimeLogDeliveryRequest& request) const;
EnableRealtimeLogDeliveryOutcome enableRealtimeLogDelivery(const Model::EnableRealtimeLogDeliveryRequest &request)const;
void enableRealtimeLogDeliveryAsync(const Model::EnableRealtimeLogDeliveryRequest& request, const EnableRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableRealtimeLogDeliveryOutcomeCallable enableRealtimeLogDeliveryCallable(const Model::EnableRealtimeLogDeliveryRequest& request) const;
ForbidLiveStreamOutcome forbidLiveStream(const Model::ForbidLiveStreamRequest &request)const;
void forbidLiveStreamAsync(const Model::ForbidLiveStreamRequest& request, const ForbidLiveStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ForbidLiveStreamOutcomeCallable forbidLiveStreamCallable(const Model::ForbidLiveStreamRequest& request) const;
@@ -1225,6 +1309,15 @@ namespace AlibabaCloud
ListFCTriggerOutcome listFCTrigger(const Model::ListFCTriggerRequest &request)const;
void listFCTriggerAsync(const Model::ListFCTriggerRequest& request, const ListFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFCTriggerOutcomeCallable listFCTriggerCallable(const Model::ListFCTriggerRequest& request) const;
ListRealtimeLogDeliveryDomainsOutcome listRealtimeLogDeliveryDomains(const Model::ListRealtimeLogDeliveryDomainsRequest &request)const;
void listRealtimeLogDeliveryDomainsAsync(const Model::ListRealtimeLogDeliveryDomainsRequest& request, const ListRealtimeLogDeliveryDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRealtimeLogDeliveryDomainsOutcomeCallable listRealtimeLogDeliveryDomainsCallable(const Model::ListRealtimeLogDeliveryDomainsRequest& request) const;
ListRealtimeLogDeliveryInfosOutcome listRealtimeLogDeliveryInfos(const Model::ListRealtimeLogDeliveryInfosRequest &request)const;
void listRealtimeLogDeliveryInfosAsync(const Model::ListRealtimeLogDeliveryInfosRequest& request, const ListRealtimeLogDeliveryInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRealtimeLogDeliveryInfosOutcomeCallable listRealtimeLogDeliveryInfosCallable(const Model::ListRealtimeLogDeliveryInfosRequest& request) const;
ListUserCustomLogConfigOutcome listUserCustomLogConfig(const Model::ListUserCustomLogConfigRequest &request)const;
void listUserCustomLogConfigAsync(const Model::ListUserCustomLogConfigRequest& request, const ListUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUserCustomLogConfigOutcomeCallable listUserCustomLogConfigCallable(const Model::ListUserCustomLogConfigRequest& request) const;
ModifyCdnDomainOutcome modifyCdnDomain(const Model::ModifyCdnDomainRequest &request)const;
void modifyCdnDomainAsync(const Model::ModifyCdnDomainRequest& request, const ModifyCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCdnDomainOutcomeCallable modifyCdnDomainCallable(const Model::ModifyCdnDomainRequest& request) const;
@@ -1246,6 +1339,9 @@ namespace AlibabaCloud
ModifyPathCacheExpiredConfigOutcome modifyPathCacheExpiredConfig(const Model::ModifyPathCacheExpiredConfigRequest &request)const;
void modifyPathCacheExpiredConfigAsync(const Model::ModifyPathCacheExpiredConfigRequest& request, const ModifyPathCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPathCacheExpiredConfigOutcomeCallable modifyPathCacheExpiredConfigCallable(const Model::ModifyPathCacheExpiredConfigRequest& request) const;
ModifyRealtimeLogDeliveryOutcome modifyRealtimeLogDelivery(const Model::ModifyRealtimeLogDeliveryRequest &request)const;
void modifyRealtimeLogDeliveryAsync(const Model::ModifyRealtimeLogDeliveryRequest& request, const ModifyRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyRealtimeLogDeliveryOutcomeCallable modifyRealtimeLogDeliveryCallable(const Model::ModifyRealtimeLogDeliveryRequest& request) const;
ModifyUserCustomLogConfigOutcome modifyUserCustomLogConfig(const Model::ModifyUserCustomLogConfigRequest &request)const;
void modifyUserCustomLogConfigAsync(const Model::ModifyUserCustomLogConfigRequest& request, const ModifyUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyUserCustomLogConfigOutcomeCallable modifyUserCustomLogConfigCallable(const Model::ModifyUserCustomLogConfigRequest& request) const;

View File

@@ -39,18 +39,12 @@ namespace AlibabaCloud
void setSources(const std::string& sources);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
int getSourcePort()const;
void setSourcePort(int sourcePort);
std::string getPriorities()const;
void setPriorities(const std::string& priorities);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getCdnType()const;
void setCdnType(const std::string& cdnType);
std::string getScope()const;
void setScope(const std::string& scope);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getOwnerAccount()const;
@@ -61,24 +55,18 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getCheckUrl()const;
void setCheckUrl(const std::string& checkUrl);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string sources_;
std::string resourceGroupId_;
int sourcePort_;
std::string priorities_;
std::string securityToken_;
std::string cdnType_;
std::string scope_;
std::string sourceType_;
std::string topLevelDomain_;
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string checkUrl_;
std::string region_;
};
}

View File

@@ -35,20 +35,20 @@ namespace AlibabaCloud
BatchAddCdnDomainRequest();
~BatchAddCdnDomainRequest();
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSources()const;
void setSources(const std::string& sources);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getCdnType()const;
void setCdnType(const std::string& cdnType);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getScope()const;
void setScope(const std::string& scope);
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
@@ -57,13 +57,13 @@ namespace AlibabaCloud
void setCheckUrl(const std::string& checkUrl);
private:
std::string topLevelDomain_;
std::string resourceGroupId_;
std::string sources_;
std::string resourceGroupId_;
std::string securityToken_;
std::string cdnType_;
std::string ownerAccount_;
std::string scope_;
std::string topLevelDomain_;
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string checkUrl_;

View File

@@ -35,38 +35,38 @@ namespace AlibabaCloud
BatchSetCdnDomainServerCertificateRequest();
~BatchSetCdnDomainServerCertificateRequest();
std::string getForceSet()const;
void setForceSet(const std::string& forceSet);
std::string getSSLProtocol()const;
void setSSLProtocol(const std::string& sSLProtocol);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getCertType()const;
void setCertType(const std::string& certType);
std::string getSSLPub()const;
void setSSLPub(const std::string& sSLPub);
std::string getSSLPri()const;
void setSSLPri(const std::string& sSLPri);
std::string getForceSet()const;
void setForceSet(const std::string& forceSet);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getSSLProtocol()const;
void setSSLProtocol(const std::string& sSLProtocol);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSSLPub()const;
void setSSLPub(const std::string& sSLPub);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getSSLPri()const;
void setSSLPri(const std::string& sSLPri);
private:
std::string forceSet_;
std::string sSLProtocol_;
std::string securityToken_;
std::string certType_;
std::string sSLPub_;
std::string sSLPri_;
std::string forceSet_;
std::string certName_;
std::string sSLProtocol_;
std::string domainName_;
long ownerId_;
std::string sSLPub_;
std::string region_;
std::string sSLPri_;
};
}

View File

@@ -35,17 +35,17 @@ namespace AlibabaCloud
BatchStartCdnDomainRequest();
~BatchStartCdnDomainRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainNames()const;
void setDomainNames(const std::string& domainNames);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string securityToken_;
std::string domainNames_;
long ownerId_;
std::string securityToken_;
};
}

View File

@@ -35,17 +35,17 @@ namespace AlibabaCloud
BatchStopCdnDomainRequest();
~BatchStopCdnDomainRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainNames()const;
void setDomainNames(const std::string& domainNames);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string securityToken_;
std::string domainNames_;
long ownerId_;
std::string securityToken_;
};
}

View File

@@ -35,24 +35,24 @@ namespace AlibabaCloud
BatchUpdateCdnDomainRequest();
~BatchUpdateCdnDomainRequest();
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSources()const;
void setSources(const std::string& sources);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string topLevelDomain_;
std::string resourceGroupId_;
std::string sources_;
std::string resourceGroupId_;
std::string securityToken_;
std::string topLevelDomain_;
std::string domainName_;
long ownerId_;

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_CREATEREALTIMELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_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 CreateRealTimeLogDeliveryRequest : public RpcServiceRequest
{
public:
CreateRealTimeLogDeliveryRequest();
~CreateRealTimeLogDeliveryRequest();
std::string getProject()const;
void setProject(const std::string& project);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getLogstore()const;
void setLogstore(const std::string& logstore);
private:
std::string project_;
long ownerId_;
std::string domain_;
std::string region_;
std::string logstore_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_CREATEREALTIMELOGDELIVERYREQUEST_H_

View File

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

View File

@@ -35,95 +35,32 @@ namespace AlibabaCloud
CreateUsageDetailDataExportTaskRequest();
~CreateUsageDetailDataExportTaskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
std::string getDomainNames()const;
void setDomainNames(const std::string& domainNames);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getTaskName()const;
void setTaskName(const std::string& taskName);
std::string getLanguage()const;
void setLanguage(const std::string& language);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getType()const;
void setType(const std::string& type);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getGroup()const;
void setGroup(const std::string& group);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
long resourceOwnerId_;
long callerParentId_;
std::string domainNames_;
bool proxy_original_security_transport_;
std::string taskName_;
std::string language_;
std::string startTime_;
std::string proxy_original_source_ip_;
std::string type_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string group_;
std::string app_ip_;
std::string popProduct_;
std::string product_;
std::string endTime_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}

View File

@@ -35,83 +35,23 @@ namespace AlibabaCloud
CreateUserUsageDataExportTaskRequest();
~CreateUserUsageDataExportTaskRequest();
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getTaskName()const;
void setTaskName(const std::string& taskName);
std::string getLanguage()const;
void setLanguage(const std::string& language);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string taskName_;
std::string language_;
std::string startTime_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string popProduct_;
std::string product_;
std::string endTime_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DeleteCdnDomainRequest();
~DeleteCdnDomainRequest();
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setSecurityToken(const std::string& securityToken);
private:
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string resourceGroupId_;

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_DELETEREALTIMELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_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 DeleteRealtimeLogDeliveryRequest : public RpcServiceRequest
{
public:
DeleteRealtimeLogDeliveryRequest();
~DeleteRealtimeLogDeliveryRequest();
std::string getProject()const;
void setProject(const std::string& project);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getLogstore()const;
void setLogstore(const std::string& logstore);
private:
std::string project_;
long ownerId_;
std::string domain_;
std::string region_;
std::string logstore_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCDNSTATUSRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCDNSTATUSRESULT_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYRESULT_H_
#include <string>
#include <vector>
@@ -29,29 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeUserCdnStatusResult : public ServiceResult
class ALIBABACLOUD_CDN_EXPORT DeleteRealtimeLogDeliveryResult : public ServiceResult
{
public:
DescribeUserCdnStatusResult();
explicit DescribeUserCdnStatusResult(const std::string &payload);
~DescribeUserCdnStatusResult();
bool getInDebt()const;
bool getEnabled()const;
bool getInDebtOverdue()const;
bool getOnService()const;
DeleteRealtimeLogDeliveryResult();
explicit DeleteRealtimeLogDeliveryResult(const std::string &payload);
~DeleteRealtimeLogDeliveryResult();
protected:
void parse(const std::string &payload);
private:
bool inDebt_;
bool enabled_;
bool inDebtOverdue_;
bool onService_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCDNSTATUSRESULT_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEREALTIMELOGDELIVERYRESULT_H_

View File

@@ -41,8 +41,6 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getFunctionName()const;
void setFunctionName(const std::string& functionName);
std::string getConfigId()const;
void setConfigId(const std::string& configId);
@@ -50,7 +48,6 @@ namespace AlibabaCloud
std::string domainName_;
long ownerId_;
std::string securityToken_;
std::string functionName_;
std::string configId_;
};

View File

@@ -35,74 +35,14 @@ namespace AlibabaCloud
DeleteUsageDetailDataExportTaskRequest();
~DeleteUsageDetailDataExportTaskRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string popProduct_;
std::string product_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string requestId_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
std::string taskId_;
long callerUid_;
};
}

View File

@@ -35,74 +35,14 @@ namespace AlibabaCloud
DeleteUserUsageDataExportTaskRequest();
~DeleteUserUsageDataExportTaskRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string popProduct_;
std::string product_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string requestId_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
std::string taskId_;
long callerUid_;
};
}

View File

@@ -35,17 +35,17 @@ namespace AlibabaCloud
DescribeCdnCertificateDetailRequest();
~DescribeCdnCertificateDetailRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getCertName()const;
void setCertName(const std::string& certName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string securityToken_;
std::string certName_;
long ownerId_;
std::string securityToken_;
};
}

View File

@@ -35,17 +35,17 @@ namespace AlibabaCloud
DescribeCdnCertificateListRequest();
~DescribeCdnCertificateListRequest();
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 getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string securityToken_;
std::string domainName_;
long ownerId_;
std::string securityToken_;
};
}

View File

@@ -35,77 +35,14 @@ namespace AlibabaCloud
DescribeCdnDomainByCertificateRequest();
~DescribeCdnDomainByCertificateRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getSSLPub()const;
void setSSLPub(const std::string& sSLPub);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string popProduct_;
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string sSLPub_;
std::string requestId_;
std::string requestContent_;
std::string bizId_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
};
}

View File

@@ -41,24 +41,19 @@ namespace AlibabaCloud
std::string priority;
int port;
std::string enabled;
std::string weight;
};
std::vector<SourceModel> sourceModels;
std::string description;
std::string resourceGroupId;
std::string scope;
std::string domainName;
std::string sourceType;
std::string gmtModified;
std::string cdnType;
std::string gmtCreated;
int sourcePort;
std::string cname;
std::string serverCertificateStatus;
std::vector<std::string> sources;
std::string httpsCname;
std::string serverCertificate;
std::string scope;
std::string region;
std::string cdnType;
std::string certificateName;
std::string domainStatus;
};

View File

@@ -39,10 +39,6 @@ namespace AlibabaCloud
void setStartTime(const std::string& startTime);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::string getLogDay()const;
void setLogDay(const std::string& logDay);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getDomainName()const;
@@ -55,8 +51,6 @@ namespace AlibabaCloud
private:
std::string startTime_;
long pageNumber_;
std::string logDay_;
std::string securityToken_;
long pageSize_;
std::string domainName_;
std::string endTime_;

View File

@@ -32,9 +32,15 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDomainLogsResult : public ServiceResult
{
public:
struct DomainLogModel
struct DomainLogDetail
{
struct DomainLogDetail
struct PageInfoDetail
{
long pageSize;
long total;
long pageIndex;
};
struct LogInfoDetail
{
long logSize;
std::string endTime;
@@ -43,25 +49,21 @@ namespace AlibabaCloud
std::string logPath;
};
std::string domainName;
std::vector<DomainLogDetail> domainLogDetails;
std::vector<DomainLogDetail::LogInfoDetail> logInfos;
std::vector<DomainLogDetail::PageInfoDetail> pageInfos;
long logCount;
};
DescribeCdnDomainLogsResult();
explicit DescribeCdnDomainLogsResult(const std::string &payload);
~DescribeCdnDomainLogsResult();
long getTotalCount()const;
long getPageSize()const;
DomainLogModel getDomainLogModel()const;
long getPageNumber()const;
std::vector<DomainLogDetail> getDomainLogDetails()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
DomainLogModel domainLogModel_;
long pageNumber_;
std::vector<DomainLogDetail> domainLogDetails_;
};
}

View File

@@ -35,86 +35,20 @@ namespace AlibabaCloud
DescribeCdnHttpsDomainListRequest();
~DescribeCdnHttpsDomainListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
int pageNumber_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
int pageSize_;
std::string callerBidEmail_;
std::string keyword_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string popProduct_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string serviceCode_;
std::string requestId_;
std::string bizId_;
};
}

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_DESCRIBECDNUSERBILLPREDICTIONREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_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 DescribeCdnUserBillPredictionRequest : public RpcServiceRequest
{
public:
DescribeCdnUserBillPredictionRequest();
~DescribeCdnUserBillPredictionRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getDimension()const;
void setDimension(const std::string& dimension);
std::string getArea()const;
void setArea(const std::string& area);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string startTime_;
std::string dimension_;
std::string area_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONREQUEST_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_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONRESULT_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 DescribeCdnUserBillPredictionResult : public ServiceResult
{
public:
struct BillPredictionDataItem
{
std::string area;
std::string timeStp;
float value;
};
DescribeCdnUserBillPredictionResult();
explicit DescribeCdnUserBillPredictionResult(const std::string &payload);
~DescribeCdnUserBillPredictionResult();
std::string getBillType()const;
std::string getEndTime()const;
std::string getStartTime()const;
std::vector<BillPredictionDataItem> getBillPredictionData()const;
protected:
void parse(const std::string &payload);
private:
std::string billType_;
std::string endTime_;
std::string startTime_;
std::vector<BillPredictionDataItem> billPredictionData_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLPREDICTIONRESULT_H_

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
DescribeCdnUserResourcePackageRequest();
~DescribeCdnUserResourcePackageRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string securityToken_;
long ownerId_;
std::string securityToken_;
};
}

View File

@@ -43,8 +43,6 @@ namespace AlibabaCloud
void setIspNameEn(const std::string& ispNameEn);
std::string getDomainType()const;
void setDomainType(const std::string& domainType);
std::string getOutString()const;
void setOutString(const std::string& outString);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
@@ -61,7 +59,6 @@ namespace AlibabaCloud
std::string startTime_;
std::string ispNameEn_;
std::string domainType_;
std::string outString_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;

View File

@@ -43,27 +43,19 @@ namespace AlibabaCloud
explicit DescribeDomainAverageResponseTimeResult(const std::string &payload);
~DescribeDomainAverageResponseTimeResult();
std::vector<DataModule> getAvgRTPerInterval()const;
std::string getIspNameEn()const;
std::string getIspName()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getLocationNameEn()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::string getLocationName()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataModule> avgRTPerInterval_;
std::string ispNameEn_;
std::string ispName_;
std::string endTime_;
std::string domainName_;
std::string locationNameEn_;
std::string startTime_;
std::string dataInterval_;
std::string locationName_;
};
}

View File

@@ -41,10 +41,6 @@ namespace AlibabaCloud
void setStartTime(const std::string& startTime);
std::string getIspNameEn()const;
void setIspNameEn(const std::string& ispNameEn);
std::string getDomainType()const;
void setDomainType(const std::string& domainType);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
@@ -58,8 +54,6 @@ namespace AlibabaCloud
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
std::string domainType_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
long ownerId_;

View File

@@ -35,18 +35,12 @@ namespace AlibabaCloud
struct DataModule
{
std::string overseasValue;
std::string staticOverseasValue;
std::string staticValue;
std::string staticDomesticValue;
std::string overseasL2Value;
std::string timeStamp;
std::string domesticValue;
std::string dynamicOverseasValue;
std::string httpsValue;
std::string value;
std::string dynamicDomesticValue;
std::string domesticL2Value;
std::string l2Value;
std::string dynamicValue;
std::string httpsDomesticValue;
std::string timeStamp;
std::string httpsOverseasValue;
std::string domesticValue;
};
@@ -54,27 +48,23 @@ namespace AlibabaCloud
explicit DescribeDomainBpsDataResult(const std::string &payload);
~DescribeDomainBpsDataResult();
std::string getIspNameEn()const;
std::string getIspName()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getLocationNameEn()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::vector<DataModule> getBpsDataPerInterval()const;
std::string getLocationName()const;
protected:
void parse(const std::string &payload);
private:
std::string ispNameEn_;
std::string ispName_;
std::string endTime_;
std::string domainName_;
std::string locationNameEn_;
std::string startTime_;
std::string dataInterval_;
std::vector<DataModule> bpsDataPerInterval_;
std::string locationName_;
};
}

View File

@@ -44,7 +44,6 @@ namespace AlibabaCloud
std::string certLife;
std::string certDomainName;
std::string certOrg;
std::string certCommonName;
std::string certExpireTime;
std::string domainCnameStatus;
std::string certName;

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct DataModule
{
std::string httpsValue;
std::string value;
std::string timeStamp;
};

View File

@@ -35,14 +35,8 @@ namespace AlibabaCloud
DescribeDomainHttpCodeDataRequest();
~DescribeDomainHttpCodeDataRequest();
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 getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
@@ -53,10 +47,7 @@ namespace AlibabaCloud
void setInterval(const std::string& interval);
private:
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
long ownerId_;

View File

@@ -37,16 +37,14 @@ namespace AlibabaCloud
std::string avgObjectSize;
std::string bytesProportion;
std::string bps;
std::string proportion;
std::string qps;
std::string totalQuery;
std::string iSP;
std::string totalBytes;
std::string avgResponseRate;
std::string reqErrRate;
std::string ispEname;
std::string reqHitRate;
std::string proportion;
std::string qps;
std::string byteHitRate;
std::string totalBytes;
std::string avgResponseTime;
};

View File

@@ -35,97 +35,31 @@ namespace AlibabaCloud
DescribeDomainQpsDataByLayerRequest();
~DescribeDomainQpsDataByLayerRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
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 getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getLayer()const;
void setLayer(const std::string& layer);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getServiceCode()const;
void setServiceCode(const std::string& serviceCode);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getInterval()const;
void setInterval(const std::string& interval);
private:
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string layer_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string popProduct_;
std::string product_;
std::string domainName_;
std::string endTime_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string serviceCode_;
std::string requestId_;
std::string interval_;
};

View File

@@ -41,10 +41,6 @@ namespace AlibabaCloud
void setStartTime(const std::string& startTime);
std::string getIspNameEn()const;
void setIspNameEn(const std::string& ispNameEn);
std::string getDomainType()const;
void setDomainType(const std::string& domainType);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
@@ -58,8 +54,6 @@ namespace AlibabaCloud
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
std::string domainType_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
long ownerId_;

View File

@@ -35,18 +35,18 @@ namespace AlibabaCloud
struct DataModule
{
std::string overseasValue;
std::string staticOverseasValue;
std::string staticValue;
std::string staticDomesticValue;
std::string httpsAccDomesticValue;
std::string timeStamp;
std::string domesticValue;
std::string dynamicOverseasValue;
std::string httpsAccOverseasValue;
std::string httpsValue;
std::string accDomesticValue;
std::string value;
std::string accOverseasValue;
std::string dynamicDomesticValue;
std::string httpsDomesticValue;
std::string httpsAccValue;
std::string accValue;
std::string dynamicValue;
std::string httpsOverseasValue;
};

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_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_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 DescribeDomainRealTimeDetailDataRequest : public RpcServiceRequest
{
public:
DescribeDomainRealTimeDetailDataRequest();
~DescribeDomainRealTimeDetailDataRequest();
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 getMerge()const;
void setMerge(const std::string& merge);
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);
std::string getField()const;
void setField(const std::string& field);
private:
std::string locationNameEn_;
std::string startTime_;
std::string ispNameEn_;
std::string merge_;
std::string domainName_;
std::string endTime_;
long ownerId_;
std::string field_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATAREQUEST_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_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATARESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATARESULT_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 DescribeDomainRealTimeDetailDataResult : public ServiceResult
{
public:
DescribeDomainRealTimeDetailDataResult();
explicit DescribeDomainRealTimeDetailDataResult(const std::string &payload);
~DescribeDomainRealTimeDetailDataResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMEDETAILDATARESULT_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_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_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 DescribeDomainRealTimeSrcHttpCodeDataRequest : public RpcServiceRequest
{
public:
DescribeDomainRealTimeSrcHttpCodeDataRequest();
~DescribeDomainRealTimeSrcHttpCodeDataRequest();
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_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCATTACKINFORESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCATTACKINFORESULT_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATARESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATARESULT_H_
#include <string>
#include <vector>
@@ -29,43 +29,42 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCCAttackInfoResult : public ServiceResult
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeSrcHttpCodeDataResult : public ServiceResult
{
public:
struct AttackIpDatas
struct UsageData
{
std::string ip;
std::string attackCount;
std::string result;
};
struct AttackedUrlDatas
{
std::string attackCount;
std::string url;
std::string result;
struct RealTimeSrcCodeProportionData
{
std::string proportion;
std::string count;
std::string code;
};
std::vector<UsageData::RealTimeSrcCodeProportionData> value;
std::string timeStamp;
};
DescribeDomainCCAttackInfoResult();
explicit DescribeDomainCCAttackInfoResult(const std::string &payload);
~DescribeDomainCCAttackInfoResult();
DescribeDomainRealTimeSrcHttpCodeDataResult();
explicit DescribeDomainRealTimeSrcHttpCodeDataResult(const std::string &payload);
~DescribeDomainRealTimeSrcHttpCodeDataResult();
std::string getEndTime()const;
std::string getDomainName()const;
std::vector<AttackIpDatas> getAttackIpDataList()const;
std::string getStartTime()const;
std::vector<AttackedUrlDatas> getAttackedUrlDataList()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::vector<AttackIpDatas> attackIpDataList_;
std::string startTime_;
std::vector<AttackedUrlDatas> attackedUrlDataList_;
std::string dataInterval_;
std::vector<UsageData> realTimeSrcHttpCodeData_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCATTACKINFORESULT_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMESRCHTTPCODEDATARESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCDATAREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCDATAREQUEST_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCCDataRequest : public RpcServiceRequest
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeTrafficDataRequest : public RpcServiceRequest
{
public:
DescribeDomainCCDataRequest();
~DescribeDomainCCDataRequest();
DescribeDomainRealTimeTrafficDataRequest();
~DescribeDomainRealTimeTrafficDataRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
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);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string securityToken_;
std::string startTime_;
std::string domainName_;
std::string endTime_;
std::string startTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCDATAREQUEST_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATAREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCDATARESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCDATARESULT_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATARESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATARESULT_H_
#include <string>
#include <vector>
@@ -29,36 +29,36 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCCDataResult : public ServiceResult
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealTimeTrafficDataResult : public ServiceResult
{
public:
struct CCDatas
struct DataModule
{
std::string count;
std::string value;
std::string timeStamp;
};
DescribeDomainCCDataResult();
explicit DescribeDomainCCDataResult(const std::string &payload);
~DescribeDomainCCDataResult();
std::vector<CCDatas> getCCDataList()const;
DescribeDomainRealTimeTrafficDataResult();
explicit DescribeDomainRealTimeTrafficDataResult(const std::string &payload);
~DescribeDomainRealTimeTrafficDataResult();
std::string getEndTime()const;
std::vector<DataModule> getRealTimeTrafficDataPerInterval()const;
std::string getDomainName()const;
std::string getDataInterval()const;
std::string getStartTime()const;
std::string getDataInterval()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CCDatas> cCDataList_;
std::string endTime_;
std::vector<DataModule> realTimeTrafficDataPerInterval_;
std::string domainName_;
std::string dataInterval_;
std::string startTime_;
std::string dataInterval_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCDATARESULT_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMETRAFFICDATARESULT_H_

View File

@@ -14,41 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNIPINFOREQUEST_H_
#define ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNIPINFOREQUEST_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/scdn/ScdnExport.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Scdn
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_SCDN_EXPORT DescribeScdnIpInfoRequest : public RpcServiceRequest
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealtimeLogDeliveryRequest : public RpcServiceRequest
{
public:
DescribeScdnIpInfoRequest();
~DescribeScdnIpInfoRequest();
DescribeDomainRealtimeLogDeliveryRequest();
~DescribeDomainRealtimeLogDeliveryRequest();
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);
std::string getDomain()const;
void setDomain(const std::string& domain);
private:
std::string iP_;
long ownerId_;
std::string securityToken_;
std::string domain_;
};
}
}
}
#endif // !ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNIPINFOREQUEST_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYREQUEST_H_

View File

@@ -14,46 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNIPINFORESULT_H_
#define ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNIPINFORESULT_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/scdn/ScdnExport.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Scdn
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_SCDN_EXPORT DescribeScdnIpInfoResult : public ServiceResult
class ALIBABACLOUD_CDN_EXPORT DescribeDomainRealtimeLogDeliveryResult : public ServiceResult
{
public:
DescribeScdnIpInfoResult();
explicit DescribeScdnIpInfoResult(const std::string &payload);
~DescribeScdnIpInfoResult();
std::string getIp()const;
std::string getISP()const;
DescribeDomainRealtimeLogDeliveryResult();
explicit DescribeDomainRealtimeLogDeliveryResult(const std::string &payload);
~DescribeDomainRealtimeLogDeliveryResult();
std::string getStatus()const;
std::string getProject()const;
std::string getLogstore()const;
std::string getRegion()const;
std::string getIspEname()const;
std::string getRegionEname()const;
protected:
void parse(const std::string &payload);
private:
std::string ip_;
std::string iSP_;
std::string status_;
std::string project_;
std::string logstore_;
std::string region_;
std::string ispEname_;
std::string regionEname_;
};
}
}
}
#endif // !ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNIPINFORESULT_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINREALTIMELOGDELIVERYRESULT_H_

View File

@@ -37,15 +37,13 @@ namespace AlibabaCloud
std::string avgObjectSize;
std::string bytesProportion;
std::string bps;
std::string totalQuery;
std::string avgResponseRate;
std::string reqErrRate;
std::string reqHitRate;
std::string proportion;
std::string qps;
std::string byteHitRate;
std::string totalQuery;
std::string totalBytes;
std::string avgResponseRate;
std::string region;
std::string reqErrRate;
std::string regionEname;
std::string avgResponseTime;
};

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct DataModule
{
std::string httpsValue;
std::string value;
std::string timeStamp;
};
@@ -45,8 +46,8 @@ namespace AlibabaCloud
std::vector<DataModule> getReqHitRateInterval()const;
std::string getEndTime()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::string getDataInterval()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
@@ -54,8 +55,8 @@ namespace AlibabaCloud
std::vector<DataModule> reqHitRateInterval_;
std::string endTime_;
std::string domainName_;
std::string startTime_;
std::string dataInterval_;
std::string startTime_;
};
}

View File

@@ -37,10 +37,6 @@ namespace AlibabaCloud
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getFixTimeGap()const;
void setFixTimeGap(const std::string& fixTimeGap);
std::string getTimeMerge()const;
void setTimeMerge(const std::string& timeMerge);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
@@ -52,8 +48,6 @@ namespace AlibabaCloud
private:
std::string startTime_;
std::string fixTimeGap_;
std::string timeMerge_;
std::string domainName_;
std::string endTime_;
long ownerId_;

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct DataModule
{
std::string httpsValue;
std::string value;
std::string timeStamp;
};

View File

@@ -35,86 +35,23 @@ namespace AlibabaCloud
DescribeDomainSrcHttpCodeDataRequest();
~DescribeDomainSrcHttpCodeDataRequest();
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string startTime_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string popProduct_;
std::string product_;
std::string domainName_;
std::string endTime_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string interval_;
std::string fields_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCATTACKINFOREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCATTACKINFOREQUEST_H_
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeDomainCCAttackInfoRequest : public RpcServiceRequest
class ALIBABACLOUD_CDN_EXPORT DescribeDomainSrcTopUrlVisitRequest : public RpcServiceRequest
{
public:
DescribeDomainCCAttackInfoRequest();
~DescribeDomainCCAttackInfoRequest();
DescribeDomainSrcTopUrlVisitRequest();
~DescribeDomainSrcTopUrlVisitRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
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);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSortBy()const;
void setSortBy(const std::string& sortBy);
private:
std::string securityToken_;
std::string startTime_;
std::string domainName_;
std::string endTime_;
std::string startTime_;
long ownerId_;
std::string sortBy_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINCCATTACKINFOREQUEST_H_
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITRESULT_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 DescribeDomainSrcTopUrlVisitResult : public ServiceResult
{
public:
struct UrlList
{
std::string visitData;
float visitProportion;
float flowProportion;
std::string urlDetail;
std::string flow;
};
DescribeDomainSrcTopUrlVisitResult();
explicit DescribeDomainSrcTopUrlVisitResult(const std::string &payload);
~DescribeDomainSrcTopUrlVisitResult();
std::vector<UrlList> getUrl200List()const;
std::vector<UrlList> getUrl500List()const;
std::vector<UrlList> getUrl400List()const;
std::string getDomainName()const;
std::string getStartTime()const;
std::vector<UrlList> getUrl300List()const;
std::vector<UrlList> getAllUrlList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<UrlList> url200List_;
std::vector<UrlList> url500List_;
std::vector<UrlList> url400List_;
std::string domainName_;
std::string startTime_;
std::vector<UrlList> url300List_;
std::vector<UrlList> allUrlList_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSRCTOPURLVISITRESULT_H_

View File

@@ -35,86 +35,23 @@ namespace AlibabaCloud
DescribeDomainSrcTrafficDataRequest();
~DescribeDomainSrcTrafficDataRequest();
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getInterval()const;
void setInterval(const std::string& interval);
std::string getFields()const;
void setFields(const std::string& fields);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string startTime_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string popProduct_;
std::string product_;
std::string domainName_;
std::string endTime_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string interval_;
std::string fields_;
};
}

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