From 3e0486423611abd318e3133a5b7d6f722620d57c Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 25 Jul 2019 13:57:09 +0800 Subject: [PATCH] App-related actions support tag authentication. --- CHANGELOG | 3 + VERSION | 2 +- .../alibabacloud/cloudapi/CloudAPIExport.h | 32 ++ .../cloudapi/model/AbolishApiRequest.h | 60 +++ .../cloudapi/model/AbolishApiResult.h | 49 ++ .../model/AddIpControlPolicyItemRequest.h | 60 +++ .../model/AddIpControlPolicyItemResult.h | 51 ++ .../model/AddTrafficSpecialControlRequest.h | 63 +++ .../model/AddTrafficSpecialControlResult.h | 49 ++ .../cloudapi/model/CreateApiGroupRequest.h | 63 +++ .../cloudapi/model/CreateApiGroupResult.h | 61 +++ .../cloudapi/model/CreateApiRequest.h | 123 +++++ .../cloudapi/model/CreateApiResult.h | 51 ++ .../model/CreateApiStageVariableRequest.h | 69 +++ .../model/CreateApiStageVariableResult.h | 49 ++ .../cloudapi/model/CreateAppRequest.h | 57 +++ .../cloudapi/model/CreateAppResult.h | 51 ++ .../model/CreateIntranetDomainRequest.h | 57 +++ .../model/CreateIntranetDomainResult.h | 51 ++ .../cloudapi/model/CreateIpControlRequest.h | 68 +++ .../cloudapi/model/CreateIpControlResult.h | 51 ++ .../cloudapi/model/CreateLogConfigRequest.h | 63 +++ .../cloudapi/model/CreateLogConfigResult.h | 49 ++ .../cloudapi/model/CreateSignatureRequest.h | 60 +++ .../cloudapi/model/CreateSignatureResult.h | 53 ++ .../model/CreateTrafficControlRequest.h | 69 +++ .../model/CreateTrafficControlResult.h | 51 ++ .../DeleteAllTrafficSpecialControlRequest.h | 54 ++ .../DeleteAllTrafficSpecialControlResult.h | 49 ++ .../cloudapi/model/DeleteApiGroupRequest.h | 54 ++ .../cloudapi/model/DeleteApiGroupResult.h | 49 ++ .../cloudapi/model/DeleteApiRequest.h | 57 +++ .../cloudapi/model/DeleteApiResult.h | 49 ++ .../model/DeleteApiStageVariableRequest.h | 60 +++ .../model/DeleteApiStageVariableResult.h | 49 ++ .../cloudapi/model/DeleteAppRequest.h | 62 +++ .../cloudapi/model/DeleteAppResult.h | 49 ++ .../model/DeleteDomainCertificateRequest.h | 60 +++ .../model/DeleteDomainCertificateResult.h | 49 ++ .../cloudapi/model/DeleteDomainRequest.h | 57 +++ .../cloudapi/model/DeleteDomainResult.h | 49 ++ .../cloudapi/model/DeleteIpControlRequest.h | 54 ++ .../cloudapi/model/DeleteIpControlResult.h | 49 ++ .../cloudapi/model/DeleteLogConfigRequest.h | 57 +++ .../cloudapi/model/DeleteLogConfigResult.h | 49 ++ .../cloudapi/model/DeleteSignatureRequest.h | 54 ++ .../cloudapi/model/DeleteSignatureResult.h | 49 ++ .../model/DeleteTrafficControlRequest.h | 54 ++ .../model/DeleteTrafficControlResult.h | 49 ++ .../DeleteTrafficSpecialControlRequest.h | 60 +++ .../model/DeleteTrafficSpecialControlResult.h | 49 ++ .../cloudapi/model/DeployApiRequest.h | 63 +++ .../cloudapi/model/DeployApiResult.h | 49 ++ .../cloudapi/model/DescribeApiDocRequest.h | 60 +++ .../cloudapi/model/DescribeApiDocResult.h | 132 +++++ .../model/DescribeApiErrorDataRequest.h | 63 +++ .../model/DescribeApiErrorDataResult.h | 58 +++ .../cloudapi/model/DescribeApiGroupRequest.h | 54 ++ .../cloudapi/model/DescribeApiGroupResult.h | 100 ++++ .../cloudapi/model/DescribeApiGroupsRequest.h | 63 +++ .../cloudapi/model/DescribeApiGroupsResult.h | 73 +++ .../model/DescribeApiHistoriesRequest.h | 69 +++ .../model/DescribeApiHistoriesResult.h | 70 +++ .../model/DescribeApiHistoryRequest.h | 63 +++ .../cloudapi/model/DescribeApiHistoryResult.h | 230 +++++++++ .../model/DescribeApiIpControlsRequest.h | 66 +++ .../model/DescribeApiIpControlsResult.h | 65 +++ .../model/DescribeApiLatencyDataRequest.h | 63 +++ .../model/DescribeApiLatencyDataResult.h | 56 +++ .../model/DescribeApiQpsDataRequest.h | 63 +++ .../cloudapi/model/DescribeApiQpsDataResult.h | 58 +++ .../cloudapi/model/DescribeApiRequest.h | 57 +++ .../cloudapi/model/DescribeApiResult.h | 244 +++++++++ .../model/DescribeApiSignaturesRequest.h | 66 +++ .../model/DescribeApiSignaturesResult.h | 65 +++ .../cloudapi/model/DescribeApiStageRequest.h | 57 +++ .../cloudapi/model/DescribeApiStageResult.h | 86 ++++ .../model/DescribeApiTrafficControlsRequest.h | 66 +++ .../model/DescribeApiTrafficControlsResult.h | 65 +++ .../model/DescribeApiTrafficDataRequest.h | 63 +++ .../model/DescribeApiTrafficDataResult.h | 58 +++ .../cloudapi/model/DescribeApisByAppRequest.h | 60 +++ .../cloudapi/model/DescribeApisByAppResult.h | 70 +++ .../model/DescribeApisByIpControlRequest.h | 60 +++ .../model/DescribeApisByIpControlResult.h | 69 +++ .../model/DescribeApisBySignatureRequest.h | 60 +++ .../model/DescribeApisBySignatureResult.h | 69 +++ .../DescribeApisByTrafficControlRequest.h | 60 +++ .../DescribeApisByTrafficControlResult.h | 69 +++ .../cloudapi/model/DescribeApisRequest.h | 72 +++ .../cloudapi/model/DescribeApisResult.h | 69 +++ .../model/DescribeAppAttributesRequest.h | 71 +++ .../model/DescribeAppAttributesResult.h | 65 +++ .../cloudapi/model/DescribeAppRequest.h | 54 ++ .../cloudapi/model/DescribeAppResult.h | 59 +++ .../model/DescribeAppSecurityRequest.h | 62 +++ .../model/DescribeAppSecurityResult.h | 59 +++ .../cloudapi/model/DescribeAppsRequest.h | 63 +++ .../cloudapi/model/DescribeAppsResult.h | 63 +++ .../model/DescribeAuthorizedApisRequest.h | 60 +++ .../model/DescribeAuthorizedApisResult.h | 71 +++ .../model/DescribeAuthorizedAppsRequest.h | 75 +++ .../model/DescribeAuthorizedAppsResult.h | 68 +++ .../model/DescribeDeployedApiRequest.h | 60 +++ .../model/DescribeDeployedApiResult.h | 226 +++++++++ .../model/DescribeDeployedApisRequest.h | 69 +++ .../model/DescribeDeployedApisResult.h | 69 +++ .../cloudapi/model/DescribeDomainRequest.h | 57 +++ .../cloudapi/model/DescribeDomainResult.h | 73 +++ .../model/DescribeDomainsResolutionRequest.h | 57 +++ .../model/DescribeDomainsResolutionResult.h | 58 +++ .../model/DescribeHistoryApisRequest.h | 69 +++ .../model/DescribeHistoryApisResult.h | 70 +++ .../DescribeIpControlPolicyItemsRequest.h | 63 +++ .../DescribeIpControlPolicyItemsResult.h | 65 +++ .../model/DescribeIpControlsRequest.h | 66 +++ .../cloudapi/model/DescribeIpControlsResult.h | 67 +++ .../cloudapi/model/DescribeLogConfigRequest.h | 57 +++ .../cloudapi/model/DescribeLogConfigResult.h | 58 +++ .../model/DescribePurchasedApiGroupRequest.h | 54 ++ .../model/DescribePurchasedApiGroupResult.h | 67 +++ .../model/DescribePurchasedApiGroupsRequest.h | 57 +++ .../model/DescribePurchasedApiGroupsResult.h | 70 +++ .../model/DescribePurchasedApisRequest.h | 72 +++ .../model/DescribePurchasedApisResult.h | 68 +++ .../cloudapi/model/DescribeRegionsRequest.h | 54 ++ .../cloudapi/model/DescribeRegionsResult.h | 57 +++ .../model/DescribeSignaturesByApiRequest.h | 60 +++ .../model/DescribeSignaturesByApiResult.h | 57 +++ .../model/DescribeSignaturesRequest.h | 63 +++ .../cloudapi/model/DescribeSignaturesResult.h | 67 +++ .../model/DescribeSystemParametersRequest.h | 51 ++ .../model/DescribeSystemParametersResult.h | 58 +++ .../DescribeTrafficControlsByApiRequest.h | 60 +++ .../DescribeTrafficControlsByApiResult.h | 57 +++ .../model/DescribeTrafficControlsRequest.h | 72 +++ .../model/DescribeTrafficControlsResult.h | 80 +++ .../model/DescribeVpcAccessesRequest.h | 57 +++ .../model/DescribeVpcAccessesResult.h | 66 +++ .../cloudapi/model/ImportSwaggerRequest.h | 57 +++ .../cloudapi/model/ImportSwaggerResult.h | 66 +++ .../cloudapi/model/ListTagResourcesRequest.h | 68 +++ .../cloudapi/model/ListTagResourcesResult.h | 60 +++ .../cloudapi/model/ModifyApiGroupRequest.h | 60 +++ .../cloudapi/model/ModifyApiGroupResult.h | 57 +++ .../cloudapi/model/ModifyApiRequest.h | 126 +++++ .../cloudapi/model/ModifyApiResult.h | 49 ++ .../cloudapi/model/ModifyAppRequest.h | 68 +++ .../cloudapi/model/ModifyAppResult.h | 49 ++ .../model/ModifyIpControlPolicyItemRequest.h | 63 +++ .../model/ModifyIpControlPolicyItemResult.h | 49 ++ .../cloudapi/model/ModifyIpControlRequest.h | 60 +++ .../cloudapi/model/ModifyIpControlResult.h | 49 ++ .../cloudapi/model/ModifyLogConfigRequest.h | 63 +++ .../cloudapi/model/ModifyLogConfigResult.h | 49 ++ .../cloudapi/model/ModifySignatureRequest.h | 63 +++ .../cloudapi/model/ModifySignatureResult.h | 53 ++ .../model/ModifyTrafficControlRequest.h | 72 +++ .../model/ModifyTrafficControlResult.h | 49 ++ .../cloudapi/model/ReactivateDomainRequest.h | 57 +++ .../cloudapi/model/ReactivateDomainResult.h | 49 ++ .../model/RemoveApisAuthoritiesRequest.h | 66 +++ .../model/RemoveApisAuthoritiesResult.h | 49 ++ .../model/RemoveAppsAuthoritiesRequest.h | 63 +++ .../model/RemoveAppsAuthoritiesResult.h | 49 ++ .../model/RemoveIpControlApisRequest.h | 63 +++ .../model/RemoveIpControlApisResult.h | 49 ++ .../model/RemoveIpControlPolicyItemRequest.h | 57 +++ .../model/RemoveIpControlPolicyItemResult.h | 49 ++ .../model/RemoveSignatureApisRequest.h | 63 +++ .../model/RemoveSignatureApisResult.h | 49 ++ .../model/RemoveTrafficControlApisRequest.h | 63 +++ .../model/RemoveTrafficControlApisResult.h | 49 ++ .../cloudapi/model/RemoveVpcAccessRequest.h | 60 +++ .../cloudapi/model/RemoveVpcAccessResult.h | 49 ++ .../cloudapi/model/ResetAppCodeRequest.h | 54 ++ .../cloudapi/model/ResetAppCodeResult.h | 49 ++ .../cloudapi/model/ResetAppSecretRequest.h | 54 ++ .../cloudapi/model/ResetAppSecretResult.h | 49 ++ .../cloudapi/model/SdkGenerateByAppRequest.h | 57 +++ .../cloudapi/model/SdkGenerateByAppResult.h | 51 ++ .../model/SdkGenerateByGroupRequest.h | 57 +++ .../cloudapi/model/SdkGenerateByGroupResult.h | 51 ++ .../cloudapi/model/SdkGenerateRequest.h | 60 +++ .../cloudapi/model/SdkGenerateResult.h | 51 ++ .../model/SetApisAuthoritiesRequest.h | 72 +++ .../cloudapi/model/SetApisAuthoritiesResult.h | 49 ++ .../model/SetAppsAuthoritiesRequest.h | 72 +++ .../cloudapi/model/SetAppsAuthoritiesResult.h | 49 ++ .../model/SetDomainCertificateRequest.h | 66 +++ .../model/SetDomainCertificateResult.h | 49 ++ .../cloudapi/model/SetDomainRequest.h | 57 +++ .../cloudapi/model/SetDomainResult.h | 63 +++ .../model/SetDomainWebSocketStatusRequest.h | 60 +++ .../model/SetDomainWebSocketStatusResult.h | 49 ++ .../cloudapi/model/SetIpControlApisRequest.h | 63 +++ .../cloudapi/model/SetIpControlApisResult.h | 49 ++ .../cloudapi/model/SetSignatureApisRequest.h | 63 +++ .../cloudapi/model/SetSignatureApisResult.h | 49 ++ .../model/SetTrafficControlApisRequest.h | 63 +++ .../model/SetTrafficControlApisResult.h | 49 ++ .../cloudapi/model/SetVpcAccessRequest.h | 63 +++ .../cloudapi/model/SetVpcAccessResult.h | 49 ++ .../cloudapi/model/SwitchApiRequest.h | 66 +++ .../cloudapi/model/SwitchApiResult.h | 49 ++ .../cloudapi/model/TagResourcesRequest.h | 65 +++ .../cloudapi/model/TagResourcesResult.h | 49 ++ .../cloudapi/model/UntagResourcesRequest.h | 63 +++ .../cloudapi/model/UntagResourcesResult.h | 49 ++ cloudapi/src/model/AbolishApiRequest.cc | 82 +++ cloudapi/src/model/AbolishApiResult.cc | 45 ++ .../model/AddIpControlPolicyItemRequest.cc | 82 +++ .../src/model/AddIpControlPolicyItemResult.cc | 52 ++ .../model/AddTrafficSpecialControlRequest.cc | 93 ++++ .../model/AddTrafficSpecialControlResult.cc | 45 ++ cloudapi/src/model/CreateApiGroupRequest.cc | 93 ++++ cloudapi/src/model/CreateApiGroupResult.cc | 87 ++++ cloudapi/src/model/CreateApiRequest.cc | 313 ++++++++++++ cloudapi/src/model/CreateApiResult.cc | 52 ++ .../model/CreateApiStageVariableRequest.cc | 115 +++++ .../src/model/CreateApiStageVariableResult.cc | 45 ++ cloudapi/src/model/CreateAppRequest.cc | 71 +++ cloudapi/src/model/CreateAppResult.cc | 52 ++ .../src/model/CreateIntranetDomainRequest.cc | 71 +++ .../src/model/CreateIntranetDomainResult.cc | 52 ++ cloudapi/src/model/CreateIpControlRequest.cc | 99 ++++ cloudapi/src/model/CreateIpControlResult.cc | 52 ++ cloudapi/src/model/CreateLogConfigRequest.cc | 93 ++++ cloudapi/src/model/CreateLogConfigResult.cc | 45 ++ cloudapi/src/model/CreateSignatureRequest.cc | 82 +++ cloudapi/src/model/CreateSignatureResult.cc | 59 +++ .../src/model/CreateTrafficControlRequest.cc | 115 +++++ .../src/model/CreateTrafficControlResult.cc | 52 ++ .../DeleteAllTrafficSpecialControlRequest.cc | 60 +++ .../DeleteAllTrafficSpecialControlResult.cc | 45 ++ cloudapi/src/model/DeleteApiGroupRequest.cc | 60 +++ cloudapi/src/model/DeleteApiGroupResult.cc | 45 ++ cloudapi/src/model/DeleteApiRequest.cc | 71 +++ cloudapi/src/model/DeleteApiResult.cc | 45 ++ .../model/DeleteApiStageVariableRequest.cc | 82 +++ .../src/model/DeleteApiStageVariableResult.cc | 45 ++ cloudapi/src/model/DeleteAppRequest.cc | 77 +++ cloudapi/src/model/DeleteAppResult.cc | 45 ++ .../model/DeleteDomainCertificateRequest.cc | 82 +++ .../model/DeleteDomainCertificateResult.cc | 45 ++ cloudapi/src/model/DeleteDomainRequest.cc | 71 +++ cloudapi/src/model/DeleteDomainResult.cc | 45 ++ cloudapi/src/model/DeleteIpControlRequest.cc | 60 +++ cloudapi/src/model/DeleteIpControlResult.cc | 45 ++ cloudapi/src/model/DeleteLogConfigRequest.cc | 71 +++ cloudapi/src/model/DeleteLogConfigResult.cc | 45 ++ cloudapi/src/model/DeleteSignatureRequest.cc | 60 +++ cloudapi/src/model/DeleteSignatureResult.cc | 45 ++ .../src/model/DeleteTrafficControlRequest.cc | 60 +++ .../src/model/DeleteTrafficControlResult.cc | 45 ++ .../DeleteTrafficSpecialControlRequest.cc | 82 +++ .../DeleteTrafficSpecialControlResult.cc | 45 ++ cloudapi/src/model/DeployApiRequest.cc | 93 ++++ cloudapi/src/model/DeployApiResult.cc | 45 ++ cloudapi/src/model/DescribeApiDocRequest.cc | 82 +++ cloudapi/src/model/DescribeApiDocResult.cc | 255 ++++++++++ .../src/model/DescribeApiErrorDataRequest.cc | 93 ++++ .../src/model/DescribeApiErrorDataResult.cc | 75 +++ cloudapi/src/model/DescribeApiGroupRequest.cc | 60 +++ cloudapi/src/model/DescribeApiGroupResult.cc | 194 +++++++ .../src/model/DescribeApiGroupsRequest.cc | 93 ++++ cloudapi/src/model/DescribeApiGroupsResult.cc | 103 ++++ .../src/model/DescribeApiHistoriesRequest.cc | 115 +++++ .../src/model/DescribeApiHistoriesResult.cc | 97 ++++ .../src/model/DescribeApiHistoryRequest.cc | 93 ++++ .../src/model/DescribeApiHistoryResult.cc | 444 ++++++++++++++++ .../src/model/DescribeApiIpControlsRequest.cc | 104 ++++ .../src/model/DescribeApiIpControlsResult.cc | 87 ++++ .../model/DescribeApiLatencyDataRequest.cc | 93 ++++ .../src/model/DescribeApiLatencyDataResult.cc | 60 +++ .../src/model/DescribeApiQpsDataRequest.cc | 93 ++++ .../src/model/DescribeApiQpsDataResult.cc | 75 +++ cloudapi/src/model/DescribeApiRequest.cc | 71 +++ cloudapi/src/model/DescribeApiResult.cc | 476 ++++++++++++++++++ .../src/model/DescribeApiSignaturesRequest.cc | 104 ++++ .../src/model/DescribeApiSignaturesResult.cc | 87 ++++ cloudapi/src/model/DescribeApiStageRequest.cc | 71 +++ cloudapi/src/model/DescribeApiStageResult.cc | 129 +++++ .../DescribeApiTrafficControlsRequest.cc | 104 ++++ .../model/DescribeApiTrafficControlsResult.cc | 87 ++++ .../model/DescribeApiTrafficDataRequest.cc | 93 ++++ .../src/model/DescribeApiTrafficDataResult.cc | 75 +++ .../src/model/DescribeApisByAppRequest.cc | 82 +++ cloudapi/src/model/DescribeApisByAppResult.cc | 97 ++++ .../model/DescribeApisByIpControlRequest.cc | 82 +++ .../model/DescribeApisByIpControlResult.cc | 95 ++++ .../model/DescribeApisBySignatureRequest.cc | 82 +++ .../model/DescribeApisBySignatureResult.cc | 95 ++++ .../DescribeApisByTrafficControlRequest.cc | 82 +++ .../DescribeApisByTrafficControlResult.cc | 95 ++++ cloudapi/src/model/DescribeApisRequest.cc | 126 +++++ cloudapi/src/model/DescribeApisResult.cc | 95 ++++ .../src/model/DescribeAppAttributesRequest.cc | 110 ++++ .../src/model/DescribeAppAttributesResult.cc | 87 ++++ cloudapi/src/model/DescribeAppRequest.cc | 60 +++ cloudapi/src/model/DescribeAppResult.cc | 80 +++ .../src/model/DescribeAppSecurityRequest.cc | 77 +++ .../src/model/DescribeAppSecurityResult.cc | 80 +++ cloudapi/src/model/DescribeAppsRequest.cc | 93 ++++ cloudapi/src/model/DescribeAppsResult.cc | 83 +++ .../model/DescribeAuthorizedApisRequest.cc | 82 +++ .../src/model/DescribeAuthorizedApisResult.cc | 99 ++++ .../model/DescribeAuthorizedAppsRequest.cc | 137 +++++ .../src/model/DescribeAuthorizedAppsResult.cc | 93 ++++ .../src/model/DescribeDeployedApiRequest.cc | 82 +++ .../src/model/DescribeDeployedApiResult.cc | 430 ++++++++++++++++ .../src/model/DescribeDeployedApisRequest.cc | 115 +++++ .../src/model/DescribeDeployedApisResult.cc | 95 ++++ cloudapi/src/model/DescribeDomainRequest.cc | 71 +++ cloudapi/src/model/DescribeDomainResult.cc | 129 +++++ .../model/DescribeDomainsResolutionRequest.cc | 71 +++ .../model/DescribeDomainsResolutionResult.cc | 67 +++ .../src/model/DescribeHistoryApisRequest.cc | 115 +++++ .../src/model/DescribeHistoryApisResult.cc | 97 ++++ .../DescribeIpControlPolicyItemsRequest.cc | 93 ++++ .../DescribeIpControlPolicyItemsResult.cc | 87 ++++ .../src/model/DescribeIpControlsRequest.cc | 104 ++++ .../src/model/DescribeIpControlsResult.cc | 91 ++++ .../src/model/DescribeLogConfigRequest.cc | 71 +++ cloudapi/src/model/DescribeLogConfigResult.cc | 64 +++ .../model/DescribePurchasedApiGroupRequest.cc | 60 +++ .../model/DescribePurchasedApiGroupResult.cc | 100 ++++ .../DescribePurchasedApiGroupsRequest.cc | 71 +++ .../model/DescribePurchasedApiGroupsResult.cc | 97 ++++ .../src/model/DescribePurchasedApisRequest.cc | 126 +++++ .../src/model/DescribePurchasedApisResult.cc | 93 ++++ cloudapi/src/model/DescribeRegionsRequest.cc | 60 +++ cloudapi/src/model/DescribeRegionsResult.cc | 62 +++ .../model/DescribeSignaturesByApiRequest.cc | 82 +++ .../model/DescribeSignaturesByApiResult.cc | 62 +++ .../src/model/DescribeSignaturesRequest.cc | 93 ++++ .../src/model/DescribeSignaturesResult.cc | 91 ++++ .../model/DescribeSystemParametersRequest.cc | 49 ++ .../model/DescribeSystemParametersResult.cc | 64 +++ .../DescribeTrafficControlsByApiRequest.cc | 82 +++ .../DescribeTrafficControlsByApiResult.cc | 62 +++ .../model/DescribeTrafficControlsRequest.cc | 126 +++++ .../model/DescribeTrafficControlsResult.cc | 113 +++++ .../src/model/DescribeVpcAccessesRequest.cc | 71 +++ .../src/model/DescribeVpcAccessesResult.cc | 89 ++++ cloudapi/src/model/ImportSwaggerRequest.cc | 71 +++ cloudapi/src/model/ImportSwaggerResult.cc | 81 +++ cloudapi/src/model/ListTagResourcesRequest.cc | 100 ++++ cloudapi/src/model/ListTagResourcesResult.cc | 71 +++ cloudapi/src/model/ModifyApiGroupRequest.cc | 82 +++ cloudapi/src/model/ModifyApiGroupResult.cc | 73 +++ cloudapi/src/model/ModifyApiRequest.cc | 324 ++++++++++++ cloudapi/src/model/ModifyApiResult.cc | 45 ++ cloudapi/src/model/ModifyAppRequest.cc | 99 ++++ cloudapi/src/model/ModifyAppResult.cc | 45 ++ .../model/ModifyIpControlPolicyItemRequest.cc | 93 ++++ .../model/ModifyIpControlPolicyItemResult.cc | 45 ++ cloudapi/src/model/ModifyIpControlRequest.cc | 82 +++ cloudapi/src/model/ModifyIpControlResult.cc | 45 ++ cloudapi/src/model/ModifyLogConfigRequest.cc | 93 ++++ cloudapi/src/model/ModifyLogConfigResult.cc | 45 ++ cloudapi/src/model/ModifySignatureRequest.cc | 93 ++++ cloudapi/src/model/ModifySignatureResult.cc | 59 +++ .../src/model/ModifyTrafficControlRequest.cc | 126 +++++ .../src/model/ModifyTrafficControlResult.cc | 45 ++ cloudapi/src/model/ReactivateDomainRequest.cc | 71 +++ cloudapi/src/model/ReactivateDomainResult.cc | 45 ++ .../src/model/RemoveApisAuthoritiesRequest.cc | 104 ++++ .../src/model/RemoveApisAuthoritiesResult.cc | 45 ++ .../src/model/RemoveAppsAuthoritiesRequest.cc | 93 ++++ .../src/model/RemoveAppsAuthoritiesResult.cc | 45 ++ .../src/model/RemoveIpControlApisRequest.cc | 93 ++++ .../src/model/RemoveIpControlApisResult.cc | 45 ++ .../model/RemoveIpControlPolicyItemRequest.cc | 71 +++ .../model/RemoveIpControlPolicyItemResult.cc | 45 ++ .../src/model/RemoveSignatureApisRequest.cc | 93 ++++ .../src/model/RemoveSignatureApisResult.cc | 45 ++ .../model/RemoveTrafficControlApisRequest.cc | 93 ++++ .../model/RemoveTrafficControlApisResult.cc | 45 ++ cloudapi/src/model/RemoveVpcAccessRequest.cc | 82 +++ cloudapi/src/model/RemoveVpcAccessResult.cc | 45 ++ cloudapi/src/model/ResetAppCodeRequest.cc | 60 +++ cloudapi/src/model/ResetAppCodeResult.cc | 45 ++ cloudapi/src/model/ResetAppSecretRequest.cc | 60 +++ cloudapi/src/model/ResetAppSecretResult.cc | 45 ++ cloudapi/src/model/SdkGenerateByAppRequest.cc | 71 +++ cloudapi/src/model/SdkGenerateByAppResult.cc | 52 ++ .../src/model/SdkGenerateByGroupRequest.cc | 71 +++ .../src/model/SdkGenerateByGroupResult.cc | 52 ++ cloudapi/src/model/SdkGenerateRequest.cc | 82 +++ cloudapi/src/model/SdkGenerateResult.cc | 52 ++ .../src/model/SetApisAuthoritiesRequest.cc | 126 +++++ .../src/model/SetApisAuthoritiesResult.cc | 45 ++ .../src/model/SetAppsAuthoritiesRequest.cc | 126 +++++ .../src/model/SetAppsAuthoritiesResult.cc | 45 ++ .../src/model/SetDomainCertificateRequest.cc | 104 ++++ .../src/model/SetDomainCertificateResult.cc | 45 ++ cloudapi/src/model/SetDomainRequest.cc | 71 +++ cloudapi/src/model/SetDomainResult.cc | 94 ++++ .../model/SetDomainWebSocketStatusRequest.cc | 82 +++ .../model/SetDomainWebSocketStatusResult.cc | 45 ++ cloudapi/src/model/SetIpControlApisRequest.cc | 93 ++++ cloudapi/src/model/SetIpControlApisResult.cc | 45 ++ cloudapi/src/model/SetSignatureApisRequest.cc | 93 ++++ cloudapi/src/model/SetSignatureApisResult.cc | 45 ++ .../src/model/SetTrafficControlApisRequest.cc | 93 ++++ .../src/model/SetTrafficControlApisResult.cc | 45 ++ cloudapi/src/model/SetVpcAccessRequest.cc | 93 ++++ cloudapi/src/model/SetVpcAccessResult.cc | 45 ++ cloudapi/src/model/SwitchApiRequest.cc | 104 ++++ cloudapi/src/model/SwitchApiResult.cc | 45 ++ cloudapi/src/model/TagResourcesRequest.cc | 89 ++++ cloudapi/src/model/TagResourcesResult.cc | 45 ++ cloudapi/src/model/UntagResourcesRequest.cc | 95 ++++ cloudapi/src/model/UntagResourcesResult.cc | 45 ++ 415 files changed, 30507 insertions(+), 1 deletion(-) create mode 100644 cloudapi/include/alibabacloud/cloudapi/CloudAPIExport.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/AbolishApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/AbolishApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateAppRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateAppResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteAppRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteAppResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeployApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DeployApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyAppRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyAppResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetDomainRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetDomainResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SwitchApiRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/SwitchApiResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/TagResourcesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/TagResourcesResult.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesRequest.h create mode 100644 cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesResult.h create mode 100644 cloudapi/src/model/AbolishApiRequest.cc create mode 100644 cloudapi/src/model/AbolishApiResult.cc create mode 100644 cloudapi/src/model/AddIpControlPolicyItemRequest.cc create mode 100644 cloudapi/src/model/AddIpControlPolicyItemResult.cc create mode 100644 cloudapi/src/model/AddTrafficSpecialControlRequest.cc create mode 100644 cloudapi/src/model/AddTrafficSpecialControlResult.cc create mode 100644 cloudapi/src/model/CreateApiGroupRequest.cc create mode 100644 cloudapi/src/model/CreateApiGroupResult.cc create mode 100644 cloudapi/src/model/CreateApiRequest.cc create mode 100644 cloudapi/src/model/CreateApiResult.cc create mode 100644 cloudapi/src/model/CreateApiStageVariableRequest.cc create mode 100644 cloudapi/src/model/CreateApiStageVariableResult.cc create mode 100644 cloudapi/src/model/CreateAppRequest.cc create mode 100644 cloudapi/src/model/CreateAppResult.cc create mode 100644 cloudapi/src/model/CreateIntranetDomainRequest.cc create mode 100644 cloudapi/src/model/CreateIntranetDomainResult.cc create mode 100644 cloudapi/src/model/CreateIpControlRequest.cc create mode 100644 cloudapi/src/model/CreateIpControlResult.cc create mode 100644 cloudapi/src/model/CreateLogConfigRequest.cc create mode 100644 cloudapi/src/model/CreateLogConfigResult.cc create mode 100644 cloudapi/src/model/CreateSignatureRequest.cc create mode 100644 cloudapi/src/model/CreateSignatureResult.cc create mode 100644 cloudapi/src/model/CreateTrafficControlRequest.cc create mode 100644 cloudapi/src/model/CreateTrafficControlResult.cc create mode 100644 cloudapi/src/model/DeleteAllTrafficSpecialControlRequest.cc create mode 100644 cloudapi/src/model/DeleteAllTrafficSpecialControlResult.cc create mode 100644 cloudapi/src/model/DeleteApiGroupRequest.cc create mode 100644 cloudapi/src/model/DeleteApiGroupResult.cc create mode 100644 cloudapi/src/model/DeleteApiRequest.cc create mode 100644 cloudapi/src/model/DeleteApiResult.cc create mode 100644 cloudapi/src/model/DeleteApiStageVariableRequest.cc create mode 100644 cloudapi/src/model/DeleteApiStageVariableResult.cc create mode 100644 cloudapi/src/model/DeleteAppRequest.cc create mode 100644 cloudapi/src/model/DeleteAppResult.cc create mode 100644 cloudapi/src/model/DeleteDomainCertificateRequest.cc create mode 100644 cloudapi/src/model/DeleteDomainCertificateResult.cc create mode 100644 cloudapi/src/model/DeleteDomainRequest.cc create mode 100644 cloudapi/src/model/DeleteDomainResult.cc create mode 100644 cloudapi/src/model/DeleteIpControlRequest.cc create mode 100644 cloudapi/src/model/DeleteIpControlResult.cc create mode 100644 cloudapi/src/model/DeleteLogConfigRequest.cc create mode 100644 cloudapi/src/model/DeleteLogConfigResult.cc create mode 100644 cloudapi/src/model/DeleteSignatureRequest.cc create mode 100644 cloudapi/src/model/DeleteSignatureResult.cc create mode 100644 cloudapi/src/model/DeleteTrafficControlRequest.cc create mode 100644 cloudapi/src/model/DeleteTrafficControlResult.cc create mode 100644 cloudapi/src/model/DeleteTrafficSpecialControlRequest.cc create mode 100644 cloudapi/src/model/DeleteTrafficSpecialControlResult.cc create mode 100644 cloudapi/src/model/DeployApiRequest.cc create mode 100644 cloudapi/src/model/DeployApiResult.cc create mode 100644 cloudapi/src/model/DescribeApiDocRequest.cc create mode 100644 cloudapi/src/model/DescribeApiDocResult.cc create mode 100644 cloudapi/src/model/DescribeApiErrorDataRequest.cc create mode 100644 cloudapi/src/model/DescribeApiErrorDataResult.cc create mode 100644 cloudapi/src/model/DescribeApiGroupRequest.cc create mode 100644 cloudapi/src/model/DescribeApiGroupResult.cc create mode 100644 cloudapi/src/model/DescribeApiGroupsRequest.cc create mode 100644 cloudapi/src/model/DescribeApiGroupsResult.cc create mode 100644 cloudapi/src/model/DescribeApiHistoriesRequest.cc create mode 100644 cloudapi/src/model/DescribeApiHistoriesResult.cc create mode 100644 cloudapi/src/model/DescribeApiHistoryRequest.cc create mode 100644 cloudapi/src/model/DescribeApiHistoryResult.cc create mode 100644 cloudapi/src/model/DescribeApiIpControlsRequest.cc create mode 100644 cloudapi/src/model/DescribeApiIpControlsResult.cc create mode 100644 cloudapi/src/model/DescribeApiLatencyDataRequest.cc create mode 100644 cloudapi/src/model/DescribeApiLatencyDataResult.cc create mode 100644 cloudapi/src/model/DescribeApiQpsDataRequest.cc create mode 100644 cloudapi/src/model/DescribeApiQpsDataResult.cc create mode 100644 cloudapi/src/model/DescribeApiRequest.cc create mode 100644 cloudapi/src/model/DescribeApiResult.cc create mode 100644 cloudapi/src/model/DescribeApiSignaturesRequest.cc create mode 100644 cloudapi/src/model/DescribeApiSignaturesResult.cc create mode 100644 cloudapi/src/model/DescribeApiStageRequest.cc create mode 100644 cloudapi/src/model/DescribeApiStageResult.cc create mode 100644 cloudapi/src/model/DescribeApiTrafficControlsRequest.cc create mode 100644 cloudapi/src/model/DescribeApiTrafficControlsResult.cc create mode 100644 cloudapi/src/model/DescribeApiTrafficDataRequest.cc create mode 100644 cloudapi/src/model/DescribeApiTrafficDataResult.cc create mode 100644 cloudapi/src/model/DescribeApisByAppRequest.cc create mode 100644 cloudapi/src/model/DescribeApisByAppResult.cc create mode 100644 cloudapi/src/model/DescribeApisByIpControlRequest.cc create mode 100644 cloudapi/src/model/DescribeApisByIpControlResult.cc create mode 100644 cloudapi/src/model/DescribeApisBySignatureRequest.cc create mode 100644 cloudapi/src/model/DescribeApisBySignatureResult.cc create mode 100644 cloudapi/src/model/DescribeApisByTrafficControlRequest.cc create mode 100644 cloudapi/src/model/DescribeApisByTrafficControlResult.cc create mode 100644 cloudapi/src/model/DescribeApisRequest.cc create mode 100644 cloudapi/src/model/DescribeApisResult.cc create mode 100644 cloudapi/src/model/DescribeAppAttributesRequest.cc create mode 100644 cloudapi/src/model/DescribeAppAttributesResult.cc create mode 100644 cloudapi/src/model/DescribeAppRequest.cc create mode 100644 cloudapi/src/model/DescribeAppResult.cc create mode 100644 cloudapi/src/model/DescribeAppSecurityRequest.cc create mode 100644 cloudapi/src/model/DescribeAppSecurityResult.cc create mode 100644 cloudapi/src/model/DescribeAppsRequest.cc create mode 100644 cloudapi/src/model/DescribeAppsResult.cc create mode 100644 cloudapi/src/model/DescribeAuthorizedApisRequest.cc create mode 100644 cloudapi/src/model/DescribeAuthorizedApisResult.cc create mode 100644 cloudapi/src/model/DescribeAuthorizedAppsRequest.cc create mode 100644 cloudapi/src/model/DescribeAuthorizedAppsResult.cc create mode 100644 cloudapi/src/model/DescribeDeployedApiRequest.cc create mode 100644 cloudapi/src/model/DescribeDeployedApiResult.cc create mode 100644 cloudapi/src/model/DescribeDeployedApisRequest.cc create mode 100644 cloudapi/src/model/DescribeDeployedApisResult.cc create mode 100644 cloudapi/src/model/DescribeDomainRequest.cc create mode 100644 cloudapi/src/model/DescribeDomainResult.cc create mode 100644 cloudapi/src/model/DescribeDomainsResolutionRequest.cc create mode 100644 cloudapi/src/model/DescribeDomainsResolutionResult.cc create mode 100644 cloudapi/src/model/DescribeHistoryApisRequest.cc create mode 100644 cloudapi/src/model/DescribeHistoryApisResult.cc create mode 100644 cloudapi/src/model/DescribeIpControlPolicyItemsRequest.cc create mode 100644 cloudapi/src/model/DescribeIpControlPolicyItemsResult.cc create mode 100644 cloudapi/src/model/DescribeIpControlsRequest.cc create mode 100644 cloudapi/src/model/DescribeIpControlsResult.cc create mode 100644 cloudapi/src/model/DescribeLogConfigRequest.cc create mode 100644 cloudapi/src/model/DescribeLogConfigResult.cc create mode 100644 cloudapi/src/model/DescribePurchasedApiGroupRequest.cc create mode 100644 cloudapi/src/model/DescribePurchasedApiGroupResult.cc create mode 100644 cloudapi/src/model/DescribePurchasedApiGroupsRequest.cc create mode 100644 cloudapi/src/model/DescribePurchasedApiGroupsResult.cc create mode 100644 cloudapi/src/model/DescribePurchasedApisRequest.cc create mode 100644 cloudapi/src/model/DescribePurchasedApisResult.cc create mode 100644 cloudapi/src/model/DescribeRegionsRequest.cc create mode 100644 cloudapi/src/model/DescribeRegionsResult.cc create mode 100644 cloudapi/src/model/DescribeSignaturesByApiRequest.cc create mode 100644 cloudapi/src/model/DescribeSignaturesByApiResult.cc create mode 100644 cloudapi/src/model/DescribeSignaturesRequest.cc create mode 100644 cloudapi/src/model/DescribeSignaturesResult.cc create mode 100644 cloudapi/src/model/DescribeSystemParametersRequest.cc create mode 100644 cloudapi/src/model/DescribeSystemParametersResult.cc create mode 100644 cloudapi/src/model/DescribeTrafficControlsByApiRequest.cc create mode 100644 cloudapi/src/model/DescribeTrafficControlsByApiResult.cc create mode 100644 cloudapi/src/model/DescribeTrafficControlsRequest.cc create mode 100644 cloudapi/src/model/DescribeTrafficControlsResult.cc create mode 100644 cloudapi/src/model/DescribeVpcAccessesRequest.cc create mode 100644 cloudapi/src/model/DescribeVpcAccessesResult.cc create mode 100644 cloudapi/src/model/ImportSwaggerRequest.cc create mode 100644 cloudapi/src/model/ImportSwaggerResult.cc create mode 100644 cloudapi/src/model/ListTagResourcesRequest.cc create mode 100644 cloudapi/src/model/ListTagResourcesResult.cc create mode 100644 cloudapi/src/model/ModifyApiGroupRequest.cc create mode 100644 cloudapi/src/model/ModifyApiGroupResult.cc create mode 100644 cloudapi/src/model/ModifyApiRequest.cc create mode 100644 cloudapi/src/model/ModifyApiResult.cc create mode 100644 cloudapi/src/model/ModifyAppRequest.cc create mode 100644 cloudapi/src/model/ModifyAppResult.cc create mode 100644 cloudapi/src/model/ModifyIpControlPolicyItemRequest.cc create mode 100644 cloudapi/src/model/ModifyIpControlPolicyItemResult.cc create mode 100644 cloudapi/src/model/ModifyIpControlRequest.cc create mode 100644 cloudapi/src/model/ModifyIpControlResult.cc create mode 100644 cloudapi/src/model/ModifyLogConfigRequest.cc create mode 100644 cloudapi/src/model/ModifyLogConfigResult.cc create mode 100644 cloudapi/src/model/ModifySignatureRequest.cc create mode 100644 cloudapi/src/model/ModifySignatureResult.cc create mode 100644 cloudapi/src/model/ModifyTrafficControlRequest.cc create mode 100644 cloudapi/src/model/ModifyTrafficControlResult.cc create mode 100644 cloudapi/src/model/ReactivateDomainRequest.cc create mode 100644 cloudapi/src/model/ReactivateDomainResult.cc create mode 100644 cloudapi/src/model/RemoveApisAuthoritiesRequest.cc create mode 100644 cloudapi/src/model/RemoveApisAuthoritiesResult.cc create mode 100644 cloudapi/src/model/RemoveAppsAuthoritiesRequest.cc create mode 100644 cloudapi/src/model/RemoveAppsAuthoritiesResult.cc create mode 100644 cloudapi/src/model/RemoveIpControlApisRequest.cc create mode 100644 cloudapi/src/model/RemoveIpControlApisResult.cc create mode 100644 cloudapi/src/model/RemoveIpControlPolicyItemRequest.cc create mode 100644 cloudapi/src/model/RemoveIpControlPolicyItemResult.cc create mode 100644 cloudapi/src/model/RemoveSignatureApisRequest.cc create mode 100644 cloudapi/src/model/RemoveSignatureApisResult.cc create mode 100644 cloudapi/src/model/RemoveTrafficControlApisRequest.cc create mode 100644 cloudapi/src/model/RemoveTrafficControlApisResult.cc create mode 100644 cloudapi/src/model/RemoveVpcAccessRequest.cc create mode 100644 cloudapi/src/model/RemoveVpcAccessResult.cc create mode 100644 cloudapi/src/model/ResetAppCodeRequest.cc create mode 100644 cloudapi/src/model/ResetAppCodeResult.cc create mode 100644 cloudapi/src/model/ResetAppSecretRequest.cc create mode 100644 cloudapi/src/model/ResetAppSecretResult.cc create mode 100644 cloudapi/src/model/SdkGenerateByAppRequest.cc create mode 100644 cloudapi/src/model/SdkGenerateByAppResult.cc create mode 100644 cloudapi/src/model/SdkGenerateByGroupRequest.cc create mode 100644 cloudapi/src/model/SdkGenerateByGroupResult.cc create mode 100644 cloudapi/src/model/SdkGenerateRequest.cc create mode 100644 cloudapi/src/model/SdkGenerateResult.cc create mode 100644 cloudapi/src/model/SetApisAuthoritiesRequest.cc create mode 100644 cloudapi/src/model/SetApisAuthoritiesResult.cc create mode 100644 cloudapi/src/model/SetAppsAuthoritiesRequest.cc create mode 100644 cloudapi/src/model/SetAppsAuthoritiesResult.cc create mode 100644 cloudapi/src/model/SetDomainCertificateRequest.cc create mode 100644 cloudapi/src/model/SetDomainCertificateResult.cc create mode 100644 cloudapi/src/model/SetDomainRequest.cc create mode 100644 cloudapi/src/model/SetDomainResult.cc create mode 100644 cloudapi/src/model/SetDomainWebSocketStatusRequest.cc create mode 100644 cloudapi/src/model/SetDomainWebSocketStatusResult.cc create mode 100644 cloudapi/src/model/SetIpControlApisRequest.cc create mode 100644 cloudapi/src/model/SetIpControlApisResult.cc create mode 100644 cloudapi/src/model/SetSignatureApisRequest.cc create mode 100644 cloudapi/src/model/SetSignatureApisResult.cc create mode 100644 cloudapi/src/model/SetTrafficControlApisRequest.cc create mode 100644 cloudapi/src/model/SetTrafficControlApisResult.cc create mode 100644 cloudapi/src/model/SetVpcAccessRequest.cc create mode 100644 cloudapi/src/model/SetVpcAccessResult.cc create mode 100644 cloudapi/src/model/SwitchApiRequest.cc create mode 100644 cloudapi/src/model/SwitchApiResult.cc create mode 100644 cloudapi/src/model/TagResourcesRequest.cc create mode 100644 cloudapi/src/model/TagResourcesResult.cc create mode 100644 cloudapi/src/model/UntagResourcesRequest.cc create mode 100644 cloudapi/src/model/UntagResourcesResult.cc diff --git a/CHANGELOG b/CHANGELOG index 6c73b25b7..6e8757f17 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-07-25 Version 1.36.69 +- App-related actions support tag authentication. + 2019-07-23 Version 1.36.68 - Supported CreationOption of CreateDBCluster with `CloneFromPolarDB `,`CloneFromRDS`,`MigrationFromRDS`. diff --git a/VERSION b/VERSION index bffc223d7..1f75ed5c3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.68 \ No newline at end of file +1.36.69 \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/CloudAPIExport.h b/cloudapi/include/alibabacloud/cloudapi/CloudAPIExport.h new file mode 100644 index 000000000..63e3ee685 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/CloudAPIExport.h @@ -0,0 +1,32 @@ +/* + * 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_CLOUDAPI_CLOUDAPIEXPORT_H_ +#define ALIBABACLOUD_CLOUDAPI_CLOUDAPIEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_CLOUDAPI_LIBRARY) +# define ALIBABACLOUD_CLOUDAPI_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_CLOUDAPI_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_CLOUDAPI_EXPORT +#endif + +#endif // !ALIBABACLOUD_CLOUDAPI_CLOUDAPIEXPORT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/AbolishApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/AbolishApiRequest.h new file mode 100644 index 000000000..885aa1a2a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/AbolishApiRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_ABOLISHAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_ABOLISHAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT AbolishApiRequest : public RpcServiceRequest + { + + public: + AbolishApiRequest(); + ~AbolishApiRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_ABOLISHAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/AbolishApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/AbolishApiResult.h new file mode 100644 index 000000000..bcd5e4882 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/AbolishApiResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_ABOLISHAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_ABOLISHAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT AbolishApiResult : public ServiceResult + { + public: + + + AbolishApiResult(); + explicit AbolishApiResult(const std::string &payload); + ~AbolishApiResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_ABOLISHAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemRequest.h new file mode 100644 index 000000000..ab8786db0 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_ADDIPCONTROLPOLICYITEMREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_ADDIPCONTROLPOLICYITEMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT AddIpControlPolicyItemRequest : public RpcServiceRequest + { + + public: + AddIpControlPolicyItemRequest(); + ~AddIpControlPolicyItemRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCidrIp()const; + void setCidrIp(const std::string& cidrIp); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ipControlId_; + std::string securityToken_; + std::string appId_; + std::string cidrIp_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_ADDIPCONTROLPOLICYITEMREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemResult.h b/cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemResult.h new file mode 100644 index 000000000..77fdcadab --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/AddIpControlPolicyItemResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_ADDIPCONTROLPOLICYITEMRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_ADDIPCONTROLPOLICYITEMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT AddIpControlPolicyItemResult : public ServiceResult + { + public: + + + AddIpControlPolicyItemResult(); + explicit AddIpControlPolicyItemResult(const std::string &payload); + ~AddIpControlPolicyItemResult(); + std::string getPolicyItemId()const; + + protected: + void parse(const std::string &payload); + private: + std::string policyItemId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_ADDIPCONTROLPOLICYITEMRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlRequest.h new file mode 100644 index 000000000..9406fcb35 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlRequest.h @@ -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_CLOUDAPI_MODEL_ADDTRAFFICSPECIALCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_ADDTRAFFICSPECIALCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT AddTrafficSpecialControlRequest : public RpcServiceRequest + { + + public: + AddTrafficSpecialControlRequest(); + ~AddTrafficSpecialControlRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getSpecialKey()const; + void setSpecialKey(const std::string& specialKey); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getTrafficValue()const; + void setTrafficValue(int trafficValue); + std::string getSpecialType()const; + void setSpecialType(const std::string& specialType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string trafficControlId_; + std::string specialKey_; + std::string securityToken_; + int trafficValue_; + std::string specialType_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_ADDTRAFFICSPECIALCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlResult.h new file mode 100644 index 000000000..774b998b3 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/AddTrafficSpecialControlResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_ADDTRAFFICSPECIALCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_ADDTRAFFICSPECIALCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT AddTrafficSpecialControlResult : public ServiceResult + { + public: + + + AddTrafficSpecialControlResult(); + explicit AddTrafficSpecialControlResult(const std::string &payload); + ~AddTrafficSpecialControlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_ADDTRAFFICSPECIALCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupRequest.h new file mode 100644 index 000000000..92fecab04 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupRequest.h @@ -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_CLOUDAPI_MODEL_CREATEAPIGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiGroupRequest : public RpcServiceRequest + { + + public: + CreateApiGroupRequest(); + ~CreateApiGroupRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getSource()const; + void setSource(const std::string& source); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string instanceId_; + std::string securityToken_; + std::string description_; + std::string source_; + std::string groupName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupResult.h new file mode 100644 index 000000000..59fdf9cb1 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiGroupResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiGroupResult : public ServiceResult + { + public: + + + CreateApiGroupResult(); + explicit CreateApiGroupResult(const std::string &payload); + ~CreateApiGroupResult(); + std::string getGroupName()const; + std::string getSubDomain()const; + std::string getDescription()const; + std::string getInstanceId()const; + std::string getInstanceType()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string subDomain_; + std::string description_; + std::string instanceId_; + std::string instanceType_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiRequest.h new file mode 100644 index 000000000..4432f06a8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiRequest.h @@ -0,0 +1,123 @@ +/* + * 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_CLOUDAPI_MODEL_CREATEAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiRequest : public RpcServiceRequest + { + + public: + CreateApiRequest(); + ~CreateApiRequest(); + + std::string getWebSocketApiType()const; + void setWebSocketApiType(const std::string& webSocketApiType); + std::string getErrorCodeSamples()const; + void setErrorCodeSamples(const std::string& errorCodeSamples); + std::string getAppCodeAuthType()const; + void setAppCodeAuthType(const std::string& appCodeAuthType); + std::string getDescription()const; + void setDescription(const std::string& description); + bool getDisableInternet()const; + void setDisableInternet(bool disableInternet); + std::string getConstantParameters()const; + void setConstantParameters(const std::string& constantParameters); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getAuthType()const; + void setAuthType(const std::string& authType); + std::string getAllowSignatureMethod()const; + void setAllowSignatureMethod(const std::string& allowSignatureMethod); + std::string getServiceParameters()const; + void setServiceParameters(const std::string& serviceParameters); + std::string getFailResultSample()const; + void setFailResultSample(const std::string& failResultSample); + std::string getSystemParameters()const; + void setSystemParameters(const std::string& systemParameters); + std::string getServiceParametersMap()const; + void setServiceParametersMap(const std::string& serviceParametersMap); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getOpenIdConnectConfig()const; + void setOpenIdConnectConfig(const std::string& openIdConnectConfig); + std::string getRequestParameters()const; + void setRequestParameters(const std::string& requestParameters); + std::string getResultDescriptions()const; + void setResultDescriptions(const std::string& resultDescriptions); + std::string getVisibility()const; + void setVisibility(const std::string& visibility); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getServiceConfig()const; + void setServiceConfig(const std::string& serviceConfig); + std::string getResultType()const; + void setResultType(const std::string& resultType); + std::string getApiName()const; + void setApiName(const std::string& apiName); + std::string getResultSample()const; + void setResultSample(const std::string& resultSample); + bool getForceNonceCheck()const; + void setForceNonceCheck(bool forceNonceCheck); + std::string getRequestConfig()const; + void setRequestConfig(const std::string& requestConfig); + std::string getResultBodyModel()const; + void setResultBodyModel(const std::string& resultBodyModel); + + private: + std::string webSocketApiType_; + std::string errorCodeSamples_; + std::string appCodeAuthType_; + std::string description_; + bool disableInternet_; + std::string constantParameters_; + std::string accessKeyId_; + std::string authType_; + std::string allowSignatureMethod_; + std::string serviceParameters_; + std::string failResultSample_; + std::string systemParameters_; + std::string serviceParametersMap_; + std::string securityToken_; + std::string openIdConnectConfig_; + std::string requestParameters_; + std::string resultDescriptions_; + std::string visibility_; + std::string groupId_; + std::string serviceConfig_; + std::string resultType_; + std::string apiName_; + std::string resultSample_; + bool forceNonceCheck_; + std::string requestConfig_; + std::string resultBodyModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiResult.h new file mode 100644 index 000000000..f896354dd --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiResult : public ServiceResult + { + public: + + + CreateApiResult(); + explicit CreateApiResult(const std::string &payload); + ~CreateApiResult(); + std::string getApiId()const; + + protected: + void parse(const std::string &payload); + private: + std::string apiId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableRequest.h new file mode 100644 index 000000000..30ac73ff6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPISTAGEVARIABLEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPISTAGEVARIABLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiStageVariableRequest : public RpcServiceRequest + { + + public: + CreateApiStageVariableRequest(); + ~CreateApiStageVariableRequest(); + + bool getSupportRoute()const; + void setSupportRoute(bool supportRoute); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getVariableName()const; + void setVariableName(const std::string& variableName); + std::string getVariableValue()const; + void setVariableValue(const std::string& variableValue); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getStageRouteModel()const; + void setStageRouteModel(const std::string& stageRouteModel); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getStageId()const; + void setStageId(const std::string& stageId); + + private: + bool supportRoute_; + std::string securityToken_; + std::string variableName_; + std::string variableValue_; + std::string groupId_; + std::string stageRouteModel_; + std::string accessKeyId_; + std::string stageId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPISTAGEVARIABLEREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableResult.h new file mode 100644 index 000000000..5997c7944 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateApiStageVariableResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPISTAGEVARIABLERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPISTAGEVARIABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateApiStageVariableResult : public ServiceResult + { + public: + + + CreateApiStageVariableResult(); + explicit CreateApiStageVariableResult(const std::string &payload); + ~CreateApiStageVariableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPISTAGEVARIABLERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateAppRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateAppRequest.h new file mode 100644 index 000000000..94ee79d0e --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateAppRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateAppRequest : public RpcServiceRequest + { + + public: + CreateAppRequest(); + ~CreateAppRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + std::string description_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateAppResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateAppResult.h new file mode 100644 index 000000000..aaeb4d965 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateAppResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateAppResult : public ServiceResult + { + public: + + + CreateAppResult(); + explicit CreateAppResult(const std::string &payload); + ~CreateAppResult(); + long getAppId()const; + + protected: + void parse(const std::string &payload); + private: + long appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEAPPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainRequest.h new file mode 100644 index 000000000..1da4d053c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINTRANETDOMAINREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINTRANETDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateIntranetDomainRequest : public RpcServiceRequest + { + + public: + CreateIntranetDomainRequest(); + ~CreateIntranetDomainRequest(); + + bool getDeleteInternetDomain()const; + void setDeleteInternetDomain(bool deleteInternetDomain); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + bool deleteInternetDomain_; + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINTRANETDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainResult.h new file mode 100644 index 000000000..25ca90a9a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateIntranetDomainResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINTRANETDOMAINRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINTRANETDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateIntranetDomainResult : public ServiceResult + { + public: + + + CreateIntranetDomainResult(); + explicit CreateIntranetDomainResult(const std::string &payload); + ~CreateIntranetDomainResult(); + std::string getDomainName()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINTRANETDOMAINRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlRequest.h new file mode 100644 index 000000000..e85e4b778 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlRequest.h @@ -0,0 +1,68 @@ +/* + * 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_CLOUDAPI_MODEL_CREATEIPCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEIPCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateIpControlRequest : public RpcServiceRequest + { + struct IpControlPolicys + { + std::string appId; + std::string cidrIp; + }; + + public: + CreateIpControlRequest(); + ~CreateIpControlRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getIpControlName()const; + void setIpControlName(const std::string& ipControlName); + std::string getIpControlType()const; + void setIpControlType(const std::string& ipControlType); + std::vector getIpControlPolicys()const; + void setIpControlPolicys(const std::vector& ipControlPolicys); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string ipControlName_; + std::string ipControlType_; + std::vector ipControlPolicys_; + std::string description_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEIPCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlResult.h new file mode 100644 index 000000000..ab2e4af46 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATEIPCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEIPCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateIpControlResult : public ServiceResult + { + public: + + + CreateIpControlResult(); + explicit CreateIpControlResult(const std::string &payload); + ~CreateIpControlResult(); + std::string getIpControlId()const; + + protected: + void parse(const std::string &payload); + private: + std::string ipControlId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEIPCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigRequest.h new file mode 100644 index 000000000..a724af93b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigRequest.h @@ -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_CLOUDAPI_MODEL_CREATELOGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATELOGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateLogConfigRequest : public RpcServiceRequest + { + + public: + CreateLogConfigRequest(); + ~CreateLogConfigRequest(); + + std::string getSlsLogStore()const; + void setSlsLogStore(const std::string& slsLogStore); + std::string getLogType()const; + void setLogType(const std::string& logType); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getSlsProject()const; + void setSlsProject(const std::string& slsProject); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string slsLogStore_; + std::string logType_; + std::string securityToken_; + std::string regionId_; + std::string slsProject_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATELOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigResult.h new file mode 100644 index 000000000..bd5db9a34 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateLogConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATELOGCONFIGRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATELOGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateLogConfigResult : public ServiceResult + { + public: + + + CreateLogConfigResult(); + explicit CreateLogConfigResult(const std::string &payload); + ~CreateLogConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATELOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureRequest.h new file mode 100644 index 000000000..5541af818 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATESIGNATUREREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATESIGNATUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateSignatureRequest : public RpcServiceRequest + { + + public: + CreateSignatureRequest(); + ~CreateSignatureRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getSignatureName()const; + void setSignatureName(const std::string& signatureName); + std::string getSignatureKey()const; + void setSignatureKey(const std::string& signatureKey); + std::string getSignatureSecret()const; + void setSignatureSecret(const std::string& signatureSecret); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string signatureName_; + std::string signatureKey_; + std::string signatureSecret_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATESIGNATUREREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureResult.h new file mode 100644 index 000000000..a01acca14 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateSignatureResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATESIGNATURERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATESIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateSignatureResult : public ServiceResult + { + public: + + + CreateSignatureResult(); + explicit CreateSignatureResult(const std::string &payload); + ~CreateSignatureResult(); + std::string getSignatureId()const; + std::string getSignatureName()const; + + protected: + void parse(const std::string &payload); + private: + std::string signatureId_; + std::string signatureName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATESIGNATURERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlRequest.h new file mode 100644 index 000000000..e9a7cf6a4 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATETRAFFICCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATETRAFFICCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateTrafficControlRequest : public RpcServiceRequest + { + + public: + CreateTrafficControlRequest(); + ~CreateTrafficControlRequest(); + + int getApiDefault()const; + void setApiDefault(int apiDefault); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getTrafficControlName()const; + void setTrafficControlName(const std::string& trafficControlName); + std::string getTrafficControlUnit()const; + void setTrafficControlUnit(const std::string& trafficControlUnit); + std::string getDescription()const; + void setDescription(const std::string& description); + int getUserDefault()const; + void setUserDefault(int userDefault); + int getAppDefault()const; + void setAppDefault(int appDefault); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + int apiDefault_; + std::string securityToken_; + std::string trafficControlName_; + std::string trafficControlUnit_; + std::string description_; + int userDefault_; + int appDefault_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATETRAFFICCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlResult.h new file mode 100644 index 000000000..a67706857 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/CreateTrafficControlResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_CREATETRAFFICCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATETRAFFICCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT CreateTrafficControlResult : public ServiceResult + { + public: + + + CreateTrafficControlResult(); + explicit CreateTrafficControlResult(const std::string &payload); + ~CreateTrafficControlResult(); + std::string getTrafficControlId()const; + + protected: + void parse(const std::string &payload); + private: + std::string trafficControlId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATETRAFFICCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlRequest.h new file mode 100644 index 000000000..01e73bdef --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEALLTRAFFICSPECIALCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEALLTRAFFICSPECIALCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteAllTrafficSpecialControlRequest : public RpcServiceRequest + { + + public: + DeleteAllTrafficSpecialControlRequest(); + ~DeleteAllTrafficSpecialControlRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string trafficControlId_; + std::string securityToken_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEALLTRAFFICSPECIALCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlResult.h new file mode 100644 index 000000000..b93fd2dec --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAllTrafficSpecialControlResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEALLTRAFFICSPECIALCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEALLTRAFFICSPECIALCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteAllTrafficSpecialControlResult : public ServiceResult + { + public: + + + DeleteAllTrafficSpecialControlResult(); + explicit DeleteAllTrafficSpecialControlResult(const std::string &payload); + ~DeleteAllTrafficSpecialControlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEALLTRAFFICSPECIALCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupRequest.h new file mode 100644 index 000000000..ab111af6d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiGroupRequest : public RpcServiceRequest + { + + public: + DeleteApiGroupRequest(); + ~DeleteApiGroupRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupResult.h new file mode 100644 index 000000000..7cd6849ab --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiGroupResult : public ServiceResult + { + public: + + + DeleteApiGroupResult(); + explicit DeleteApiGroupResult(const std::string &payload); + ~DeleteApiGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiRequest.h new file mode 100644 index 000000000..33bd14bca --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiRequest : public RpcServiceRequest + { + + public: + DeleteApiRequest(); + ~DeleteApiRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiResult.h new file mode 100644 index 000000000..7b8aff649 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiResult : public ServiceResult + { + public: + + + DeleteApiResult(); + explicit DeleteApiResult(const std::string &payload); + ~DeleteApiResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableRequest.h new file mode 100644 index 000000000..8d3a364d6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPISTAGEVARIABLEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPISTAGEVARIABLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiStageVariableRequest : public RpcServiceRequest + { + + public: + DeleteApiStageVariableRequest(); + ~DeleteApiStageVariableRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getVariableName()const; + void setVariableName(const std::string& variableName); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getStageId()const; + void setStageId(const std::string& stageId); + + private: + std::string securityToken_; + std::string variableName_; + std::string groupId_; + std::string accessKeyId_; + std::string stageId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPISTAGEVARIABLEREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableResult.h new file mode 100644 index 000000000..ba4a58e51 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteApiStageVariableResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPISTAGEVARIABLERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPISTAGEVARIABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteApiStageVariableResult : public ServiceResult + { + public: + + + DeleteApiStageVariableResult(); + explicit DeleteApiStageVariableResult(const std::string &payload); + ~DeleteApiStageVariableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPISTAGEVARIABLERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteAppRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAppRequest.h new file mode 100644 index 000000000..3f894f894 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAppRequest.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteAppRequest : public RpcServiceRequest + { + struct Tag + { + std::string value; + std::string key; + }; + + public: + DeleteAppRequest(); + ~DeleteAppRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + std::vector getTag()const; + void setTag(const std::vector& tag); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long appId_; + std::vector tag_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteAppResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAppResult.h new file mode 100644 index 000000000..9a2ef249e --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteAppResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteAppResult : public ServiceResult + { + public: + + + DeleteAppResult(); + explicit DeleteAppResult(const std::string &payload); + ~DeleteAppResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEAPPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateRequest.h new file mode 100644 index 000000000..9f1c54ef4 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteDomainCertificateRequest : public RpcServiceRequest + { + + public: + DeleteDomainCertificateRequest(); + ~DeleteDomainCertificateRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getCertificateId()const; + void setCertificateId(const std::string& certificateId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string certificateId_; + std::string domainName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateResult.h new file mode 100644 index 000000000..b6779539a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteDomainCertificateResult : public ServiceResult + { + public: + + + DeleteDomainCertificateResult(); + explicit DeleteDomainCertificateResult(const std::string &payload); + ~DeleteDomainCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainRequest.h new file mode 100644 index 000000000..fdec6f0b3 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteDomainRequest : public RpcServiceRequest + { + + public: + DeleteDomainRequest(); + ~DeleteDomainRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string domainName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainResult.h new file mode 100644 index 000000000..1b7cac02b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteDomainResult : public ServiceResult + { + public: + + + DeleteDomainResult(); + explicit DeleteDomainResult(const std::string &payload); + ~DeleteDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEDOMAINRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlRequest.h new file mode 100644 index 000000000..9e19d028a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEIPCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEIPCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteIpControlRequest : public RpcServiceRequest + { + + public: + DeleteIpControlRequest(); + ~DeleteIpControlRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ipControlId_; + std::string securityToken_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEIPCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlResult.h new file mode 100644 index 000000000..59d0ad7d1 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteIpControlResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETEIPCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETEIPCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteIpControlResult : public ServiceResult + { + public: + + + DeleteIpControlResult(); + explicit DeleteIpControlResult(const std::string &payload); + ~DeleteIpControlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETEIPCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigRequest.h new file mode 100644 index 000000000..5c552329b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETELOGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETELOGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteLogConfigRequest : public RpcServiceRequest + { + + public: + DeleteLogConfigRequest(); + ~DeleteLogConfigRequest(); + + std::string getLogType()const; + void setLogType(const std::string& logType); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string logType_; + std::string securityToken_; + std::string regionId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETELOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigResult.h new file mode 100644 index 000000000..c6db20e35 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteLogConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETELOGCONFIGRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETELOGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteLogConfigResult : public ServiceResult + { + public: + + + DeleteLogConfigResult(); + explicit DeleteLogConfigResult(const std::string &payload); + ~DeleteLogConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETELOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureRequest.h new file mode 100644 index 000000000..2a2661a3d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETESIGNATUREREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETESIGNATUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteSignatureRequest : public RpcServiceRequest + { + + public: + DeleteSignatureRequest(); + ~DeleteSignatureRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getSignatureId()const; + void setSignatureId(const std::string& signatureId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string signatureId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETESIGNATUREREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureResult.h new file mode 100644 index 000000000..ddbfc44c6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteSignatureResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETESIGNATURERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETESIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteSignatureResult : public ServiceResult + { + public: + + + DeleteSignatureResult(); + explicit DeleteSignatureResult(const std::string &payload); + ~DeleteSignatureResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETESIGNATURERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlRequest.h new file mode 100644 index 000000000..c88ff39b1 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteTrafficControlRequest : public RpcServiceRequest + { + + public: + DeleteTrafficControlRequest(); + ~DeleteTrafficControlRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string trafficControlId_; + std::string securityToken_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlResult.h new file mode 100644 index 000000000..1170fc3a6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficControlResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteTrafficControlResult : public ServiceResult + { + public: + + + DeleteTrafficControlResult(); + explicit DeleteTrafficControlResult(const std::string &payload); + ~DeleteTrafficControlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlRequest.h new file mode 100644 index 000000000..69ecf331e --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICSPECIALCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICSPECIALCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteTrafficSpecialControlRequest : public RpcServiceRequest + { + + public: + DeleteTrafficSpecialControlRequest(); + ~DeleteTrafficSpecialControlRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getSpecialKey()const; + void setSpecialKey(const std::string& specialKey); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getSpecialType()const; + void setSpecialType(const std::string& specialType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string trafficControlId_; + std::string specialKey_; + std::string securityToken_; + std::string specialType_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICSPECIALCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlResult.h new file mode 100644 index 000000000..0dd7153b8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeleteTrafficSpecialControlResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICSPECIALCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICSPECIALCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeleteTrafficSpecialControlResult : public ServiceResult + { + public: + + + DeleteTrafficSpecialControlResult(); + explicit DeleteTrafficSpecialControlResult(const std::string &payload); + ~DeleteTrafficSpecialControlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DELETETRAFFICSPECIALCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeployApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DeployApiRequest.h new file mode 100644 index 000000000..1cacda7b6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeployApiRequest.h @@ -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_CLOUDAPI_MODEL_DEPLOYAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DEPLOYAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeployApiRequest : public RpcServiceRequest + { + + public: + DeployApiRequest(); + ~DeployApiRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string description_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DEPLOYAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DeployApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DeployApiResult.h new file mode 100644 index 000000000..6e239169b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DeployApiResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DEPLOYAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DEPLOYAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DeployApiResult : public ServiceResult + { + public: + + + DeployApiResult(); + explicit DeployApiResult(const std::string &payload); + ~DeployApiResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DEPLOYAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocRequest.h new file mode 100644 index 000000000..c5cb068db --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIDOCREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIDOCREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiDocRequest : public RpcServiceRequest + { + + public: + DescribeApiDocRequest(); + ~DescribeApiDocRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIDOCREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocResult.h new file mode 100644 index 000000000..39c7293ba --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiDocResult.h @@ -0,0 +1,132 @@ +/* + * 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_CLOUDAPI_MODEL_DESCRIBEAPIDOCRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIDOCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiDocResult : public ServiceResult + { + public: + struct RequestConfig + { + std::string requestPath; + std::string requestMode; + std::string requestProtocol; + std::string requestHttpMethod; + std::string postBodyDescription; + std::string bodyFormat; + }; + struct ErrorCodeSample + { + std::string description; + std::string message; + std::string code; + }; + struct ResultDescription + { + std::string type; + std::string description; + std::string pid; + std::string id; + bool hasChild; + std::string key; + std::string name; + bool mandatory; + }; + struct RequestParameter + { + std::string regularExpression; + std::string parameterType; + std::string jsonScheme; + std::string description; + std::string apiParameterName; + std::string enumValue; + long minLength; + long maxValue; + long maxLength; + std::string demoValue; + std::string defaultValue; + std::string required; + int docOrder; + long minValue; + std::string docShow; + std::string location; + }; + + + DescribeApiDocResult(); + explicit DescribeApiDocResult(const std::string &payload); + ~DescribeApiDocResult(); + std::string getGroupName()const; + RequestConfig getRequestConfig()const; + std::string getDescription()const; + std::string getResultSample()const; + bool getDisableInternet()const; + std::string getStageName()const; + std::string getApiName()const; + bool getForceNonceCheck()const; + std::string getResultType()const; + std::string getFailResultSample()const; + std::vector getErrorCodeSamples()const; + std::vector getRequestParameters()const; + std::string getGroupId()const; + std::string getDeployedTime()const; + std::vector getResultDescriptions()const; + std::string getVisibility()const; + std::string getRegionId()const; + std::string getAuthType()const; + std::string getApiId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + RequestConfig requestConfig_; + std::string description_; + std::string resultSample_; + bool disableInternet_; + std::string stageName_; + std::string apiName_; + bool forceNonceCheck_; + std::string resultType_; + std::string failResultSample_; + std::vector errorCodeSamples_; + std::vector requestParameters_; + std::string groupId_; + std::string deployedTime_; + std::vector resultDescriptions_; + std::string visibility_; + std::string regionId_; + std::string authType_; + std::string apiId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIDOCRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataRequest.h new file mode 100644 index 000000000..f4e74b046 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPIERRORDATAREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIERRORDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiErrorDataRequest : public RpcServiceRequest + { + + public: + DescribeApiErrorDataRequest(); + ~DescribeApiErrorDataRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string endTime_; + std::string startTime_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIERRORDATAREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataResult.h new file mode 100644 index 000000000..225e68697 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiErrorDataResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIERRORDATARESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIERRORDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiErrorDataResult : public ServiceResult + { + public: + struct MonitorItem + { + std::string itemValue; + std::string itemTime; + }; + + + DescribeApiErrorDataResult(); + explicit DescribeApiErrorDataResult(const std::string &payload); + ~DescribeApiErrorDataResult(); + std::vector getClientErrors()const; + std::vector getServerErrors()const; + + protected: + void parse(const std::string &payload); + private: + std::vector clientErrors_; + std::vector serverErrors_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIERRORDATARESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupRequest.h new file mode 100644 index 000000000..66e2b55d0 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupRequest : public RpcServiceRequest + { + + public: + DescribeApiGroupRequest(); + ~DescribeApiGroupRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupResult.h new file mode 100644 index 000000000..ab4efb9f8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupResult.h @@ -0,0 +1,100 @@ +/* + * 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_CLOUDAPI_MODEL_DESCRIBEAPIGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupResult : public ServiceResult + { + public: + struct DomainItem + { + std::string domainCNAMEStatus; + std::string domainRemark; + std::string domainBindingStatus; + std::string domainLegalStatus; + std::string domainName; + std::string certificateId; + std::string domainWebSocketStatus; + std::string certificateName; + }; + struct StageInfo + { + std::string description; + std::string stageName; + std::string stageId; + }; + + + DescribeApiGroupResult(); + explicit DescribeApiGroupResult(const std::string &payload); + ~DescribeApiGroupResult(); + std::string getGroupName()const; + std::string getStatus()const; + std::string getDescription()const; + std::string getCreatedTime()const; + std::string getHttpsPolicy()const; + std::string getInstanceId()const; + std::string getBillingStatus()const; + int getTrafficLimit()const; + std::string getGroupId()const; + std::string getVpcDomain()const; + std::string getSubDomain()const; + std::vector getCustomDomains()const; + std::string getModifiedTime()const; + std::vector getStageItems()const; + std::string getIllegalStatus()const; + std::string getRegionId()const; + std::string getInstanceType()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string status_; + std::string description_; + std::string createdTime_; + std::string httpsPolicy_; + std::string instanceId_; + std::string billingStatus_; + int trafficLimit_; + std::string groupId_; + std::string vpcDomain_; + std::string subDomain_; + std::vector customDomains_; + std::string modifiedTime_; + std::vector stageItems_; + std::string illegalStatus_; + std::string regionId_; + std::string instanceType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsRequest.h new file mode 100644 index 000000000..29ffe318f --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupsRequest : public RpcServiceRequest + { + + public: + DescribeApiGroupsRequest(); + ~DescribeApiGroupsRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + int pageSize_; + std::string groupName_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsResult.h new file mode 100644 index 000000000..2795b1fa8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiGroupsResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiGroupsResult : public ServiceResult + { + public: + struct ApiGroupAttribute + { + std::string groupName; + std::string description; + std::string createdTime; + std::string httpsPolicy; + std::string instanceId; + int trafficLimit; + std::string billingStatus; + std::string groupId; + std::string subDomain; + std::string modifiedTime; + std::string illegalStatus; + std::string regionId; + std::string instanceType; + }; + + + DescribeApiGroupsResult(); + explicit DescribeApiGroupsResult(const std::string &payload); + ~DescribeApiGroupsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApiGroupAttributes()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apiGroupAttributes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIGROUPSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesRequest.h new file mode 100644 index 000000000..5717b6fe7 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORIESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiHistoriesRequest : public RpcServiceRequest + { + + public: + DescribeApiHistoriesRequest(); + ~DescribeApiHistoriesRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getApiName()const; + void setApiName(const std::string& apiName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getPageNumber()const; + void setPageNumber(const std::string& pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string apiName_; + std::string securityToken_; + std::string groupId_; + std::string pageSize_; + std::string apiId_; + std::string pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORIESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesResult.h new file mode 100644 index 000000000..6a9412a7d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoriesResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORIESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiHistoriesResult : public ServiceResult + { + public: + struct ApiHisItem + { + std::string groupName; + std::string status; + std::string deployedTime; + std::string description; + std::string apiName; + std::string stageName; + std::string regionId; + std::string apiId; + std::string historyVersion; + std::string groupId; + }; + + + DescribeApiHistoriesResult(); + explicit DescribeApiHistoriesResult(const std::string &payload); + ~DescribeApiHistoriesResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApiHisItems()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apiHisItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORIESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryRequest.h new file mode 100644 index 000000000..00ee776ea --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPIHISTORYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiHistoryRequest : public RpcServiceRequest + { + + public: + DescribeApiHistoryRequest(); + ~DescribeApiHistoryRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getHistoryVersion()const; + void setHistoryVersion(const std::string& historyVersion); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string historyVersion_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORYREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryResult.h new file mode 100644 index 000000000..48b2456ad --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiHistoryResult.h @@ -0,0 +1,230 @@ +/* + * 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_CLOUDAPI_MODEL_DESCRIBEAPIHISTORYRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiHistoryResult : public ServiceResult + { + public: + struct RequestConfig + { + std::string requestPath; + std::string requestMode; + std::string bodyModel; + std::string requestProtocol; + std::string requestHttpMethod; + std::string postBodyDescription; + std::string bodyFormat; + }; + struct ServiceConfig + { + struct VpcConfig + { + std::string vpcId; + std::string instanceId; + int port; + std::string name; + }; + struct FunctionComputeConfig + { + std::string functionName; + std::string serviceName; + std::string regionId; + std::string roleArn; + }; + struct MockHeader + { + std::string headerValue; + std::string headerName; + }; + std::string serviceAddress; + FunctionComputeConfig functionComputeConfig; + std::string mockResult; + VpcConfig vpcConfig; + std::string serviceVpcEnable; + int serviceTimeout; + int mockStatusCode; + std::vector mockHeaders; + std::string serviceProtocol; + std::string serviceHttpMethod; + std::string servicePath; + std::string mock; + }; + struct OpenIdConnectConfig + { + std::string openIdApiType; + std::string publicKey; + std::string idTokenParamName; + std::string publicKeyId; + }; + struct ErrorCodeSample + { + std::string description; + std::string message; + std::string code; + }; + struct ResultDescription + { + std::string type; + std::string description; + std::string pid; + std::string id; + bool hasChild; + std::string key; + std::string name; + bool mandatory; + }; + struct SystemParameter + { + std::string demoValue; + std::string description; + std::string parameterName; + std::string serviceParameterName; + std::string location; + }; + struct CustomSystemParameter + { + std::string demoValue; + std::string description; + std::string parameterName; + std::string serviceParameterName; + std::string location; + }; + struct ConstantParameter + { + std::string description; + std::string constantValue; + std::string serviceParameterName; + std::string location; + }; + struct RequestParameter + { + std::string regularExpression; + std::string parameterType; + std::string jsonScheme; + std::string description; + std::string apiParameterName; + std::string enumValue; + long minLength; + long maxValue; + long maxLength; + std::string demoValue; + std::string defaultValue; + std::string required; + int docOrder; + long minValue; + std::string docShow; + std::string location; + }; + struct ServiceParameter + { + std::string parameterType; + std::string serviceParameterName; + std::string location; + }; + struct ServiceParameterMap + { + std::string requestParameterName; + std::string serviceParameterName; + }; + + + DescribeApiHistoryResult(); + explicit DescribeApiHistoryResult(const std::string &payload); + ~DescribeApiHistoryResult(); + std::string getGroupName()const; + std::string getDescription()const; + bool getForceNonceCheck()const; + std::string getAllowSignatureMethod()const; + std::vector getErrorCodeSamples()const; + std::vector getRequestParameters()const; + std::vector getServiceParametersMap()const; + std::string getResultBodyModel()const; + ServiceConfig getServiceConfig()const; + std::vector getConstantParameters()const; + std::vector getResultDescriptions()const; + OpenIdConnectConfig getOpenIdConnectConfig()const; + std::string getAuthType()const; + std::string getStatus()const; + RequestConfig getRequestConfig()const; + std::string getResultSample()const; + bool getDisableInternet()const; + std::string getStageName()const; + std::string getApiName()const; + std::string getResultType()const; + std::string getFailResultSample()const; + std::vector getCustomSystemParameters()const; + std::string getGroupId()const; + std::string getDeployedTime()const; + std::vector getSystemParameters()const; + std::string getVisibility()const; + std::vector getServiceParameters()const; + std::string getRegionId()const; + std::string getApiId()const; + std::string getHistoryVersion()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string description_; + bool forceNonceCheck_; + std::string allowSignatureMethod_; + std::vector errorCodeSamples_; + std::vector requestParameters_; + std::vector serviceParametersMap_; + std::string resultBodyModel_; + ServiceConfig serviceConfig_; + std::vector constantParameters_; + std::vector resultDescriptions_; + OpenIdConnectConfig openIdConnectConfig_; + std::string authType_; + std::string status_; + RequestConfig requestConfig_; + std::string resultSample_; + bool disableInternet_; + std::string stageName_; + std::string apiName_; + std::string resultType_; + std::string failResultSample_; + std::vector customSystemParameters_; + std::string groupId_; + std::string deployedTime_; + std::vector systemParameters_; + std::string visibility_; + std::vector serviceParameters_; + std::string regionId_; + std::string apiId_; + std::string historyVersion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIHISTORYRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsRequest.h new file mode 100644 index 000000000..6f395e96f --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIIPCONTROLSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIIPCONTROLSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiIpControlsRequest : public RpcServiceRequest + { + + public: + DescribeApiIpControlsRequest(); + ~DescribeApiIpControlsRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIIPCONTROLSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsResult.h new file mode 100644 index 000000000..c328943dc --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiIpControlsResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIIPCONTROLSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIIPCONTROLSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiIpControlsResult : public ServiceResult + { + public: + struct ApiIpControlItem + { + std::string apiName; + std::string boundTime; + std::string apiId; + std::string ipControlName; + std::string ipControlId; + }; + + + DescribeApiIpControlsResult(); + explicit DescribeApiIpControlsResult(const std::string &payload); + ~DescribeApiIpControlsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApiIpControls()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apiIpControls_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIIPCONTROLSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataRequest.h new file mode 100644 index 000000000..56039e0b8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPILATENCYDATAREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPILATENCYDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiLatencyDataRequest : public RpcServiceRequest + { + + public: + DescribeApiLatencyDataRequest(); + ~DescribeApiLatencyDataRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string endTime_; + std::string startTime_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPILATENCYDATAREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataResult.h new file mode 100644 index 000000000..f2acea0fb --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiLatencyDataResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPILATENCYDATARESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPILATENCYDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiLatencyDataResult : public ServiceResult + { + public: + struct MonitorItem + { + std::string itemValue; + std::string itemTime; + }; + + + DescribeApiLatencyDataResult(); + explicit DescribeApiLatencyDataResult(const std::string &payload); + ~DescribeApiLatencyDataResult(); + std::vector getCallLatencys()const; + + protected: + void parse(const std::string &payload); + private: + std::vector callLatencys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPILATENCYDATARESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataRequest.h new file mode 100644 index 000000000..ebe5852ed --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPIQPSDATAREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIQPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiQpsDataRequest : public RpcServiceRequest + { + + public: + DescribeApiQpsDataRequest(); + ~DescribeApiQpsDataRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string endTime_; + std::string startTime_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIQPSDATAREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataResult.h new file mode 100644 index 000000000..1f8bfe9d2 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiQpsDataResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIQPSDATARESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIQPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiQpsDataResult : public ServiceResult + { + public: + struct MonitorItem + { + std::string itemValue; + std::string itemTime; + }; + + + DescribeApiQpsDataResult(); + explicit DescribeApiQpsDataResult(const std::string &payload); + ~DescribeApiQpsDataResult(); + std::vector getCallFails()const; + std::vector getCallSuccesses()const; + + protected: + void parse(const std::string &payload); + private: + std::vector callFails_; + std::vector callSuccesses_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIQPSDATARESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiRequest.h new file mode 100644 index 000000000..606fe11cf --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiRequest : public RpcServiceRequest + { + + public: + DescribeApiRequest(); + ~DescribeApiRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiResult.h new file mode 100644 index 000000000..87e3dc856 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiResult.h @@ -0,0 +1,244 @@ +/* + * 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_CLOUDAPI_MODEL_DESCRIBEAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiResult : public ServiceResult + { + public: + struct RequestConfig + { + std::string requestPath; + std::string requestMode; + std::string bodyModel; + std::string requestProtocol; + std::string requestHttpMethod; + std::string postBodyDescription; + std::string bodyFormat; + }; + struct ServiceConfig + { + struct VpcConfig + { + std::string vpcId; + std::string instanceId; + int port; + std::string name; + }; + struct FunctionComputeConfig + { + std::string functionName; + std::string serviceName; + std::string regionId; + std::string roleArn; + }; + struct MockHeader + { + std::string headerValue; + std::string headerName; + }; + std::string serviceAddress; + FunctionComputeConfig functionComputeConfig; + std::string contentTypeValue; + std::string mockResult; + VpcConfig vpcConfig; + std::string serviceVpcEnable; + int mockStatusCode; + std::vector mockHeaders; + std::string serviceHttpMethod; + std::string servicePath; + std::string aoneAppName; + std::string mock; + int serviceTimeout; + std::string serviceProtocol; + std::string contentTypeCatagory; + }; + struct OpenIdConnectConfig + { + std::string openIdApiType; + std::string publicKey; + std::string idTokenParamName; + std::string publicKeyId; + }; + struct ErrorCodeSample + { + std::string description; + std::string message; + std::string model; + std::string code; + }; + struct ResultDescription + { + std::string type; + std::string description; + std::string pid; + std::string id; + bool hasChild; + std::string key; + std::string name; + bool mandatory; + }; + struct SystemParameter + { + std::string demoValue; + std::string description; + std::string parameterName; + std::string serviceParameterName; + std::string location; + }; + struct CustomSystemParameter + { + std::string demoValue; + std::string description; + std::string parameterName; + std::string serviceParameterName; + std::string location; + }; + struct ConstantParameter + { + std::string description; + std::string constantValue; + std::string serviceParameterName; + std::string location; + }; + struct RequestParameter + { + std::string regularExpression; + std::string parameterType; + std::string jsonScheme; + std::string description; + std::string apiParameterName; + std::string enumValue; + long minLength; + long maxValue; + long maxLength; + std::string demoValue; + std::string defaultValue; + std::string required; + int docOrder; + long minValue; + std::string docShow; + std::string location; + }; + struct ServiceParameter + { + std::string parameterType; + std::string serviceParameterName; + std::string location; + }; + struct ServiceParameterMap + { + std::string requestParameterName; + std::string serviceParameterName; + }; + struct DeployedInfo + { + std::string stageName; + std::string effectiveVersion; + std::string deployedStatus; + }; + + + DescribeApiResult(); + explicit DescribeApiResult(const std::string &payload); + ~DescribeApiResult(); + std::string getGroupName()const; + std::string getCreatedTime()const; + std::string getDescription()const; + std::vector getDeployedInfos()const; + bool getForceNonceCheck()const; + std::string getAllowSignatureMethod()const; + std::vector getErrorCodeSamples()const; + std::string getMock()const; + std::vector getRequestParameters()const; + std::vector getServiceParametersMap()const; + std::string getResultBodyModel()const; + std::string getModifiedTime()const; + ServiceConfig getServiceConfig()const; + std::vector getConstantParameters()const; + std::string getWebSocketApiType()const; + std::vector getResultDescriptions()const; + OpenIdConnectConfig getOpenIdConnectConfig()const; + std::string getAuthType()const; + RequestConfig getRequestConfig()const; + std::string getResultSample()const; + std::string getMockResult()const; + bool getDisableInternet()const; + std::string getApiName()const; + std::string getResultType()const; + std::string getFailResultSample()const; + std::vector getCustomSystemParameters()const; + std::string getGroupId()const; + std::vector getSystemParameters()const; + std::string getVisibility()const; + std::vector getServiceParameters()const; + std::string getRegionId()const; + std::string getApiId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string createdTime_; + std::string description_; + std::vector deployedInfos_; + bool forceNonceCheck_; + std::string allowSignatureMethod_; + std::vector errorCodeSamples_; + std::string mock_; + std::vector requestParameters_; + std::vector serviceParametersMap_; + std::string resultBodyModel_; + std::string modifiedTime_; + ServiceConfig serviceConfig_; + std::vector constantParameters_; + std::string webSocketApiType_; + std::vector resultDescriptions_; + OpenIdConnectConfig openIdConnectConfig_; + std::string authType_; + RequestConfig requestConfig_; + std::string resultSample_; + std::string mockResult_; + bool disableInternet_; + std::string apiName_; + std::string resultType_; + std::string failResultSample_; + std::vector customSystemParameters_; + std::string groupId_; + std::vector systemParameters_; + std::string visibility_; + std::vector serviceParameters_; + std::string regionId_; + std::string apiId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesRequest.h new file mode 100644 index 000000000..44ac3bccd --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISIGNATURESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISIGNATURESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiSignaturesRequest : public RpcServiceRequest + { + + public: + DescribeApiSignaturesRequest(); + ~DescribeApiSignaturesRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISIGNATURESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesResult.h new file mode 100644 index 000000000..6953e99d5 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiSignaturesResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISIGNATURESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISIGNATURESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiSignaturesResult : public ServiceResult + { + public: + struct ApiSignatureItem + { + std::string signatureId; + std::string apiName; + std::string signatureName; + std::string boundTime; + std::string apiId; + }; + + + DescribeApiSignaturesResult(); + explicit DescribeApiSignaturesResult(const std::string &payload); + ~DescribeApiSignaturesResult(); + int getTotalCount()const; + std::vector getApiSignatures()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector apiSignatures_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISIGNATURESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageRequest.h new file mode 100644 index 000000000..b1046e95a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISTAGEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISTAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiStageRequest : public RpcServiceRequest + { + + public: + DescribeApiStageRequest(); + ~DescribeApiStageRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getStageId()const; + void setStageId(const std::string& stageId); + + private: + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + std::string stageId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISTAGEREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageResult.h new file mode 100644 index 000000000..778f2fcb6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiStageResult.h @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISTAGERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISTAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiStageResult : public ServiceResult + { + public: + struct VariableItem + { + struct StageRouteModel + { + struct RouteRuleItem + { + std::string conditionValue; + long minValue; + long maxValue; + std::string resultValue; + }; + std::string parameterType; + std::string parameterCatalog; + std::vector routeRules; + std::string routeMatchSymbol; + std::string serviceParameterName; + std::string location; + }; + std::string variableValue; + std::string variableName; + bool supportRoute; + StageRouteModel stageRouteModel; + }; + + + DescribeApiStageResult(); + explicit DescribeApiStageResult(const std::string &payload); + ~DescribeApiStageResult(); + std::vector getVariables()const; + std::string getDescription()const; + std::string getCreatedTime()const; + std::string getModifiedTime()const; + std::string getStageName()const; + std::string getStageId()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::vector variables_; + std::string description_; + std::string createdTime_; + std::string modifiedTime_; + std::string stageName_; + std::string stageId_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISTAGERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsRequest.h new file mode 100644 index 000000000..21c70d7bc --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICCONTROLSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICCONTROLSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiTrafficControlsRequest : public RpcServiceRequest + { + + public: + DescribeApiTrafficControlsRequest(); + ~DescribeApiTrafficControlsRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICCONTROLSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsResult.h new file mode 100644 index 000000000..50e38f934 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficControlsResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICCONTROLSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICCONTROLSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiTrafficControlsResult : public ServiceResult + { + public: + struct ApiTrafficControlItem + { + std::string apiName; + std::string boundTime; + std::string trafficControlName; + std::string trafficControlId; + std::string apiId; + }; + + + DescribeApiTrafficControlsResult(); + explicit DescribeApiTrafficControlsResult(const std::string &payload); + ~DescribeApiTrafficControlsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApiTrafficControls()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apiTrafficControls_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICCONTROLSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataRequest.h new file mode 100644 index 000000000..e891dad08 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiTrafficDataRequest : public RpcServiceRequest + { + + public: + DescribeApiTrafficDataRequest(); + ~DescribeApiTrafficDataRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string endTime_; + std::string startTime_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataResult.h new file mode 100644 index 000000000..e9ae22f6a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApiTrafficDataResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICDATARESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApiTrafficDataResult : public ServiceResult + { + public: + struct MonitorItem + { + std::string itemValue; + std::string itemTime; + }; + + + DescribeApiTrafficDataResult(); + explicit DescribeApiTrafficDataResult(const std::string &payload); + ~DescribeApiTrafficDataResult(); + std::vector getCallUploads()const; + std::vector getCallDownloads()const; + + protected: + void parse(const std::string &payload); + private: + std::vector callUploads_; + std::vector callDownloads_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPITRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppRequest.h new file mode 100644 index 000000000..c8f60a4b3 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYAPPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYAPPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisByAppRequest : public RpcServiceRequest + { + + public: + DescribeApisByAppRequest(); + ~DescribeApisByAppRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long appId_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYAPPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppResult.h new file mode 100644 index 000000000..c11308312 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByAppResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYAPPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisByAppResult : public ServiceResult + { + public: + struct AppApiRelationInfo + { + std::string groupName; + std::string description; + std::string createdTime; + std::string stageName; + std::string apiName; + std::string authorizationSource; + std::string _operator; + std::string regionId; + std::string apiId; + std::string groupId; + }; + + + DescribeApisByAppResult(); + explicit DescribeApisByAppResult(const std::string &payload); + ~DescribeApisByAppResult(); + std::vector getAppApiRelationInfos()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector appApiRelationInfos_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYAPPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlRequest.h new file mode 100644 index 000000000..9db655f19 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYIPCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYIPCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisByIpControlRequest : public RpcServiceRequest + { + + public: + DescribeApisByIpControlRequest(); + ~DescribeApisByIpControlRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ipControlId_; + std::string securityToken_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYIPCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlResult.h new file mode 100644 index 000000000..c84ddc9af --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByIpControlResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYIPCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYIPCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisByIpControlResult : public ServiceResult + { + public: + struct ApiInfo + { + std::string groupName; + std::string description; + std::string stageName; + std::string apiName; + std::string boundTime; + std::string visibility; + std::string regionId; + std::string apiId; + std::string groupId; + }; + + + DescribeApisByIpControlResult(); + explicit DescribeApisByIpControlResult(const std::string &payload); + ~DescribeApisByIpControlResult(); + std::vector getApiInfos()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector apiInfos_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYIPCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureRequest.h new file mode 100644 index 000000000..3b1d40ff0 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYSIGNATUREREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYSIGNATUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisBySignatureRequest : public RpcServiceRequest + { + + public: + DescribeApisBySignatureRequest(); + ~DescribeApisBySignatureRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSignatureId()const; + void setSignatureId(const std::string& signatureId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + int pageSize_; + std::string signatureId_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYSIGNATUREREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureResult.h new file mode 100644 index 000000000..8c7d7409d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisBySignatureResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYSIGNATURERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYSIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisBySignatureResult : public ServiceResult + { + public: + struct ApiInfo + { + std::string groupName; + std::string description; + std::string stageName; + std::string apiName; + std::string boundTime; + std::string visibility; + std::string regionId; + std::string apiId; + std::string groupId; + }; + + + DescribeApisBySignatureResult(); + explicit DescribeApisBySignatureResult(const std::string &payload); + ~DescribeApisBySignatureResult(); + std::vector getApiInfos()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector apiInfos_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYSIGNATURERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlRequest.h new file mode 100644 index 000000000..387d86964 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYTRAFFICCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYTRAFFICCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisByTrafficControlRequest : public RpcServiceRequest + { + + public: + DescribeApisByTrafficControlRequest(); + ~DescribeApisByTrafficControlRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string trafficControlId_; + std::string securityToken_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYTRAFFICCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlResult.h new file mode 100644 index 000000000..24adf36d7 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisByTrafficControlResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYTRAFFICCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYTRAFFICCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisByTrafficControlResult : public ServiceResult + { + public: + struct ApiInfo + { + std::string groupName; + std::string description; + std::string stageName; + std::string apiName; + std::string boundTime; + std::string visibility; + std::string regionId; + std::string apiId; + std::string groupId; + }; + + + DescribeApisByTrafficControlResult(); + explicit DescribeApisByTrafficControlResult(const std::string &payload); + ~DescribeApisByTrafficControlResult(); + std::vector getApiInfos()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector apiInfos_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISBYTRAFFICCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisRequest.h new file mode 100644 index 000000000..78bbd37ab --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisRequest : public RpcServiceRequest + { + + public: + DescribeApisRequest(); + ~DescribeApisRequest(); + + std::string getApiName()const; + void setApiName(const std::string& apiName); + std::string getCatalogId()const; + void setCatalogId(const std::string& catalogId); + std::string getVisibility()const; + void setVisibility(const std::string& visibility); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getApiId()const; + void setApiId(const std::string& apiId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string apiName_; + std::string catalogId_; + std::string visibility_; + std::string securityToken_; + std::string groupId_; + int pageSize_; + std::string apiId_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisResult.h new file mode 100644 index 000000000..8cee2b8e8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeApisResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeApisResult : public ServiceResult + { + public: + struct ApiSummary + { + std::string groupName; + std::string description; + std::string createdTime; + std::string modifiedTime; + std::string apiName; + std::string visibility; + std::string regionId; + std::string apiId; + std::string groupId; + }; + + + DescribeApisResult(); + explicit DescribeApisResult(const std::string &payload); + ~DescribeApisResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApiSummarys()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apiSummarys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesRequest.h new file mode 100644 index 000000000..1233913ae --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPPATTRIBUTESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPATTRIBUTESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppAttributesRequest : public RpcServiceRequest + { + struct Tag + { + std::string value; + std::string key; + }; + + public: + DescribeAppAttributesRequest(); + ~DescribeAppAttributesRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + int getPageSize()const; + void setPageSize(int pageSize); + std::vector getTag()const; + void setTag(const std::vector& tag); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + long appId_; + int pageSize_; + std::vector tag_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPATTRIBUTESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesResult.h new file mode 100644 index 000000000..90b8f9994 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppAttributesResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPATTRIBUTESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPATTRIBUTESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppAttributesResult : public ServiceResult + { + public: + struct AppAttribute + { + std::string description; + std::string createdTime; + long appId; + std::string modifiedTime; + std::string appName; + }; + + + DescribeAppAttributesResult(); + explicit DescribeAppAttributesResult(const std::string &payload); + ~DescribeAppAttributesResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApps()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apps_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPATTRIBUTESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppRequest.h new file mode 100644 index 000000000..fcc363d44 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppRequest : public RpcServiceRequest + { + + public: + DescribeAppRequest(); + ~DescribeAppRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long appId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppResult.h new file mode 100644 index 000000000..d5e6405d3 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppResult : public ServiceResult + { + public: + + + DescribeAppResult(); + explicit DescribeAppResult(const std::string &payload); + ~DescribeAppResult(); + std::string getDescription()const; + std::string getCreatedTime()const; + long getAppId()const; + std::string getModifiedTime()const; + std::string getAppName()const; + + protected: + void parse(const std::string &payload); + private: + std::string description_; + std::string createdTime_; + long appId_; + std::string modifiedTime_; + std::string appName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityRequest.h new file mode 100644 index 000000000..2da2b10de --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityRequest.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSECURITYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSECURITYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppSecurityRequest : public RpcServiceRequest + { + struct Tag + { + std::string value; + std::string key; + }; + + public: + DescribeAppSecurityRequest(); + ~DescribeAppSecurityRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + std::vector getTag()const; + void setTag(const std::vector& tag); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long appId_; + std::vector tag_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSECURITYREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityResult.h new file mode 100644 index 000000000..df7773311 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppSecurityResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSECURITYRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSECURITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppSecurityResult : public ServiceResult + { + public: + + + DescribeAppSecurityResult(); + explicit DescribeAppSecurityResult(const std::string &payload); + ~DescribeAppSecurityResult(); + std::string getAppCode()const; + std::string getCreatedTime()const; + std::string getModifiedTime()const; + std::string getAppKey()const; + std::string getAppSecret()const; + + protected: + void parse(const std::string &payload); + private: + std::string appCode_; + std::string createdTime_; + std::string modifiedTime_; + std::string appKey_; + std::string appSecret_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSECURITYRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsRequest.h new file mode 100644 index 000000000..5f2c300ff --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPPSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppsRequest : public RpcServiceRequest + { + + public: + DescribeAppsRequest(); + ~DescribeAppsRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + int getPageSize()const; + void setPageSize(int pageSize); + long getAppOwner()const; + void setAppOwner(long appOwner); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long appId_; + int pageSize_; + long appOwner_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsResult.h new file mode 100644 index 000000000..2282a3f25 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAppsResult.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAPPSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAppsResult : public ServiceResult + { + public: + struct AppItem + { + std::string description; + long appId; + std::string appName; + }; + + + DescribeAppsResult(); + explicit DescribeAppsResult(const std::string &payload); + ~DescribeAppsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApps()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apps_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAPPSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisRequest.h new file mode 100644 index 000000000..8555b3815 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAuthorizedApisRequest : public RpcServiceRequest + { + + public: + DescribeAuthorizedApisRequest(); + ~DescribeAuthorizedApisRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long appId_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisResult.h new file mode 100644 index 000000000..b0009756e --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedApisResult.h @@ -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_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAuthorizedApisResult : public ServiceResult + { + public: + struct AuthorizedApi + { + std::string groupName; + std::string description; + std::string stageName; + std::string apiName; + std::string authVaildTime; + std::string authorizationSource; + std::string authorizedTime; + std::string _operator; + std::string regionId; + std::string apiId; + std::string groupId; + }; + + + DescribeAuthorizedApisResult(); + explicit DescribeAuthorizedApisResult(const std::string &payload); + ~DescribeAuthorizedApisResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getAuthorizedApis()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector authorizedApis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsRequest.h new file mode 100644 index 000000000..5d7adc0ee --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPPSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAuthorizedAppsRequest : public RpcServiceRequest + { + + public: + DescribeAuthorizedAppsRequest(); + ~DescribeAuthorizedAppsRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getAppId()const; + void setAppId(long appId); + long getAppOwnerId()const; + void setAppOwnerId(long appOwnerId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getApiId()const; + void setApiId(const std::string& apiId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string appName_; + std::string securityToken_; + std::string groupId_; + long appId_; + long appOwnerId_; + int pageSize_; + std::string apiId_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPPSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsResult.h new file mode 100644 index 000000000..933b3622b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeAuthorizedAppsResult.h @@ -0,0 +1,68 @@ +/* + * 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_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPPSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeAuthorizedAppsResult : public ServiceResult + { + public: + struct AuthorizedApp + { + std::string description; + long appId; + std::string stageName; + std::string authVaildTime; + std::string authorizationSource; + std::string authorizedTime; + std::string _operator; + std::string appName; + }; + + + DescribeAuthorizedAppsResult(); + explicit DescribeAuthorizedAppsResult(const std::string &payload); + ~DescribeAuthorizedAppsResult(); + int getTotalCount()const; + int getPageSize()const; + std::vector getAuthorizedApps()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + std::vector authorizedApps_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEAUTHORIZEDAPPSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiRequest.h new file mode 100644 index 000000000..188bf30b4 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDeployedApiRequest : public RpcServiceRequest + { + + public: + DescribeDeployedApiRequest(); + ~DescribeDeployedApiRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiResult.h new file mode 100644 index 000000000..0483a8e2c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApiResult.h @@ -0,0 +1,226 @@ +/* + * 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_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDeployedApiResult : public ServiceResult + { + public: + struct RequestConfig + { + std::string requestPath; + std::string requestMode; + std::string bodyModel; + std::string requestProtocol; + std::string requestHttpMethod; + std::string postBodyDescription; + std::string bodyFormat; + }; + struct ServiceConfig + { + struct VpcConfig + { + std::string vpcId; + std::string instanceId; + int port; + std::string name; + }; + struct FunctionComputeConfig + { + std::string functionName; + std::string serviceName; + std::string regionId; + std::string roleArn; + }; + struct MockHeader + { + std::string headerValue; + std::string headerName; + }; + std::string serviceAddress; + FunctionComputeConfig functionComputeConfig; + std::string mockResult; + VpcConfig vpcConfig; + std::string serviceVpcEnable; + int serviceTimeout; + int mockStatusCode; + std::vector mockHeaders; + std::string serviceProtocol; + std::string serviceHttpMethod; + std::string servicePath; + std::string mock; + }; + struct OpenIdConnectConfig + { + std::string openIdApiType; + std::string publicKey; + std::string idTokenParamName; + std::string publicKeyId; + }; + struct ErrorCodeSample + { + std::string description; + std::string message; + std::string code; + }; + struct ResultDescription + { + std::string type; + std::string description; + std::string pid; + std::string id; + bool hasChild; + std::string key; + std::string name; + bool mandatory; + }; + struct SystemParameter + { + std::string demoValue; + std::string description; + std::string parameterName; + std::string serviceParameterName; + std::string location; + }; + struct CustomSystemParameter + { + std::string demoValue; + std::string description; + std::string parameterName; + std::string serviceParameterName; + std::string location; + }; + struct ConstantParameter + { + std::string description; + std::string constantValue; + std::string serviceParameterName; + std::string location; + }; + struct RequestParameter + { + std::string regularExpression; + std::string parameterType; + std::string jsonScheme; + std::string description; + std::string apiParameterName; + std::string enumValue; + long minLength; + long maxValue; + long maxLength; + std::string demoValue; + std::string defaultValue; + std::string required; + int docOrder; + long minValue; + std::string docShow; + std::string location; + }; + struct ServiceParameter + { + std::string parameterType; + std::string serviceParameterName; + std::string location; + }; + struct ServiceParameterMap + { + std::string requestParameterName; + std::string serviceParameterName; + }; + + + DescribeDeployedApiResult(); + explicit DescribeDeployedApiResult(const std::string &payload); + ~DescribeDeployedApiResult(); + std::string getGroupName()const; + std::string getDescription()const; + bool getForceNonceCheck()const; + std::string getAllowSignatureMethod()const; + std::vector getErrorCodeSamples()const; + std::vector getRequestParameters()const; + std::vector getServiceParametersMap()const; + std::string getResultBodyModel()const; + ServiceConfig getServiceConfig()const; + std::vector getConstantParameters()const; + std::vector getResultDescriptions()const; + OpenIdConnectConfig getOpenIdConnectConfig()const; + std::string getAuthType()const; + RequestConfig getRequestConfig()const; + std::string getResultSample()const; + bool getDisableInternet()const; + std::string getStageName()const; + std::string getApiName()const; + std::string getResultType()const; + std::string getFailResultSample()const; + std::vector getCustomSystemParameters()const; + std::string getGroupId()const; + std::string getDeployedTime()const; + std::vector getSystemParameters()const; + std::string getVisibility()const; + std::vector getServiceParameters()const; + std::string getRegionId()const; + std::string getApiId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string description_; + bool forceNonceCheck_; + std::string allowSignatureMethod_; + std::vector errorCodeSamples_; + std::vector requestParameters_; + std::vector serviceParametersMap_; + std::string resultBodyModel_; + ServiceConfig serviceConfig_; + std::vector constantParameters_; + std::vector resultDescriptions_; + OpenIdConnectConfig openIdConnectConfig_; + std::string authType_; + RequestConfig requestConfig_; + std::string resultSample_; + bool disableInternet_; + std::string stageName_; + std::string apiName_; + std::string resultType_; + std::string failResultSample_; + std::vector customSystemParameters_; + std::string groupId_; + std::string deployedTime_; + std::vector systemParameters_; + std::string visibility_; + std::vector serviceParameters_; + std::string regionId_; + std::string apiId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisRequest.h new file mode 100644 index 000000000..6718a6f9d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDeployedApisRequest : public RpcServiceRequest + { + + public: + DescribeDeployedApisRequest(); + ~DescribeDeployedApisRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getApiName()const; + void setApiName(const std::string& apiName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getApiId()const; + void setApiId(const std::string& apiId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string apiName_; + std::string securityToken_; + std::string groupId_; + int pageSize_; + std::string apiId_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisResult.h new file mode 100644 index 000000000..10d6fc1fa --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDeployedApisResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDeployedApisResult : public ServiceResult + { + public: + struct DeployedApiItem + { + std::string groupName; + std::string deployedTime; + std::string description; + std::string apiName; + std::string stageName; + std::string visibility; + std::string regionId; + std::string apiId; + std::string groupId; + }; + + + DescribeDeployedApisResult(); + explicit DescribeDeployedApisResult(const std::string &payload); + ~DescribeDeployedApisResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getDeployedApis()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector deployedApis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDEPLOYEDAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainRequest.h new file mode 100644 index 000000000..9a6579ce5 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDomainRequest : public RpcServiceRequest + { + + public: + DescribeDomainRequest(); + ~DescribeDomainRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string domainName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainResult.h new file mode 100644 index 000000000..15400a183 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDomainResult : public ServiceResult + { + public: + + + DescribeDomainResult(); + explicit DescribeDomainResult(const std::string &payload); + ~DescribeDomainResult(); + std::string getSubDomain()const; + std::string getCertificateBody()const; + std::string getDomainCNAMEStatus()const; + std::string getDomainRemark()const; + std::string getDomainBindingStatus()const; + std::string getDomainLegalStatus()const; + std::string getDomainName()const; + std::string getCertificateId()const; + std::string getDomainWebSocketStatus()const; + std::string getCertificatePrivateKey()const; + std::string getCertificateName()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string subDomain_; + std::string certificateBody_; + std::string domainCNAMEStatus_; + std::string domainRemark_; + std::string domainBindingStatus_; + std::string domainLegalStatus_; + std::string domainName_; + std::string certificateId_; + std::string domainWebSocketStatus_; + std::string certificatePrivateKey_; + std::string certificateName_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionRequest.h new file mode 100644 index 000000000..b76e7fa6d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINSRESOLUTIONREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINSRESOLUTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDomainsResolutionRequest : public RpcServiceRequest + { + + public: + DescribeDomainsResolutionRequest(); + ~DescribeDomainsResolutionRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getDomainNames()const; + void setDomainNames(const std::string& domainNames); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string domainNames_; + std::string groupId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINSRESOLUTIONREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionResult.h new file mode 100644 index 000000000..110796ad6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeDomainsResolutionResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINSRESOLUTIONRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINSRESOLUTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeDomainsResolutionResult : public ServiceResult + { + public: + struct DomainResolution + { + std::string domainResolutionStatus; + std::string domainName; + }; + + + DescribeDomainsResolutionResult(); + explicit DescribeDomainsResolutionResult(const std::string &payload); + ~DescribeDomainsResolutionResult(); + std::vector getDomainResolutions()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainResolutions_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEDOMAINSRESOLUTIONRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisRequest.h new file mode 100644 index 000000000..3600ed000 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEHISTORYAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEHISTORYAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeHistoryApisRequest : public RpcServiceRequest + { + + public: + DescribeHistoryApisRequest(); + ~DescribeHistoryApisRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getApiName()const; + void setApiName(const std::string& apiName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getPageNumber()const; + void setPageNumber(const std::string& pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string apiName_; + std::string securityToken_; + std::string groupId_; + std::string pageSize_; + std::string apiId_; + std::string pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEHISTORYAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisResult.h new file mode 100644 index 000000000..ac1b4a1e2 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeHistoryApisResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEHISTORYAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEHISTORYAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeHistoryApisResult : public ServiceResult + { + public: + struct ApiHisItem + { + std::string groupName; + std::string status; + std::string deployedTime; + std::string description; + std::string apiName; + std::string stageName; + std::string regionId; + std::string apiId; + std::string historyVersion; + std::string groupId; + }; + + + DescribeHistoryApisResult(); + explicit DescribeHistoryApisResult(const std::string &payload); + ~DescribeHistoryApisResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getApiHisItems()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector apiHisItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEHISTORYAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsRequest.h new file mode 100644 index 000000000..dd022f5d5 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBEIPCONTROLPOLICYITEMSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLPOLICYITEMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeIpControlPolicyItemsRequest : public RpcServiceRequest + { + + public: + DescribeIpControlPolicyItemsRequest(); + ~DescribeIpControlPolicyItemsRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getPolicyItemId()const; + void setPolicyItemId(const std::string& policyItemId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ipControlId_; + std::string policyItemId_; + std::string securityToken_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLPOLICYITEMSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsResult.h new file mode 100644 index 000000000..a3e1b6b85 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlPolicyItemsResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLPOLICYITEMSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLPOLICYITEMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeIpControlPolicyItemsResult : public ServiceResult + { + public: + struct IpControlPolicyItem + { + std::string cidrIp; + std::string appId; + std::string policyItemId; + std::string modifiedTime; + std::string createTime; + }; + + + DescribeIpControlPolicyItemsResult(); + explicit DescribeIpControlPolicyItemsResult(const std::string &payload); + ~DescribeIpControlPolicyItemsResult(); + int getTotalCount()const; + int getPageSize()const; + std::vector getIpControlPolicyItems()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + std::vector ipControlPolicyItems_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLPOLICYITEMSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsRequest.h new file mode 100644 index 000000000..b870fc275 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeIpControlsRequest : public RpcServiceRequest + { + + public: + DescribeIpControlsRequest(); + ~DescribeIpControlsRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getIpControlName()const; + void setIpControlName(const std::string& ipControlName); + std::string getIpControlType()const; + void setIpControlType(const std::string& ipControlType); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ipControlId_; + std::string securityToken_; + std::string ipControlName_; + std::string ipControlType_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsResult.h new file mode 100644 index 000000000..f4875f1f0 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeIpControlsResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeIpControlsResult : public ServiceResult + { + public: + struct IpControlInfo + { + std::string ipControlType; + std::string description; + std::string modifiedTime; + std::string createTime; + std::string regionId; + std::string ipControlName; + std::string ipControlId; + }; + + + DescribeIpControlsResult(); + explicit DescribeIpControlsResult(const std::string &payload); + ~DescribeIpControlsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getIpControlInfos()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector ipControlInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEIPCONTROLSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigRequest.h new file mode 100644 index 000000000..7459a7a53 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBELOGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBELOGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeLogConfigRequest : public RpcServiceRequest + { + + public: + DescribeLogConfigRequest(); + ~DescribeLogConfigRequest(); + + std::string getLogType()const; + void setLogType(const std::string& logType); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string logType_; + std::string securityToken_; + std::string regionId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBELOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigResult.h new file mode 100644 index 000000000..1bfc8c2bc --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeLogConfigResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBELOGCONFIGRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBELOGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeLogConfigResult : public ServiceResult + { + public: + struct LogInfo + { + std::string slsLogStore; + std::string slsProject; + std::string logType; + std::string regionId; + }; + + + DescribeLogConfigResult(); + explicit DescribeLogConfigResult(const std::string &payload); + ~DescribeLogConfigResult(); + std::vector getLogInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector logInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBELOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupRequest.h new file mode 100644 index 000000000..d5f69a9c8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePurchasedApiGroupRequest : public RpcServiceRequest + { + + public: + DescribePurchasedApiGroupRequest(); + ~DescribePurchasedApiGroupRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupResult.h new file mode 100644 index 000000000..fb5f5e6b6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePurchasedApiGroupResult : public ServiceResult + { + public: + struct DomainItem + { + std::string domainName; + }; + + + DescribePurchasedApiGroupResult(); + explicit DescribePurchasedApiGroupResult(const std::string &payload); + ~DescribePurchasedApiGroupResult(); + std::vector getDomains()const; + std::string getGroupName()const; + std::string getStatus()const; + std::string getDescription()const; + std::string getRegionId()const; + std::string getGroupId()const; + std::string getPurchasedTime()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + std::string groupName_; + std::string status_; + std::string description_; + std::string regionId_; + std::string groupId_; + std::string purchasedTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsRequest.h new file mode 100644 index 000000000..88ae670e5 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePurchasedApiGroupsRequest : public RpcServiceRequest + { + + public: + DescribePurchasedApiGroupsRequest(); + ~DescribePurchasedApiGroupsRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsResult.h new file mode 100644 index 000000000..eca6cf6b8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApiGroupsResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePurchasedApiGroupsResult : public ServiceResult + { + public: + struct PurchasedApiGroupAttribute + { + std::string groupName; + std::string status; + std::string description; + long invokeTimesNow; + long invokeTimesMax; + std::string regionId; + std::string expireTime; + std::string groupId; + std::string purchasedTime; + std::string billingType; + }; + + + DescribePurchasedApiGroupsResult(); + explicit DescribePurchasedApiGroupsResult(const std::string &payload); + ~DescribePurchasedApiGroupsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getPurchasedApiGroupAttributes()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector purchasedApiGroupAttributes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPIGROUPSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisRequest.h new file mode 100644 index 000000000..b1d7422bc --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePurchasedApisRequest : public RpcServiceRequest + { + + public: + DescribePurchasedApisRequest(); + ~DescribePurchasedApisRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getApiName()const; + void setApiName(const std::string& apiName); + std::string getVisibility()const; + void setVisibility(const std::string& visibility); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getApiId()const; + void setApiId(const std::string& apiId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string apiName_; + std::string visibility_; + std::string securityToken_; + std::string groupId_; + int pageSize_; + std::string apiId_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisResult.h new file mode 100644 index 000000000..9d0d3902a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribePurchasedApisResult.h @@ -0,0 +1,68 @@ +/* + * 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_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePurchasedApisResult : public ServiceResult + { + public: + struct PurchasedApi + { + std::string groupName; + std::string description; + std::string apiName; + std::string stageName; + std::string regionId; + std::string apiId; + std::string groupId; + std::string purchasedTime; + }; + + + DescribePurchasedApisResult(); + explicit DescribePurchasedApisResult(const std::string &payload); + ~DescribePurchasedApisResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getPurchasedApis()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector purchasedApis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPURCHASEDAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsRequest.h new file mode 100644 index 000000000..3366ea819 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEREGIONSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEREGIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeRegionsRequest : public RpcServiceRequest + { + + public: + DescribeRegionsRequest(); + ~DescribeRegionsRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getLanguage()const; + void setLanguage(const std::string& language); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string language_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEREGIONSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsResult.h new file mode 100644 index 000000000..bfe017f83 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeRegionsResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEREGIONSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEREGIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeRegionsResult : public ServiceResult + { + public: + struct Region + { + std::string regionId; + std::string regionEndpoint; + std::string localName; + }; + + + DescribeRegionsResult(); + explicit DescribeRegionsResult(const std::string &payload); + ~DescribeRegionsResult(); + std::vector getRegions()const; + + protected: + void parse(const std::string &payload); + private: + std::vector regions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEREGIONSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiRequest.h new file mode 100644 index 000000000..9b7104ad2 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESBYAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESBYAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeSignaturesByApiRequest : public RpcServiceRequest + { + + public: + DescribeSignaturesByApiRequest(); + ~DescribeSignaturesByApiRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESBYAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiResult.h new file mode 100644 index 000000000..8360fd8cf --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesByApiResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESBYAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESBYAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeSignaturesByApiResult : public ServiceResult + { + public: + struct SignatureItem + { + std::string signatureId; + std::string signatureName; + std::string boundTime; + }; + + + DescribeSignaturesByApiResult(); + explicit DescribeSignaturesByApiResult(const std::string &payload); + ~DescribeSignaturesByApiResult(); + std::vector getSignatures()const; + + protected: + void parse(const std::string &payload); + private: + std::vector signatures_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESBYAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesRequest.h new file mode 100644 index 000000000..c251256c2 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesRequest.h @@ -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_CLOUDAPI_MODEL_DESCRIBESIGNATURESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeSignaturesRequest : public RpcServiceRequest + { + + public: + DescribeSignaturesRequest(); + ~DescribeSignaturesRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getSignatureName()const; + void setSignatureName(const std::string& signatureName); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSignatureId()const; + void setSignatureId(const std::string& signatureId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string signatureName_; + int pageSize_; + std::string signatureId_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesResult.h new file mode 100644 index 000000000..d06956028 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSignaturesResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeSignaturesResult : public ServiceResult + { + public: + struct SignatureInfo + { + std::string signatureId; + std::string signatureSecret; + std::string createdTime; + std::string modifiedTime; + std::string signatureName; + std::string regionId; + std::string signatureKey; + }; + + + DescribeSignaturesResult(); + explicit DescribeSignaturesResult(const std::string &payload); + ~DescribeSignaturesResult(); + std::vector getSignatureInfos()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector signatureInfos_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESIGNATURESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersRequest.h new file mode 100644 index 000000000..4d0be5e87 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESYSTEMPARAMETERSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESYSTEMPARAMETERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeSystemParametersRequest : public RpcServiceRequest + { + + public: + DescribeSystemParametersRequest(); + ~DescribeSystemParametersRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESYSTEMPARAMETERSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersResult.h new file mode 100644 index 000000000..ca7d63bee --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeSystemParametersResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESYSTEMPARAMETERSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESYSTEMPARAMETERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeSystemParametersResult : public ServiceResult + { + public: + struct SystemParamItem + { + std::string demoValue; + std::string description; + std::string paramName; + std::string paramType; + }; + + + DescribeSystemParametersResult(); + explicit DescribeSystemParametersResult(const std::string &payload); + ~DescribeSystemParametersResult(); + std::vector getSystemParams()const; + + protected: + void parse(const std::string &payload); + private: + std::vector systemParams_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBESYSTEMPARAMETERSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiRequest.h new file mode 100644 index 000000000..de77155bd --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSBYAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSBYAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeTrafficControlsByApiRequest : public RpcServiceRequest + { + + public: + DescribeTrafficControlsByApiRequest(); + ~DescribeTrafficControlsByApiRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSBYAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiResult.h new file mode 100644 index 000000000..1510ec30c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsByApiResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSBYAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSBYAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeTrafficControlsByApiResult : public ServiceResult + { + public: + struct TrafficControlItem + { + std::string trafficControlItemId; + std::string boundTime; + std::string trafficControlItemName; + }; + + + DescribeTrafficControlsByApiResult(); + explicit DescribeTrafficControlsByApiResult(const std::string &payload); + ~DescribeTrafficControlsByApiResult(); + std::vector getTrafficControlItems()const; + + protected: + void parse(const std::string &payload); + private: + std::vector trafficControlItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSBYAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsRequest.h new file mode 100644 index 000000000..2e8ef5468 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeTrafficControlsRequest : public RpcServiceRequest + { + + public: + DescribeTrafficControlsRequest(); + ~DescribeTrafficControlsRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getTrafficControlName()const; + void setTrafficControlName(const std::string& trafficControlName); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getApiId()const; + void setApiId(const std::string& apiId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string trafficControlId_; + std::string stageName_; + std::string securityToken_; + std::string trafficControlName_; + std::string groupId_; + int pageSize_; + std::string apiId_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsResult.h new file mode 100644 index 000000000..7ca8e33a9 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeTrafficControlsResult.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeTrafficControlsResult : public ServiceResult + { + public: + struct TrafficControl + { + struct SpecialPolicy + { + struct Special + { + std::string specialKey; + int trafficValue; + }; + std::vector specials; + std::string specialType; + }; + std::string description; + std::string createdTime; + std::string trafficControlUnit; + std::string modifiedTime; + std::string trafficControlName; + int appDefault; + int apiDefault; + int userDefault; + std::vector specialPolicies; + std::string trafficControlId; + }; + + + DescribeTrafficControlsResult(); + explicit DescribeTrafficControlsResult(const std::string &payload); + ~DescribeTrafficControlsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getTrafficControls()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector trafficControls_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBETRAFFICCONTROLSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesRequest.h new file mode 100644 index 000000000..f4f519237 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEVPCACCESSESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEVPCACCESSESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeVpcAccessesRequest : public RpcServiceRequest + { + + public: + DescribeVpcAccessesRequest(); + ~DescribeVpcAccessesRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + int pageSize_; + int pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEVPCACCESSESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesResult.h new file mode 100644 index 000000000..38041ab85 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/DescribeVpcAccessesResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEVPCACCESSESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEVPCACCESSESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT DescribeVpcAccessesResult : public ServiceResult + { + public: + struct VpcAccessAttribute + { + std::string createdTime; + std::string vpcId; + std::string instanceId; + int port; + std::string regionId; + std::string name; + }; + + + DescribeVpcAccessesResult(); + explicit DescribeVpcAccessesResult(const std::string &payload); + ~DescribeVpcAccessesResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getVpcAccessAttributes()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector vpcAccessAttributes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEVPCACCESSESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerRequest.h new file mode 100644 index 000000000..c77f2bf83 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_IMPORTSWAGGERREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_IMPORTSWAGGERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ImportSwaggerRequest : public RpcServiceRequest + { + + public: + ImportSwaggerRequest(); + ~ImportSwaggerRequest(); + + std::string getDataFormat()const; + void setDataFormat(const std::string& dataFormat); + std::string getData()const; + void setData(const std::string& data); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + bool getOverwrite()const; + void setOverwrite(bool overwrite); + + private: + std::string dataFormat_; + std::string data_; + std::string groupId_; + bool overwrite_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_IMPORTSWAGGERREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerResult.h new file mode 100644 index 000000000..08a0206bc --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ImportSwaggerResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_IMPORTSWAGGERRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_IMPORTSWAGGERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ImportSwaggerResult : public ServiceResult + { + public: + struct ApiImportSwaggerSuccess + { + std::string path; + std::string apiUid; + std::string apiOperation; + std::string httpMethod; + }; + struct ApiImportSwaggerFailed + { + std::string path; + std::string errorMsg; + std::string httpMethod; + }; + + + ImportSwaggerResult(); + explicit ImportSwaggerResult(const std::string &payload); + ~ImportSwaggerResult(); + std::vector getFailed()const; + std::vector getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector failed_; + std::vector success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_IMPORTSWAGGERRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesRequest.h new file mode 100644 index 000000000..20f23d04a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesRequest.h @@ -0,0 +1,68 @@ +/* + * 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_CLOUDAPI_MODEL_LISTTAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_LISTTAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ListTagResourcesRequest : public RpcServiceRequest + { + struct Tag + { + std::string value; + std::string key; + }; + + public: + ListTagResourcesRequest(); + ~ListTagResourcesRequest(); + + std::vector getResourceId()const; + void setResourceId(const std::vector& resourceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getNextToken()const; + void setNextToken(const std::string& nextToken); + std::vector getTag()const; + void setTag(const std::vector& tag); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::vector resourceId_; + std::string securityToken_; + std::string nextToken_; + std::vector tag_; + std::string resourceType_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_LISTTAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesResult.h new file mode 100644 index 000000000..2a8e51cf5 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ListTagResourcesResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_LISTTAGRESOURCESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_LISTTAGRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_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 getTagResources()const; + + protected: + void parse(const std::string &payload); + private: + std::string nextToken_; + std::vector tagResources_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_LISTTAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupRequest.h new file mode 100644 index 000000000..bbfb17f9a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyApiGroupRequest : public RpcServiceRequest + { + + public: + ModifyApiGroupRequest(); + ~ModifyApiGroupRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string description_; + std::string groupName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupResult.h new file mode 100644 index 000000000..45cbedcc4 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiGroupResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyApiGroupResult : public ServiceResult + { + public: + + + ModifyApiGroupResult(); + explicit ModifyApiGroupResult(const std::string &payload); + ~ModifyApiGroupResult(); + std::string getGroupName()const; + std::string getSubDomain()const; + std::string getDescription()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string subDomain_; + std::string description_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiRequest.h new file mode 100644 index 000000000..15fee63cd --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiRequest.h @@ -0,0 +1,126 @@ +/* + * 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_CLOUDAPI_MODEL_MODIFYAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyApiRequest : public RpcServiceRequest + { + + public: + ModifyApiRequest(); + ~ModifyApiRequest(); + + std::string getWebSocketApiType()const; + void setWebSocketApiType(const std::string& webSocketApiType); + std::string getErrorCodeSamples()const; + void setErrorCodeSamples(const std::string& errorCodeSamples); + std::string getAppCodeAuthType()const; + void setAppCodeAuthType(const std::string& appCodeAuthType); + std::string getDescription()const; + void setDescription(const std::string& description); + bool getDisableInternet()const; + void setDisableInternet(bool disableInternet); + std::string getConstantParameters()const; + void setConstantParameters(const std::string& constantParameters); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getAuthType()const; + void setAuthType(const std::string& authType); + std::string getAllowSignatureMethod()const; + void setAllowSignatureMethod(const std::string& allowSignatureMethod); + std::string getServiceParameters()const; + void setServiceParameters(const std::string& serviceParameters); + std::string getFailResultSample()const; + void setFailResultSample(const std::string& failResultSample); + std::string getSystemParameters()const; + void setSystemParameters(const std::string& systemParameters); + std::string getServiceParametersMap()const; + void setServiceParametersMap(const std::string& serviceParametersMap); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getOpenIdConnectConfig()const; + void setOpenIdConnectConfig(const std::string& openIdConnectConfig); + std::string getRequestParameters()const; + void setRequestParameters(const std::string& requestParameters); + std::string getResultDescriptions()const; + void setResultDescriptions(const std::string& resultDescriptions); + std::string getVisibility()const; + void setVisibility(const std::string& visibility); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getServiceConfig()const; + void setServiceConfig(const std::string& serviceConfig); + std::string getResultType()const; + void setResultType(const std::string& resultType); + std::string getApiName()const; + void setApiName(const std::string& apiName); + std::string getResultSample()const; + void setResultSample(const std::string& resultSample); + bool getForceNonceCheck()const; + void setForceNonceCheck(bool forceNonceCheck); + std::string getRequestConfig()const; + void setRequestConfig(const std::string& requestConfig); + std::string getResultBodyModel()const; + void setResultBodyModel(const std::string& resultBodyModel); + std::string getApiId()const; + void setApiId(const std::string& apiId); + + private: + std::string webSocketApiType_; + std::string errorCodeSamples_; + std::string appCodeAuthType_; + std::string description_; + bool disableInternet_; + std::string constantParameters_; + std::string accessKeyId_; + std::string authType_; + std::string allowSignatureMethod_; + std::string serviceParameters_; + std::string failResultSample_; + std::string systemParameters_; + std::string serviceParametersMap_; + std::string securityToken_; + std::string openIdConnectConfig_; + std::string requestParameters_; + std::string resultDescriptions_; + std::string visibility_; + std::string groupId_; + std::string serviceConfig_; + std::string resultType_; + std::string apiName_; + std::string resultSample_; + bool forceNonceCheck_; + std::string requestConfig_; + std::string resultBodyModel_; + std::string apiId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiResult.h new file mode 100644 index 000000000..65d1e1d0f --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyApiResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyApiResult : public ServiceResult + { + public: + + + ModifyApiResult(); + explicit ModifyApiResult(const std::string &payload); + ~ModifyApiResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyAppRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyAppRequest.h new file mode 100644 index 000000000..33db60512 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyAppRequest.h @@ -0,0 +1,68 @@ +/* + * 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_CLOUDAPI_MODEL_MODIFYAPPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyAppRequest : public RpcServiceRequest + { + struct Tag + { + std::string value; + std::string key; + }; + + public: + ModifyAppRequest(); + ~ModifyAppRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::vector getTag()const; + void setTag(const std::vector& tag); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string appName_; + std::string securityToken_; + long appId_; + std::string description_; + std::vector tag_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyAppResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyAppResult.h new file mode 100644 index 000000000..9836dafb3 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyAppResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyAppResult : public ServiceResult + { + public: + + + ModifyAppResult(); + explicit ModifyAppResult(const std::string &payload); + ~ModifyAppResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYAPPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemRequest.h new file mode 100644 index 000000000..9997d1968 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemRequest.h @@ -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_CLOUDAPI_MODEL_MODIFYIPCONTROLPOLICYITEMREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLPOLICYITEMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyIpControlPolicyItemRequest : public RpcServiceRequest + { + + public: + ModifyIpControlPolicyItemRequest(); + ~ModifyIpControlPolicyItemRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getPolicyItemId()const; + void setPolicyItemId(const std::string& policyItemId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAppId()const; + void setAppId(const std::string& appId); + std::string getCidrIp()const; + void setCidrIp(const std::string& cidrIp); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ipControlId_; + std::string policyItemId_; + std::string securityToken_; + std::string appId_; + std::string cidrIp_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLPOLICYITEMREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemResult.h new file mode 100644 index 000000000..58343e206 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlPolicyItemResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLPOLICYITEMRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLPOLICYITEMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyIpControlPolicyItemResult : public ServiceResult + { + public: + + + ModifyIpControlPolicyItemResult(); + explicit ModifyIpControlPolicyItemResult(const std::string &payload); + ~ModifyIpControlPolicyItemResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLPOLICYITEMRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlRequest.h new file mode 100644 index 000000000..c22c855f6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyIpControlRequest : public RpcServiceRequest + { + + public: + ModifyIpControlRequest(); + ~ModifyIpControlRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getIpControlName()const; + void setIpControlName(const std::string& ipControlName); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string ipControlId_; + std::string securityToken_; + std::string ipControlName_; + std::string description_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlResult.h new file mode 100644 index 000000000..36c68c66a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyIpControlResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyIpControlResult : public ServiceResult + { + public: + + + ModifyIpControlResult(); + explicit ModifyIpControlResult(const std::string &payload); + ~ModifyIpControlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYIPCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigRequest.h new file mode 100644 index 000000000..2b9a4d962 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigRequest.h @@ -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_CLOUDAPI_MODEL_MODIFYLOGCONFIGREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYLOGCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyLogConfigRequest : public RpcServiceRequest + { + + public: + ModifyLogConfigRequest(); + ~ModifyLogConfigRequest(); + + std::string getSlsLogStore()const; + void setSlsLogStore(const std::string& slsLogStore); + std::string getLogType()const; + void setLogType(const std::string& logType); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getSlsProject()const; + void setSlsProject(const std::string& slsProject); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string slsLogStore_; + std::string logType_; + std::string securityToken_; + std::string regionId_; + std::string slsProject_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYLOGCONFIGREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigResult.h new file mode 100644 index 000000000..b32c16a0c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyLogConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYLOGCONFIGRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYLOGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyLogConfigResult : public ServiceResult + { + public: + + + ModifyLogConfigResult(); + explicit ModifyLogConfigResult(const std::string &payload); + ~ModifyLogConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYLOGCONFIGRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureRequest.h new file mode 100644 index 000000000..d831b1e90 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureRequest.h @@ -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_CLOUDAPI_MODEL_MODIFYSIGNATUREREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYSIGNATUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifySignatureRequest : public RpcServiceRequest + { + + public: + ModifySignatureRequest(); + ~ModifySignatureRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getSignatureName()const; + void setSignatureName(const std::string& signatureName); + std::string getSignatureKey()const; + void setSignatureKey(const std::string& signatureKey); + std::string getSignatureId()const; + void setSignatureId(const std::string& signatureId); + std::string getSignatureSecret()const; + void setSignatureSecret(const std::string& signatureSecret); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string signatureName_; + std::string signatureKey_; + std::string signatureId_; + std::string signatureSecret_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYSIGNATUREREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureResult.h new file mode 100644 index 000000000..c4b824cae --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifySignatureResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYSIGNATURERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYSIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifySignatureResult : public ServiceResult + { + public: + + + ModifySignatureResult(); + explicit ModifySignatureResult(const std::string &payload); + ~ModifySignatureResult(); + std::string getSignatureId()const; + std::string getSignatureName()const; + + protected: + void parse(const std::string &payload); + private: + std::string signatureId_; + std::string signatureName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYSIGNATURERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlRequest.h new file mode 100644 index 000000000..0858a03ac --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYTRAFFICCONTROLREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYTRAFFICCONTROLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyTrafficControlRequest : public RpcServiceRequest + { + + public: + ModifyTrafficControlRequest(); + ~ModifyTrafficControlRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + int getApiDefault()const; + void setApiDefault(int apiDefault); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getTrafficControlName()const; + void setTrafficControlName(const std::string& trafficControlName); + std::string getTrafficControlUnit()const; + void setTrafficControlUnit(const std::string& trafficControlUnit); + std::string getDescription()const; + void setDescription(const std::string& description); + int getUserDefault()const; + void setUserDefault(int userDefault); + int getAppDefault()const; + void setAppDefault(int appDefault); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string trafficControlId_; + int apiDefault_; + std::string securityToken_; + std::string trafficControlName_; + std::string trafficControlUnit_; + std::string description_; + int userDefault_; + int appDefault_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYTRAFFICCONTROLREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlResult.h new file mode 100644 index 000000000..13a3b99d1 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ModifyTrafficControlResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYTRAFFICCONTROLRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYTRAFFICCONTROLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ModifyTrafficControlResult : public ServiceResult + { + public: + + + ModifyTrafficControlResult(); + explicit ModifyTrafficControlResult(const std::string &payload); + ~ModifyTrafficControlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_MODIFYTRAFFICCONTROLRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainRequest.h new file mode 100644 index 000000000..8b3210cb4 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REACTIVATEDOMAINREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REACTIVATEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ReactivateDomainRequest : public RpcServiceRequest + { + + public: + ReactivateDomainRequest(); + ~ReactivateDomainRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string domainName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REACTIVATEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainResult.h new file mode 100644 index 000000000..520626d61 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ReactivateDomainResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REACTIVATEDOMAINRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REACTIVATEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ReactivateDomainResult : public ServiceResult + { + public: + + + ReactivateDomainResult(); + explicit ReactivateDomainResult(const std::string &payload); + ~ReactivateDomainResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REACTIVATEDOMAINRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesRequest.h new file mode 100644 index 000000000..7e73778ea --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPISAUTHORITIESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPISAUTHORITIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveApisAuthoritiesRequest : public RpcServiceRequest + { + + public: + RemoveApisAuthoritiesRequest(); + ~RemoveApisAuthoritiesRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getAppId()const; + void setAppId(long appId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + long appId_; + std::string description_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPISAUTHORITIESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesResult.h new file mode 100644 index 000000000..053d157ad --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveApisAuthoritiesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPISAUTHORITIESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPISAUTHORITIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveApisAuthoritiesResult : public ServiceResult + { + public: + + + RemoveApisAuthoritiesResult(); + explicit RemoveApisAuthoritiesResult(const std::string &payload); + ~RemoveApisAuthoritiesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPISAUTHORITIESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesRequest.h new file mode 100644 index 000000000..355522dcf --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesRequest.h @@ -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_CLOUDAPI_MODEL_REMOVEAPPSAUTHORITIESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPPSAUTHORITIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveAppsAuthoritiesRequest : public RpcServiceRequest + { + + public: + RemoveAppsAuthoritiesRequest(); + ~RemoveAppsAuthoritiesRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getAppIds()const; + void setAppIds(const std::string& appIds); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string appIds_; + std::string securityToken_; + std::string groupId_; + std::string apiId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPPSAUTHORITIESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesResult.h new file mode 100644 index 000000000..a80cecb26 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveAppsAuthoritiesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPPSAUTHORITIESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPPSAUTHORITIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveAppsAuthoritiesResult : public ServiceResult + { + public: + + + RemoveAppsAuthoritiesResult(); + explicit RemoveAppsAuthoritiesResult(const std::string &payload); + ~RemoveAppsAuthoritiesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEAPPSAUTHORITIESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisRequest.h new file mode 100644 index 000000000..4699fe947 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisRequest.h @@ -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_CLOUDAPI_MODEL_REMOVEIPCONTROLAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveIpControlApisRequest : public RpcServiceRequest + { + + public: + RemoveIpControlApisRequest(); + ~RemoveIpControlApisRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string ipControlId_; + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisResult.h new file mode 100644 index 000000000..a548ea59b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlApisResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveIpControlApisResult : public ServiceResult + { + public: + + + RemoveIpControlApisResult(); + explicit RemoveIpControlApisResult(const std::string &payload); + ~RemoveIpControlApisResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemRequest.h new file mode 100644 index 000000000..2147a8030 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLPOLICYITEMREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLPOLICYITEMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveIpControlPolicyItemRequest : public RpcServiceRequest + { + + public: + RemoveIpControlPolicyItemRequest(); + ~RemoveIpControlPolicyItemRequest(); + + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getPolicyItemIds()const; + void setPolicyItemIds(const std::string& policyItemIds); + + private: + std::string ipControlId_; + std::string securityToken_; + std::string accessKeyId_; + std::string policyItemIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLPOLICYITEMREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemResult.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemResult.h new file mode 100644 index 000000000..5e62ff75b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveIpControlPolicyItemResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLPOLICYITEMRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLPOLICYITEMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveIpControlPolicyItemResult : public ServiceResult + { + public: + + + RemoveIpControlPolicyItemResult(); + explicit RemoveIpControlPolicyItemResult(const std::string &payload); + ~RemoveIpControlPolicyItemResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEIPCONTROLPOLICYITEMRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisRequest.h new file mode 100644 index 000000000..791a61376 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisRequest.h @@ -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_CLOUDAPI_MODEL_REMOVESIGNATUREAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVESIGNATUREAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveSignatureApisRequest : public RpcServiceRequest + { + + public: + RemoveSignatureApisRequest(); + ~RemoveSignatureApisRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getSignatureId()const; + void setSignatureId(const std::string& signatureId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string signatureId_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVESIGNATUREAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisResult.h new file mode 100644 index 000000000..0bdb872f6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveSignatureApisResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVESIGNATUREAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVESIGNATUREAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveSignatureApisResult : public ServiceResult + { + public: + + + RemoveSignatureApisResult(); + explicit RemoveSignatureApisResult(const std::string &payload); + ~RemoveSignatureApisResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVESIGNATUREAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisRequest.h new file mode 100644 index 000000000..ca6909b29 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisRequest.h @@ -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_CLOUDAPI_MODEL_REMOVETRAFFICCONTROLAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVETRAFFICCONTROLAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveTrafficControlApisRequest : public RpcServiceRequest + { + + public: + RemoveTrafficControlApisRequest(); + ~RemoveTrafficControlApisRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string trafficControlId_; + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVETRAFFICCONTROLAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisResult.h new file mode 100644 index 000000000..49391816e --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveTrafficControlApisResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVETRAFFICCONTROLAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVETRAFFICCONTROLAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveTrafficControlApisResult : public ServiceResult + { + public: + + + RemoveTrafficControlApisResult(); + explicit RemoveTrafficControlApisResult(const std::string &payload); + ~RemoveTrafficControlApisResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVETRAFFICCONTROLAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessRequest.h new file mode 100644 index 000000000..d8c2ef44d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEVPCACCESSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEVPCACCESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveVpcAccessRequest : public RpcServiceRequest + { + + public: + RemoveVpcAccessRequest(); + ~RemoveVpcAccessRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPort()const; + void setPort(int port); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string instanceId_; + std::string securityToken_; + int port_; + std::string vpcId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEVPCACCESSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessResult.h b/cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessResult.h new file mode 100644 index 000000000..d00ebcc87 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/RemoveVpcAccessResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEVPCACCESSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEVPCACCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT RemoveVpcAccessResult : public ServiceResult + { + public: + + + RemoveVpcAccessResult(); + explicit RemoveVpcAccessResult(const std::string &payload); + ~RemoveVpcAccessResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_REMOVEVPCACCESSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeRequest.h new file mode 100644 index 000000000..aa935c26f --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPCODEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ResetAppCodeRequest : public RpcServiceRequest + { + + public: + ResetAppCodeRequest(); + ~ResetAppCodeRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAppCode()const; + void setAppCode(const std::string& appCode); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string appCode_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPCODEREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeResult.h new file mode 100644 index 000000000..bcb74d69e --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppCodeResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPCODERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ResetAppCodeResult : public ServiceResult + { + public: + + + ResetAppCodeResult(); + explicit ResetAppCodeResult(const std::string &payload); + ~ResetAppCodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPCODERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretRequest.h new file mode 100644 index 000000000..1afff91f9 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPSECRETREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPSECRETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ResetAppSecretRequest : public RpcServiceRequest + { + + public: + ResetAppSecretRequest(); + ~ResetAppSecretRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getAppKey()const; + void setAppKey(const std::string& appKey); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string appKey_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPSECRETREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretResult.h b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretResult.h new file mode 100644 index 000000000..a278e6d1a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/ResetAppSecretResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPSECRETRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPSECRETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT ResetAppSecretResult : public ServiceResult + { + public: + + + ResetAppSecretResult(); + explicit ResetAppSecretResult(const std::string &payload); + ~ResetAppSecretResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_RESETAPPSECRETRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppRequest.h new file mode 100644 index 000000000..03c7f158c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYAPPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYAPPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SdkGenerateByAppRequest : public RpcServiceRequest + { + + public: + SdkGenerateByAppRequest(); + ~SdkGenerateByAppRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + long getAppId()const; + void setAppId(long appId); + std::string getLanguage()const; + void setLanguage(const std::string& language); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + long appId_; + std::string language_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYAPPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppResult.h new file mode 100644 index 000000000..d689d0ca2 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByAppResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYAPPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SdkGenerateByAppResult : public ServiceResult + { + public: + + + SdkGenerateByAppResult(); + explicit SdkGenerateByAppResult(const std::string &payload); + ~SdkGenerateByAppResult(); + std::string getDownloadLink()const; + + protected: + void parse(const std::string &payload); + private: + std::string downloadLink_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYAPPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupRequest.h new file mode 100644 index 000000000..77ed654d7 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYGROUPREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SdkGenerateByGroupRequest : public RpcServiceRequest + { + + public: + SdkGenerateByGroupRequest(); + ~SdkGenerateByGroupRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getLanguage()const; + void setLanguage(const std::string& language); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string language_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYGROUPREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupResult.h new file mode 100644 index 000000000..fdaed8076 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateByGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYGROUPRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SdkGenerateByGroupResult : public ServiceResult + { + public: + + + SdkGenerateByGroupResult(); + explicit SdkGenerateByGroupResult(const std::string &payload); + ~SdkGenerateByGroupResult(); + std::string getDownloadLink()const; + + protected: + void parse(const std::string &payload); + private: + std::string downloadLink_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEBYGROUPRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateRequest.h new file mode 100644 index 000000000..357575d24 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SdkGenerateRequest : public RpcServiceRequest + { + + public: + SdkGenerateRequest(); + ~SdkGenerateRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getAppId()const; + void setAppId(long appId); + std::string getLanguage()const; + void setLanguage(const std::string& language); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + long appId_; + std::string language_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATEREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateResult.h new file mode 100644 index 000000000..65dd6a1d4 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SdkGenerateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SdkGenerateResult : public ServiceResult + { + public: + + + SdkGenerateResult(); + explicit SdkGenerateResult(const std::string &payload); + ~SdkGenerateResult(); + std::string getDownloadLink()const; + + protected: + void parse(const std::string &payload); + private: + std::string downloadLink_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SDKGENERATERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesRequest.h new file mode 100644 index 000000000..ae24304cb --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETAPISAUTHORITIESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETAPISAUTHORITIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetApisAuthoritiesRequest : public RpcServiceRequest + { + + public: + SetApisAuthoritiesRequest(); + ~SetApisAuthoritiesRequest(); + + std::string getAuthVaildTime()const; + void setAuthVaildTime(const std::string& authVaildTime); + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getAppId()const; + void setAppId(long appId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getAuthValidTime()const; + void setAuthValidTime(const std::string& authValidTime); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string authVaildTime_; + std::string stageName_; + std::string securityToken_; + std::string groupId_; + long appId_; + std::string description_; + std::string authValidTime_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETAPISAUTHORITIESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesResult.h new file mode 100644 index 000000000..84ee2de1e --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetApisAuthoritiesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETAPISAUTHORITIESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETAPISAUTHORITIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetApisAuthoritiesResult : public ServiceResult + { + public: + + + SetApisAuthoritiesResult(); + explicit SetApisAuthoritiesResult(const std::string &payload); + ~SetApisAuthoritiesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETAPISAUTHORITIESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesRequest.h new file mode 100644 index 000000000..841a8a8b4 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETAPPSAUTHORITIESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETAPPSAUTHORITIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetAppsAuthoritiesRequest : public RpcServiceRequest + { + + public: + SetAppsAuthoritiesRequest(); + ~SetAppsAuthoritiesRequest(); + + std::string getAuthVaildTime()const; + void setAuthVaildTime(const std::string& authVaildTime); + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getAppIds()const; + void setAppIds(const std::string& appIds); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getAuthValidTime()const; + void setAuthValidTime(const std::string& authValidTime); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string authVaildTime_; + std::string stageName_; + std::string appIds_; + std::string securityToken_; + std::string groupId_; + std::string description_; + std::string apiId_; + std::string authValidTime_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETAPPSAUTHORITIESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesResult.h new file mode 100644 index 000000000..b538f34ad --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetAppsAuthoritiesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETAPPSAUTHORITIESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETAPPSAUTHORITIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetAppsAuthoritiesResult : public ServiceResult + { + public: + + + SetAppsAuthoritiesResult(); + explicit SetAppsAuthoritiesResult(const std::string &payload); + ~SetAppsAuthoritiesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETAPPSAUTHORITIESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateRequest.h new file mode 100644 index 000000000..5ad36a3b3 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetDomainCertificateRequest : public RpcServiceRequest + { + + public: + SetDomainCertificateRequest(); + ~SetDomainCertificateRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getCertificatePrivateKey()const; + void setCertificatePrivateKey(const std::string& certificatePrivateKey); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getCertificateName()const; + void setCertificateName(const std::string& certificateName); + std::string getCertificateBody()const; + void setCertificateBody(const std::string& certificateBody); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string certificatePrivateKey_; + std::string groupId_; + std::string domainName_; + std::string certificateName_; + std::string certificateBody_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateResult.h new file mode 100644 index 000000000..54b433d07 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetDomainCertificateResult : public ServiceResult + { + public: + + + SetDomainCertificateResult(); + explicit SetDomainCertificateResult(const std::string &payload); + ~SetDomainCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetDomainRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainRequest.h new file mode 100644 index 000000000..45848680f --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetDomainRequest : public RpcServiceRequest + { + + public: + SetDomainRequest(); + ~SetDomainRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string domainName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetDomainResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainResult.h new file mode 100644 index 000000000..459c9389c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainResult.h @@ -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_CLOUDAPI_MODEL_SETDOMAINRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetDomainResult : public ServiceResult + { + public: + + + SetDomainResult(); + explicit SetDomainResult(const std::string &payload); + ~SetDomainResult(); + std::string getSubDomain()const; + std::string getDomainRemark()const; + std::string getDomainBindingStatus()const; + std::string getDomainLegalStatus()const; + std::string getDomainName()const; + std::string getDomainWebSocketStatus()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string subDomain_; + std::string domainRemark_; + std::string domainBindingStatus_; + std::string domainLegalStatus_; + std::string domainName_; + std::string domainWebSocketStatus_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusRequest.h new file mode 100644 index 000000000..ce72609e0 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINWEBSOCKETSTATUSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINWEBSOCKETSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetDomainWebSocketStatusRequest : public RpcServiceRequest + { + + public: + SetDomainWebSocketStatusRequest(); + ~SetDomainWebSocketStatusRequest(); + + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getActionValue()const; + void setActionValue(const std::string& actionValue); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string securityToken_; + std::string groupId_; + std::string domainName_; + std::string actionValue_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINWEBSOCKETSTATUSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusResult.h new file mode 100644 index 000000000..b858464e2 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetDomainWebSocketStatusResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINWEBSOCKETSTATUSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINWEBSOCKETSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetDomainWebSocketStatusResult : public ServiceResult + { + public: + + + SetDomainWebSocketStatusResult(); + explicit SetDomainWebSocketStatusResult(const std::string &payload); + ~SetDomainWebSocketStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETDOMAINWEBSOCKETSTATUSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisRequest.h new file mode 100644 index 000000000..23fafa0e8 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisRequest.h @@ -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_CLOUDAPI_MODEL_SETIPCONTROLAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETIPCONTROLAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetIpControlApisRequest : public RpcServiceRequest + { + + public: + SetIpControlApisRequest(); + ~SetIpControlApisRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getIpControlId()const; + void setIpControlId(const std::string& ipControlId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string ipControlId_; + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETIPCONTROLAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisResult.h new file mode 100644 index 000000000..20d91e0c0 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetIpControlApisResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETIPCONTROLAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETIPCONTROLAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetIpControlApisResult : public ServiceResult + { + public: + + + SetIpControlApisResult(); + explicit SetIpControlApisResult(const std::string &payload); + ~SetIpControlApisResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETIPCONTROLAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisRequest.h new file mode 100644 index 000000000..d926a9ef2 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisRequest.h @@ -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_CLOUDAPI_MODEL_SETSIGNATUREAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETSIGNATUREAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetSignatureApisRequest : public RpcServiceRequest + { + + public: + SetSignatureApisRequest(); + ~SetSignatureApisRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getSignatureId()const; + void setSignatureId(const std::string& signatureId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string signatureId_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETSIGNATUREAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisResult.h new file mode 100644 index 000000000..7ea57197a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetSignatureApisResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETSIGNATUREAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETSIGNATUREAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetSignatureApisResult : public ServiceResult + { + public: + + + SetSignatureApisResult(); + explicit SetSignatureApisResult(const std::string &payload); + ~SetSignatureApisResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETSIGNATUREAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisRequest.h new file mode 100644 index 000000000..20a58ac5b --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisRequest.h @@ -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_CLOUDAPI_MODEL_SETTRAFFICCONTROLAPISREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETTRAFFICCONTROLAPISREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetTrafficControlApisRequest : public RpcServiceRequest + { + + public: + SetTrafficControlApisRequest(); + ~SetTrafficControlApisRequest(); + + std::string getTrafficControlId()const; + void setTrafficControlId(const std::string& trafficControlId); + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getApiIds()const; + void setApiIds(const std::string& apiIds); + + private: + std::string trafficControlId_; + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string accessKeyId_; + std::string apiIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETTRAFFICCONTROLAPISREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisResult.h new file mode 100644 index 000000000..876e8163c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetTrafficControlApisResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETTRAFFICCONTROLAPISRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETTRAFFICCONTROLAPISRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetTrafficControlApisResult : public ServiceResult + { + public: + + + SetTrafficControlApisResult(); + explicit SetTrafficControlApisResult(const std::string &payload); + ~SetTrafficControlApisResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETTRAFFICCONTROLAPISRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessRequest.h new file mode 100644 index 000000000..b9d3beee7 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessRequest.h @@ -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_CLOUDAPI_MODEL_SETVPCACCESSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETVPCACCESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetVpcAccessRequest : public RpcServiceRequest + { + + public: + SetVpcAccessRequest(); + ~SetVpcAccessRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + int getPort()const; + void setPort(int port); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + std::string getName()const; + void setName(const std::string& name); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string instanceId_; + std::string securityToken_; + int port_; + std::string vpcId_; + std::string name_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETVPCACCESSREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessResult.h new file mode 100644 index 000000000..eb2787444 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SetVpcAccessResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SETVPCACCESSRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SETVPCACCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SetVpcAccessResult : public ServiceResult + { + public: + + + SetVpcAccessResult(); + explicit SetVpcAccessResult(const std::string &payload); + ~SetVpcAccessResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SETVPCACCESSRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SwitchApiRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/SwitchApiRequest.h new file mode 100644 index 000000000..9a2a8c7e6 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SwitchApiRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SWITCHAPIREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SWITCHAPIREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SwitchApiRequest : public RpcServiceRequest + { + + public: + SwitchApiRequest(); + ~SwitchApiRequest(); + + std::string getStageName()const; + void setStageName(const std::string& stageName); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getApiId()const; + void setApiId(const std::string& apiId); + std::string getHistoryVersion()const; + void setHistoryVersion(const std::string& historyVersion); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string stageName_; + std::string securityToken_; + std::string groupId_; + std::string description_; + std::string apiId_; + std::string historyVersion_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SWITCHAPIREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/SwitchApiResult.h b/cloudapi/include/alibabacloud/cloudapi/model/SwitchApiResult.h new file mode 100644 index 000000000..8a860a993 --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/SwitchApiResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_SWITCHAPIRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_SWITCHAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT SwitchApiResult : public ServiceResult + { + public: + + + SwitchApiResult(); + explicit SwitchApiResult(const std::string &payload); + ~SwitchApiResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_SWITCHAPIRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/TagResourcesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/TagResourcesRequest.h new file mode 100644 index 000000000..3ec98784c --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/TagResourcesRequest.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_TAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_TAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT TagResourcesRequest : public RpcServiceRequest + { + struct Tag + { + std::string value; + std::string key; + }; + + public: + TagResourcesRequest(); + ~TagResourcesRequest(); + + std::vector getResourceId()const; + void setResourceId(const std::vector& resourceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::vector getTag()const; + void setTag(const std::vector& tag); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::vector resourceId_; + std::string securityToken_; + std::vector tag_; + std::string resourceType_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_TAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/TagResourcesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/TagResourcesResult.h new file mode 100644 index 000000000..12b8eb59a --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/TagResourcesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_TAGRESOURCESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_TAGRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT TagResourcesResult : public ServiceResult + { + public: + + + TagResourcesResult(); + explicit TagResourcesResult(const std::string &payload); + ~TagResourcesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_TAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesRequest.h b/cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesRequest.h new file mode 100644 index 000000000..51056438d --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesRequest.h @@ -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_CLOUDAPI_MODEL_UNTAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_UNTAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT UntagResourcesRequest : public RpcServiceRequest + { + + public: + UntagResourcesRequest(); + ~UntagResourcesRequest(); + + bool getAll()const; + void setAll(bool all); + std::vector getResourceId()const; + void setResourceId(const std::vector& resourceId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::vector getTagKey()const; + void setTagKey(const std::vector& tagKey); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + bool all_; + std::vector resourceId_; + std::string securityToken_; + std::vector tagKey_; + std::string resourceType_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_UNTAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesResult.h b/cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesResult.h new file mode 100644 index 000000000..bc34740dc --- /dev/null +++ b/cloudapi/include/alibabacloud/cloudapi/model/UntagResourcesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAPI_MODEL_UNTAGRESOURCESRESULT_H_ +#define ALIBABACLOUD_CLOUDAPI_MODEL_UNTAGRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CloudAPI + { + namespace Model + { + class ALIBABACLOUD_CLOUDAPI_EXPORT UntagResourcesResult : public ServiceResult + { + public: + + + UntagResourcesResult(); + explicit UntagResourcesResult(const std::string &payload); + ~UntagResourcesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_UNTAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/cloudapi/src/model/AbolishApiRequest.cc b/cloudapi/src/model/AbolishApiRequest.cc new file mode 100644 index 000000000..1253df759 --- /dev/null +++ b/cloudapi/src/model/AbolishApiRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::AbolishApiRequest; + +AbolishApiRequest::AbolishApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "AbolishApi") +{} + +AbolishApiRequest::~AbolishApiRequest() +{} + +std::string AbolishApiRequest::getStageName()const +{ + return stageName_; +} + +void AbolishApiRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string AbolishApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AbolishApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string AbolishApiRequest::getGroupId()const +{ + return groupId_; +} + +void AbolishApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string AbolishApiRequest::getApiId()const +{ + return apiId_; +} + +void AbolishApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string AbolishApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AbolishApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/AbolishApiResult.cc b/cloudapi/src/model/AbolishApiResult.cc new file mode 100644 index 000000000..67ea99689 --- /dev/null +++ b/cloudapi/src/model/AbolishApiResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +AbolishApiResult::AbolishApiResult() : + ServiceResult() +{} + +AbolishApiResult::AbolishApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AbolishApiResult::~AbolishApiResult() +{} + +void AbolishApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/AddIpControlPolicyItemRequest.cc b/cloudapi/src/model/AddIpControlPolicyItemRequest.cc new file mode 100644 index 000000000..1d6cf2bb2 --- /dev/null +++ b/cloudapi/src/model/AddIpControlPolicyItemRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::AddIpControlPolicyItemRequest; + +AddIpControlPolicyItemRequest::AddIpControlPolicyItemRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "AddIpControlPolicyItem") +{} + +AddIpControlPolicyItemRequest::~AddIpControlPolicyItemRequest() +{} + +std::string AddIpControlPolicyItemRequest::getIpControlId()const +{ + return ipControlId_; +} + +void AddIpControlPolicyItemRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string AddIpControlPolicyItemRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddIpControlPolicyItemRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string AddIpControlPolicyItemRequest::getAppId()const +{ + return appId_; +} + +void AddIpControlPolicyItemRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + +std::string AddIpControlPolicyItemRequest::getCidrIp()const +{ + return cidrIp_; +} + +void AddIpControlPolicyItemRequest::setCidrIp(const std::string& cidrIp) +{ + cidrIp_ = cidrIp; + setCoreParameter("CidrIp", cidrIp); +} + +std::string AddIpControlPolicyItemRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddIpControlPolicyItemRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/AddIpControlPolicyItemResult.cc b/cloudapi/src/model/AddIpControlPolicyItemResult.cc new file mode 100644 index 000000000..babba9706 --- /dev/null +++ b/cloudapi/src/model/AddIpControlPolicyItemResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +AddIpControlPolicyItemResult::AddIpControlPolicyItemResult() : + ServiceResult() +{} + +AddIpControlPolicyItemResult::AddIpControlPolicyItemResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddIpControlPolicyItemResult::~AddIpControlPolicyItemResult() +{} + +void AddIpControlPolicyItemResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["PolicyItemId"].isNull()) + policyItemId_ = value["PolicyItemId"].asString(); + +} + +std::string AddIpControlPolicyItemResult::getPolicyItemId()const +{ + return policyItemId_; +} + diff --git a/cloudapi/src/model/AddTrafficSpecialControlRequest.cc b/cloudapi/src/model/AddTrafficSpecialControlRequest.cc new file mode 100644 index 000000000..bb796203a --- /dev/null +++ b/cloudapi/src/model/AddTrafficSpecialControlRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::AddTrafficSpecialControlRequest; + +AddTrafficSpecialControlRequest::AddTrafficSpecialControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "AddTrafficSpecialControl") +{} + +AddTrafficSpecialControlRequest::~AddTrafficSpecialControlRequest() +{} + +std::string AddTrafficSpecialControlRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void AddTrafficSpecialControlRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string AddTrafficSpecialControlRequest::getSpecialKey()const +{ + return specialKey_; +} + +void AddTrafficSpecialControlRequest::setSpecialKey(const std::string& specialKey) +{ + specialKey_ = specialKey; + setCoreParameter("SpecialKey", specialKey); +} + +std::string AddTrafficSpecialControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void AddTrafficSpecialControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int AddTrafficSpecialControlRequest::getTrafficValue()const +{ + return trafficValue_; +} + +void AddTrafficSpecialControlRequest::setTrafficValue(int trafficValue) +{ + trafficValue_ = trafficValue; + setCoreParameter("TrafficValue", std::to_string(trafficValue)); +} + +std::string AddTrafficSpecialControlRequest::getSpecialType()const +{ + return specialType_; +} + +void AddTrafficSpecialControlRequest::setSpecialType(const std::string& specialType) +{ + specialType_ = specialType; + setCoreParameter("SpecialType", specialType); +} + +std::string AddTrafficSpecialControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddTrafficSpecialControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/AddTrafficSpecialControlResult.cc b/cloudapi/src/model/AddTrafficSpecialControlResult.cc new file mode 100644 index 000000000..8f90e77e9 --- /dev/null +++ b/cloudapi/src/model/AddTrafficSpecialControlResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +AddTrafficSpecialControlResult::AddTrafficSpecialControlResult() : + ServiceResult() +{} + +AddTrafficSpecialControlResult::AddTrafficSpecialControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddTrafficSpecialControlResult::~AddTrafficSpecialControlResult() +{} + +void AddTrafficSpecialControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/CreateApiGroupRequest.cc b/cloudapi/src/model/CreateApiGroupRequest.cc new file mode 100644 index 000000000..67be6bb96 --- /dev/null +++ b/cloudapi/src/model/CreateApiGroupRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::CreateApiGroupRequest; + +CreateApiGroupRequest::CreateApiGroupRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateApiGroup") +{} + +CreateApiGroupRequest::~CreateApiGroupRequest() +{} + +std::string CreateApiGroupRequest::getInstanceId()const +{ + return instanceId_; +} + +void CreateApiGroupRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string CreateApiGroupRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateApiGroupRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateApiGroupRequest::getDescription()const +{ + return description_; +} + +void CreateApiGroupRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string CreateApiGroupRequest::getSource()const +{ + return source_; +} + +void CreateApiGroupRequest::setSource(const std::string& source) +{ + source_ = source; + setCoreParameter("Source", source); +} + +std::string CreateApiGroupRequest::getGroupName()const +{ + return groupName_; +} + +void CreateApiGroupRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setCoreParameter("GroupName", groupName); +} + +std::string CreateApiGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateApiGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/CreateApiGroupResult.cc b/cloudapi/src/model/CreateApiGroupResult.cc new file mode 100644 index 000000000..c0eaeb6cf --- /dev/null +++ b/cloudapi/src/model/CreateApiGroupResult.cc @@ -0,0 +1,87 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateApiGroupResult::CreateApiGroupResult() : + ServiceResult() +{} + +CreateApiGroupResult::CreateApiGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateApiGroupResult::~CreateApiGroupResult() +{} + +void CreateApiGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["SubDomain"].isNull()) + subDomain_ = value["SubDomain"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["InstanceType"].isNull()) + instanceType_ = value["InstanceType"].asString(); + +} + +std::string CreateApiGroupResult::getGroupName()const +{ + return groupName_; +} + +std::string CreateApiGroupResult::getSubDomain()const +{ + return subDomain_; +} + +std::string CreateApiGroupResult::getDescription()const +{ + return description_; +} + +std::string CreateApiGroupResult::getInstanceId()const +{ + return instanceId_; +} + +std::string CreateApiGroupResult::getInstanceType()const +{ + return instanceType_; +} + +std::string CreateApiGroupResult::getGroupId()const +{ + return groupId_; +} + diff --git a/cloudapi/src/model/CreateApiRequest.cc b/cloudapi/src/model/CreateApiRequest.cc new file mode 100644 index 000000000..52105fe0c --- /dev/null +++ b/cloudapi/src/model/CreateApiRequest.cc @@ -0,0 +1,313 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::CreateApiRequest; + +CreateApiRequest::CreateApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateApi") +{} + +CreateApiRequest::~CreateApiRequest() +{} + +std::string CreateApiRequest::getWebSocketApiType()const +{ + return webSocketApiType_; +} + +void CreateApiRequest::setWebSocketApiType(const std::string& webSocketApiType) +{ + webSocketApiType_ = webSocketApiType; + setCoreParameter("WebSocketApiType", webSocketApiType); +} + +std::string CreateApiRequest::getErrorCodeSamples()const +{ + return errorCodeSamples_; +} + +void CreateApiRequest::setErrorCodeSamples(const std::string& errorCodeSamples) +{ + errorCodeSamples_ = errorCodeSamples; + setCoreParameter("ErrorCodeSamples", errorCodeSamples); +} + +std::string CreateApiRequest::getAppCodeAuthType()const +{ + return appCodeAuthType_; +} + +void CreateApiRequest::setAppCodeAuthType(const std::string& appCodeAuthType) +{ + appCodeAuthType_ = appCodeAuthType; + setCoreParameter("AppCodeAuthType", appCodeAuthType); +} + +std::string CreateApiRequest::getDescription()const +{ + return description_; +} + +void CreateApiRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +bool CreateApiRequest::getDisableInternet()const +{ + return disableInternet_; +} + +void CreateApiRequest::setDisableInternet(bool disableInternet) +{ + disableInternet_ = disableInternet; + setCoreParameter("DisableInternet", disableInternet ? "true" : "false"); +} + +std::string CreateApiRequest::getConstantParameters()const +{ + return constantParameters_; +} + +void CreateApiRequest::setConstantParameters(const std::string& constantParameters) +{ + constantParameters_ = constantParameters; + setCoreParameter("ConstantParameters", constantParameters); +} + +std::string CreateApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string CreateApiRequest::getAuthType()const +{ + return authType_; +} + +void CreateApiRequest::setAuthType(const std::string& authType) +{ + authType_ = authType; + setCoreParameter("AuthType", authType); +} + +std::string CreateApiRequest::getAllowSignatureMethod()const +{ + return allowSignatureMethod_; +} + +void CreateApiRequest::setAllowSignatureMethod(const std::string& allowSignatureMethod) +{ + allowSignatureMethod_ = allowSignatureMethod; + setCoreParameter("AllowSignatureMethod", allowSignatureMethod); +} + +std::string CreateApiRequest::getServiceParameters()const +{ + return serviceParameters_; +} + +void CreateApiRequest::setServiceParameters(const std::string& serviceParameters) +{ + serviceParameters_ = serviceParameters; + setCoreParameter("ServiceParameters", serviceParameters); +} + +std::string CreateApiRequest::getFailResultSample()const +{ + return failResultSample_; +} + +void CreateApiRequest::setFailResultSample(const std::string& failResultSample) +{ + failResultSample_ = failResultSample; + setCoreParameter("FailResultSample", failResultSample); +} + +std::string CreateApiRequest::getSystemParameters()const +{ + return systemParameters_; +} + +void CreateApiRequest::setSystemParameters(const std::string& systemParameters) +{ + systemParameters_ = systemParameters; + setCoreParameter("SystemParameters", systemParameters); +} + +std::string CreateApiRequest::getServiceParametersMap()const +{ + return serviceParametersMap_; +} + +void CreateApiRequest::setServiceParametersMap(const std::string& serviceParametersMap) +{ + serviceParametersMap_ = serviceParametersMap; + setCoreParameter("ServiceParametersMap", serviceParametersMap); +} + +std::string CreateApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateApiRequest::getOpenIdConnectConfig()const +{ + return openIdConnectConfig_; +} + +void CreateApiRequest::setOpenIdConnectConfig(const std::string& openIdConnectConfig) +{ + openIdConnectConfig_ = openIdConnectConfig; + setCoreParameter("OpenIdConnectConfig", openIdConnectConfig); +} + +std::string CreateApiRequest::getRequestParameters()const +{ + return requestParameters_; +} + +void CreateApiRequest::setRequestParameters(const std::string& requestParameters) +{ + requestParameters_ = requestParameters; + setCoreParameter("RequestParameters", requestParameters); +} + +std::string CreateApiRequest::getResultDescriptions()const +{ + return resultDescriptions_; +} + +void CreateApiRequest::setResultDescriptions(const std::string& resultDescriptions) +{ + resultDescriptions_ = resultDescriptions; + setCoreParameter("ResultDescriptions", resultDescriptions); +} + +std::string CreateApiRequest::getVisibility()const +{ + return visibility_; +} + +void CreateApiRequest::setVisibility(const std::string& visibility) +{ + visibility_ = visibility; + setCoreParameter("Visibility", visibility); +} + +std::string CreateApiRequest::getGroupId()const +{ + return groupId_; +} + +void CreateApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string CreateApiRequest::getServiceConfig()const +{ + return serviceConfig_; +} + +void CreateApiRequest::setServiceConfig(const std::string& serviceConfig) +{ + serviceConfig_ = serviceConfig; + setCoreParameter("ServiceConfig", serviceConfig); +} + +std::string CreateApiRequest::getResultType()const +{ + return resultType_; +} + +void CreateApiRequest::setResultType(const std::string& resultType) +{ + resultType_ = resultType; + setCoreParameter("ResultType", resultType); +} + +std::string CreateApiRequest::getApiName()const +{ + return apiName_; +} + +void CreateApiRequest::setApiName(const std::string& apiName) +{ + apiName_ = apiName; + setCoreParameter("ApiName", apiName); +} + +std::string CreateApiRequest::getResultSample()const +{ + return resultSample_; +} + +void CreateApiRequest::setResultSample(const std::string& resultSample) +{ + resultSample_ = resultSample; + setCoreParameter("ResultSample", resultSample); +} + +bool CreateApiRequest::getForceNonceCheck()const +{ + return forceNonceCheck_; +} + +void CreateApiRequest::setForceNonceCheck(bool forceNonceCheck) +{ + forceNonceCheck_ = forceNonceCheck; + setCoreParameter("ForceNonceCheck", forceNonceCheck ? "true" : "false"); +} + +std::string CreateApiRequest::getRequestConfig()const +{ + return requestConfig_; +} + +void CreateApiRequest::setRequestConfig(const std::string& requestConfig) +{ + requestConfig_ = requestConfig; + setCoreParameter("RequestConfig", requestConfig); +} + +std::string CreateApiRequest::getResultBodyModel()const +{ + return resultBodyModel_; +} + +void CreateApiRequest::setResultBodyModel(const std::string& resultBodyModel) +{ + resultBodyModel_ = resultBodyModel; + setCoreParameter("ResultBodyModel", resultBodyModel); +} + diff --git a/cloudapi/src/model/CreateApiResult.cc b/cloudapi/src/model/CreateApiResult.cc new file mode 100644 index 000000000..0d3c1aea6 --- /dev/null +++ b/cloudapi/src/model/CreateApiResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateApiResult::CreateApiResult() : + ServiceResult() +{} + +CreateApiResult::CreateApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateApiResult::~CreateApiResult() +{} + +void CreateApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["ApiId"].isNull()) + apiId_ = value["ApiId"].asString(); + +} + +std::string CreateApiResult::getApiId()const +{ + return apiId_; +} + diff --git a/cloudapi/src/model/CreateApiStageVariableRequest.cc b/cloudapi/src/model/CreateApiStageVariableRequest.cc new file mode 100644 index 000000000..a4ec11084 --- /dev/null +++ b/cloudapi/src/model/CreateApiStageVariableRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::CreateApiStageVariableRequest; + +CreateApiStageVariableRequest::CreateApiStageVariableRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateApiStageVariable") +{} + +CreateApiStageVariableRequest::~CreateApiStageVariableRequest() +{} + +bool CreateApiStageVariableRequest::getSupportRoute()const +{ + return supportRoute_; +} + +void CreateApiStageVariableRequest::setSupportRoute(bool supportRoute) +{ + supportRoute_ = supportRoute; + setCoreParameter("SupportRoute", supportRoute ? "true" : "false"); +} + +std::string CreateApiStageVariableRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateApiStageVariableRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateApiStageVariableRequest::getVariableName()const +{ + return variableName_; +} + +void CreateApiStageVariableRequest::setVariableName(const std::string& variableName) +{ + variableName_ = variableName; + setCoreParameter("VariableName", variableName); +} + +std::string CreateApiStageVariableRequest::getVariableValue()const +{ + return variableValue_; +} + +void CreateApiStageVariableRequest::setVariableValue(const std::string& variableValue) +{ + variableValue_ = variableValue; + setCoreParameter("VariableValue", variableValue); +} + +std::string CreateApiStageVariableRequest::getGroupId()const +{ + return groupId_; +} + +void CreateApiStageVariableRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string CreateApiStageVariableRequest::getStageRouteModel()const +{ + return stageRouteModel_; +} + +void CreateApiStageVariableRequest::setStageRouteModel(const std::string& stageRouteModel) +{ + stageRouteModel_ = stageRouteModel; + setCoreParameter("StageRouteModel", stageRouteModel); +} + +std::string CreateApiStageVariableRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateApiStageVariableRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string CreateApiStageVariableRequest::getStageId()const +{ + return stageId_; +} + +void CreateApiStageVariableRequest::setStageId(const std::string& stageId) +{ + stageId_ = stageId; + setCoreParameter("StageId", stageId); +} + diff --git a/cloudapi/src/model/CreateApiStageVariableResult.cc b/cloudapi/src/model/CreateApiStageVariableResult.cc new file mode 100644 index 000000000..4db6d3d9d --- /dev/null +++ b/cloudapi/src/model/CreateApiStageVariableResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateApiStageVariableResult::CreateApiStageVariableResult() : + ServiceResult() +{} + +CreateApiStageVariableResult::CreateApiStageVariableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateApiStageVariableResult::~CreateApiStageVariableResult() +{} + +void CreateApiStageVariableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/CreateAppRequest.cc b/cloudapi/src/model/CreateAppRequest.cc new file mode 100644 index 000000000..3e7c01f1f --- /dev/null +++ b/cloudapi/src/model/CreateAppRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::CreateAppRequest; + +CreateAppRequest::CreateAppRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateApp") +{} + +CreateAppRequest::~CreateAppRequest() +{} + +std::string CreateAppRequest::getAppName()const +{ + return appName_; +} + +void CreateAppRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setCoreParameter("AppName", appName); +} + +std::string CreateAppRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateAppRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateAppRequest::getDescription()const +{ + return description_; +} + +void CreateAppRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string CreateAppRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateAppRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/CreateAppResult.cc b/cloudapi/src/model/CreateAppResult.cc new file mode 100644 index 000000000..ea4c54e1c --- /dev/null +++ b/cloudapi/src/model/CreateAppResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateAppResult::CreateAppResult() : + ServiceResult() +{} + +CreateAppResult::CreateAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAppResult::~CreateAppResult() +{} + +void CreateAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AppId"].isNull()) + appId_ = std::stol(value["AppId"].asString()); + +} + +long CreateAppResult::getAppId()const +{ + return appId_; +} + diff --git a/cloudapi/src/model/CreateIntranetDomainRequest.cc b/cloudapi/src/model/CreateIntranetDomainRequest.cc new file mode 100644 index 000000000..282c8d309 --- /dev/null +++ b/cloudapi/src/model/CreateIntranetDomainRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::CreateIntranetDomainRequest; + +CreateIntranetDomainRequest::CreateIntranetDomainRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateIntranetDomain") +{} + +CreateIntranetDomainRequest::~CreateIntranetDomainRequest() +{} + +bool CreateIntranetDomainRequest::getDeleteInternetDomain()const +{ + return deleteInternetDomain_; +} + +void CreateIntranetDomainRequest::setDeleteInternetDomain(bool deleteInternetDomain) +{ + deleteInternetDomain_ = deleteInternetDomain; + setCoreParameter("DeleteInternetDomain", deleteInternetDomain ? "true" : "false"); +} + +std::string CreateIntranetDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateIntranetDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateIntranetDomainRequest::getGroupId()const +{ + return groupId_; +} + +void CreateIntranetDomainRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string CreateIntranetDomainRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateIntranetDomainRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/CreateIntranetDomainResult.cc b/cloudapi/src/model/CreateIntranetDomainResult.cc new file mode 100644 index 000000000..5e3159f78 --- /dev/null +++ b/cloudapi/src/model/CreateIntranetDomainResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateIntranetDomainResult::CreateIntranetDomainResult() : + ServiceResult() +{} + +CreateIntranetDomainResult::CreateIntranetDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateIntranetDomainResult::~CreateIntranetDomainResult() +{} + +void CreateIntranetDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string CreateIntranetDomainResult::getDomainName()const +{ + return domainName_; +} + diff --git a/cloudapi/src/model/CreateIpControlRequest.cc b/cloudapi/src/model/CreateIpControlRequest.cc new file mode 100644 index 000000000..f5cd2628b --- /dev/null +++ b/cloudapi/src/model/CreateIpControlRequest.cc @@ -0,0 +1,99 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::CreateIpControlRequest; + +CreateIpControlRequest::CreateIpControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateIpControl") +{} + +CreateIpControlRequest::~CreateIpControlRequest() +{} + +std::string CreateIpControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateIpControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateIpControlRequest::getIpControlName()const +{ + return ipControlName_; +} + +void CreateIpControlRequest::setIpControlName(const std::string& ipControlName) +{ + ipControlName_ = ipControlName; + setCoreParameter("IpControlName", ipControlName); +} + +std::string CreateIpControlRequest::getIpControlType()const +{ + return ipControlType_; +} + +void CreateIpControlRequest::setIpControlType(const std::string& ipControlType) +{ + ipControlType_ = ipControlType; + setCoreParameter("IpControlType", ipControlType); +} + +std::vector CreateIpControlRequest::getIpControlPolicys()const +{ + return ipControlPolicys_; +} + +void CreateIpControlRequest::setIpControlPolicys(const std::vector& ipControlPolicys) +{ + ipControlPolicys_ = ipControlPolicys; + int i = 0; + for(int i = 0; i!= ipControlPolicys.size(); i++) { + auto obj = ipControlPolicys.at(i); + std::string str ="IpControlPolicys."+ std::to_string(i); + setCoreParameter(str + ".AppId", obj.appId); + setCoreParameter(str + ".CidrIp", obj.cidrIp); + } +} + +std::string CreateIpControlRequest::getDescription()const +{ + return description_; +} + +void CreateIpControlRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string CreateIpControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateIpControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/CreateIpControlResult.cc b/cloudapi/src/model/CreateIpControlResult.cc new file mode 100644 index 000000000..1d4195f38 --- /dev/null +++ b/cloudapi/src/model/CreateIpControlResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateIpControlResult::CreateIpControlResult() : + ServiceResult() +{} + +CreateIpControlResult::CreateIpControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateIpControlResult::~CreateIpControlResult() +{} + +void CreateIpControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["IpControlId"].isNull()) + ipControlId_ = value["IpControlId"].asString(); + +} + +std::string CreateIpControlResult::getIpControlId()const +{ + return ipControlId_; +} + diff --git a/cloudapi/src/model/CreateLogConfigRequest.cc b/cloudapi/src/model/CreateLogConfigRequest.cc new file mode 100644 index 000000000..ae7cc4bd2 --- /dev/null +++ b/cloudapi/src/model/CreateLogConfigRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::CreateLogConfigRequest; + +CreateLogConfigRequest::CreateLogConfigRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateLogConfig") +{} + +CreateLogConfigRequest::~CreateLogConfigRequest() +{} + +std::string CreateLogConfigRequest::getSlsLogStore()const +{ + return slsLogStore_; +} + +void CreateLogConfigRequest::setSlsLogStore(const std::string& slsLogStore) +{ + slsLogStore_ = slsLogStore; + setCoreParameter("SlsLogStore", slsLogStore); +} + +std::string CreateLogConfigRequest::getLogType()const +{ + return logType_; +} + +void CreateLogConfigRequest::setLogType(const std::string& logType) +{ + logType_ = logType; + setCoreParameter("LogType", logType); +} + +std::string CreateLogConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateLogConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateLogConfigRequest::getRegionId()const +{ + return regionId_; +} + +void CreateLogConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string CreateLogConfigRequest::getSlsProject()const +{ + return slsProject_; +} + +void CreateLogConfigRequest::setSlsProject(const std::string& slsProject) +{ + slsProject_ = slsProject; + setCoreParameter("SlsProject", slsProject); +} + +std::string CreateLogConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateLogConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/CreateLogConfigResult.cc b/cloudapi/src/model/CreateLogConfigResult.cc new file mode 100644 index 000000000..0af40dfe0 --- /dev/null +++ b/cloudapi/src/model/CreateLogConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateLogConfigResult::CreateLogConfigResult() : + ServiceResult() +{} + +CreateLogConfigResult::CreateLogConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateLogConfigResult::~CreateLogConfigResult() +{} + +void CreateLogConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/CreateSignatureRequest.cc b/cloudapi/src/model/CreateSignatureRequest.cc new file mode 100644 index 000000000..1e7954359 --- /dev/null +++ b/cloudapi/src/model/CreateSignatureRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::CreateSignatureRequest; + +CreateSignatureRequest::CreateSignatureRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateSignature") +{} + +CreateSignatureRequest::~CreateSignatureRequest() +{} + +std::string CreateSignatureRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateSignatureRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateSignatureRequest::getSignatureName()const +{ + return signatureName_; +} + +void CreateSignatureRequest::setSignatureName(const std::string& signatureName) +{ + signatureName_ = signatureName; + setCoreParameter("SignatureName", signatureName); +} + +std::string CreateSignatureRequest::getSignatureKey()const +{ + return signatureKey_; +} + +void CreateSignatureRequest::setSignatureKey(const std::string& signatureKey) +{ + signatureKey_ = signatureKey; + setCoreParameter("SignatureKey", signatureKey); +} + +std::string CreateSignatureRequest::getSignatureSecret()const +{ + return signatureSecret_; +} + +void CreateSignatureRequest::setSignatureSecret(const std::string& signatureSecret) +{ + signatureSecret_ = signatureSecret; + setCoreParameter("SignatureSecret", signatureSecret); +} + +std::string CreateSignatureRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateSignatureRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/CreateSignatureResult.cc b/cloudapi/src/model/CreateSignatureResult.cc new file mode 100644 index 000000000..601f43632 --- /dev/null +++ b/cloudapi/src/model/CreateSignatureResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateSignatureResult::CreateSignatureResult() : + ServiceResult() +{} + +CreateSignatureResult::CreateSignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSignatureResult::~CreateSignatureResult() +{} + +void CreateSignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["SignatureId"].isNull()) + signatureId_ = value["SignatureId"].asString(); + if(!value["SignatureName"].isNull()) + signatureName_ = value["SignatureName"].asString(); + +} + +std::string CreateSignatureResult::getSignatureId()const +{ + return signatureId_; +} + +std::string CreateSignatureResult::getSignatureName()const +{ + return signatureName_; +} + diff --git a/cloudapi/src/model/CreateTrafficControlRequest.cc b/cloudapi/src/model/CreateTrafficControlRequest.cc new file mode 100644 index 000000000..35402e2ba --- /dev/null +++ b/cloudapi/src/model/CreateTrafficControlRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::CreateTrafficControlRequest; + +CreateTrafficControlRequest::CreateTrafficControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "CreateTrafficControl") +{} + +CreateTrafficControlRequest::~CreateTrafficControlRequest() +{} + +int CreateTrafficControlRequest::getApiDefault()const +{ + return apiDefault_; +} + +void CreateTrafficControlRequest::setApiDefault(int apiDefault) +{ + apiDefault_ = apiDefault; + setCoreParameter("ApiDefault", std::to_string(apiDefault)); +} + +std::string CreateTrafficControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void CreateTrafficControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string CreateTrafficControlRequest::getTrafficControlName()const +{ + return trafficControlName_; +} + +void CreateTrafficControlRequest::setTrafficControlName(const std::string& trafficControlName) +{ + trafficControlName_ = trafficControlName; + setCoreParameter("TrafficControlName", trafficControlName); +} + +std::string CreateTrafficControlRequest::getTrafficControlUnit()const +{ + return trafficControlUnit_; +} + +void CreateTrafficControlRequest::setTrafficControlUnit(const std::string& trafficControlUnit) +{ + trafficControlUnit_ = trafficControlUnit; + setCoreParameter("TrafficControlUnit", trafficControlUnit); +} + +std::string CreateTrafficControlRequest::getDescription()const +{ + return description_; +} + +void CreateTrafficControlRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +int CreateTrafficControlRequest::getUserDefault()const +{ + return userDefault_; +} + +void CreateTrafficControlRequest::setUserDefault(int userDefault) +{ + userDefault_ = userDefault; + setCoreParameter("UserDefault", std::to_string(userDefault)); +} + +int CreateTrafficControlRequest::getAppDefault()const +{ + return appDefault_; +} + +void CreateTrafficControlRequest::setAppDefault(int appDefault) +{ + appDefault_ = appDefault; + setCoreParameter("AppDefault", std::to_string(appDefault)); +} + +std::string CreateTrafficControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateTrafficControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/CreateTrafficControlResult.cc b/cloudapi/src/model/CreateTrafficControlResult.cc new file mode 100644 index 000000000..cbf7149ca --- /dev/null +++ b/cloudapi/src/model/CreateTrafficControlResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +CreateTrafficControlResult::CreateTrafficControlResult() : + ServiceResult() +{} + +CreateTrafficControlResult::CreateTrafficControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTrafficControlResult::~CreateTrafficControlResult() +{} + +void CreateTrafficControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["TrafficControlId"].isNull()) + trafficControlId_ = value["TrafficControlId"].asString(); + +} + +std::string CreateTrafficControlResult::getTrafficControlId()const +{ + return trafficControlId_; +} + diff --git a/cloudapi/src/model/DeleteAllTrafficSpecialControlRequest.cc b/cloudapi/src/model/DeleteAllTrafficSpecialControlRequest.cc new file mode 100644 index 000000000..fcdaa9468 --- /dev/null +++ b/cloudapi/src/model/DeleteAllTrafficSpecialControlRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteAllTrafficSpecialControlRequest; + +DeleteAllTrafficSpecialControlRequest::DeleteAllTrafficSpecialControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteAllTrafficSpecialControl") +{} + +DeleteAllTrafficSpecialControlRequest::~DeleteAllTrafficSpecialControlRequest() +{} + +std::string DeleteAllTrafficSpecialControlRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void DeleteAllTrafficSpecialControlRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string DeleteAllTrafficSpecialControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteAllTrafficSpecialControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteAllTrafficSpecialControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteAllTrafficSpecialControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteAllTrafficSpecialControlResult.cc b/cloudapi/src/model/DeleteAllTrafficSpecialControlResult.cc new file mode 100644 index 000000000..61e648dd5 --- /dev/null +++ b/cloudapi/src/model/DeleteAllTrafficSpecialControlResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteAllTrafficSpecialControlResult::DeleteAllTrafficSpecialControlResult() : + ServiceResult() +{} + +DeleteAllTrafficSpecialControlResult::DeleteAllTrafficSpecialControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAllTrafficSpecialControlResult::~DeleteAllTrafficSpecialControlResult() +{} + +void DeleteAllTrafficSpecialControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteApiGroupRequest.cc b/cloudapi/src/model/DeleteApiGroupRequest.cc new file mode 100644 index 000000000..437029822 --- /dev/null +++ b/cloudapi/src/model/DeleteApiGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteApiGroupRequest; + +DeleteApiGroupRequest::DeleteApiGroupRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApiGroup") +{} + +DeleteApiGroupRequest::~DeleteApiGroupRequest() +{} + +std::string DeleteApiGroupRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteApiGroupRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteApiGroupRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteApiGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DeleteApiGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteApiGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteApiGroupResult.cc b/cloudapi/src/model/DeleteApiGroupResult.cc new file mode 100644 index 000000000..aa9f10ac0 --- /dev/null +++ b/cloudapi/src/model/DeleteApiGroupResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteApiGroupResult::DeleteApiGroupResult() : + ServiceResult() +{} + +DeleteApiGroupResult::DeleteApiGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteApiGroupResult::~DeleteApiGroupResult() +{} + +void DeleteApiGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteApiRequest.cc b/cloudapi/src/model/DeleteApiRequest.cc new file mode 100644 index 000000000..d266504f9 --- /dev/null +++ b/cloudapi/src/model/DeleteApiRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteApiRequest; + +DeleteApiRequest::DeleteApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApi") +{} + +DeleteApiRequest::~DeleteApiRequest() +{} + +std::string DeleteApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteApiRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DeleteApiRequest::getApiId()const +{ + return apiId_; +} + +void DeleteApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DeleteApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteApiResult.cc b/cloudapi/src/model/DeleteApiResult.cc new file mode 100644 index 000000000..e57a81eaa --- /dev/null +++ b/cloudapi/src/model/DeleteApiResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteApiResult::DeleteApiResult() : + ServiceResult() +{} + +DeleteApiResult::DeleteApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteApiResult::~DeleteApiResult() +{} + +void DeleteApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteApiStageVariableRequest.cc b/cloudapi/src/model/DeleteApiStageVariableRequest.cc new file mode 100644 index 000000000..712397831 --- /dev/null +++ b/cloudapi/src/model/DeleteApiStageVariableRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DeleteApiStageVariableRequest; + +DeleteApiStageVariableRequest::DeleteApiStageVariableRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApiStageVariable") +{} + +DeleteApiStageVariableRequest::~DeleteApiStageVariableRequest() +{} + +std::string DeleteApiStageVariableRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteApiStageVariableRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteApiStageVariableRequest::getVariableName()const +{ + return variableName_; +} + +void DeleteApiStageVariableRequest::setVariableName(const std::string& variableName) +{ + variableName_ = variableName; + setCoreParameter("VariableName", variableName); +} + +std::string DeleteApiStageVariableRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteApiStageVariableRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DeleteApiStageVariableRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteApiStageVariableRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DeleteApiStageVariableRequest::getStageId()const +{ + return stageId_; +} + +void DeleteApiStageVariableRequest::setStageId(const std::string& stageId) +{ + stageId_ = stageId; + setCoreParameter("StageId", stageId); +} + diff --git a/cloudapi/src/model/DeleteApiStageVariableResult.cc b/cloudapi/src/model/DeleteApiStageVariableResult.cc new file mode 100644 index 000000000..f1daf6fbd --- /dev/null +++ b/cloudapi/src/model/DeleteApiStageVariableResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteApiStageVariableResult::DeleteApiStageVariableResult() : + ServiceResult() +{} + +DeleteApiStageVariableResult::DeleteApiStageVariableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteApiStageVariableResult::~DeleteApiStageVariableResult() +{} + +void DeleteApiStageVariableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteAppRequest.cc b/cloudapi/src/model/DeleteAppRequest.cc new file mode 100644 index 000000000..53a56aa51 --- /dev/null +++ b/cloudapi/src/model/DeleteAppRequest.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteAppRequest; + +DeleteAppRequest::DeleteAppRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApp") +{} + +DeleteAppRequest::~DeleteAppRequest() +{} + +std::string DeleteAppRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteAppRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long DeleteAppRequest::getAppId()const +{ + return appId_; +} + +void DeleteAppRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::vector DeleteAppRequest::getTag()const +{ + return tag_; +} + +void DeleteAppRequest::setTag(const std::vector& 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::string DeleteAppRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteAppRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteAppResult.cc b/cloudapi/src/model/DeleteAppResult.cc new file mode 100644 index 000000000..6254f0e1e --- /dev/null +++ b/cloudapi/src/model/DeleteAppResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteAppResult::DeleteAppResult() : + ServiceResult() +{} + +DeleteAppResult::DeleteAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAppResult::~DeleteAppResult() +{} + +void DeleteAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteDomainCertificateRequest.cc b/cloudapi/src/model/DeleteDomainCertificateRequest.cc new file mode 100644 index 000000000..a74a9a084 --- /dev/null +++ b/cloudapi/src/model/DeleteDomainCertificateRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DeleteDomainCertificateRequest; + +DeleteDomainCertificateRequest::DeleteDomainCertificateRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteDomainCertificate") +{} + +DeleteDomainCertificateRequest::~DeleteDomainCertificateRequest() +{} + +std::string DeleteDomainCertificateRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteDomainCertificateRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteDomainCertificateRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteDomainCertificateRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DeleteDomainCertificateRequest::getCertificateId()const +{ + return certificateId_; +} + +void DeleteDomainCertificateRequest::setCertificateId(const std::string& certificateId) +{ + certificateId_ = certificateId; + setCoreParameter("CertificateId", certificateId); +} + +std::string DeleteDomainCertificateRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteDomainCertificateRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string DeleteDomainCertificateRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteDomainCertificateRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteDomainCertificateResult.cc b/cloudapi/src/model/DeleteDomainCertificateResult.cc new file mode 100644 index 000000000..f39d87749 --- /dev/null +++ b/cloudapi/src/model/DeleteDomainCertificateResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteDomainCertificateResult::DeleteDomainCertificateResult() : + ServiceResult() +{} + +DeleteDomainCertificateResult::DeleteDomainCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDomainCertificateResult::~DeleteDomainCertificateResult() +{} + +void DeleteDomainCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteDomainRequest.cc b/cloudapi/src/model/DeleteDomainRequest.cc new file mode 100644 index 000000000..78620606a --- /dev/null +++ b/cloudapi/src/model/DeleteDomainRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteDomainRequest; + +DeleteDomainRequest::DeleteDomainRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteDomain") +{} + +DeleteDomainRequest::~DeleteDomainRequest() +{} + +std::string DeleteDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteDomainRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteDomainRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DeleteDomainRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string DeleteDomainRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteDomainRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteDomainResult.cc b/cloudapi/src/model/DeleteDomainResult.cc new file mode 100644 index 000000000..1ceb18868 --- /dev/null +++ b/cloudapi/src/model/DeleteDomainResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteDomainResult::DeleteDomainResult() : + ServiceResult() +{} + +DeleteDomainResult::DeleteDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDomainResult::~DeleteDomainResult() +{} + +void DeleteDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteIpControlRequest.cc b/cloudapi/src/model/DeleteIpControlRequest.cc new file mode 100644 index 000000000..ec9e25ad7 --- /dev/null +++ b/cloudapi/src/model/DeleteIpControlRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteIpControlRequest; + +DeleteIpControlRequest::DeleteIpControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteIpControl") +{} + +DeleteIpControlRequest::~DeleteIpControlRequest() +{} + +std::string DeleteIpControlRequest::getIpControlId()const +{ + return ipControlId_; +} + +void DeleteIpControlRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string DeleteIpControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteIpControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteIpControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteIpControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteIpControlResult.cc b/cloudapi/src/model/DeleteIpControlResult.cc new file mode 100644 index 000000000..671a8ec59 --- /dev/null +++ b/cloudapi/src/model/DeleteIpControlResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteIpControlResult::DeleteIpControlResult() : + ServiceResult() +{} + +DeleteIpControlResult::DeleteIpControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteIpControlResult::~DeleteIpControlResult() +{} + +void DeleteIpControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteLogConfigRequest.cc b/cloudapi/src/model/DeleteLogConfigRequest.cc new file mode 100644 index 000000000..d9ba57e32 --- /dev/null +++ b/cloudapi/src/model/DeleteLogConfigRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteLogConfigRequest; + +DeleteLogConfigRequest::DeleteLogConfigRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteLogConfig") +{} + +DeleteLogConfigRequest::~DeleteLogConfigRequest() +{} + +std::string DeleteLogConfigRequest::getLogType()const +{ + return logType_; +} + +void DeleteLogConfigRequest::setLogType(const std::string& logType) +{ + logType_ = logType; + setCoreParameter("LogType", logType); +} + +std::string DeleteLogConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLogConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteLogConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DeleteLogConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DeleteLogConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLogConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteLogConfigResult.cc b/cloudapi/src/model/DeleteLogConfigResult.cc new file mode 100644 index 000000000..f714b072d --- /dev/null +++ b/cloudapi/src/model/DeleteLogConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteLogConfigResult::DeleteLogConfigResult() : + ServiceResult() +{} + +DeleteLogConfigResult::DeleteLogConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLogConfigResult::~DeleteLogConfigResult() +{} + +void DeleteLogConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteSignatureRequest.cc b/cloudapi/src/model/DeleteSignatureRequest.cc new file mode 100644 index 000000000..e841c09f3 --- /dev/null +++ b/cloudapi/src/model/DeleteSignatureRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteSignatureRequest; + +DeleteSignatureRequest::DeleteSignatureRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteSignature") +{} + +DeleteSignatureRequest::~DeleteSignatureRequest() +{} + +std::string DeleteSignatureRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteSignatureRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteSignatureRequest::getSignatureId()const +{ + return signatureId_; +} + +void DeleteSignatureRequest::setSignatureId(const std::string& signatureId) +{ + signatureId_ = signatureId; + setCoreParameter("SignatureId", signatureId); +} + +std::string DeleteSignatureRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteSignatureRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteSignatureResult.cc b/cloudapi/src/model/DeleteSignatureResult.cc new file mode 100644 index 000000000..13833ff1c --- /dev/null +++ b/cloudapi/src/model/DeleteSignatureResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteSignatureResult::DeleteSignatureResult() : + ServiceResult() +{} + +DeleteSignatureResult::DeleteSignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSignatureResult::~DeleteSignatureResult() +{} + +void DeleteSignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteTrafficControlRequest.cc b/cloudapi/src/model/DeleteTrafficControlRequest.cc new file mode 100644 index 000000000..56a7bc135 --- /dev/null +++ b/cloudapi/src/model/DeleteTrafficControlRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DeleteTrafficControlRequest; + +DeleteTrafficControlRequest::DeleteTrafficControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteTrafficControl") +{} + +DeleteTrafficControlRequest::~DeleteTrafficControlRequest() +{} + +std::string DeleteTrafficControlRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void DeleteTrafficControlRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string DeleteTrafficControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteTrafficControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteTrafficControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteTrafficControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteTrafficControlResult.cc b/cloudapi/src/model/DeleteTrafficControlResult.cc new file mode 100644 index 000000000..21ebce216 --- /dev/null +++ b/cloudapi/src/model/DeleteTrafficControlResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteTrafficControlResult::DeleteTrafficControlResult() : + ServiceResult() +{} + +DeleteTrafficControlResult::DeleteTrafficControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTrafficControlResult::~DeleteTrafficControlResult() +{} + +void DeleteTrafficControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeleteTrafficSpecialControlRequest.cc b/cloudapi/src/model/DeleteTrafficSpecialControlRequest.cc new file mode 100644 index 000000000..ee11d85a8 --- /dev/null +++ b/cloudapi/src/model/DeleteTrafficSpecialControlRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DeleteTrafficSpecialControlRequest; + +DeleteTrafficSpecialControlRequest::DeleteTrafficSpecialControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeleteTrafficSpecialControl") +{} + +DeleteTrafficSpecialControlRequest::~DeleteTrafficSpecialControlRequest() +{} + +std::string DeleteTrafficSpecialControlRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void DeleteTrafficSpecialControlRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string DeleteTrafficSpecialControlRequest::getSpecialKey()const +{ + return specialKey_; +} + +void DeleteTrafficSpecialControlRequest::setSpecialKey(const std::string& specialKey) +{ + specialKey_ = specialKey; + setCoreParameter("SpecialKey", specialKey); +} + +std::string DeleteTrafficSpecialControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteTrafficSpecialControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeleteTrafficSpecialControlRequest::getSpecialType()const +{ + return specialType_; +} + +void DeleteTrafficSpecialControlRequest::setSpecialType(const std::string& specialType) +{ + specialType_ = specialType; + setCoreParameter("SpecialType", specialType); +} + +std::string DeleteTrafficSpecialControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteTrafficSpecialControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeleteTrafficSpecialControlResult.cc b/cloudapi/src/model/DeleteTrafficSpecialControlResult.cc new file mode 100644 index 000000000..f6fb2f652 --- /dev/null +++ b/cloudapi/src/model/DeleteTrafficSpecialControlResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeleteTrafficSpecialControlResult::DeleteTrafficSpecialControlResult() : + ServiceResult() +{} + +DeleteTrafficSpecialControlResult::DeleteTrafficSpecialControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTrafficSpecialControlResult::~DeleteTrafficSpecialControlResult() +{} + +void DeleteTrafficSpecialControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DeployApiRequest.cc b/cloudapi/src/model/DeployApiRequest.cc new file mode 100644 index 000000000..48b3e9411 --- /dev/null +++ b/cloudapi/src/model/DeployApiRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DeployApiRequest; + +DeployApiRequest::DeployApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DeployApi") +{} + +DeployApiRequest::~DeployApiRequest() +{} + +std::string DeployApiRequest::getStageName()const +{ + return stageName_; +} + +void DeployApiRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DeployApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeployApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DeployApiRequest::getGroupId()const +{ + return groupId_; +} + +void DeployApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DeployApiRequest::getDescription()const +{ + return description_; +} + +void DeployApiRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string DeployApiRequest::getApiId()const +{ + return apiId_; +} + +void DeployApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DeployApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeployApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DeployApiResult.cc b/cloudapi/src/model/DeployApiResult.cc new file mode 100644 index 000000000..9c9c61712 --- /dev/null +++ b/cloudapi/src/model/DeployApiResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DeployApiResult::DeployApiResult() : + ServiceResult() +{} + +DeployApiResult::DeployApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeployApiResult::~DeployApiResult() +{} + +void DeployApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/DescribeApiDocRequest.cc b/cloudapi/src/model/DescribeApiDocRequest.cc new file mode 100644 index 000000000..d17eba65c --- /dev/null +++ b/cloudapi/src/model/DescribeApiDocRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiDocRequest; + +DescribeApiDocRequest::DescribeApiDocRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiDoc") +{} + +DescribeApiDocRequest::~DescribeApiDocRequest() +{} + +std::string DescribeApiDocRequest::getStageName()const +{ + return stageName_; +} + +void DescribeApiDocRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeApiDocRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiDocRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiDocRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiDocRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiDocRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiDocRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiDocRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiDocRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiDocResult.cc b/cloudapi/src/model/DescribeApiDocResult.cc new file mode 100644 index 000000000..de7b8005b --- /dev/null +++ b/cloudapi/src/model/DescribeApiDocResult.cc @@ -0,0 +1,255 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiDocResult::DescribeApiDocResult() : + ServiceResult() +{} + +DescribeApiDocResult::DescribeApiDocResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiDocResult::~DescribeApiDocResult() +{} + +void DescribeApiDocResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"]; + for (auto value : allErrorCodeSamples) + { + ErrorCodeSample errorCodeSamplesObject; + if(!value["Code"].isNull()) + errorCodeSamplesObject.code = value["Code"].asString(); + if(!value["Message"].isNull()) + errorCodeSamplesObject.message = value["Message"].asString(); + if(!value["Description"].isNull()) + errorCodeSamplesObject.description = value["Description"].asString(); + errorCodeSamples_.push_back(errorCodeSamplesObject); + } + auto allResultDescriptions = value["ResultDescriptions"]["ResultDescription"]; + for (auto value : allResultDescriptions) + { + ResultDescription resultDescriptionsObject; + if(!value["Id"].isNull()) + resultDescriptionsObject.id = value["Id"].asString(); + if(!value["Pid"].isNull()) + resultDescriptionsObject.pid = value["Pid"].asString(); + if(!value["HasChild"].isNull()) + resultDescriptionsObject.hasChild = value["HasChild"].asString() == "true"; + if(!value["Key"].isNull()) + resultDescriptionsObject.key = value["Key"].asString(); + if(!value["Name"].isNull()) + resultDescriptionsObject.name = value["Name"].asString(); + if(!value["Mandatory"].isNull()) + resultDescriptionsObject.mandatory = value["Mandatory"].asString() == "true"; + if(!value["Type"].isNull()) + resultDescriptionsObject.type = value["Type"].asString(); + if(!value["Description"].isNull()) + resultDescriptionsObject.description = value["Description"].asString(); + resultDescriptions_.push_back(resultDescriptionsObject); + } + auto allRequestParameters = value["RequestParameters"]["RequestParameter"]; + for (auto value : allRequestParameters) + { + RequestParameter requestParametersObject; + if(!value["ApiParameterName"].isNull()) + requestParametersObject.apiParameterName = value["ApiParameterName"].asString(); + if(!value["Location"].isNull()) + requestParametersObject.location = value["Location"].asString(); + if(!value["ParameterType"].isNull()) + requestParametersObject.parameterType = value["ParameterType"].asString(); + if(!value["Required"].isNull()) + requestParametersObject.required = value["Required"].asString(); + if(!value["DefaultValue"].isNull()) + requestParametersObject.defaultValue = value["DefaultValue"].asString(); + if(!value["DemoValue"].isNull()) + requestParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["MaxValue"].isNull()) + requestParametersObject.maxValue = std::stol(value["MaxValue"].asString()); + if(!value["MinValue"].isNull()) + requestParametersObject.minValue = std::stol(value["MinValue"].asString()); + if(!value["MaxLength"].isNull()) + requestParametersObject.maxLength = std::stol(value["MaxLength"].asString()); + if(!value["MinLength"].isNull()) + requestParametersObject.minLength = std::stol(value["MinLength"].asString()); + if(!value["RegularExpression"].isNull()) + requestParametersObject.regularExpression = value["RegularExpression"].asString(); + if(!value["JsonScheme"].isNull()) + requestParametersObject.jsonScheme = value["JsonScheme"].asString(); + if(!value["EnumValue"].isNull()) + requestParametersObject.enumValue = value["EnumValue"].asString(); + if(!value["DocShow"].isNull()) + requestParametersObject.docShow = value["DocShow"].asString(); + if(!value["DocOrder"].isNull()) + requestParametersObject.docOrder = std::stoi(value["DocOrder"].asString()); + if(!value["Description"].isNull()) + requestParametersObject.description = value["Description"].asString(); + requestParameters_.push_back(requestParametersObject); + } + auto requestConfigNode = value["RequestConfig"]; + if(!requestConfigNode["RequestProtocol"].isNull()) + requestConfig_.requestProtocol = requestConfigNode["RequestProtocol"].asString(); + if(!requestConfigNode["RequestHttpMethod"].isNull()) + requestConfig_.requestHttpMethod = requestConfigNode["RequestHttpMethod"].asString(); + if(!requestConfigNode["RequestPath"].isNull()) + requestConfig_.requestPath = requestConfigNode["RequestPath"].asString(); + if(!requestConfigNode["BodyFormat"].isNull()) + requestConfig_.bodyFormat = requestConfigNode["BodyFormat"].asString(); + if(!requestConfigNode["PostBodyDescription"].isNull()) + requestConfig_.postBodyDescription = requestConfigNode["PostBodyDescription"].asString(); + if(!requestConfigNode["RequestMode"].isNull()) + requestConfig_.requestMode = requestConfigNode["RequestMode"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + stageName_ = value["StageName"].asString(); + if(!value["ApiId"].isNull()) + apiId_ = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiName_ = value["ApiName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["Visibility"].isNull()) + visibility_ = value["Visibility"].asString(); + if(!value["AuthType"].isNull()) + authType_ = value["AuthType"].asString(); + if(!value["ResultType"].isNull()) + resultType_ = value["ResultType"].asString(); + if(!value["ResultSample"].isNull()) + resultSample_ = value["ResultSample"].asString(); + if(!value["FailResultSample"].isNull()) + failResultSample_ = value["FailResultSample"].asString(); + if(!value["DeployedTime"].isNull()) + deployedTime_ = value["DeployedTime"].asString(); + if(!value["ForceNonceCheck"].isNull()) + forceNonceCheck_ = value["ForceNonceCheck"].asString() == "true"; + if(!value["DisableInternet"].isNull()) + disableInternet_ = value["DisableInternet"].asString() == "true"; + +} + +std::string DescribeApiDocResult::getGroupName()const +{ + return groupName_; +} + +DescribeApiDocResult::RequestConfig DescribeApiDocResult::getRequestConfig()const +{ + return requestConfig_; +} + +std::string DescribeApiDocResult::getDescription()const +{ + return description_; +} + +std::string DescribeApiDocResult::getResultSample()const +{ + return resultSample_; +} + +bool DescribeApiDocResult::getDisableInternet()const +{ + return disableInternet_; +} + +std::string DescribeApiDocResult::getStageName()const +{ + return stageName_; +} + +std::string DescribeApiDocResult::getApiName()const +{ + return apiName_; +} + +bool DescribeApiDocResult::getForceNonceCheck()const +{ + return forceNonceCheck_; +} + +std::string DescribeApiDocResult::getResultType()const +{ + return resultType_; +} + +std::string DescribeApiDocResult::getFailResultSample()const +{ + return failResultSample_; +} + +std::vector DescribeApiDocResult::getErrorCodeSamples()const +{ + return errorCodeSamples_; +} + +std::vector DescribeApiDocResult::getRequestParameters()const +{ + return requestParameters_; +} + +std::string DescribeApiDocResult::getGroupId()const +{ + return groupId_; +} + +std::string DescribeApiDocResult::getDeployedTime()const +{ + return deployedTime_; +} + +std::vector DescribeApiDocResult::getResultDescriptions()const +{ + return resultDescriptions_; +} + +std::string DescribeApiDocResult::getVisibility()const +{ + return visibility_; +} + +std::string DescribeApiDocResult::getRegionId()const +{ + return regionId_; +} + +std::string DescribeApiDocResult::getAuthType()const +{ + return authType_; +} + +std::string DescribeApiDocResult::getApiId()const +{ + return apiId_; +} + diff --git a/cloudapi/src/model/DescribeApiErrorDataRequest.cc b/cloudapi/src/model/DescribeApiErrorDataRequest.cc new file mode 100644 index 000000000..3612cb819 --- /dev/null +++ b/cloudapi/src/model/DescribeApiErrorDataRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiErrorDataRequest; + +DescribeApiErrorDataRequest::DescribeApiErrorDataRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiErrorData") +{} + +DescribeApiErrorDataRequest::~DescribeApiErrorDataRequest() +{} + +std::string DescribeApiErrorDataRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiErrorDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiErrorDataRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiErrorDataRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiErrorDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeApiErrorDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeApiErrorDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeApiErrorDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +std::string DescribeApiErrorDataRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiErrorDataRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiErrorDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiErrorDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiErrorDataResult.cc b/cloudapi/src/model/DescribeApiErrorDataResult.cc new file mode 100644 index 000000000..3cf364d50 --- /dev/null +++ b/cloudapi/src/model/DescribeApiErrorDataResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiErrorDataResult::DescribeApiErrorDataResult() : + ServiceResult() +{} + +DescribeApiErrorDataResult::DescribeApiErrorDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiErrorDataResult::~DescribeApiErrorDataResult() +{} + +void DescribeApiErrorDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allClientErrors = value["ClientErrors"]["MonitorItem"]; + for (auto value : allClientErrors) + { + MonitorItem clientErrorsObject; + if(!value["ItemTime"].isNull()) + clientErrorsObject.itemTime = value["ItemTime"].asString(); + if(!value["ItemValue"].isNull()) + clientErrorsObject.itemValue = value["ItemValue"].asString(); + clientErrors_.push_back(clientErrorsObject); + } + auto allServerErrors = value["ServerErrors"]["MonitorItem"]; + for (auto value : allServerErrors) + { + MonitorItem serverErrorsObject; + if(!value["ItemTime"].isNull()) + serverErrorsObject.itemTime = value["ItemTime"].asString(); + if(!value["ItemValue"].isNull()) + serverErrorsObject.itemValue = value["ItemValue"].asString(); + serverErrors_.push_back(serverErrorsObject); + } + +} + +std::vector DescribeApiErrorDataResult::getClientErrors()const +{ + return clientErrors_; +} + +std::vector DescribeApiErrorDataResult::getServerErrors()const +{ + return serverErrors_; +} + diff --git a/cloudapi/src/model/DescribeApiGroupRequest.cc b/cloudapi/src/model/DescribeApiGroupRequest.cc new file mode 100644 index 000000000..568a85fbe --- /dev/null +++ b/cloudapi/src/model/DescribeApiGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeApiGroupRequest; + +DescribeApiGroupRequest::DescribeApiGroupRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiGroup") +{} + +DescribeApiGroupRequest::~DescribeApiGroupRequest() +{} + +std::string DescribeApiGroupRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiGroupRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiGroupRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiGroupResult.cc b/cloudapi/src/model/DescribeApiGroupResult.cc new file mode 100644 index 000000000..9599fcfce --- /dev/null +++ b/cloudapi/src/model/DescribeApiGroupResult.cc @@ -0,0 +1,194 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiGroupResult::DescribeApiGroupResult() : + ServiceResult() +{} + +DescribeApiGroupResult::DescribeApiGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiGroupResult::~DescribeApiGroupResult() +{} + +void DescribeApiGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCustomDomains = value["CustomDomains"]["DomainItem"]; + for (auto value : allCustomDomains) + { + DomainItem customDomainsObject; + if(!value["DomainName"].isNull()) + customDomainsObject.domainName = value["DomainName"].asString(); + if(!value["CertificateId"].isNull()) + customDomainsObject.certificateId = value["CertificateId"].asString(); + if(!value["CertificateName"].isNull()) + customDomainsObject.certificateName = value["CertificateName"].asString(); + if(!value["DomainCNAMEStatus"].isNull()) + customDomainsObject.domainCNAMEStatus = value["DomainCNAMEStatus"].asString(); + if(!value["DomainBindingStatus"].isNull()) + customDomainsObject.domainBindingStatus = value["DomainBindingStatus"].asString(); + if(!value["DomainLegalStatus"].isNull()) + customDomainsObject.domainLegalStatus = value["DomainLegalStatus"].asString(); + if(!value["DomainWebSocketStatus"].isNull()) + customDomainsObject.domainWebSocketStatus = value["DomainWebSocketStatus"].asString(); + if(!value["DomainRemark"].isNull()) + customDomainsObject.domainRemark = value["DomainRemark"].asString(); + customDomains_.push_back(customDomainsObject); + } + auto allStageItems = value["StageItems"]["StageInfo"]; + for (auto value : allStageItems) + { + StageInfo stageItemsObject; + if(!value["StageId"].isNull()) + stageItemsObject.stageId = value["StageId"].asString(); + if(!value["StageName"].isNull()) + stageItemsObject.stageName = value["StageName"].asString(); + if(!value["Description"].isNull()) + stageItemsObject.description = value["Description"].asString(); + stageItems_.push_back(stageItemsObject); + } + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["SubDomain"].isNull()) + subDomain_ = value["SubDomain"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["BillingStatus"].isNull()) + billingStatus_ = value["BillingStatus"].asString(); + if(!value["IllegalStatus"].isNull()) + illegalStatus_ = value["IllegalStatus"].asString(); + if(!value["TrafficLimit"].isNull()) + trafficLimit_ = std::stoi(value["TrafficLimit"].asString()); + if(!value["VpcDomain"].isNull()) + vpcDomain_ = value["VpcDomain"].asString(); + if(!value["InstanceType"].isNull()) + instanceType_ = value["InstanceType"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["HttpsPolicy"].isNull()) + httpsPolicy_ = value["HttpsPolicy"].asString(); + +} + +std::string DescribeApiGroupResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribeApiGroupResult::getStatus()const +{ + return status_; +} + +std::string DescribeApiGroupResult::getDescription()const +{ + return description_; +} + +std::string DescribeApiGroupResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeApiGroupResult::getHttpsPolicy()const +{ + return httpsPolicy_; +} + +std::string DescribeApiGroupResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeApiGroupResult::getBillingStatus()const +{ + return billingStatus_; +} + +int DescribeApiGroupResult::getTrafficLimit()const +{ + return trafficLimit_; +} + +std::string DescribeApiGroupResult::getGroupId()const +{ + return groupId_; +} + +std::string DescribeApiGroupResult::getVpcDomain()const +{ + return vpcDomain_; +} + +std::string DescribeApiGroupResult::getSubDomain()const +{ + return subDomain_; +} + +std::vector DescribeApiGroupResult::getCustomDomains()const +{ + return customDomains_; +} + +std::string DescribeApiGroupResult::getModifiedTime()const +{ + return modifiedTime_; +} + +std::vector DescribeApiGroupResult::getStageItems()const +{ + return stageItems_; +} + +std::string DescribeApiGroupResult::getIllegalStatus()const +{ + return illegalStatus_; +} + +std::string DescribeApiGroupResult::getRegionId()const +{ + return regionId_; +} + +std::string DescribeApiGroupResult::getInstanceType()const +{ + return instanceType_; +} + diff --git a/cloudapi/src/model/DescribeApiGroupsRequest.cc b/cloudapi/src/model/DescribeApiGroupsRequest.cc new file mode 100644 index 000000000..769359146 --- /dev/null +++ b/cloudapi/src/model/DescribeApiGroupsRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiGroupsRequest; + +DescribeApiGroupsRequest::DescribeApiGroupsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiGroups") +{} + +DescribeApiGroupsRequest::~DescribeApiGroupsRequest() +{} + +std::string DescribeApiGroupsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiGroupsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiGroupsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiGroupsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeApiGroupsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApiGroupsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeApiGroupsRequest::getGroupName()const +{ + return groupName_; +} + +void DescribeApiGroupsRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setCoreParameter("GroupName", groupName); +} + +int DescribeApiGroupsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApiGroupsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApiGroupsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiGroupsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiGroupsResult.cc b/cloudapi/src/model/DescribeApiGroupsResult.cc new file mode 100644 index 000000000..b60186f36 --- /dev/null +++ b/cloudapi/src/model/DescribeApiGroupsResult.cc @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiGroupsResult::DescribeApiGroupsResult() : + ServiceResult() +{} + +DescribeApiGroupsResult::DescribeApiGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiGroupsResult::~DescribeApiGroupsResult() +{} + +void DescribeApiGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiGroupAttributes = value["ApiGroupAttributes"]["ApiGroupAttribute"]; + for (auto value : allApiGroupAttributes) + { + ApiGroupAttribute apiGroupAttributesObject; + if(!value["GroupId"].isNull()) + apiGroupAttributesObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + apiGroupAttributesObject.groupName = value["GroupName"].asString(); + if(!value["SubDomain"].isNull()) + apiGroupAttributesObject.subDomain = value["SubDomain"].asString(); + if(!value["Description"].isNull()) + apiGroupAttributesObject.description = value["Description"].asString(); + if(!value["CreatedTime"].isNull()) + apiGroupAttributesObject.createdTime = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + apiGroupAttributesObject.modifiedTime = value["ModifiedTime"].asString(); + if(!value["RegionId"].isNull()) + apiGroupAttributesObject.regionId = value["RegionId"].asString(); + if(!value["TrafficLimit"].isNull()) + apiGroupAttributesObject.trafficLimit = std::stoi(value["TrafficLimit"].asString()); + if(!value["BillingStatus"].isNull()) + apiGroupAttributesObject.billingStatus = value["BillingStatus"].asString(); + if(!value["IllegalStatus"].isNull()) + apiGroupAttributesObject.illegalStatus = value["IllegalStatus"].asString(); + if(!value["InstanceId"].isNull()) + apiGroupAttributesObject.instanceId = value["InstanceId"].asString(); + if(!value["InstanceType"].isNull()) + apiGroupAttributesObject.instanceType = value["InstanceType"].asString(); + if(!value["HttpsPolicy"].isNull()) + apiGroupAttributesObject.httpsPolicy = value["HttpsPolicy"].asString(); + apiGroupAttributes_.push_back(apiGroupAttributesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeApiGroupsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApiGroupsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApiGroupsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeApiGroupsResult::getApiGroupAttributes()const +{ + return apiGroupAttributes_; +} + diff --git a/cloudapi/src/model/DescribeApiHistoriesRequest.cc b/cloudapi/src/model/DescribeApiHistoriesRequest.cc new file mode 100644 index 000000000..fe2011cc8 --- /dev/null +++ b/cloudapi/src/model/DescribeApiHistoriesRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiHistoriesRequest; + +DescribeApiHistoriesRequest::DescribeApiHistoriesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiHistories") +{} + +DescribeApiHistoriesRequest::~DescribeApiHistoriesRequest() +{} + +std::string DescribeApiHistoriesRequest::getStageName()const +{ + return stageName_; +} + +void DescribeApiHistoriesRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeApiHistoriesRequest::getApiName()const +{ + return apiName_; +} + +void DescribeApiHistoriesRequest::setApiName(const std::string& apiName) +{ + apiName_ = apiName; + setCoreParameter("ApiName", apiName); +} + +std::string DescribeApiHistoriesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiHistoriesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiHistoriesRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiHistoriesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiHistoriesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApiHistoriesRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + +std::string DescribeApiHistoriesRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiHistoriesRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiHistoriesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApiHistoriesRequest::setPageNumber(const std::string& pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", pageNumber); +} + +std::string DescribeApiHistoriesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiHistoriesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiHistoriesResult.cc b/cloudapi/src/model/DescribeApiHistoriesResult.cc new file mode 100644 index 000000000..89f39f88f --- /dev/null +++ b/cloudapi/src/model/DescribeApiHistoriesResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiHistoriesResult::DescribeApiHistoriesResult() : + ServiceResult() +{} + +DescribeApiHistoriesResult::DescribeApiHistoriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiHistoriesResult::~DescribeApiHistoriesResult() +{} + +void DescribeApiHistoriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiHisItems = value["ApiHisItems"]["ApiHisItem"]; + for (auto value : allApiHisItems) + { + ApiHisItem apiHisItemsObject; + if(!value["RegionId"].isNull()) + apiHisItemsObject.regionId = value["RegionId"].asString(); + if(!value["ApiId"].isNull()) + apiHisItemsObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiHisItemsObject.apiName = value["ApiName"].asString(); + if(!value["GroupId"].isNull()) + apiHisItemsObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + apiHisItemsObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + apiHisItemsObject.stageName = value["StageName"].asString(); + if(!value["HistoryVersion"].isNull()) + apiHisItemsObject.historyVersion = value["HistoryVersion"].asString(); + if(!value["Status"].isNull()) + apiHisItemsObject.status = value["Status"].asString(); + if(!value["Description"].isNull()) + apiHisItemsObject.description = value["Description"].asString(); + if(!value["DeployedTime"].isNull()) + apiHisItemsObject.deployedTime = value["DeployedTime"].asString(); + apiHisItems_.push_back(apiHisItemsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeApiHistoriesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApiHistoriesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApiHistoriesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeApiHistoriesResult::getApiHisItems()const +{ + return apiHisItems_; +} + diff --git a/cloudapi/src/model/DescribeApiHistoryRequest.cc b/cloudapi/src/model/DescribeApiHistoryRequest.cc new file mode 100644 index 000000000..92989ea3b --- /dev/null +++ b/cloudapi/src/model/DescribeApiHistoryRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiHistoryRequest; + +DescribeApiHistoryRequest::DescribeApiHistoryRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiHistory") +{} + +DescribeApiHistoryRequest::~DescribeApiHistoryRequest() +{} + +std::string DescribeApiHistoryRequest::getStageName()const +{ + return stageName_; +} + +void DescribeApiHistoryRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeApiHistoryRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiHistoryRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiHistoryRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiHistoryRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiHistoryRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiHistoryRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiHistoryRequest::getHistoryVersion()const +{ + return historyVersion_; +} + +void DescribeApiHistoryRequest::setHistoryVersion(const std::string& historyVersion) +{ + historyVersion_ = historyVersion; + setCoreParameter("HistoryVersion", historyVersion); +} + +std::string DescribeApiHistoryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiHistoryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiHistoryResult.cc b/cloudapi/src/model/DescribeApiHistoryResult.cc new file mode 100644 index 000000000..33384350a --- /dev/null +++ b/cloudapi/src/model/DescribeApiHistoryResult.cc @@ -0,0 +1,444 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiHistoryResult::DescribeApiHistoryResult() : + ServiceResult() +{} + +DescribeApiHistoryResult::DescribeApiHistoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiHistoryResult::~DescribeApiHistoryResult() +{} + +void DescribeApiHistoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"]; + for (auto value : allErrorCodeSamples) + { + ErrorCodeSample errorCodeSamplesObject; + if(!value["Code"].isNull()) + errorCodeSamplesObject.code = value["Code"].asString(); + if(!value["Message"].isNull()) + errorCodeSamplesObject.message = value["Message"].asString(); + if(!value["Description"].isNull()) + errorCodeSamplesObject.description = value["Description"].asString(); + errorCodeSamples_.push_back(errorCodeSamplesObject); + } + auto allResultDescriptions = value["ResultDescriptions"]["ResultDescription"]; + for (auto value : allResultDescriptions) + { + ResultDescription resultDescriptionsObject; + if(!value["Id"].isNull()) + resultDescriptionsObject.id = value["Id"].asString(); + if(!value["Pid"].isNull()) + resultDescriptionsObject.pid = value["Pid"].asString(); + if(!value["HasChild"].isNull()) + resultDescriptionsObject.hasChild = value["HasChild"].asString() == "true"; + if(!value["Key"].isNull()) + resultDescriptionsObject.key = value["Key"].asString(); + if(!value["Name"].isNull()) + resultDescriptionsObject.name = value["Name"].asString(); + if(!value["Mandatory"].isNull()) + resultDescriptionsObject.mandatory = value["Mandatory"].asString() == "true"; + if(!value["Type"].isNull()) + resultDescriptionsObject.type = value["Type"].asString(); + if(!value["Description"].isNull()) + resultDescriptionsObject.description = value["Description"].asString(); + resultDescriptions_.push_back(resultDescriptionsObject); + } + auto allSystemParameters = value["SystemParameters"]["SystemParameter"]; + for (auto value : allSystemParameters) + { + SystemParameter systemParametersObject; + if(!value["ParameterName"].isNull()) + systemParametersObject.parameterName = value["ParameterName"].asString(); + if(!value["ServiceParameterName"].isNull()) + systemParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + systemParametersObject.location = value["Location"].asString(); + if(!value["DemoValue"].isNull()) + systemParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["Description"].isNull()) + systemParametersObject.description = value["Description"].asString(); + systemParameters_.push_back(systemParametersObject); + } + auto allCustomSystemParameters = value["CustomSystemParameters"]["CustomSystemParameter"]; + for (auto value : allCustomSystemParameters) + { + CustomSystemParameter customSystemParametersObject; + if(!value["ParameterName"].isNull()) + customSystemParametersObject.parameterName = value["ParameterName"].asString(); + if(!value["ServiceParameterName"].isNull()) + customSystemParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + customSystemParametersObject.location = value["Location"].asString(); + if(!value["DemoValue"].isNull()) + customSystemParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["Description"].isNull()) + customSystemParametersObject.description = value["Description"].asString(); + customSystemParameters_.push_back(customSystemParametersObject); + } + auto allConstantParameters = value["ConstantParameters"]["ConstantParameter"]; + for (auto value : allConstantParameters) + { + ConstantParameter constantParametersObject; + if(!value["ServiceParameterName"].isNull()) + constantParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["ConstantValue"].isNull()) + constantParametersObject.constantValue = value["ConstantValue"].asString(); + if(!value["Location"].isNull()) + constantParametersObject.location = value["Location"].asString(); + if(!value["Description"].isNull()) + constantParametersObject.description = value["Description"].asString(); + constantParameters_.push_back(constantParametersObject); + } + auto allRequestParameters = value["RequestParameters"]["RequestParameter"]; + for (auto value : allRequestParameters) + { + RequestParameter requestParametersObject; + if(!value["ApiParameterName"].isNull()) + requestParametersObject.apiParameterName = value["ApiParameterName"].asString(); + if(!value["Location"].isNull()) + requestParametersObject.location = value["Location"].asString(); + if(!value["ParameterType"].isNull()) + requestParametersObject.parameterType = value["ParameterType"].asString(); + if(!value["Required"].isNull()) + requestParametersObject.required = value["Required"].asString(); + if(!value["DefaultValue"].isNull()) + requestParametersObject.defaultValue = value["DefaultValue"].asString(); + if(!value["DemoValue"].isNull()) + requestParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["MaxValue"].isNull()) + requestParametersObject.maxValue = std::stol(value["MaxValue"].asString()); + if(!value["MinValue"].isNull()) + requestParametersObject.minValue = std::stol(value["MinValue"].asString()); + if(!value["MaxLength"].isNull()) + requestParametersObject.maxLength = std::stol(value["MaxLength"].asString()); + if(!value["MinLength"].isNull()) + requestParametersObject.minLength = std::stol(value["MinLength"].asString()); + if(!value["RegularExpression"].isNull()) + requestParametersObject.regularExpression = value["RegularExpression"].asString(); + if(!value["JsonScheme"].isNull()) + requestParametersObject.jsonScheme = value["JsonScheme"].asString(); + if(!value["EnumValue"].isNull()) + requestParametersObject.enumValue = value["EnumValue"].asString(); + if(!value["DocShow"].isNull()) + requestParametersObject.docShow = value["DocShow"].asString(); + if(!value["DocOrder"].isNull()) + requestParametersObject.docOrder = std::stoi(value["DocOrder"].asString()); + if(!value["Description"].isNull()) + requestParametersObject.description = value["Description"].asString(); + requestParameters_.push_back(requestParametersObject); + } + auto allServiceParameters = value["ServiceParameters"]["ServiceParameter"]; + for (auto value : allServiceParameters) + { + ServiceParameter serviceParametersObject; + if(!value["ServiceParameterName"].isNull()) + serviceParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + serviceParametersObject.location = value["Location"].asString(); + if(!value["ParameterType"].isNull()) + serviceParametersObject.parameterType = value["ParameterType"].asString(); + serviceParameters_.push_back(serviceParametersObject); + } + auto allServiceParametersMap = value["ServiceParametersMap"]["ServiceParameterMap"]; + for (auto value : allServiceParametersMap) + { + ServiceParameterMap serviceParametersMapObject; + if(!value["ServiceParameterName"].isNull()) + serviceParametersMapObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["RequestParameterName"].isNull()) + serviceParametersMapObject.requestParameterName = value["RequestParameterName"].asString(); + serviceParametersMap_.push_back(serviceParametersMapObject); + } + auto requestConfigNode = value["RequestConfig"]; + if(!requestConfigNode["RequestProtocol"].isNull()) + requestConfig_.requestProtocol = requestConfigNode["RequestProtocol"].asString(); + if(!requestConfigNode["RequestHttpMethod"].isNull()) + requestConfig_.requestHttpMethod = requestConfigNode["RequestHttpMethod"].asString(); + if(!requestConfigNode["RequestPath"].isNull()) + requestConfig_.requestPath = requestConfigNode["RequestPath"].asString(); + if(!requestConfigNode["BodyFormat"].isNull()) + requestConfig_.bodyFormat = requestConfigNode["BodyFormat"].asString(); + if(!requestConfigNode["PostBodyDescription"].isNull()) + requestConfig_.postBodyDescription = requestConfigNode["PostBodyDescription"].asString(); + if(!requestConfigNode["RequestMode"].isNull()) + requestConfig_.requestMode = requestConfigNode["RequestMode"].asString(); + if(!requestConfigNode["BodyModel"].isNull()) + requestConfig_.bodyModel = requestConfigNode["BodyModel"].asString(); + auto serviceConfigNode = value["ServiceConfig"]; + if(!serviceConfigNode["ServiceProtocol"].isNull()) + serviceConfig_.serviceProtocol = serviceConfigNode["ServiceProtocol"].asString(); + if(!serviceConfigNode["ServiceAddress"].isNull()) + serviceConfig_.serviceAddress = serviceConfigNode["ServiceAddress"].asString(); + if(!serviceConfigNode["ServiceHttpMethod"].isNull()) + serviceConfig_.serviceHttpMethod = serviceConfigNode["ServiceHttpMethod"].asString(); + if(!serviceConfigNode["ServicePath"].isNull()) + serviceConfig_.servicePath = serviceConfigNode["ServicePath"].asString(); + if(!serviceConfigNode["ServiceTimeout"].isNull()) + serviceConfig_.serviceTimeout = std::stoi(serviceConfigNode["ServiceTimeout"].asString()); + if(!serviceConfigNode["Mock"].isNull()) + serviceConfig_.mock = serviceConfigNode["Mock"].asString(); + if(!serviceConfigNode["MockResult"].isNull()) + serviceConfig_.mockResult = serviceConfigNode["MockResult"].asString(); + if(!serviceConfigNode["ServiceVpcEnable"].isNull()) + serviceConfig_.serviceVpcEnable = serviceConfigNode["ServiceVpcEnable"].asString(); + if(!serviceConfigNode["MockStatusCode"].isNull()) + serviceConfig_.mockStatusCode = std::stoi(serviceConfigNode["MockStatusCode"].asString()); + auto allMockHeaders = value["MockHeaders"]["MockHeader"]; + for (auto value : allMockHeaders) + { + ServiceConfig::MockHeader mockHeaderObject; + if(!value["HeaderName"].isNull()) + mockHeaderObject.headerName = value["HeaderName"].asString(); + if(!value["HeaderValue"].isNull()) + mockHeaderObject.headerValue = value["HeaderValue"].asString(); + serviceConfig_.mockHeaders.push_back(mockHeaderObject); + } + auto vpcConfigNode = serviceConfigNode["VpcConfig"]; + if(!vpcConfigNode["Name"].isNull()) + serviceConfig_.vpcConfig.name = vpcConfigNode["Name"].asString(); + if(!vpcConfigNode["VpcId"].isNull()) + serviceConfig_.vpcConfig.vpcId = vpcConfigNode["VpcId"].asString(); + if(!vpcConfigNode["InstanceId"].isNull()) + serviceConfig_.vpcConfig.instanceId = vpcConfigNode["InstanceId"].asString(); + if(!vpcConfigNode["Port"].isNull()) + serviceConfig_.vpcConfig.port = std::stoi(vpcConfigNode["Port"].asString()); + auto functionComputeConfigNode = serviceConfigNode["FunctionComputeConfig"]; + if(!functionComputeConfigNode["RegionId"].isNull()) + serviceConfig_.functionComputeConfig.regionId = functionComputeConfigNode["RegionId"].asString(); + if(!functionComputeConfigNode["ServiceName"].isNull()) + serviceConfig_.functionComputeConfig.serviceName = functionComputeConfigNode["ServiceName"].asString(); + if(!functionComputeConfigNode["FunctionName"].isNull()) + serviceConfig_.functionComputeConfig.functionName = functionComputeConfigNode["FunctionName"].asString(); + if(!functionComputeConfigNode["RoleArn"].isNull()) + serviceConfig_.functionComputeConfig.roleArn = functionComputeConfigNode["RoleArn"].asString(); + auto openIdConnectConfigNode = value["OpenIdConnectConfig"]; + if(!openIdConnectConfigNode["OpenIdApiType"].isNull()) + openIdConnectConfig_.openIdApiType = openIdConnectConfigNode["OpenIdApiType"].asString(); + if(!openIdConnectConfigNode["IdTokenParamName"].isNull()) + openIdConnectConfig_.idTokenParamName = openIdConnectConfigNode["IdTokenParamName"].asString(); + if(!openIdConnectConfigNode["PublicKeyId"].isNull()) + openIdConnectConfig_.publicKeyId = openIdConnectConfigNode["PublicKeyId"].asString(); + if(!openIdConnectConfigNode["PublicKey"].isNull()) + openIdConnectConfig_.publicKey = openIdConnectConfigNode["PublicKey"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + stageName_ = value["StageName"].asString(); + if(!value["ApiId"].isNull()) + apiId_ = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiName_ = value["ApiName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["HistoryVersion"].isNull()) + historyVersion_ = value["HistoryVersion"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Visibility"].isNull()) + visibility_ = value["Visibility"].asString(); + if(!value["AuthType"].isNull()) + authType_ = value["AuthType"].asString(); + if(!value["ResultType"].isNull()) + resultType_ = value["ResultType"].asString(); + if(!value["ResultSample"].isNull()) + resultSample_ = value["ResultSample"].asString(); + if(!value["FailResultSample"].isNull()) + failResultSample_ = value["FailResultSample"].asString(); + if(!value["DeployedTime"].isNull()) + deployedTime_ = value["DeployedTime"].asString(); + if(!value["AllowSignatureMethod"].isNull()) + allowSignatureMethod_ = value["AllowSignatureMethod"].asString(); + if(!value["ResultBodyModel"].isNull()) + resultBodyModel_ = value["ResultBodyModel"].asString(); + if(!value["ForceNonceCheck"].isNull()) + forceNonceCheck_ = value["ForceNonceCheck"].asString() == "true"; + if(!value["DisableInternet"].isNull()) + disableInternet_ = value["DisableInternet"].asString() == "true"; + +} + +std::string DescribeApiHistoryResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribeApiHistoryResult::getDescription()const +{ + return description_; +} + +bool DescribeApiHistoryResult::getForceNonceCheck()const +{ + return forceNonceCheck_; +} + +std::string DescribeApiHistoryResult::getAllowSignatureMethod()const +{ + return allowSignatureMethod_; +} + +std::vector DescribeApiHistoryResult::getErrorCodeSamples()const +{ + return errorCodeSamples_; +} + +std::vector DescribeApiHistoryResult::getRequestParameters()const +{ + return requestParameters_; +} + +std::vector DescribeApiHistoryResult::getServiceParametersMap()const +{ + return serviceParametersMap_; +} + +std::string DescribeApiHistoryResult::getResultBodyModel()const +{ + return resultBodyModel_; +} + +DescribeApiHistoryResult::ServiceConfig DescribeApiHistoryResult::getServiceConfig()const +{ + return serviceConfig_; +} + +std::vector DescribeApiHistoryResult::getConstantParameters()const +{ + return constantParameters_; +} + +std::vector DescribeApiHistoryResult::getResultDescriptions()const +{ + return resultDescriptions_; +} + +DescribeApiHistoryResult::OpenIdConnectConfig DescribeApiHistoryResult::getOpenIdConnectConfig()const +{ + return openIdConnectConfig_; +} + +std::string DescribeApiHistoryResult::getAuthType()const +{ + return authType_; +} + +std::string DescribeApiHistoryResult::getStatus()const +{ + return status_; +} + +DescribeApiHistoryResult::RequestConfig DescribeApiHistoryResult::getRequestConfig()const +{ + return requestConfig_; +} + +std::string DescribeApiHistoryResult::getResultSample()const +{ + return resultSample_; +} + +bool DescribeApiHistoryResult::getDisableInternet()const +{ + return disableInternet_; +} + +std::string DescribeApiHistoryResult::getStageName()const +{ + return stageName_; +} + +std::string DescribeApiHistoryResult::getApiName()const +{ + return apiName_; +} + +std::string DescribeApiHistoryResult::getResultType()const +{ + return resultType_; +} + +std::string DescribeApiHistoryResult::getFailResultSample()const +{ + return failResultSample_; +} + +std::vector DescribeApiHistoryResult::getCustomSystemParameters()const +{ + return customSystemParameters_; +} + +std::string DescribeApiHistoryResult::getGroupId()const +{ + return groupId_; +} + +std::string DescribeApiHistoryResult::getDeployedTime()const +{ + return deployedTime_; +} + +std::vector DescribeApiHistoryResult::getSystemParameters()const +{ + return systemParameters_; +} + +std::string DescribeApiHistoryResult::getVisibility()const +{ + return visibility_; +} + +std::vector DescribeApiHistoryResult::getServiceParameters()const +{ + return serviceParameters_; +} + +std::string DescribeApiHistoryResult::getRegionId()const +{ + return regionId_; +} + +std::string DescribeApiHistoryResult::getApiId()const +{ + return apiId_; +} + +std::string DescribeApiHistoryResult::getHistoryVersion()const +{ + return historyVersion_; +} + diff --git a/cloudapi/src/model/DescribeApiIpControlsRequest.cc b/cloudapi/src/model/DescribeApiIpControlsRequest.cc new file mode 100644 index 000000000..e6b5cdbb3 --- /dev/null +++ b/cloudapi/src/model/DescribeApiIpControlsRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiIpControlsRequest; + +DescribeApiIpControlsRequest::DescribeApiIpControlsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiIpControls") +{} + +DescribeApiIpControlsRequest::~DescribeApiIpControlsRequest() +{} + +std::string DescribeApiIpControlsRequest::getStageName()const +{ + return stageName_; +} + +void DescribeApiIpControlsRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeApiIpControlsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiIpControlsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiIpControlsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiIpControlsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeApiIpControlsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApiIpControlsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeApiIpControlsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApiIpControlsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApiIpControlsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiIpControlsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeApiIpControlsRequest::getApiIds()const +{ + return apiIds_; +} + +void DescribeApiIpControlsRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/DescribeApiIpControlsResult.cc b/cloudapi/src/model/DescribeApiIpControlsResult.cc new file mode 100644 index 000000000..c775b451b --- /dev/null +++ b/cloudapi/src/model/DescribeApiIpControlsResult.cc @@ -0,0 +1,87 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiIpControlsResult::DescribeApiIpControlsResult() : + ServiceResult() +{} + +DescribeApiIpControlsResult::DescribeApiIpControlsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiIpControlsResult::~DescribeApiIpControlsResult() +{} + +void DescribeApiIpControlsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiIpControls = value["ApiIpControls"]["ApiIpControlItem"]; + for (auto value : allApiIpControls) + { + ApiIpControlItem apiIpControlsObject; + if(!value["ApiId"].isNull()) + apiIpControlsObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiIpControlsObject.apiName = value["ApiName"].asString(); + if(!value["IpControlId"].isNull()) + apiIpControlsObject.ipControlId = value["IpControlId"].asString(); + if(!value["IpControlName"].isNull()) + apiIpControlsObject.ipControlName = value["IpControlName"].asString(); + if(!value["BoundTime"].isNull()) + apiIpControlsObject.boundTime = value["BoundTime"].asString(); + apiIpControls_.push_back(apiIpControlsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeApiIpControlsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApiIpControlsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApiIpControlsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeApiIpControlsResult::getApiIpControls()const +{ + return apiIpControls_; +} + diff --git a/cloudapi/src/model/DescribeApiLatencyDataRequest.cc b/cloudapi/src/model/DescribeApiLatencyDataRequest.cc new file mode 100644 index 000000000..4a2f77254 --- /dev/null +++ b/cloudapi/src/model/DescribeApiLatencyDataRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiLatencyDataRequest; + +DescribeApiLatencyDataRequest::DescribeApiLatencyDataRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiLatencyData") +{} + +DescribeApiLatencyDataRequest::~DescribeApiLatencyDataRequest() +{} + +std::string DescribeApiLatencyDataRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiLatencyDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiLatencyDataRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiLatencyDataRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiLatencyDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeApiLatencyDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeApiLatencyDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeApiLatencyDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +std::string DescribeApiLatencyDataRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiLatencyDataRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiLatencyDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiLatencyDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiLatencyDataResult.cc b/cloudapi/src/model/DescribeApiLatencyDataResult.cc new file mode 100644 index 000000000..6724a3ae9 --- /dev/null +++ b/cloudapi/src/model/DescribeApiLatencyDataResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiLatencyDataResult::DescribeApiLatencyDataResult() : + ServiceResult() +{} + +DescribeApiLatencyDataResult::DescribeApiLatencyDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiLatencyDataResult::~DescribeApiLatencyDataResult() +{} + +void DescribeApiLatencyDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCallLatencys = value["CallLatencys"]["MonitorItem"]; + for (auto value : allCallLatencys) + { + MonitorItem callLatencysObject; + if(!value["ItemTime"].isNull()) + callLatencysObject.itemTime = value["ItemTime"].asString(); + if(!value["ItemValue"].isNull()) + callLatencysObject.itemValue = value["ItemValue"].asString(); + callLatencys_.push_back(callLatencysObject); + } + +} + +std::vector DescribeApiLatencyDataResult::getCallLatencys()const +{ + return callLatencys_; +} + diff --git a/cloudapi/src/model/DescribeApiQpsDataRequest.cc b/cloudapi/src/model/DescribeApiQpsDataRequest.cc new file mode 100644 index 000000000..f804ebeb5 --- /dev/null +++ b/cloudapi/src/model/DescribeApiQpsDataRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiQpsDataRequest; + +DescribeApiQpsDataRequest::DescribeApiQpsDataRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiQpsData") +{} + +DescribeApiQpsDataRequest::~DescribeApiQpsDataRequest() +{} + +std::string DescribeApiQpsDataRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiQpsDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiQpsDataRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiQpsDataRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiQpsDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeApiQpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeApiQpsDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeApiQpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +std::string DescribeApiQpsDataRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiQpsDataRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiQpsDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiQpsDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiQpsDataResult.cc b/cloudapi/src/model/DescribeApiQpsDataResult.cc new file mode 100644 index 000000000..209f52a7b --- /dev/null +++ b/cloudapi/src/model/DescribeApiQpsDataResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiQpsDataResult::DescribeApiQpsDataResult() : + ServiceResult() +{} + +DescribeApiQpsDataResult::DescribeApiQpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiQpsDataResult::~DescribeApiQpsDataResult() +{} + +void DescribeApiQpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCallSuccesses = value["CallSuccesses"]["MonitorItem"]; + for (auto value : allCallSuccesses) + { + MonitorItem callSuccessesObject; + if(!value["ItemTime"].isNull()) + callSuccessesObject.itemTime = value["ItemTime"].asString(); + if(!value["ItemValue"].isNull()) + callSuccessesObject.itemValue = value["ItemValue"].asString(); + callSuccesses_.push_back(callSuccessesObject); + } + auto allCallFails = value["CallFails"]["MonitorItem"]; + for (auto value : allCallFails) + { + MonitorItem callFailsObject; + if(!value["ItemTime"].isNull()) + callFailsObject.itemTime = value["ItemTime"].asString(); + if(!value["ItemValue"].isNull()) + callFailsObject.itemValue = value["ItemValue"].asString(); + callFails_.push_back(callFailsObject); + } + +} + +std::vector DescribeApiQpsDataResult::getCallFails()const +{ + return callFails_; +} + +std::vector DescribeApiQpsDataResult::getCallSuccesses()const +{ + return callSuccesses_; +} + diff --git a/cloudapi/src/model/DescribeApiRequest.cc b/cloudapi/src/model/DescribeApiRequest.cc new file mode 100644 index 000000000..fe053922c --- /dev/null +++ b/cloudapi/src/model/DescribeApiRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeApiRequest; + +DescribeApiRequest::DescribeApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApi") +{} + +DescribeApiRequest::~DescribeApiRequest() +{} + +std::string DescribeApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiResult.cc b/cloudapi/src/model/DescribeApiResult.cc new file mode 100644 index 000000000..eade35eb5 --- /dev/null +++ b/cloudapi/src/model/DescribeApiResult.cc @@ -0,0 +1,476 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiResult::DescribeApiResult() : + ServiceResult() +{} + +DescribeApiResult::DescribeApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiResult::~DescribeApiResult() +{} + +void DescribeApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"]; + for (auto value : allErrorCodeSamples) + { + ErrorCodeSample errorCodeSamplesObject; + if(!value["Code"].isNull()) + errorCodeSamplesObject.code = value["Code"].asString(); + if(!value["Message"].isNull()) + errorCodeSamplesObject.message = value["Message"].asString(); + if(!value["Description"].isNull()) + errorCodeSamplesObject.description = value["Description"].asString(); + if(!value["Model"].isNull()) + errorCodeSamplesObject.model = value["Model"].asString(); + errorCodeSamples_.push_back(errorCodeSamplesObject); + } + auto allResultDescriptions = value["ResultDescriptions"]["ResultDescription"]; + for (auto value : allResultDescriptions) + { + ResultDescription resultDescriptionsObject; + if(!value["Id"].isNull()) + resultDescriptionsObject.id = value["Id"].asString(); + if(!value["Pid"].isNull()) + resultDescriptionsObject.pid = value["Pid"].asString(); + if(!value["HasChild"].isNull()) + resultDescriptionsObject.hasChild = value["HasChild"].asString() == "true"; + if(!value["Key"].isNull()) + resultDescriptionsObject.key = value["Key"].asString(); + if(!value["Name"].isNull()) + resultDescriptionsObject.name = value["Name"].asString(); + if(!value["Mandatory"].isNull()) + resultDescriptionsObject.mandatory = value["Mandatory"].asString() == "true"; + if(!value["Type"].isNull()) + resultDescriptionsObject.type = value["Type"].asString(); + if(!value["Description"].isNull()) + resultDescriptionsObject.description = value["Description"].asString(); + resultDescriptions_.push_back(resultDescriptionsObject); + } + auto allSystemParameters = value["SystemParameters"]["SystemParameter"]; + for (auto value : allSystemParameters) + { + SystemParameter systemParametersObject; + if(!value["ParameterName"].isNull()) + systemParametersObject.parameterName = value["ParameterName"].asString(); + if(!value["ServiceParameterName"].isNull()) + systemParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + systemParametersObject.location = value["Location"].asString(); + if(!value["DemoValue"].isNull()) + systemParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["Description"].isNull()) + systemParametersObject.description = value["Description"].asString(); + systemParameters_.push_back(systemParametersObject); + } + auto allCustomSystemParameters = value["CustomSystemParameters"]["CustomSystemParameter"]; + for (auto value : allCustomSystemParameters) + { + CustomSystemParameter customSystemParametersObject; + if(!value["ParameterName"].isNull()) + customSystemParametersObject.parameterName = value["ParameterName"].asString(); + if(!value["ServiceParameterName"].isNull()) + customSystemParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + customSystemParametersObject.location = value["Location"].asString(); + if(!value["DemoValue"].isNull()) + customSystemParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["Description"].isNull()) + customSystemParametersObject.description = value["Description"].asString(); + customSystemParameters_.push_back(customSystemParametersObject); + } + auto allConstantParameters = value["ConstantParameters"]["ConstantParameter"]; + for (auto value : allConstantParameters) + { + ConstantParameter constantParametersObject; + if(!value["ServiceParameterName"].isNull()) + constantParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["ConstantValue"].isNull()) + constantParametersObject.constantValue = value["ConstantValue"].asString(); + if(!value["Location"].isNull()) + constantParametersObject.location = value["Location"].asString(); + if(!value["Description"].isNull()) + constantParametersObject.description = value["Description"].asString(); + constantParameters_.push_back(constantParametersObject); + } + auto allRequestParameters = value["RequestParameters"]["RequestParameter"]; + for (auto value : allRequestParameters) + { + RequestParameter requestParametersObject; + if(!value["ApiParameterName"].isNull()) + requestParametersObject.apiParameterName = value["ApiParameterName"].asString(); + if(!value["Location"].isNull()) + requestParametersObject.location = value["Location"].asString(); + if(!value["ParameterType"].isNull()) + requestParametersObject.parameterType = value["ParameterType"].asString(); + if(!value["Required"].isNull()) + requestParametersObject.required = value["Required"].asString(); + if(!value["DefaultValue"].isNull()) + requestParametersObject.defaultValue = value["DefaultValue"].asString(); + if(!value["DemoValue"].isNull()) + requestParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["MaxValue"].isNull()) + requestParametersObject.maxValue = std::stol(value["MaxValue"].asString()); + if(!value["MinValue"].isNull()) + requestParametersObject.minValue = std::stol(value["MinValue"].asString()); + if(!value["MaxLength"].isNull()) + requestParametersObject.maxLength = std::stol(value["MaxLength"].asString()); + if(!value["MinLength"].isNull()) + requestParametersObject.minLength = std::stol(value["MinLength"].asString()); + if(!value["RegularExpression"].isNull()) + requestParametersObject.regularExpression = value["RegularExpression"].asString(); + if(!value["JsonScheme"].isNull()) + requestParametersObject.jsonScheme = value["JsonScheme"].asString(); + if(!value["EnumValue"].isNull()) + requestParametersObject.enumValue = value["EnumValue"].asString(); + if(!value["DocShow"].isNull()) + requestParametersObject.docShow = value["DocShow"].asString(); + if(!value["DocOrder"].isNull()) + requestParametersObject.docOrder = std::stoi(value["DocOrder"].asString()); + if(!value["Description"].isNull()) + requestParametersObject.description = value["Description"].asString(); + requestParameters_.push_back(requestParametersObject); + } + auto allServiceParameters = value["ServiceParameters"]["ServiceParameter"]; + for (auto value : allServiceParameters) + { + ServiceParameter serviceParametersObject; + if(!value["ServiceParameterName"].isNull()) + serviceParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + serviceParametersObject.location = value["Location"].asString(); + if(!value["ParameterType"].isNull()) + serviceParametersObject.parameterType = value["ParameterType"].asString(); + serviceParameters_.push_back(serviceParametersObject); + } + auto allServiceParametersMap = value["ServiceParametersMap"]["ServiceParameterMap"]; + for (auto value : allServiceParametersMap) + { + ServiceParameterMap serviceParametersMapObject; + if(!value["ServiceParameterName"].isNull()) + serviceParametersMapObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["RequestParameterName"].isNull()) + serviceParametersMapObject.requestParameterName = value["RequestParameterName"].asString(); + serviceParametersMap_.push_back(serviceParametersMapObject); + } + auto allDeployedInfos = value["DeployedInfos"]["DeployedInfo"]; + for (auto value : allDeployedInfos) + { + DeployedInfo deployedInfosObject; + if(!value["StageName"].isNull()) + deployedInfosObject.stageName = value["StageName"].asString(); + if(!value["EffectiveVersion"].isNull()) + deployedInfosObject.effectiveVersion = value["EffectiveVersion"].asString(); + if(!value["DeployedStatus"].isNull()) + deployedInfosObject.deployedStatus = value["DeployedStatus"].asString(); + deployedInfos_.push_back(deployedInfosObject); + } + auto requestConfigNode = value["RequestConfig"]; + if(!requestConfigNode["RequestProtocol"].isNull()) + requestConfig_.requestProtocol = requestConfigNode["RequestProtocol"].asString(); + if(!requestConfigNode["RequestHttpMethod"].isNull()) + requestConfig_.requestHttpMethod = requestConfigNode["RequestHttpMethod"].asString(); + if(!requestConfigNode["RequestPath"].isNull()) + requestConfig_.requestPath = requestConfigNode["RequestPath"].asString(); + if(!requestConfigNode["BodyFormat"].isNull()) + requestConfig_.bodyFormat = requestConfigNode["BodyFormat"].asString(); + if(!requestConfigNode["PostBodyDescription"].isNull()) + requestConfig_.postBodyDescription = requestConfigNode["PostBodyDescription"].asString(); + if(!requestConfigNode["RequestMode"].isNull()) + requestConfig_.requestMode = requestConfigNode["RequestMode"].asString(); + if(!requestConfigNode["BodyModel"].isNull()) + requestConfig_.bodyModel = requestConfigNode["BodyModel"].asString(); + auto serviceConfigNode = value["ServiceConfig"]; + if(!serviceConfigNode["ServiceProtocol"].isNull()) + serviceConfig_.serviceProtocol = serviceConfigNode["ServiceProtocol"].asString(); + if(!serviceConfigNode["ServiceAddress"].isNull()) + serviceConfig_.serviceAddress = serviceConfigNode["ServiceAddress"].asString(); + if(!serviceConfigNode["ServiceHttpMethod"].isNull()) + serviceConfig_.serviceHttpMethod = serviceConfigNode["ServiceHttpMethod"].asString(); + if(!serviceConfigNode["ServicePath"].isNull()) + serviceConfig_.servicePath = serviceConfigNode["ServicePath"].asString(); + if(!serviceConfigNode["ServiceTimeout"].isNull()) + serviceConfig_.serviceTimeout = std::stoi(serviceConfigNode["ServiceTimeout"].asString()); + if(!serviceConfigNode["ContentTypeCatagory"].isNull()) + serviceConfig_.contentTypeCatagory = serviceConfigNode["ContentTypeCatagory"].asString(); + if(!serviceConfigNode["ContentTypeValue"].isNull()) + serviceConfig_.contentTypeValue = serviceConfigNode["ContentTypeValue"].asString(); + if(!serviceConfigNode["Mock"].isNull()) + serviceConfig_.mock = serviceConfigNode["Mock"].asString(); + if(!serviceConfigNode["MockResult"].isNull()) + serviceConfig_.mockResult = serviceConfigNode["MockResult"].asString(); + if(!serviceConfigNode["ServiceVpcEnable"].isNull()) + serviceConfig_.serviceVpcEnable = serviceConfigNode["ServiceVpcEnable"].asString(); + if(!serviceConfigNode["AoneAppName"].isNull()) + serviceConfig_.aoneAppName = serviceConfigNode["AoneAppName"].asString(); + if(!serviceConfigNode["MockStatusCode"].isNull()) + serviceConfig_.mockStatusCode = std::stoi(serviceConfigNode["MockStatusCode"].asString()); + auto allMockHeaders = value["MockHeaders"]["MockHeader"]; + for (auto value : allMockHeaders) + { + ServiceConfig::MockHeader mockHeaderObject; + if(!value["HeaderName"].isNull()) + mockHeaderObject.headerName = value["HeaderName"].asString(); + if(!value["HeaderValue"].isNull()) + mockHeaderObject.headerValue = value["HeaderValue"].asString(); + serviceConfig_.mockHeaders.push_back(mockHeaderObject); + } + auto vpcConfigNode = serviceConfigNode["VpcConfig"]; + if(!vpcConfigNode["Name"].isNull()) + serviceConfig_.vpcConfig.name = vpcConfigNode["Name"].asString(); + if(!vpcConfigNode["VpcId"].isNull()) + serviceConfig_.vpcConfig.vpcId = vpcConfigNode["VpcId"].asString(); + if(!vpcConfigNode["InstanceId"].isNull()) + serviceConfig_.vpcConfig.instanceId = vpcConfigNode["InstanceId"].asString(); + if(!vpcConfigNode["Port"].isNull()) + serviceConfig_.vpcConfig.port = std::stoi(vpcConfigNode["Port"].asString()); + auto functionComputeConfigNode = serviceConfigNode["FunctionComputeConfig"]; + if(!functionComputeConfigNode["RegionId"].isNull()) + serviceConfig_.functionComputeConfig.regionId = functionComputeConfigNode["RegionId"].asString(); + if(!functionComputeConfigNode["ServiceName"].isNull()) + serviceConfig_.functionComputeConfig.serviceName = functionComputeConfigNode["ServiceName"].asString(); + if(!functionComputeConfigNode["FunctionName"].isNull()) + serviceConfig_.functionComputeConfig.functionName = functionComputeConfigNode["FunctionName"].asString(); + if(!functionComputeConfigNode["RoleArn"].isNull()) + serviceConfig_.functionComputeConfig.roleArn = functionComputeConfigNode["RoleArn"].asString(); + auto openIdConnectConfigNode = value["OpenIdConnectConfig"]; + if(!openIdConnectConfigNode["OpenIdApiType"].isNull()) + openIdConnectConfig_.openIdApiType = openIdConnectConfigNode["OpenIdApiType"].asString(); + if(!openIdConnectConfigNode["IdTokenParamName"].isNull()) + openIdConnectConfig_.idTokenParamName = openIdConnectConfigNode["IdTokenParamName"].asString(); + if(!openIdConnectConfigNode["PublicKeyId"].isNull()) + openIdConnectConfig_.publicKeyId = openIdConnectConfigNode["PublicKeyId"].asString(); + if(!openIdConnectConfigNode["PublicKey"].isNull()) + openIdConnectConfig_.publicKey = openIdConnectConfigNode["PublicKey"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["ApiId"].isNull()) + apiId_ = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiName_ = value["ApiName"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["Visibility"].isNull()) + visibility_ = value["Visibility"].asString(); + if(!value["AuthType"].isNull()) + authType_ = value["AuthType"].asString(); + if(!value["ResultType"].isNull()) + resultType_ = value["ResultType"].asString(); + if(!value["ResultSample"].isNull()) + resultSample_ = value["ResultSample"].asString(); + if(!value["FailResultSample"].isNull()) + failResultSample_ = value["FailResultSample"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["Mock"].isNull()) + mock_ = value["Mock"].asString(); + if(!value["MockResult"].isNull()) + mockResult_ = value["MockResult"].asString(); + if(!value["AllowSignatureMethod"].isNull()) + allowSignatureMethod_ = value["AllowSignatureMethod"].asString(); + if(!value["WebSocketApiType"].isNull()) + webSocketApiType_ = value["WebSocketApiType"].asString(); + if(!value["ResultBodyModel"].isNull()) + resultBodyModel_ = value["ResultBodyModel"].asString(); + if(!value["ForceNonceCheck"].isNull()) + forceNonceCheck_ = value["ForceNonceCheck"].asString() == "true"; + if(!value["DisableInternet"].isNull()) + disableInternet_ = value["DisableInternet"].asString() == "true"; + +} + +std::string DescribeApiResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribeApiResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeApiResult::getDescription()const +{ + return description_; +} + +std::vector DescribeApiResult::getDeployedInfos()const +{ + return deployedInfos_; +} + +bool DescribeApiResult::getForceNonceCheck()const +{ + return forceNonceCheck_; +} + +std::string DescribeApiResult::getAllowSignatureMethod()const +{ + return allowSignatureMethod_; +} + +std::vector DescribeApiResult::getErrorCodeSamples()const +{ + return errorCodeSamples_; +} + +std::string DescribeApiResult::getMock()const +{ + return mock_; +} + +std::vector DescribeApiResult::getRequestParameters()const +{ + return requestParameters_; +} + +std::vector DescribeApiResult::getServiceParametersMap()const +{ + return serviceParametersMap_; +} + +std::string DescribeApiResult::getResultBodyModel()const +{ + return resultBodyModel_; +} + +std::string DescribeApiResult::getModifiedTime()const +{ + return modifiedTime_; +} + +DescribeApiResult::ServiceConfig DescribeApiResult::getServiceConfig()const +{ + return serviceConfig_; +} + +std::vector DescribeApiResult::getConstantParameters()const +{ + return constantParameters_; +} + +std::string DescribeApiResult::getWebSocketApiType()const +{ + return webSocketApiType_; +} + +std::vector DescribeApiResult::getResultDescriptions()const +{ + return resultDescriptions_; +} + +DescribeApiResult::OpenIdConnectConfig DescribeApiResult::getOpenIdConnectConfig()const +{ + return openIdConnectConfig_; +} + +std::string DescribeApiResult::getAuthType()const +{ + return authType_; +} + +DescribeApiResult::RequestConfig DescribeApiResult::getRequestConfig()const +{ + return requestConfig_; +} + +std::string DescribeApiResult::getResultSample()const +{ + return resultSample_; +} + +std::string DescribeApiResult::getMockResult()const +{ + return mockResult_; +} + +bool DescribeApiResult::getDisableInternet()const +{ + return disableInternet_; +} + +std::string DescribeApiResult::getApiName()const +{ + return apiName_; +} + +std::string DescribeApiResult::getResultType()const +{ + return resultType_; +} + +std::string DescribeApiResult::getFailResultSample()const +{ + return failResultSample_; +} + +std::vector DescribeApiResult::getCustomSystemParameters()const +{ + return customSystemParameters_; +} + +std::string DescribeApiResult::getGroupId()const +{ + return groupId_; +} + +std::vector DescribeApiResult::getSystemParameters()const +{ + return systemParameters_; +} + +std::string DescribeApiResult::getVisibility()const +{ + return visibility_; +} + +std::vector DescribeApiResult::getServiceParameters()const +{ + return serviceParameters_; +} + +std::string DescribeApiResult::getRegionId()const +{ + return regionId_; +} + +std::string DescribeApiResult::getApiId()const +{ + return apiId_; +} + diff --git a/cloudapi/src/model/DescribeApiSignaturesRequest.cc b/cloudapi/src/model/DescribeApiSignaturesRequest.cc new file mode 100644 index 000000000..6b7f25632 --- /dev/null +++ b/cloudapi/src/model/DescribeApiSignaturesRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiSignaturesRequest; + +DescribeApiSignaturesRequest::DescribeApiSignaturesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiSignatures") +{} + +DescribeApiSignaturesRequest::~DescribeApiSignaturesRequest() +{} + +std::string DescribeApiSignaturesRequest::getStageName()const +{ + return stageName_; +} + +void DescribeApiSignaturesRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeApiSignaturesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiSignaturesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiSignaturesRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiSignaturesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeApiSignaturesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApiSignaturesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeApiSignaturesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApiSignaturesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApiSignaturesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiSignaturesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeApiSignaturesRequest::getApiIds()const +{ + return apiIds_; +} + +void DescribeApiSignaturesRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/DescribeApiSignaturesResult.cc b/cloudapi/src/model/DescribeApiSignaturesResult.cc new file mode 100644 index 000000000..74e3fa279 --- /dev/null +++ b/cloudapi/src/model/DescribeApiSignaturesResult.cc @@ -0,0 +1,87 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiSignaturesResult::DescribeApiSignaturesResult() : + ServiceResult() +{} + +DescribeApiSignaturesResult::DescribeApiSignaturesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiSignaturesResult::~DescribeApiSignaturesResult() +{} + +void DescribeApiSignaturesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiSignatures = value["ApiSignatures"]["ApiSignatureItem"]; + for (auto value : allApiSignatures) + { + ApiSignatureItem apiSignaturesObject; + if(!value["ApiId"].isNull()) + apiSignaturesObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiSignaturesObject.apiName = value["ApiName"].asString(); + if(!value["SignatureId"].isNull()) + apiSignaturesObject.signatureId = value["SignatureId"].asString(); + if(!value["SignatureName"].isNull()) + apiSignaturesObject.signatureName = value["SignatureName"].asString(); + if(!value["BoundTime"].isNull()) + apiSignaturesObject.boundTime = value["BoundTime"].asString(); + apiSignatures_.push_back(apiSignaturesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeApiSignaturesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeApiSignaturesResult::getApiSignatures()const +{ + return apiSignatures_; +} + +int DescribeApiSignaturesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApiSignaturesResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeApiStageRequest.cc b/cloudapi/src/model/DescribeApiStageRequest.cc new file mode 100644 index 000000000..6c4a39872 --- /dev/null +++ b/cloudapi/src/model/DescribeApiStageRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeApiStageRequest; + +DescribeApiStageRequest::DescribeApiStageRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiStage") +{} + +DescribeApiStageRequest::~DescribeApiStageRequest() +{} + +std::string DescribeApiStageRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiStageRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiStageRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiStageRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiStageRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiStageRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeApiStageRequest::getStageId()const +{ + return stageId_; +} + +void DescribeApiStageRequest::setStageId(const std::string& stageId) +{ + stageId_ = stageId; + setCoreParameter("StageId", stageId); +} + diff --git a/cloudapi/src/model/DescribeApiStageResult.cc b/cloudapi/src/model/DescribeApiStageResult.cc new file mode 100644 index 000000000..4eb16cac5 --- /dev/null +++ b/cloudapi/src/model/DescribeApiStageResult.cc @@ -0,0 +1,129 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiStageResult::DescribeApiStageResult() : + ServiceResult() +{} + +DescribeApiStageResult::DescribeApiStageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiStageResult::~DescribeApiStageResult() +{} + +void DescribeApiStageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allVariables = value["Variables"]["VariableItem"]; + for (auto value : allVariables) + { + VariableItem variablesObject; + if(!value["VariableName"].isNull()) + variablesObject.variableName = value["VariableName"].asString(); + if(!value["VariableValue"].isNull()) + variablesObject.variableValue = value["VariableValue"].asString(); + if(!value["SupportRoute"].isNull()) + variablesObject.supportRoute = value["SupportRoute"].asString() == "true"; + auto stageRouteModelNode = value["StageRouteModel"]; + if(!stageRouteModelNode["ParameterCatalog"].isNull()) + variablesObject.stageRouteModel.parameterCatalog = stageRouteModelNode["ParameterCatalog"].asString(); + if(!stageRouteModelNode["ServiceParameterName"].isNull()) + variablesObject.stageRouteModel.serviceParameterName = stageRouteModelNode["ServiceParameterName"].asString(); + if(!stageRouteModelNode["Location"].isNull()) + variablesObject.stageRouteModel.location = stageRouteModelNode["Location"].asString(); + if(!stageRouteModelNode["ParameterType"].isNull()) + variablesObject.stageRouteModel.parameterType = stageRouteModelNode["ParameterType"].asString(); + if(!stageRouteModelNode["RouteMatchSymbol"].isNull()) + variablesObject.stageRouteModel.routeMatchSymbol = stageRouteModelNode["RouteMatchSymbol"].asString(); + auto allRouteRules = value["RouteRules"]["RouteRuleItem"]; + for (auto value : allRouteRules) + { + VariableItem::StageRouteModel::RouteRuleItem routeRuleItemObject; + if(!value["MaxValue"].isNull()) + routeRuleItemObject.maxValue = std::stol(value["MaxValue"].asString()); + if(!value["MinValue"].isNull()) + routeRuleItemObject.minValue = std::stol(value["MinValue"].asString()); + if(!value["ConditionValue"].isNull()) + routeRuleItemObject.conditionValue = value["ConditionValue"].asString(); + if(!value["ResultValue"].isNull()) + routeRuleItemObject.resultValue = value["ResultValue"].asString(); + variablesObject.stageRouteModel.routeRules.push_back(routeRuleItemObject); + } + variables_.push_back(variablesObject); + } + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["StageId"].isNull()) + stageId_ = value["StageId"].asString(); + if(!value["StageName"].isNull()) + stageName_ = value["StageName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + +} + +std::vector DescribeApiStageResult::getVariables()const +{ + return variables_; +} + +std::string DescribeApiStageResult::getDescription()const +{ + return description_; +} + +std::string DescribeApiStageResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeApiStageResult::getModifiedTime()const +{ + return modifiedTime_; +} + +std::string DescribeApiStageResult::getStageName()const +{ + return stageName_; +} + +std::string DescribeApiStageResult::getStageId()const +{ + return stageId_; +} + +std::string DescribeApiStageResult::getGroupId()const +{ + return groupId_; +} + diff --git a/cloudapi/src/model/DescribeApiTrafficControlsRequest.cc b/cloudapi/src/model/DescribeApiTrafficControlsRequest.cc new file mode 100644 index 000000000..eef60cb12 --- /dev/null +++ b/cloudapi/src/model/DescribeApiTrafficControlsRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiTrafficControlsRequest; + +DescribeApiTrafficControlsRequest::DescribeApiTrafficControlsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiTrafficControls") +{} + +DescribeApiTrafficControlsRequest::~DescribeApiTrafficControlsRequest() +{} + +std::string DescribeApiTrafficControlsRequest::getStageName()const +{ + return stageName_; +} + +void DescribeApiTrafficControlsRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeApiTrafficControlsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiTrafficControlsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiTrafficControlsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiTrafficControlsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeApiTrafficControlsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApiTrafficControlsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeApiTrafficControlsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApiTrafficControlsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApiTrafficControlsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiTrafficControlsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeApiTrafficControlsRequest::getApiIds()const +{ + return apiIds_; +} + +void DescribeApiTrafficControlsRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/DescribeApiTrafficControlsResult.cc b/cloudapi/src/model/DescribeApiTrafficControlsResult.cc new file mode 100644 index 000000000..0bd8524f4 --- /dev/null +++ b/cloudapi/src/model/DescribeApiTrafficControlsResult.cc @@ -0,0 +1,87 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiTrafficControlsResult::DescribeApiTrafficControlsResult() : + ServiceResult() +{} + +DescribeApiTrafficControlsResult::DescribeApiTrafficControlsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiTrafficControlsResult::~DescribeApiTrafficControlsResult() +{} + +void DescribeApiTrafficControlsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiTrafficControls = value["ApiTrafficControls"]["ApiTrafficControlItem"]; + for (auto value : allApiTrafficControls) + { + ApiTrafficControlItem apiTrafficControlsObject; + if(!value["ApiId"].isNull()) + apiTrafficControlsObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiTrafficControlsObject.apiName = value["ApiName"].asString(); + if(!value["TrafficControlId"].isNull()) + apiTrafficControlsObject.trafficControlId = value["TrafficControlId"].asString(); + if(!value["TrafficControlName"].isNull()) + apiTrafficControlsObject.trafficControlName = value["TrafficControlName"].asString(); + if(!value["BoundTime"].isNull()) + apiTrafficControlsObject.boundTime = value["BoundTime"].asString(); + apiTrafficControls_.push_back(apiTrafficControlsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeApiTrafficControlsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApiTrafficControlsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApiTrafficControlsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeApiTrafficControlsResult::getApiTrafficControls()const +{ + return apiTrafficControls_; +} + diff --git a/cloudapi/src/model/DescribeApiTrafficDataRequest.cc b/cloudapi/src/model/DescribeApiTrafficDataRequest.cc new file mode 100644 index 000000000..cb1c4d53a --- /dev/null +++ b/cloudapi/src/model/DescribeApiTrafficDataRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeApiTrafficDataRequest; + +DescribeApiTrafficDataRequest::DescribeApiTrafficDataRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiTrafficData") +{} + +DescribeApiTrafficDataRequest::~DescribeApiTrafficDataRequest() +{} + +std::string DescribeApiTrafficDataRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApiTrafficDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApiTrafficDataRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApiTrafficDataRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeApiTrafficDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeApiTrafficDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeApiTrafficDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeApiTrafficDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +std::string DescribeApiTrafficDataRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApiTrafficDataRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeApiTrafficDataRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApiTrafficDataRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApiTrafficDataResult.cc b/cloudapi/src/model/DescribeApiTrafficDataResult.cc new file mode 100644 index 000000000..f0fd25c4d --- /dev/null +++ b/cloudapi/src/model/DescribeApiTrafficDataResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApiTrafficDataResult::DescribeApiTrafficDataResult() : + ServiceResult() +{} + +DescribeApiTrafficDataResult::DescribeApiTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiTrafficDataResult::~DescribeApiTrafficDataResult() +{} + +void DescribeApiTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCallUploads = value["CallUploads"]["MonitorItem"]; + for (auto value : allCallUploads) + { + MonitorItem callUploadsObject; + if(!value["ItemTime"].isNull()) + callUploadsObject.itemTime = value["ItemTime"].asString(); + if(!value["ItemValue"].isNull()) + callUploadsObject.itemValue = value["ItemValue"].asString(); + callUploads_.push_back(callUploadsObject); + } + auto allCallDownloads = value["CallDownloads"]["MonitorItem"]; + for (auto value : allCallDownloads) + { + MonitorItem callDownloadsObject; + if(!value["ItemTime"].isNull()) + callDownloadsObject.itemTime = value["ItemTime"].asString(); + if(!value["ItemValue"].isNull()) + callDownloadsObject.itemValue = value["ItemValue"].asString(); + callDownloads_.push_back(callDownloadsObject); + } + +} + +std::vector DescribeApiTrafficDataResult::getCallUploads()const +{ + return callUploads_; +} + +std::vector DescribeApiTrafficDataResult::getCallDownloads()const +{ + return callDownloads_; +} + diff --git a/cloudapi/src/model/DescribeApisByAppRequest.cc b/cloudapi/src/model/DescribeApisByAppRequest.cc new file mode 100644 index 000000000..4608460bd --- /dev/null +++ b/cloudapi/src/model/DescribeApisByAppRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApisByAppRequest; + +DescribeApisByAppRequest::DescribeApisByAppRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByApp") +{} + +DescribeApisByAppRequest::~DescribeApisByAppRequest() +{} + +std::string DescribeApisByAppRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApisByAppRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long DescribeApisByAppRequest::getAppId()const +{ + return appId_; +} + +void DescribeApisByAppRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +int DescribeApisByAppRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApisByAppRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeApisByAppRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApisByAppRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApisByAppRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApisByAppRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApisByAppResult.cc b/cloudapi/src/model/DescribeApisByAppResult.cc new file mode 100644 index 000000000..3596debaa --- /dev/null +++ b/cloudapi/src/model/DescribeApisByAppResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApisByAppResult::DescribeApisByAppResult() : + ServiceResult() +{} + +DescribeApisByAppResult::DescribeApisByAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApisByAppResult::~DescribeApisByAppResult() +{} + +void DescribeApisByAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAppApiRelationInfos = value["AppApiRelationInfos"]["AppApiRelationInfo"]; + for (auto value : allAppApiRelationInfos) + { + AppApiRelationInfo appApiRelationInfosObject; + if(!value["RegionId"].isNull()) + appApiRelationInfosObject.regionId = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + appApiRelationInfosObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + appApiRelationInfosObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + appApiRelationInfosObject.stageName = value["StageName"].asString(); + if(!value["Operator"].isNull()) + appApiRelationInfosObject._operator = value["Operator"].asString(); + if(!value["ApiId"].isNull()) + appApiRelationInfosObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + appApiRelationInfosObject.apiName = value["ApiName"].asString(); + if(!value["AuthorizationSource"].isNull()) + appApiRelationInfosObject.authorizationSource = value["AuthorizationSource"].asString(); + if(!value["Description"].isNull()) + appApiRelationInfosObject.description = value["Description"].asString(); + if(!value["CreatedTime"].isNull()) + appApiRelationInfosObject.createdTime = value["CreatedTime"].asString(); + appApiRelationInfos_.push_back(appApiRelationInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +std::vector DescribeApisByAppResult::getAppApiRelationInfos()const +{ + return appApiRelationInfos_; +} + +int DescribeApisByAppResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApisByAppResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApisByAppResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeApisByIpControlRequest.cc b/cloudapi/src/model/DescribeApisByIpControlRequest.cc new file mode 100644 index 000000000..9b3d4a9f1 --- /dev/null +++ b/cloudapi/src/model/DescribeApisByIpControlRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApisByIpControlRequest; + +DescribeApisByIpControlRequest::DescribeApisByIpControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByIpControl") +{} + +DescribeApisByIpControlRequest::~DescribeApisByIpControlRequest() +{} + +std::string DescribeApisByIpControlRequest::getIpControlId()const +{ + return ipControlId_; +} + +void DescribeApisByIpControlRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string DescribeApisByIpControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApisByIpControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int DescribeApisByIpControlRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApisByIpControlRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeApisByIpControlRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApisByIpControlRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApisByIpControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApisByIpControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApisByIpControlResult.cc b/cloudapi/src/model/DescribeApisByIpControlResult.cc new file mode 100644 index 000000000..dee0984e4 --- /dev/null +++ b/cloudapi/src/model/DescribeApisByIpControlResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApisByIpControlResult::DescribeApisByIpControlResult() : + ServiceResult() +{} + +DescribeApisByIpControlResult::DescribeApisByIpControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApisByIpControlResult::~DescribeApisByIpControlResult() +{} + +void DescribeApisByIpControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiInfos = value["ApiInfos"]["ApiInfo"]; + for (auto value : allApiInfos) + { + ApiInfo apiInfosObject; + if(!value["RegionId"].isNull()) + apiInfosObject.regionId = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + apiInfosObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + apiInfosObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + apiInfosObject.stageName = value["StageName"].asString(); + if(!value["ApiId"].isNull()) + apiInfosObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiInfosObject.apiName = value["ApiName"].asString(); + if(!value["Description"].isNull()) + apiInfosObject.description = value["Description"].asString(); + if(!value["Visibility"].isNull()) + apiInfosObject.visibility = value["Visibility"].asString(); + if(!value["BoundTime"].isNull()) + apiInfosObject.boundTime = value["BoundTime"].asString(); + apiInfos_.push_back(apiInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +std::vector DescribeApisByIpControlResult::getApiInfos()const +{ + return apiInfos_; +} + +int DescribeApisByIpControlResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApisByIpControlResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApisByIpControlResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeApisBySignatureRequest.cc b/cloudapi/src/model/DescribeApisBySignatureRequest.cc new file mode 100644 index 000000000..c9bb6d555 --- /dev/null +++ b/cloudapi/src/model/DescribeApisBySignatureRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApisBySignatureRequest; + +DescribeApisBySignatureRequest::DescribeApisBySignatureRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisBySignature") +{} + +DescribeApisBySignatureRequest::~DescribeApisBySignatureRequest() +{} + +std::string DescribeApisBySignatureRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApisBySignatureRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int DescribeApisBySignatureRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApisBySignatureRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeApisBySignatureRequest::getSignatureId()const +{ + return signatureId_; +} + +void DescribeApisBySignatureRequest::setSignatureId(const std::string& signatureId) +{ + signatureId_ = signatureId; + setCoreParameter("SignatureId", signatureId); +} + +int DescribeApisBySignatureRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApisBySignatureRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApisBySignatureRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApisBySignatureRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApisBySignatureResult.cc b/cloudapi/src/model/DescribeApisBySignatureResult.cc new file mode 100644 index 000000000..539c1c448 --- /dev/null +++ b/cloudapi/src/model/DescribeApisBySignatureResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApisBySignatureResult::DescribeApisBySignatureResult() : + ServiceResult() +{} + +DescribeApisBySignatureResult::DescribeApisBySignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApisBySignatureResult::~DescribeApisBySignatureResult() +{} + +void DescribeApisBySignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiInfos = value["ApiInfos"]["ApiInfo"]; + for (auto value : allApiInfos) + { + ApiInfo apiInfosObject; + if(!value["RegionId"].isNull()) + apiInfosObject.regionId = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + apiInfosObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + apiInfosObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + apiInfosObject.stageName = value["StageName"].asString(); + if(!value["ApiId"].isNull()) + apiInfosObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiInfosObject.apiName = value["ApiName"].asString(); + if(!value["Description"].isNull()) + apiInfosObject.description = value["Description"].asString(); + if(!value["Visibility"].isNull()) + apiInfosObject.visibility = value["Visibility"].asString(); + if(!value["BoundTime"].isNull()) + apiInfosObject.boundTime = value["BoundTime"].asString(); + apiInfos_.push_back(apiInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +std::vector DescribeApisBySignatureResult::getApiInfos()const +{ + return apiInfos_; +} + +int DescribeApisBySignatureResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApisBySignatureResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApisBySignatureResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeApisByTrafficControlRequest.cc b/cloudapi/src/model/DescribeApisByTrafficControlRequest.cc new file mode 100644 index 000000000..a7fa1d8b3 --- /dev/null +++ b/cloudapi/src/model/DescribeApisByTrafficControlRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApisByTrafficControlRequest; + +DescribeApisByTrafficControlRequest::DescribeApisByTrafficControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByTrafficControl") +{} + +DescribeApisByTrafficControlRequest::~DescribeApisByTrafficControlRequest() +{} + +std::string DescribeApisByTrafficControlRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void DescribeApisByTrafficControlRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string DescribeApisByTrafficControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApisByTrafficControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int DescribeApisByTrafficControlRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApisByTrafficControlRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeApisByTrafficControlRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApisByTrafficControlRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApisByTrafficControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApisByTrafficControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApisByTrafficControlResult.cc b/cloudapi/src/model/DescribeApisByTrafficControlResult.cc new file mode 100644 index 000000000..aee264944 --- /dev/null +++ b/cloudapi/src/model/DescribeApisByTrafficControlResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApisByTrafficControlResult::DescribeApisByTrafficControlResult() : + ServiceResult() +{} + +DescribeApisByTrafficControlResult::DescribeApisByTrafficControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApisByTrafficControlResult::~DescribeApisByTrafficControlResult() +{} + +void DescribeApisByTrafficControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiInfos = value["ApiInfos"]["ApiInfo"]; + for (auto value : allApiInfos) + { + ApiInfo apiInfosObject; + if(!value["RegionId"].isNull()) + apiInfosObject.regionId = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + apiInfosObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + apiInfosObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + apiInfosObject.stageName = value["StageName"].asString(); + if(!value["ApiId"].isNull()) + apiInfosObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiInfosObject.apiName = value["ApiName"].asString(); + if(!value["Description"].isNull()) + apiInfosObject.description = value["Description"].asString(); + if(!value["Visibility"].isNull()) + apiInfosObject.visibility = value["Visibility"].asString(); + if(!value["BoundTime"].isNull()) + apiInfosObject.boundTime = value["BoundTime"].asString(); + apiInfos_.push_back(apiInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +std::vector DescribeApisByTrafficControlResult::getApiInfos()const +{ + return apiInfos_; +} + +int DescribeApisByTrafficControlResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApisByTrafficControlResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApisByTrafficControlResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeApisRequest.cc b/cloudapi/src/model/DescribeApisRequest.cc new file mode 100644 index 000000000..7ec99d32e --- /dev/null +++ b/cloudapi/src/model/DescribeApisRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeApisRequest; + +DescribeApisRequest::DescribeApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApis") +{} + +DescribeApisRequest::~DescribeApisRequest() +{} + +std::string DescribeApisRequest::getApiName()const +{ + return apiName_; +} + +void DescribeApisRequest::setApiName(const std::string& apiName) +{ + apiName_ = apiName; + setCoreParameter("ApiName", apiName); +} + +std::string DescribeApisRequest::getCatalogId()const +{ + return catalogId_; +} + +void DescribeApisRequest::setCatalogId(const std::string& catalogId) +{ + catalogId_ = catalogId; + setCoreParameter("CatalogId", catalogId); +} + +std::string DescribeApisRequest::getVisibility()const +{ + return visibility_; +} + +void DescribeApisRequest::setVisibility(const std::string& visibility) +{ + visibility_ = visibility; + setCoreParameter("Visibility", visibility); +} + +std::string DescribeApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeApisRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeApisRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeApisRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeApisRequest::getApiId()const +{ + return apiId_; +} + +void DescribeApisRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +int DescribeApisRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeApisRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeApisResult.cc b/cloudapi/src/model/DescribeApisResult.cc new file mode 100644 index 000000000..2324d9c1d --- /dev/null +++ b/cloudapi/src/model/DescribeApisResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeApisResult::DescribeApisResult() : + ServiceResult() +{} + +DescribeApisResult::DescribeApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApisResult::~DescribeApisResult() +{} + +void DescribeApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiSummarys = value["ApiSummarys"]["ApiSummary"]; + for (auto value : allApiSummarys) + { + ApiSummary apiSummarysObject; + if(!value["RegionId"].isNull()) + apiSummarysObject.regionId = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + apiSummarysObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + apiSummarysObject.groupName = value["GroupName"].asString(); + if(!value["ApiId"].isNull()) + apiSummarysObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiSummarysObject.apiName = value["ApiName"].asString(); + if(!value["Visibility"].isNull()) + apiSummarysObject.visibility = value["Visibility"].asString(); + if(!value["Description"].isNull()) + apiSummarysObject.description = value["Description"].asString(); + if(!value["CreatedTime"].isNull()) + apiSummarysObject.createdTime = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + apiSummarysObject.modifiedTime = value["ModifiedTime"].asString(); + apiSummarys_.push_back(apiSummarysObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeApisResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeApisResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeApisResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeApisResult::getApiSummarys()const +{ + return apiSummarys_; +} + diff --git a/cloudapi/src/model/DescribeAppAttributesRequest.cc b/cloudapi/src/model/DescribeAppAttributesRequest.cc new file mode 100644 index 000000000..c299cd3e1 --- /dev/null +++ b/cloudapi/src/model/DescribeAppAttributesRequest.cc @@ -0,0 +1,110 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeAppAttributesRequest; + +DescribeAppAttributesRequest::DescribeAppAttributesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAppAttributes") +{} + +DescribeAppAttributesRequest::~DescribeAppAttributesRequest() +{} + +std::string DescribeAppAttributesRequest::getAppName()const +{ + return appName_; +} + +void DescribeAppAttributesRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setCoreParameter("AppName", appName); +} + +std::string DescribeAppAttributesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeAppAttributesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long DescribeAppAttributesRequest::getAppId()const +{ + return appId_; +} + +void DescribeAppAttributesRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +int DescribeAppAttributesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAppAttributesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::vector DescribeAppAttributesRequest::getTag()const +{ + return tag_; +} + +void DescribeAppAttributesRequest::setTag(const std::vector& 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); + } +} + +int DescribeAppAttributesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeAppAttributesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeAppAttributesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeAppAttributesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeAppAttributesResult.cc b/cloudapi/src/model/DescribeAppAttributesResult.cc new file mode 100644 index 000000000..a4c4eb003 --- /dev/null +++ b/cloudapi/src/model/DescribeAppAttributesResult.cc @@ -0,0 +1,87 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeAppAttributesResult::DescribeAppAttributesResult() : + ServiceResult() +{} + +DescribeAppAttributesResult::DescribeAppAttributesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAppAttributesResult::~DescribeAppAttributesResult() +{} + +void DescribeAppAttributesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApps = value["Apps"]["AppAttribute"]; + for (auto value : allApps) + { + AppAttribute appsObject; + if(!value["AppId"].isNull()) + appsObject.appId = std::stol(value["AppId"].asString()); + if(!value["AppName"].isNull()) + appsObject.appName = value["AppName"].asString(); + if(!value["Description"].isNull()) + appsObject.description = value["Description"].asString(); + if(!value["CreatedTime"].isNull()) + appsObject.createdTime = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + appsObject.modifiedTime = value["ModifiedTime"].asString(); + apps_.push_back(appsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeAppAttributesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAppAttributesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAppAttributesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeAppAttributesResult::getApps()const +{ + return apps_; +} + diff --git a/cloudapi/src/model/DescribeAppRequest.cc b/cloudapi/src/model/DescribeAppRequest.cc new file mode 100644 index 000000000..e862db604 --- /dev/null +++ b/cloudapi/src/model/DescribeAppRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeAppRequest; + +DescribeAppRequest::DescribeAppRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApp") +{} + +DescribeAppRequest::~DescribeAppRequest() +{} + +std::string DescribeAppRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeAppRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long DescribeAppRequest::getAppId()const +{ + return appId_; +} + +void DescribeAppRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::string DescribeAppRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeAppRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeAppResult.cc b/cloudapi/src/model/DescribeAppResult.cc new file mode 100644 index 000000000..eba3e8907 --- /dev/null +++ b/cloudapi/src/model/DescribeAppResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeAppResult::DescribeAppResult() : + ServiceResult() +{} + +DescribeAppResult::DescribeAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAppResult::~DescribeAppResult() +{} + +void DescribeAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AppId"].isNull()) + appId_ = std::stol(value["AppId"].asString()); + if(!value["AppName"].isNull()) + appName_ = value["AppName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + +} + +std::string DescribeAppResult::getDescription()const +{ + return description_; +} + +std::string DescribeAppResult::getCreatedTime()const +{ + return createdTime_; +} + +long DescribeAppResult::getAppId()const +{ + return appId_; +} + +std::string DescribeAppResult::getModifiedTime()const +{ + return modifiedTime_; +} + +std::string DescribeAppResult::getAppName()const +{ + return appName_; +} + diff --git a/cloudapi/src/model/DescribeAppSecurityRequest.cc b/cloudapi/src/model/DescribeAppSecurityRequest.cc new file mode 100644 index 000000000..481708bd0 --- /dev/null +++ b/cloudapi/src/model/DescribeAppSecurityRequest.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeAppSecurityRequest; + +DescribeAppSecurityRequest::DescribeAppSecurityRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAppSecurity") +{} + +DescribeAppSecurityRequest::~DescribeAppSecurityRequest() +{} + +std::string DescribeAppSecurityRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeAppSecurityRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long DescribeAppSecurityRequest::getAppId()const +{ + return appId_; +} + +void DescribeAppSecurityRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::vector DescribeAppSecurityRequest::getTag()const +{ + return tag_; +} + +void DescribeAppSecurityRequest::setTag(const std::vector& 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::string DescribeAppSecurityRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeAppSecurityRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeAppSecurityResult.cc b/cloudapi/src/model/DescribeAppSecurityResult.cc new file mode 100644 index 000000000..a8cf5e381 --- /dev/null +++ b/cloudapi/src/model/DescribeAppSecurityResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeAppSecurityResult::DescribeAppSecurityResult() : + ServiceResult() +{} + +DescribeAppSecurityResult::DescribeAppSecurityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAppSecurityResult::~DescribeAppSecurityResult() +{} + +void DescribeAppSecurityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AppKey"].isNull()) + appKey_ = value["AppKey"].asString(); + if(!value["AppSecret"].isNull()) + appSecret_ = value["AppSecret"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + if(!value["AppCode"].isNull()) + appCode_ = value["AppCode"].asString(); + +} + +std::string DescribeAppSecurityResult::getAppCode()const +{ + return appCode_; +} + +std::string DescribeAppSecurityResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeAppSecurityResult::getModifiedTime()const +{ + return modifiedTime_; +} + +std::string DescribeAppSecurityResult::getAppKey()const +{ + return appKey_; +} + +std::string DescribeAppSecurityResult::getAppSecret()const +{ + return appSecret_; +} + diff --git a/cloudapi/src/model/DescribeAppsRequest.cc b/cloudapi/src/model/DescribeAppsRequest.cc new file mode 100644 index 000000000..c279ddfe5 --- /dev/null +++ b/cloudapi/src/model/DescribeAppsRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeAppsRequest; + +DescribeAppsRequest::DescribeAppsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApps") +{} + +DescribeAppsRequest::~DescribeAppsRequest() +{} + +std::string DescribeAppsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeAppsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long DescribeAppsRequest::getAppId()const +{ + return appId_; +} + +void DescribeAppsRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +int DescribeAppsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAppsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeAppsRequest::getAppOwner()const +{ + return appOwner_; +} + +void DescribeAppsRequest::setAppOwner(long appOwner) +{ + appOwner_ = appOwner; + setCoreParameter("AppOwner", std::to_string(appOwner)); +} + +int DescribeAppsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeAppsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeAppsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeAppsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeAppsResult.cc b/cloudapi/src/model/DescribeAppsResult.cc new file mode 100644 index 000000000..f383aa68f --- /dev/null +++ b/cloudapi/src/model/DescribeAppsResult.cc @@ -0,0 +1,83 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeAppsResult::DescribeAppsResult() : + ServiceResult() +{} + +DescribeAppsResult::DescribeAppsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAppsResult::~DescribeAppsResult() +{} + +void DescribeAppsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApps = value["Apps"]["AppItem"]; + for (auto value : allApps) + { + AppItem appsObject; + if(!value["AppId"].isNull()) + appsObject.appId = std::stol(value["AppId"].asString()); + if(!value["AppName"].isNull()) + appsObject.appName = value["AppName"].asString(); + if(!value["Description"].isNull()) + appsObject.description = value["Description"].asString(); + apps_.push_back(appsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeAppsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAppsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAppsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeAppsResult::getApps()const +{ + return apps_; +} + diff --git a/cloudapi/src/model/DescribeAuthorizedApisRequest.cc b/cloudapi/src/model/DescribeAuthorizedApisRequest.cc new file mode 100644 index 000000000..bcffc6a06 --- /dev/null +++ b/cloudapi/src/model/DescribeAuthorizedApisRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeAuthorizedApisRequest; + +DescribeAuthorizedApisRequest::DescribeAuthorizedApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAuthorizedApis") +{} + +DescribeAuthorizedApisRequest::~DescribeAuthorizedApisRequest() +{} + +std::string DescribeAuthorizedApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeAuthorizedApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long DescribeAuthorizedApisRequest::getAppId()const +{ + return appId_; +} + +void DescribeAuthorizedApisRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +int DescribeAuthorizedApisRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAuthorizedApisRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeAuthorizedApisRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeAuthorizedApisRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeAuthorizedApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeAuthorizedApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeAuthorizedApisResult.cc b/cloudapi/src/model/DescribeAuthorizedApisResult.cc new file mode 100644 index 000000000..099097962 --- /dev/null +++ b/cloudapi/src/model/DescribeAuthorizedApisResult.cc @@ -0,0 +1,99 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeAuthorizedApisResult::DescribeAuthorizedApisResult() : + ServiceResult() +{} + +DescribeAuthorizedApisResult::DescribeAuthorizedApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAuthorizedApisResult::~DescribeAuthorizedApisResult() +{} + +void DescribeAuthorizedApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAuthorizedApis = value["AuthorizedApis"]["AuthorizedApi"]; + for (auto value : allAuthorizedApis) + { + AuthorizedApi authorizedApisObject; + if(!value["RegionId"].isNull()) + authorizedApisObject.regionId = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + authorizedApisObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + authorizedApisObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + authorizedApisObject.stageName = value["StageName"].asString(); + if(!value["Operator"].isNull()) + authorizedApisObject._operator = value["Operator"].asString(); + if(!value["ApiId"].isNull()) + authorizedApisObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + authorizedApisObject.apiName = value["ApiName"].asString(); + if(!value["AuthorizationSource"].isNull()) + authorizedApisObject.authorizationSource = value["AuthorizationSource"].asString(); + if(!value["Description"].isNull()) + authorizedApisObject.description = value["Description"].asString(); + if(!value["AuthorizedTime"].isNull()) + authorizedApisObject.authorizedTime = value["AuthorizedTime"].asString(); + if(!value["AuthVaildTime"].isNull()) + authorizedApisObject.authVaildTime = value["AuthVaildTime"].asString(); + authorizedApis_.push_back(authorizedApisObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeAuthorizedApisResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAuthorizedApisResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAuthorizedApisResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeAuthorizedApisResult::getAuthorizedApis()const +{ + return authorizedApis_; +} + diff --git a/cloudapi/src/model/DescribeAuthorizedAppsRequest.cc b/cloudapi/src/model/DescribeAuthorizedAppsRequest.cc new file mode 100644 index 000000000..dd9cbd707 --- /dev/null +++ b/cloudapi/src/model/DescribeAuthorizedAppsRequest.cc @@ -0,0 +1,137 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeAuthorizedAppsRequest; + +DescribeAuthorizedAppsRequest::DescribeAuthorizedAppsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAuthorizedApps") +{} + +DescribeAuthorizedAppsRequest::~DescribeAuthorizedAppsRequest() +{} + +std::string DescribeAuthorizedAppsRequest::getStageName()const +{ + return stageName_; +} + +void DescribeAuthorizedAppsRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeAuthorizedAppsRequest::getAppName()const +{ + return appName_; +} + +void DescribeAuthorizedAppsRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setCoreParameter("AppName", appName); +} + +std::string DescribeAuthorizedAppsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeAuthorizedAppsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeAuthorizedAppsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeAuthorizedAppsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +long DescribeAuthorizedAppsRequest::getAppId()const +{ + return appId_; +} + +void DescribeAuthorizedAppsRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +long DescribeAuthorizedAppsRequest::getAppOwnerId()const +{ + return appOwnerId_; +} + +void DescribeAuthorizedAppsRequest::setAppOwnerId(long appOwnerId) +{ + appOwnerId_ = appOwnerId; + setCoreParameter("AppOwnerId", std::to_string(appOwnerId)); +} + +int DescribeAuthorizedAppsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAuthorizedAppsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeAuthorizedAppsRequest::getApiId()const +{ + return apiId_; +} + +void DescribeAuthorizedAppsRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +int DescribeAuthorizedAppsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeAuthorizedAppsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeAuthorizedAppsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeAuthorizedAppsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeAuthorizedAppsResult.cc b/cloudapi/src/model/DescribeAuthorizedAppsResult.cc new file mode 100644 index 000000000..adea6fe50 --- /dev/null +++ b/cloudapi/src/model/DescribeAuthorizedAppsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeAuthorizedAppsResult::DescribeAuthorizedAppsResult() : + ServiceResult() +{} + +DescribeAuthorizedAppsResult::DescribeAuthorizedAppsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAuthorizedAppsResult::~DescribeAuthorizedAppsResult() +{} + +void DescribeAuthorizedAppsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAuthorizedApps = value["AuthorizedApps"]["AuthorizedApp"]; + for (auto value : allAuthorizedApps) + { + AuthorizedApp authorizedAppsObject; + if(!value["StageName"].isNull()) + authorizedAppsObject.stageName = value["StageName"].asString(); + if(!value["AppId"].isNull()) + authorizedAppsObject.appId = std::stol(value["AppId"].asString()); + if(!value["AppName"].isNull()) + authorizedAppsObject.appName = value["AppName"].asString(); + if(!value["Operator"].isNull()) + authorizedAppsObject._operator = value["Operator"].asString(); + if(!value["AuthorizationSource"].isNull()) + authorizedAppsObject.authorizationSource = value["AuthorizationSource"].asString(); + if(!value["Description"].isNull()) + authorizedAppsObject.description = value["Description"].asString(); + if(!value["AuthorizedTime"].isNull()) + authorizedAppsObject.authorizedTime = value["AuthorizedTime"].asString(); + if(!value["AuthVaildTime"].isNull()) + authorizedAppsObject.authVaildTime = value["AuthVaildTime"].asString(); + authorizedApps_.push_back(authorizedAppsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeAuthorizedAppsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAuthorizedAppsResult::getPageSize()const +{ + return pageSize_; +} + +std::vector DescribeAuthorizedAppsResult::getAuthorizedApps()const +{ + return authorizedApps_; +} + +int DescribeAuthorizedAppsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeDeployedApiRequest.cc b/cloudapi/src/model/DescribeDeployedApiRequest.cc new file mode 100644 index 000000000..299c05280 --- /dev/null +++ b/cloudapi/src/model/DescribeDeployedApiRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeDeployedApiRequest; + +DescribeDeployedApiRequest::DescribeDeployedApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeDeployedApi") +{} + +DescribeDeployedApiRequest::~DescribeDeployedApiRequest() +{} + +std::string DescribeDeployedApiRequest::getStageName()const +{ + return stageName_; +} + +void DescribeDeployedApiRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeDeployedApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDeployedApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeDeployedApiRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDeployedApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeDeployedApiRequest::getApiId()const +{ + return apiId_; +} + +void DescribeDeployedApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeDeployedApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDeployedApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeDeployedApiResult.cc b/cloudapi/src/model/DescribeDeployedApiResult.cc new file mode 100644 index 000000000..697db4ac7 --- /dev/null +++ b/cloudapi/src/model/DescribeDeployedApiResult.cc @@ -0,0 +1,430 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeDeployedApiResult::DescribeDeployedApiResult() : + ServiceResult() +{} + +DescribeDeployedApiResult::DescribeDeployedApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeployedApiResult::~DescribeDeployedApiResult() +{} + +void DescribeDeployedApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"]; + for (auto value : allErrorCodeSamples) + { + ErrorCodeSample errorCodeSamplesObject; + if(!value["Code"].isNull()) + errorCodeSamplesObject.code = value["Code"].asString(); + if(!value["Message"].isNull()) + errorCodeSamplesObject.message = value["Message"].asString(); + if(!value["Description"].isNull()) + errorCodeSamplesObject.description = value["Description"].asString(); + errorCodeSamples_.push_back(errorCodeSamplesObject); + } + auto allResultDescriptions = value["ResultDescriptions"]["ResultDescription"]; + for (auto value : allResultDescriptions) + { + ResultDescription resultDescriptionsObject; + if(!value["Id"].isNull()) + resultDescriptionsObject.id = value["Id"].asString(); + if(!value["Pid"].isNull()) + resultDescriptionsObject.pid = value["Pid"].asString(); + if(!value["HasChild"].isNull()) + resultDescriptionsObject.hasChild = value["HasChild"].asString() == "true"; + if(!value["Key"].isNull()) + resultDescriptionsObject.key = value["Key"].asString(); + if(!value["Name"].isNull()) + resultDescriptionsObject.name = value["Name"].asString(); + if(!value["Mandatory"].isNull()) + resultDescriptionsObject.mandatory = value["Mandatory"].asString() == "true"; + if(!value["Type"].isNull()) + resultDescriptionsObject.type = value["Type"].asString(); + if(!value["Description"].isNull()) + resultDescriptionsObject.description = value["Description"].asString(); + resultDescriptions_.push_back(resultDescriptionsObject); + } + auto allSystemParameters = value["SystemParameters"]["SystemParameter"]; + for (auto value : allSystemParameters) + { + SystemParameter systemParametersObject; + if(!value["ParameterName"].isNull()) + systemParametersObject.parameterName = value["ParameterName"].asString(); + if(!value["ServiceParameterName"].isNull()) + systemParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + systemParametersObject.location = value["Location"].asString(); + if(!value["DemoValue"].isNull()) + systemParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["Description"].isNull()) + systemParametersObject.description = value["Description"].asString(); + systemParameters_.push_back(systemParametersObject); + } + auto allCustomSystemParameters = value["CustomSystemParameters"]["CustomSystemParameter"]; + for (auto value : allCustomSystemParameters) + { + CustomSystemParameter customSystemParametersObject; + if(!value["ParameterName"].isNull()) + customSystemParametersObject.parameterName = value["ParameterName"].asString(); + if(!value["ServiceParameterName"].isNull()) + customSystemParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + customSystemParametersObject.location = value["Location"].asString(); + if(!value["DemoValue"].isNull()) + customSystemParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["Description"].isNull()) + customSystemParametersObject.description = value["Description"].asString(); + customSystemParameters_.push_back(customSystemParametersObject); + } + auto allConstantParameters = value["ConstantParameters"]["ConstantParameter"]; + for (auto value : allConstantParameters) + { + ConstantParameter constantParametersObject; + if(!value["ServiceParameterName"].isNull()) + constantParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["ConstantValue"].isNull()) + constantParametersObject.constantValue = value["ConstantValue"].asString(); + if(!value["Location"].isNull()) + constantParametersObject.location = value["Location"].asString(); + if(!value["Description"].isNull()) + constantParametersObject.description = value["Description"].asString(); + constantParameters_.push_back(constantParametersObject); + } + auto allRequestParameters = value["RequestParameters"]["RequestParameter"]; + for (auto value : allRequestParameters) + { + RequestParameter requestParametersObject; + if(!value["ApiParameterName"].isNull()) + requestParametersObject.apiParameterName = value["ApiParameterName"].asString(); + if(!value["Location"].isNull()) + requestParametersObject.location = value["Location"].asString(); + if(!value["ParameterType"].isNull()) + requestParametersObject.parameterType = value["ParameterType"].asString(); + if(!value["Required"].isNull()) + requestParametersObject.required = value["Required"].asString(); + if(!value["DefaultValue"].isNull()) + requestParametersObject.defaultValue = value["DefaultValue"].asString(); + if(!value["DemoValue"].isNull()) + requestParametersObject.demoValue = value["DemoValue"].asString(); + if(!value["MaxValue"].isNull()) + requestParametersObject.maxValue = std::stol(value["MaxValue"].asString()); + if(!value["MinValue"].isNull()) + requestParametersObject.minValue = std::stol(value["MinValue"].asString()); + if(!value["MaxLength"].isNull()) + requestParametersObject.maxLength = std::stol(value["MaxLength"].asString()); + if(!value["MinLength"].isNull()) + requestParametersObject.minLength = std::stol(value["MinLength"].asString()); + if(!value["RegularExpression"].isNull()) + requestParametersObject.regularExpression = value["RegularExpression"].asString(); + if(!value["JsonScheme"].isNull()) + requestParametersObject.jsonScheme = value["JsonScheme"].asString(); + if(!value["EnumValue"].isNull()) + requestParametersObject.enumValue = value["EnumValue"].asString(); + if(!value["DocShow"].isNull()) + requestParametersObject.docShow = value["DocShow"].asString(); + if(!value["DocOrder"].isNull()) + requestParametersObject.docOrder = std::stoi(value["DocOrder"].asString()); + if(!value["Description"].isNull()) + requestParametersObject.description = value["Description"].asString(); + requestParameters_.push_back(requestParametersObject); + } + auto allServiceParameters = value["ServiceParameters"]["ServiceParameter"]; + for (auto value : allServiceParameters) + { + ServiceParameter serviceParametersObject; + if(!value["ServiceParameterName"].isNull()) + serviceParametersObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["Location"].isNull()) + serviceParametersObject.location = value["Location"].asString(); + if(!value["ParameterType"].isNull()) + serviceParametersObject.parameterType = value["ParameterType"].asString(); + serviceParameters_.push_back(serviceParametersObject); + } + auto allServiceParametersMap = value["ServiceParametersMap"]["ServiceParameterMap"]; + for (auto value : allServiceParametersMap) + { + ServiceParameterMap serviceParametersMapObject; + if(!value["ServiceParameterName"].isNull()) + serviceParametersMapObject.serviceParameterName = value["ServiceParameterName"].asString(); + if(!value["RequestParameterName"].isNull()) + serviceParametersMapObject.requestParameterName = value["RequestParameterName"].asString(); + serviceParametersMap_.push_back(serviceParametersMapObject); + } + auto requestConfigNode = value["RequestConfig"]; + if(!requestConfigNode["RequestProtocol"].isNull()) + requestConfig_.requestProtocol = requestConfigNode["RequestProtocol"].asString(); + if(!requestConfigNode["RequestHttpMethod"].isNull()) + requestConfig_.requestHttpMethod = requestConfigNode["RequestHttpMethod"].asString(); + if(!requestConfigNode["RequestPath"].isNull()) + requestConfig_.requestPath = requestConfigNode["RequestPath"].asString(); + if(!requestConfigNode["BodyFormat"].isNull()) + requestConfig_.bodyFormat = requestConfigNode["BodyFormat"].asString(); + if(!requestConfigNode["PostBodyDescription"].isNull()) + requestConfig_.postBodyDescription = requestConfigNode["PostBodyDescription"].asString(); + if(!requestConfigNode["RequestMode"].isNull()) + requestConfig_.requestMode = requestConfigNode["RequestMode"].asString(); + if(!requestConfigNode["BodyModel"].isNull()) + requestConfig_.bodyModel = requestConfigNode["BodyModel"].asString(); + auto serviceConfigNode = value["ServiceConfig"]; + if(!serviceConfigNode["ServiceProtocol"].isNull()) + serviceConfig_.serviceProtocol = serviceConfigNode["ServiceProtocol"].asString(); + if(!serviceConfigNode["ServiceAddress"].isNull()) + serviceConfig_.serviceAddress = serviceConfigNode["ServiceAddress"].asString(); + if(!serviceConfigNode["ServiceHttpMethod"].isNull()) + serviceConfig_.serviceHttpMethod = serviceConfigNode["ServiceHttpMethod"].asString(); + if(!serviceConfigNode["ServicePath"].isNull()) + serviceConfig_.servicePath = serviceConfigNode["ServicePath"].asString(); + if(!serviceConfigNode["ServiceTimeout"].isNull()) + serviceConfig_.serviceTimeout = std::stoi(serviceConfigNode["ServiceTimeout"].asString()); + if(!serviceConfigNode["Mock"].isNull()) + serviceConfig_.mock = serviceConfigNode["Mock"].asString(); + if(!serviceConfigNode["MockResult"].isNull()) + serviceConfig_.mockResult = serviceConfigNode["MockResult"].asString(); + if(!serviceConfigNode["ServiceVpcEnable"].isNull()) + serviceConfig_.serviceVpcEnable = serviceConfigNode["ServiceVpcEnable"].asString(); + if(!serviceConfigNode["MockStatusCode"].isNull()) + serviceConfig_.mockStatusCode = std::stoi(serviceConfigNode["MockStatusCode"].asString()); + auto allMockHeaders = value["MockHeaders"]["MockHeader"]; + for (auto value : allMockHeaders) + { + ServiceConfig::MockHeader mockHeaderObject; + if(!value["HeaderName"].isNull()) + mockHeaderObject.headerName = value["HeaderName"].asString(); + if(!value["HeaderValue"].isNull()) + mockHeaderObject.headerValue = value["HeaderValue"].asString(); + serviceConfig_.mockHeaders.push_back(mockHeaderObject); + } + auto vpcConfigNode = serviceConfigNode["VpcConfig"]; + if(!vpcConfigNode["Name"].isNull()) + serviceConfig_.vpcConfig.name = vpcConfigNode["Name"].asString(); + if(!vpcConfigNode["VpcId"].isNull()) + serviceConfig_.vpcConfig.vpcId = vpcConfigNode["VpcId"].asString(); + if(!vpcConfigNode["InstanceId"].isNull()) + serviceConfig_.vpcConfig.instanceId = vpcConfigNode["InstanceId"].asString(); + if(!vpcConfigNode["Port"].isNull()) + serviceConfig_.vpcConfig.port = std::stoi(vpcConfigNode["Port"].asString()); + auto functionComputeConfigNode = serviceConfigNode["FunctionComputeConfig"]; + if(!functionComputeConfigNode["RegionId"].isNull()) + serviceConfig_.functionComputeConfig.regionId = functionComputeConfigNode["RegionId"].asString(); + if(!functionComputeConfigNode["ServiceName"].isNull()) + serviceConfig_.functionComputeConfig.serviceName = functionComputeConfigNode["ServiceName"].asString(); + if(!functionComputeConfigNode["FunctionName"].isNull()) + serviceConfig_.functionComputeConfig.functionName = functionComputeConfigNode["FunctionName"].asString(); + if(!functionComputeConfigNode["RoleArn"].isNull()) + serviceConfig_.functionComputeConfig.roleArn = functionComputeConfigNode["RoleArn"].asString(); + auto openIdConnectConfigNode = value["OpenIdConnectConfig"]; + if(!openIdConnectConfigNode["OpenIdApiType"].isNull()) + openIdConnectConfig_.openIdApiType = openIdConnectConfigNode["OpenIdApiType"].asString(); + if(!openIdConnectConfigNode["IdTokenParamName"].isNull()) + openIdConnectConfig_.idTokenParamName = openIdConnectConfigNode["IdTokenParamName"].asString(); + if(!openIdConnectConfigNode["PublicKeyId"].isNull()) + openIdConnectConfig_.publicKeyId = openIdConnectConfigNode["PublicKeyId"].asString(); + if(!openIdConnectConfigNode["PublicKey"].isNull()) + openIdConnectConfig_.publicKey = openIdConnectConfigNode["PublicKey"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + stageName_ = value["StageName"].asString(); + if(!value["ApiId"].isNull()) + apiId_ = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiName_ = value["ApiName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["Visibility"].isNull()) + visibility_ = value["Visibility"].asString(); + if(!value["AuthType"].isNull()) + authType_ = value["AuthType"].asString(); + if(!value["ResultType"].isNull()) + resultType_ = value["ResultType"].asString(); + if(!value["ResultSample"].isNull()) + resultSample_ = value["ResultSample"].asString(); + if(!value["FailResultSample"].isNull()) + failResultSample_ = value["FailResultSample"].asString(); + if(!value["DeployedTime"].isNull()) + deployedTime_ = value["DeployedTime"].asString(); + if(!value["AllowSignatureMethod"].isNull()) + allowSignatureMethod_ = value["AllowSignatureMethod"].asString(); + if(!value["ResultBodyModel"].isNull()) + resultBodyModel_ = value["ResultBodyModel"].asString(); + if(!value["ForceNonceCheck"].isNull()) + forceNonceCheck_ = value["ForceNonceCheck"].asString() == "true"; + if(!value["DisableInternet"].isNull()) + disableInternet_ = value["DisableInternet"].asString() == "true"; + +} + +std::string DescribeDeployedApiResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribeDeployedApiResult::getDescription()const +{ + return description_; +} + +bool DescribeDeployedApiResult::getForceNonceCheck()const +{ + return forceNonceCheck_; +} + +std::string DescribeDeployedApiResult::getAllowSignatureMethod()const +{ + return allowSignatureMethod_; +} + +std::vector DescribeDeployedApiResult::getErrorCodeSamples()const +{ + return errorCodeSamples_; +} + +std::vector DescribeDeployedApiResult::getRequestParameters()const +{ + return requestParameters_; +} + +std::vector DescribeDeployedApiResult::getServiceParametersMap()const +{ + return serviceParametersMap_; +} + +std::string DescribeDeployedApiResult::getResultBodyModel()const +{ + return resultBodyModel_; +} + +DescribeDeployedApiResult::ServiceConfig DescribeDeployedApiResult::getServiceConfig()const +{ + return serviceConfig_; +} + +std::vector DescribeDeployedApiResult::getConstantParameters()const +{ + return constantParameters_; +} + +std::vector DescribeDeployedApiResult::getResultDescriptions()const +{ + return resultDescriptions_; +} + +DescribeDeployedApiResult::OpenIdConnectConfig DescribeDeployedApiResult::getOpenIdConnectConfig()const +{ + return openIdConnectConfig_; +} + +std::string DescribeDeployedApiResult::getAuthType()const +{ + return authType_; +} + +DescribeDeployedApiResult::RequestConfig DescribeDeployedApiResult::getRequestConfig()const +{ + return requestConfig_; +} + +std::string DescribeDeployedApiResult::getResultSample()const +{ + return resultSample_; +} + +bool DescribeDeployedApiResult::getDisableInternet()const +{ + return disableInternet_; +} + +std::string DescribeDeployedApiResult::getStageName()const +{ + return stageName_; +} + +std::string DescribeDeployedApiResult::getApiName()const +{ + return apiName_; +} + +std::string DescribeDeployedApiResult::getResultType()const +{ + return resultType_; +} + +std::string DescribeDeployedApiResult::getFailResultSample()const +{ + return failResultSample_; +} + +std::vector DescribeDeployedApiResult::getCustomSystemParameters()const +{ + return customSystemParameters_; +} + +std::string DescribeDeployedApiResult::getGroupId()const +{ + return groupId_; +} + +std::string DescribeDeployedApiResult::getDeployedTime()const +{ + return deployedTime_; +} + +std::vector DescribeDeployedApiResult::getSystemParameters()const +{ + return systemParameters_; +} + +std::string DescribeDeployedApiResult::getVisibility()const +{ + return visibility_; +} + +std::vector DescribeDeployedApiResult::getServiceParameters()const +{ + return serviceParameters_; +} + +std::string DescribeDeployedApiResult::getRegionId()const +{ + return regionId_; +} + +std::string DescribeDeployedApiResult::getApiId()const +{ + return apiId_; +} + diff --git a/cloudapi/src/model/DescribeDeployedApisRequest.cc b/cloudapi/src/model/DescribeDeployedApisRequest.cc new file mode 100644 index 000000000..2c323926a --- /dev/null +++ b/cloudapi/src/model/DescribeDeployedApisRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeDeployedApisRequest; + +DescribeDeployedApisRequest::DescribeDeployedApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeDeployedApis") +{} + +DescribeDeployedApisRequest::~DescribeDeployedApisRequest() +{} + +std::string DescribeDeployedApisRequest::getStageName()const +{ + return stageName_; +} + +void DescribeDeployedApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeDeployedApisRequest::getApiName()const +{ + return apiName_; +} + +void DescribeDeployedApisRequest::setApiName(const std::string& apiName) +{ + apiName_ = apiName; + setCoreParameter("ApiName", apiName); +} + +std::string DescribeDeployedApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDeployedApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeDeployedApisRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDeployedApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeDeployedApisRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDeployedApisRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDeployedApisRequest::getApiId()const +{ + return apiId_; +} + +void DescribeDeployedApisRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +int DescribeDeployedApisRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDeployedApisRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeDeployedApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDeployedApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeDeployedApisResult.cc b/cloudapi/src/model/DescribeDeployedApisResult.cc new file mode 100644 index 000000000..4aaae2caa --- /dev/null +++ b/cloudapi/src/model/DescribeDeployedApisResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeDeployedApisResult::DescribeDeployedApisResult() : + ServiceResult() +{} + +DescribeDeployedApisResult::DescribeDeployedApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeployedApisResult::~DescribeDeployedApisResult() +{} + +void DescribeDeployedApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDeployedApis = value["DeployedApis"]["DeployedApiItem"]; + for (auto value : allDeployedApis) + { + DeployedApiItem deployedApisObject; + if(!value["RegionId"].isNull()) + deployedApisObject.regionId = value["RegionId"].asString(); + if(!value["ApiId"].isNull()) + deployedApisObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + deployedApisObject.apiName = value["ApiName"].asString(); + if(!value["GroupId"].isNull()) + deployedApisObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + deployedApisObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + deployedApisObject.stageName = value["StageName"].asString(); + if(!value["Visibility"].isNull()) + deployedApisObject.visibility = value["Visibility"].asString(); + if(!value["Description"].isNull()) + deployedApisObject.description = value["Description"].asString(); + if(!value["DeployedTime"].isNull()) + deployedApisObject.deployedTime = value["DeployedTime"].asString(); + deployedApis_.push_back(deployedApisObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeDeployedApisResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeDeployedApisResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDeployedApisResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeDeployedApisResult::getDeployedApis()const +{ + return deployedApis_; +} + diff --git a/cloudapi/src/model/DescribeDomainRequest.cc b/cloudapi/src/model/DescribeDomainRequest.cc new file mode 100644 index 000000000..6491eaf0c --- /dev/null +++ b/cloudapi/src/model/DescribeDomainRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeDomainRequest; + +DescribeDomainRequest::DescribeDomainRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeDomain") +{} + +DescribeDomainRequest::~DescribeDomainRequest() +{} + +std::string DescribeDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeDomainRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDomainRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeDomainRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string DescribeDomainRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDomainRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeDomainResult.cc b/cloudapi/src/model/DescribeDomainResult.cc new file mode 100644 index 000000000..4343e76eb --- /dev/null +++ b/cloudapi/src/model/DescribeDomainResult.cc @@ -0,0 +1,129 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeDomainResult::DescribeDomainResult() : + ServiceResult() +{} + +DescribeDomainResult::DescribeDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainResult::~DescribeDomainResult() +{} + +void DescribeDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["SubDomain"].isNull()) + subDomain_ = value["SubDomain"].asString(); + if(!value["CertificateId"].isNull()) + certificateId_ = value["CertificateId"].asString(); + if(!value["CertificateName"].isNull()) + certificateName_ = value["CertificateName"].asString(); + if(!value["CertificateBody"].isNull()) + certificateBody_ = value["CertificateBody"].asString(); + if(!value["CertificatePrivateKey"].isNull()) + certificatePrivateKey_ = value["CertificatePrivateKey"].asString(); + if(!value["DomainBindingStatus"].isNull()) + domainBindingStatus_ = value["DomainBindingStatus"].asString(); + if(!value["DomainCNAMEStatus"].isNull()) + domainCNAMEStatus_ = value["DomainCNAMEStatus"].asString(); + if(!value["DomainLegalStatus"].isNull()) + domainLegalStatus_ = value["DomainLegalStatus"].asString(); + if(!value["DomainWebSocketStatus"].isNull()) + domainWebSocketStatus_ = value["DomainWebSocketStatus"].asString(); + if(!value["DomainRemark"].isNull()) + domainRemark_ = value["DomainRemark"].asString(); + +} + +std::string DescribeDomainResult::getSubDomain()const +{ + return subDomain_; +} + +std::string DescribeDomainResult::getCertificateBody()const +{ + return certificateBody_; +} + +std::string DescribeDomainResult::getDomainCNAMEStatus()const +{ + return domainCNAMEStatus_; +} + +std::string DescribeDomainResult::getDomainRemark()const +{ + return domainRemark_; +} + +std::string DescribeDomainResult::getDomainBindingStatus()const +{ + return domainBindingStatus_; +} + +std::string DescribeDomainResult::getDomainLegalStatus()const +{ + return domainLegalStatus_; +} + +std::string DescribeDomainResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainResult::getCertificateId()const +{ + return certificateId_; +} + +std::string DescribeDomainResult::getDomainWebSocketStatus()const +{ + return domainWebSocketStatus_; +} + +std::string DescribeDomainResult::getCertificatePrivateKey()const +{ + return certificatePrivateKey_; +} + +std::string DescribeDomainResult::getCertificateName()const +{ + return certificateName_; +} + +std::string DescribeDomainResult::getGroupId()const +{ + return groupId_; +} + diff --git a/cloudapi/src/model/DescribeDomainsResolutionRequest.cc b/cloudapi/src/model/DescribeDomainsResolutionRequest.cc new file mode 100644 index 000000000..7c1bc0f1c --- /dev/null +++ b/cloudapi/src/model/DescribeDomainsResolutionRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeDomainsResolutionRequest; + +DescribeDomainsResolutionRequest::DescribeDomainsResolutionRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeDomainsResolution") +{} + +DescribeDomainsResolutionRequest::~DescribeDomainsResolutionRequest() +{} + +std::string DescribeDomainsResolutionRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDomainsResolutionRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeDomainsResolutionRequest::getDomainNames()const +{ + return domainNames_; +} + +void DescribeDomainsResolutionRequest::setDomainNames(const std::string& domainNames) +{ + domainNames_ = domainNames; + setCoreParameter("DomainNames", domainNames); +} + +std::string DescribeDomainsResolutionRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDomainsResolutionRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeDomainsResolutionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDomainsResolutionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeDomainsResolutionResult.cc b/cloudapi/src/model/DescribeDomainsResolutionResult.cc new file mode 100644 index 000000000..e92037682 --- /dev/null +++ b/cloudapi/src/model/DescribeDomainsResolutionResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeDomainsResolutionResult::DescribeDomainsResolutionResult() : + ServiceResult() +{} + +DescribeDomainsResolutionResult::DescribeDomainsResolutionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainsResolutionResult::~DescribeDomainsResolutionResult() +{} + +void DescribeDomainsResolutionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomainResolutions = value["DomainResolutions"]["DomainResolution"]; + for (auto value : allDomainResolutions) + { + DomainResolution domainResolutionsObject; + if(!value["DomainName"].isNull()) + domainResolutionsObject.domainName = value["DomainName"].asString(); + if(!value["DomainResolutionStatus"].isNull()) + domainResolutionsObject.domainResolutionStatus = value["DomainResolutionStatus"].asString(); + domainResolutions_.push_back(domainResolutionsObject); + } + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + +} + +std::vector DescribeDomainsResolutionResult::getDomainResolutions()const +{ + return domainResolutions_; +} + +std::string DescribeDomainsResolutionResult::getGroupId()const +{ + return groupId_; +} + diff --git a/cloudapi/src/model/DescribeHistoryApisRequest.cc b/cloudapi/src/model/DescribeHistoryApisRequest.cc new file mode 100644 index 000000000..fa573755c --- /dev/null +++ b/cloudapi/src/model/DescribeHistoryApisRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeHistoryApisRequest; + +DescribeHistoryApisRequest::DescribeHistoryApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeHistoryApis") +{} + +DescribeHistoryApisRequest::~DescribeHistoryApisRequest() +{} + +std::string DescribeHistoryApisRequest::getStageName()const +{ + return stageName_; +} + +void DescribeHistoryApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeHistoryApisRequest::getApiName()const +{ + return apiName_; +} + +void DescribeHistoryApisRequest::setApiName(const std::string& apiName) +{ + apiName_ = apiName; + setCoreParameter("ApiName", apiName); +} + +std::string DescribeHistoryApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeHistoryApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeHistoryApisRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeHistoryApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeHistoryApisRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeHistoryApisRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + +std::string DescribeHistoryApisRequest::getApiId()const +{ + return apiId_; +} + +void DescribeHistoryApisRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeHistoryApisRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeHistoryApisRequest::setPageNumber(const std::string& pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", pageNumber); +} + +std::string DescribeHistoryApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeHistoryApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeHistoryApisResult.cc b/cloudapi/src/model/DescribeHistoryApisResult.cc new file mode 100644 index 000000000..083ffa16f --- /dev/null +++ b/cloudapi/src/model/DescribeHistoryApisResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeHistoryApisResult::DescribeHistoryApisResult() : + ServiceResult() +{} + +DescribeHistoryApisResult::DescribeHistoryApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeHistoryApisResult::~DescribeHistoryApisResult() +{} + +void DescribeHistoryApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allApiHisItems = value["ApiHisItems"]["ApiHisItem"]; + for (auto value : allApiHisItems) + { + ApiHisItem apiHisItemsObject; + if(!value["RegionId"].isNull()) + apiHisItemsObject.regionId = value["RegionId"].asString(); + if(!value["ApiId"].isNull()) + apiHisItemsObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + apiHisItemsObject.apiName = value["ApiName"].asString(); + if(!value["GroupId"].isNull()) + apiHisItemsObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + apiHisItemsObject.groupName = value["GroupName"].asString(); + if(!value["StageName"].isNull()) + apiHisItemsObject.stageName = value["StageName"].asString(); + if(!value["HistoryVersion"].isNull()) + apiHisItemsObject.historyVersion = value["HistoryVersion"].asString(); + if(!value["Status"].isNull()) + apiHisItemsObject.status = value["Status"].asString(); + if(!value["Description"].isNull()) + apiHisItemsObject.description = value["Description"].asString(); + if(!value["DeployedTime"].isNull()) + apiHisItemsObject.deployedTime = value["DeployedTime"].asString(); + apiHisItems_.push_back(apiHisItemsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeHistoryApisResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeHistoryApisResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeHistoryApisResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeHistoryApisResult::getApiHisItems()const +{ + return apiHisItems_; +} + diff --git a/cloudapi/src/model/DescribeIpControlPolicyItemsRequest.cc b/cloudapi/src/model/DescribeIpControlPolicyItemsRequest.cc new file mode 100644 index 000000000..13e605af2 --- /dev/null +++ b/cloudapi/src/model/DescribeIpControlPolicyItemsRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeIpControlPolicyItemsRequest; + +DescribeIpControlPolicyItemsRequest::DescribeIpControlPolicyItemsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeIpControlPolicyItems") +{} + +DescribeIpControlPolicyItemsRequest::~DescribeIpControlPolicyItemsRequest() +{} + +std::string DescribeIpControlPolicyItemsRequest::getIpControlId()const +{ + return ipControlId_; +} + +void DescribeIpControlPolicyItemsRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string DescribeIpControlPolicyItemsRequest::getPolicyItemId()const +{ + return policyItemId_; +} + +void DescribeIpControlPolicyItemsRequest::setPolicyItemId(const std::string& policyItemId) +{ + policyItemId_ = policyItemId; + setCoreParameter("PolicyItemId", policyItemId); +} + +std::string DescribeIpControlPolicyItemsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeIpControlPolicyItemsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int DescribeIpControlPolicyItemsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeIpControlPolicyItemsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeIpControlPolicyItemsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeIpControlPolicyItemsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeIpControlPolicyItemsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeIpControlPolicyItemsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeIpControlPolicyItemsResult.cc b/cloudapi/src/model/DescribeIpControlPolicyItemsResult.cc new file mode 100644 index 000000000..e8365b31a --- /dev/null +++ b/cloudapi/src/model/DescribeIpControlPolicyItemsResult.cc @@ -0,0 +1,87 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeIpControlPolicyItemsResult::DescribeIpControlPolicyItemsResult() : + ServiceResult() +{} + +DescribeIpControlPolicyItemsResult::DescribeIpControlPolicyItemsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeIpControlPolicyItemsResult::~DescribeIpControlPolicyItemsResult() +{} + +void DescribeIpControlPolicyItemsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allIpControlPolicyItems = value["IpControlPolicyItems"]["IpControlPolicyItem"]; + for (auto value : allIpControlPolicyItems) + { + IpControlPolicyItem ipControlPolicyItemsObject; + if(!value["AppId"].isNull()) + ipControlPolicyItemsObject.appId = value["AppId"].asString(); + if(!value["CidrIp"].isNull()) + ipControlPolicyItemsObject.cidrIp = value["CidrIp"].asString(); + if(!value["PolicyItemId"].isNull()) + ipControlPolicyItemsObject.policyItemId = value["PolicyItemId"].asString(); + if(!value["CreateTime"].isNull()) + ipControlPolicyItemsObject.createTime = value["CreateTime"].asString(); + if(!value["ModifiedTime"].isNull()) + ipControlPolicyItemsObject.modifiedTime = value["ModifiedTime"].asString(); + ipControlPolicyItems_.push_back(ipControlPolicyItemsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeIpControlPolicyItemsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeIpControlPolicyItemsResult::getPageSize()const +{ + return pageSize_; +} + +std::vector DescribeIpControlPolicyItemsResult::getIpControlPolicyItems()const +{ + return ipControlPolicyItems_; +} + +int DescribeIpControlPolicyItemsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeIpControlsRequest.cc b/cloudapi/src/model/DescribeIpControlsRequest.cc new file mode 100644 index 000000000..eae2dc75e --- /dev/null +++ b/cloudapi/src/model/DescribeIpControlsRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeIpControlsRequest; + +DescribeIpControlsRequest::DescribeIpControlsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeIpControls") +{} + +DescribeIpControlsRequest::~DescribeIpControlsRequest() +{} + +std::string DescribeIpControlsRequest::getIpControlId()const +{ + return ipControlId_; +} + +void DescribeIpControlsRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string DescribeIpControlsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeIpControlsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeIpControlsRequest::getIpControlName()const +{ + return ipControlName_; +} + +void DescribeIpControlsRequest::setIpControlName(const std::string& ipControlName) +{ + ipControlName_ = ipControlName; + setCoreParameter("IpControlName", ipControlName); +} + +std::string DescribeIpControlsRequest::getIpControlType()const +{ + return ipControlType_; +} + +void DescribeIpControlsRequest::setIpControlType(const std::string& ipControlType) +{ + ipControlType_ = ipControlType; + setCoreParameter("IpControlType", ipControlType); +} + +int DescribeIpControlsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeIpControlsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeIpControlsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeIpControlsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeIpControlsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeIpControlsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeIpControlsResult.cc b/cloudapi/src/model/DescribeIpControlsResult.cc new file mode 100644 index 000000000..ef170270c --- /dev/null +++ b/cloudapi/src/model/DescribeIpControlsResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeIpControlsResult::DescribeIpControlsResult() : + ServiceResult() +{} + +DescribeIpControlsResult::DescribeIpControlsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeIpControlsResult::~DescribeIpControlsResult() +{} + +void DescribeIpControlsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allIpControlInfos = value["IpControlInfos"]["IpControlInfo"]; + for (auto value : allIpControlInfos) + { + IpControlInfo ipControlInfosObject; + if(!value["IpControlId"].isNull()) + ipControlInfosObject.ipControlId = value["IpControlId"].asString(); + if(!value["IpControlName"].isNull()) + ipControlInfosObject.ipControlName = value["IpControlName"].asString(); + if(!value["IpControlType"].isNull()) + ipControlInfosObject.ipControlType = value["IpControlType"].asString(); + if(!value["Description"].isNull()) + ipControlInfosObject.description = value["Description"].asString(); + if(!value["CreateTime"].isNull()) + ipControlInfosObject.createTime = value["CreateTime"].asString(); + if(!value["ModifiedTime"].isNull()) + ipControlInfosObject.modifiedTime = value["ModifiedTime"].asString(); + if(!value["RegionId"].isNull()) + ipControlInfosObject.regionId = value["RegionId"].asString(); + ipControlInfos_.push_back(ipControlInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeIpControlsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeIpControlsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeIpControlsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeIpControlsResult::getIpControlInfos()const +{ + return ipControlInfos_; +} + diff --git a/cloudapi/src/model/DescribeLogConfigRequest.cc b/cloudapi/src/model/DescribeLogConfigRequest.cc new file mode 100644 index 000000000..0afc55b8f --- /dev/null +++ b/cloudapi/src/model/DescribeLogConfigRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeLogConfigRequest; + +DescribeLogConfigRequest::DescribeLogConfigRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeLogConfig") +{} + +DescribeLogConfigRequest::~DescribeLogConfigRequest() +{} + +std::string DescribeLogConfigRequest::getLogType()const +{ + return logType_; +} + +void DescribeLogConfigRequest::setLogType(const std::string& logType) +{ + logType_ = logType; + setCoreParameter("LogType", logType); +} + +std::string DescribeLogConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeLogConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeLogConfigRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLogConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string DescribeLogConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLogConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeLogConfigResult.cc b/cloudapi/src/model/DescribeLogConfigResult.cc new file mode 100644 index 000000000..7cf3c730c --- /dev/null +++ b/cloudapi/src/model/DescribeLogConfigResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeLogConfigResult::DescribeLogConfigResult() : + ServiceResult() +{} + +DescribeLogConfigResult::DescribeLogConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogConfigResult::~DescribeLogConfigResult() +{} + +void DescribeLogConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLogInfos = value["LogInfos"]["LogInfo"]; + for (auto value : allLogInfos) + { + LogInfo logInfosObject; + if(!value["RegionId"].isNull()) + logInfosObject.regionId = value["RegionId"].asString(); + if(!value["SlsProject"].isNull()) + logInfosObject.slsProject = value["SlsProject"].asString(); + if(!value["SlsLogStore"].isNull()) + logInfosObject.slsLogStore = value["SlsLogStore"].asString(); + if(!value["LogType"].isNull()) + logInfosObject.logType = value["LogType"].asString(); + logInfos_.push_back(logInfosObject); + } + +} + +std::vector DescribeLogConfigResult::getLogInfos()const +{ + return logInfos_; +} + diff --git a/cloudapi/src/model/DescribePurchasedApiGroupRequest.cc b/cloudapi/src/model/DescribePurchasedApiGroupRequest.cc new file mode 100644 index 000000000..afa7fab5b --- /dev/null +++ b/cloudapi/src/model/DescribePurchasedApiGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribePurchasedApiGroupRequest; + +DescribePurchasedApiGroupRequest::DescribePurchasedApiGroupRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribePurchasedApiGroup") +{} + +DescribePurchasedApiGroupRequest::~DescribePurchasedApiGroupRequest() +{} + +std::string DescribePurchasedApiGroupRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribePurchasedApiGroupRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribePurchasedApiGroupRequest::getGroupId()const +{ + return groupId_; +} + +void DescribePurchasedApiGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribePurchasedApiGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribePurchasedApiGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribePurchasedApiGroupResult.cc b/cloudapi/src/model/DescribePurchasedApiGroupResult.cc new file mode 100644 index 000000000..7b13908f6 --- /dev/null +++ b/cloudapi/src/model/DescribePurchasedApiGroupResult.cc @@ -0,0 +1,100 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribePurchasedApiGroupResult::DescribePurchasedApiGroupResult() : + ServiceResult() +{} + +DescribePurchasedApiGroupResult::DescribePurchasedApiGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePurchasedApiGroupResult::~DescribePurchasedApiGroupResult() +{} + +void DescribePurchasedApiGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomains = value["Domains"]["DomainItem"]; + for (auto value : allDomains) + { + DomainItem domainsObject; + if(!value["DomainName"].isNull()) + domainsObject.domainName = value["DomainName"].asString(); + domains_.push_back(domainsObject); + } + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["PurchasedTime"].isNull()) + purchasedTime_ = value["PurchasedTime"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + +} + +std::vector DescribePurchasedApiGroupResult::getDomains()const +{ + return domains_; +} + +std::string DescribePurchasedApiGroupResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribePurchasedApiGroupResult::getStatus()const +{ + return status_; +} + +std::string DescribePurchasedApiGroupResult::getDescription()const +{ + return description_; +} + +std::string DescribePurchasedApiGroupResult::getRegionId()const +{ + return regionId_; +} + +std::string DescribePurchasedApiGroupResult::getGroupId()const +{ + return groupId_; +} + +std::string DescribePurchasedApiGroupResult::getPurchasedTime()const +{ + return purchasedTime_; +} + diff --git a/cloudapi/src/model/DescribePurchasedApiGroupsRequest.cc b/cloudapi/src/model/DescribePurchasedApiGroupsRequest.cc new file mode 100644 index 000000000..35de4456d --- /dev/null +++ b/cloudapi/src/model/DescribePurchasedApiGroupsRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribePurchasedApiGroupsRequest; + +DescribePurchasedApiGroupsRequest::DescribePurchasedApiGroupsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribePurchasedApiGroups") +{} + +DescribePurchasedApiGroupsRequest::~DescribePurchasedApiGroupsRequest() +{} + +std::string DescribePurchasedApiGroupsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribePurchasedApiGroupsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int DescribePurchasedApiGroupsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribePurchasedApiGroupsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribePurchasedApiGroupsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribePurchasedApiGroupsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribePurchasedApiGroupsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribePurchasedApiGroupsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribePurchasedApiGroupsResult.cc b/cloudapi/src/model/DescribePurchasedApiGroupsResult.cc new file mode 100644 index 000000000..6466b85ff --- /dev/null +++ b/cloudapi/src/model/DescribePurchasedApiGroupsResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribePurchasedApiGroupsResult::DescribePurchasedApiGroupsResult() : + ServiceResult() +{} + +DescribePurchasedApiGroupsResult::DescribePurchasedApiGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePurchasedApiGroupsResult::~DescribePurchasedApiGroupsResult() +{} + +void DescribePurchasedApiGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allPurchasedApiGroupAttributes = value["PurchasedApiGroupAttributes"]["PurchasedApiGroupAttribute"]; + for (auto value : allPurchasedApiGroupAttributes) + { + PurchasedApiGroupAttribute purchasedApiGroupAttributesObject; + if(!value["GroupId"].isNull()) + purchasedApiGroupAttributesObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + purchasedApiGroupAttributesObject.groupName = value["GroupName"].asString(); + if(!value["Description"].isNull()) + purchasedApiGroupAttributesObject.description = value["Description"].asString(); + if(!value["PurchasedTime"].isNull()) + purchasedApiGroupAttributesObject.purchasedTime = value["PurchasedTime"].asString(); + if(!value["ExpireTime"].isNull()) + purchasedApiGroupAttributesObject.expireTime = value["ExpireTime"].asString(); + if(!value["RegionId"].isNull()) + purchasedApiGroupAttributesObject.regionId = value["RegionId"].asString(); + if(!value["BillingType"].isNull()) + purchasedApiGroupAttributesObject.billingType = value["BillingType"].asString(); + if(!value["InvokeTimesMax"].isNull()) + purchasedApiGroupAttributesObject.invokeTimesMax = std::stol(value["InvokeTimesMax"].asString()); + if(!value["InvokeTimesNow"].isNull()) + purchasedApiGroupAttributesObject.invokeTimesNow = std::stol(value["InvokeTimesNow"].asString()); + if(!value["Status"].isNull()) + purchasedApiGroupAttributesObject.status = value["Status"].asString(); + purchasedApiGroupAttributes_.push_back(purchasedApiGroupAttributesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribePurchasedApiGroupsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribePurchasedApiGroupsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribePurchasedApiGroupsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribePurchasedApiGroupsResult::getPurchasedApiGroupAttributes()const +{ + return purchasedApiGroupAttributes_; +} + diff --git a/cloudapi/src/model/DescribePurchasedApisRequest.cc b/cloudapi/src/model/DescribePurchasedApisRequest.cc new file mode 100644 index 000000000..0ec70d9a3 --- /dev/null +++ b/cloudapi/src/model/DescribePurchasedApisRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribePurchasedApisRequest; + +DescribePurchasedApisRequest::DescribePurchasedApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribePurchasedApis") +{} + +DescribePurchasedApisRequest::~DescribePurchasedApisRequest() +{} + +std::string DescribePurchasedApisRequest::getStageName()const +{ + return stageName_; +} + +void DescribePurchasedApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribePurchasedApisRequest::getApiName()const +{ + return apiName_; +} + +void DescribePurchasedApisRequest::setApiName(const std::string& apiName) +{ + apiName_ = apiName; + setCoreParameter("ApiName", apiName); +} + +std::string DescribePurchasedApisRequest::getVisibility()const +{ + return visibility_; +} + +void DescribePurchasedApisRequest::setVisibility(const std::string& visibility) +{ + visibility_ = visibility; + setCoreParameter("Visibility", visibility); +} + +std::string DescribePurchasedApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribePurchasedApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribePurchasedApisRequest::getGroupId()const +{ + return groupId_; +} + +void DescribePurchasedApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribePurchasedApisRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribePurchasedApisRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribePurchasedApisRequest::getApiId()const +{ + return apiId_; +} + +void DescribePurchasedApisRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +int DescribePurchasedApisRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribePurchasedApisRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribePurchasedApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribePurchasedApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribePurchasedApisResult.cc b/cloudapi/src/model/DescribePurchasedApisResult.cc new file mode 100644 index 000000000..f57f543fe --- /dev/null +++ b/cloudapi/src/model/DescribePurchasedApisResult.cc @@ -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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribePurchasedApisResult::DescribePurchasedApisResult() : + ServiceResult() +{} + +DescribePurchasedApisResult::DescribePurchasedApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePurchasedApisResult::~DescribePurchasedApisResult() +{} + +void DescribePurchasedApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allPurchasedApis = value["PurchasedApis"]["PurchasedApi"]; + for (auto value : allPurchasedApis) + { + PurchasedApi purchasedApisObject; + if(!value["RegionId"].isNull()) + purchasedApisObject.regionId = value["RegionId"].asString(); + if(!value["GroupId"].isNull()) + purchasedApisObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + purchasedApisObject.groupName = value["GroupName"].asString(); + if(!value["ApiId"].isNull()) + purchasedApisObject.apiId = value["ApiId"].asString(); + if(!value["ApiName"].isNull()) + purchasedApisObject.apiName = value["ApiName"].asString(); + if(!value["StageName"].isNull()) + purchasedApisObject.stageName = value["StageName"].asString(); + if(!value["Description"].isNull()) + purchasedApisObject.description = value["Description"].asString(); + if(!value["PurchasedTime"].isNull()) + purchasedApisObject.purchasedTime = value["PurchasedTime"].asString(); + purchasedApis_.push_back(purchasedApisObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribePurchasedApisResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribePurchasedApisResult::getPageSize()const +{ + return pageSize_; +} + +int DescribePurchasedApisResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribePurchasedApisResult::getPurchasedApis()const +{ + return purchasedApis_; +} + diff --git a/cloudapi/src/model/DescribeRegionsRequest.cc b/cloudapi/src/model/DescribeRegionsRequest.cc new file mode 100644 index 000000000..5c1037e12 --- /dev/null +++ b/cloudapi/src/model/DescribeRegionsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeRegionsRequest; + +DescribeRegionsRequest::DescribeRegionsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeRegions") +{} + +DescribeRegionsRequest::~DescribeRegionsRequest() +{} + +std::string DescribeRegionsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeRegionsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeRegionsRequest::getLanguage()const +{ + return language_; +} + +void DescribeRegionsRequest::setLanguage(const std::string& language) +{ + language_ = language; + setCoreParameter("Language", language); +} + +std::string DescribeRegionsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRegionsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeRegionsResult.cc b/cloudapi/src/model/DescribeRegionsResult.cc new file mode 100644 index 000000000..245a86221 --- /dev/null +++ b/cloudapi/src/model/DescribeRegionsResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeRegionsResult::DescribeRegionsResult() : + ServiceResult() +{} + +DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRegionsResult::~DescribeRegionsResult() +{} + +void DescribeRegionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRegions = value["Regions"]["Region"]; + for (auto value : allRegions) + { + Region regionsObject; + if(!value["RegionId"].isNull()) + regionsObject.regionId = value["RegionId"].asString(); + if(!value["LocalName"].isNull()) + regionsObject.localName = value["LocalName"].asString(); + if(!value["RegionEndpoint"].isNull()) + regionsObject.regionEndpoint = value["RegionEndpoint"].asString(); + regions_.push_back(regionsObject); + } + +} + +std::vector DescribeRegionsResult::getRegions()const +{ + return regions_; +} + diff --git a/cloudapi/src/model/DescribeSignaturesByApiRequest.cc b/cloudapi/src/model/DescribeSignaturesByApiRequest.cc new file mode 100644 index 000000000..b0fd7eb17 --- /dev/null +++ b/cloudapi/src/model/DescribeSignaturesByApiRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeSignaturesByApiRequest; + +DescribeSignaturesByApiRequest::DescribeSignaturesByApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeSignaturesByApi") +{} + +DescribeSignaturesByApiRequest::~DescribeSignaturesByApiRequest() +{} + +std::string DescribeSignaturesByApiRequest::getStageName()const +{ + return stageName_; +} + +void DescribeSignaturesByApiRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeSignaturesByApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeSignaturesByApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeSignaturesByApiRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeSignaturesByApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeSignaturesByApiRequest::getApiId()const +{ + return apiId_; +} + +void DescribeSignaturesByApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeSignaturesByApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSignaturesByApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeSignaturesByApiResult.cc b/cloudapi/src/model/DescribeSignaturesByApiResult.cc new file mode 100644 index 000000000..5d17e241c --- /dev/null +++ b/cloudapi/src/model/DescribeSignaturesByApiResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeSignaturesByApiResult::DescribeSignaturesByApiResult() : + ServiceResult() +{} + +DescribeSignaturesByApiResult::DescribeSignaturesByApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSignaturesByApiResult::~DescribeSignaturesByApiResult() +{} + +void DescribeSignaturesByApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSignatures = value["Signatures"]["SignatureItem"]; + for (auto value : allSignatures) + { + SignatureItem signaturesObject; + if(!value["SignatureId"].isNull()) + signaturesObject.signatureId = value["SignatureId"].asString(); + if(!value["SignatureName"].isNull()) + signaturesObject.signatureName = value["SignatureName"].asString(); + if(!value["BoundTime"].isNull()) + signaturesObject.boundTime = value["BoundTime"].asString(); + signatures_.push_back(signaturesObject); + } + +} + +std::vector DescribeSignaturesByApiResult::getSignatures()const +{ + return signatures_; +} + diff --git a/cloudapi/src/model/DescribeSignaturesRequest.cc b/cloudapi/src/model/DescribeSignaturesRequest.cc new file mode 100644 index 000000000..b1dedb465 --- /dev/null +++ b/cloudapi/src/model/DescribeSignaturesRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::DescribeSignaturesRequest; + +DescribeSignaturesRequest::DescribeSignaturesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeSignatures") +{} + +DescribeSignaturesRequest::~DescribeSignaturesRequest() +{} + +std::string DescribeSignaturesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeSignaturesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeSignaturesRequest::getSignatureName()const +{ + return signatureName_; +} + +void DescribeSignaturesRequest::setSignatureName(const std::string& signatureName) +{ + signatureName_ = signatureName; + setCoreParameter("SignatureName", signatureName); +} + +int DescribeSignaturesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSignaturesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeSignaturesRequest::getSignatureId()const +{ + return signatureId_; +} + +void DescribeSignaturesRequest::setSignatureId(const std::string& signatureId) +{ + signatureId_ = signatureId; + setCoreParameter("SignatureId", signatureId); +} + +int DescribeSignaturesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeSignaturesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeSignaturesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSignaturesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeSignaturesResult.cc b/cloudapi/src/model/DescribeSignaturesResult.cc new file mode 100644 index 000000000..710967085 --- /dev/null +++ b/cloudapi/src/model/DescribeSignaturesResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeSignaturesResult::DescribeSignaturesResult() : + ServiceResult() +{} + +DescribeSignaturesResult::DescribeSignaturesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSignaturesResult::~DescribeSignaturesResult() +{} + +void DescribeSignaturesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSignatureInfos = value["SignatureInfos"]["SignatureInfo"]; + for (auto value : allSignatureInfos) + { + SignatureInfo signatureInfosObject; + if(!value["RegionId"].isNull()) + signatureInfosObject.regionId = value["RegionId"].asString(); + if(!value["SignatureId"].isNull()) + signatureInfosObject.signatureId = value["SignatureId"].asString(); + if(!value["SignatureName"].isNull()) + signatureInfosObject.signatureName = value["SignatureName"].asString(); + if(!value["SignatureKey"].isNull()) + signatureInfosObject.signatureKey = value["SignatureKey"].asString(); + if(!value["SignatureSecret"].isNull()) + signatureInfosObject.signatureSecret = value["SignatureSecret"].asString(); + if(!value["CreatedTime"].isNull()) + signatureInfosObject.createdTime = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + signatureInfosObject.modifiedTime = value["ModifiedTime"].asString(); + signatureInfos_.push_back(signatureInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +std::vector DescribeSignaturesResult::getSignatureInfos()const +{ + return signatureInfos_; +} + +int DescribeSignaturesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSignaturesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeSignaturesResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cloudapi/src/model/DescribeSystemParametersRequest.cc b/cloudapi/src/model/DescribeSystemParametersRequest.cc new file mode 100644 index 000000000..96fdfb385 --- /dev/null +++ b/cloudapi/src/model/DescribeSystemParametersRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeSystemParametersRequest; + +DescribeSystemParametersRequest::DescribeSystemParametersRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeSystemParameters") +{} + +DescribeSystemParametersRequest::~DescribeSystemParametersRequest() +{} + +std::string DescribeSystemParametersRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeSystemParametersRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeSystemParametersRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSystemParametersRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeSystemParametersResult.cc b/cloudapi/src/model/DescribeSystemParametersResult.cc new file mode 100644 index 000000000..5b30552d1 --- /dev/null +++ b/cloudapi/src/model/DescribeSystemParametersResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeSystemParametersResult::DescribeSystemParametersResult() : + ServiceResult() +{} + +DescribeSystemParametersResult::DescribeSystemParametersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSystemParametersResult::~DescribeSystemParametersResult() +{} + +void DescribeSystemParametersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSystemParams = value["SystemParams"]["SystemParamItem"]; + for (auto value : allSystemParams) + { + SystemParamItem systemParamsObject; + if(!value["ParamName"].isNull()) + systemParamsObject.paramName = value["ParamName"].asString(); + if(!value["ParamType"].isNull()) + systemParamsObject.paramType = value["ParamType"].asString(); + if(!value["DemoValue"].isNull()) + systemParamsObject.demoValue = value["DemoValue"].asString(); + if(!value["Description"].isNull()) + systemParamsObject.description = value["Description"].asString(); + systemParams_.push_back(systemParamsObject); + } + +} + +std::vector DescribeSystemParametersResult::getSystemParams()const +{ + return systemParams_; +} + diff --git a/cloudapi/src/model/DescribeTrafficControlsByApiRequest.cc b/cloudapi/src/model/DescribeTrafficControlsByApiRequest.cc new file mode 100644 index 000000000..9844d5d0c --- /dev/null +++ b/cloudapi/src/model/DescribeTrafficControlsByApiRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeTrafficControlsByApiRequest; + +DescribeTrafficControlsByApiRequest::DescribeTrafficControlsByApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeTrafficControlsByApi") +{} + +DescribeTrafficControlsByApiRequest::~DescribeTrafficControlsByApiRequest() +{} + +std::string DescribeTrafficControlsByApiRequest::getStageName()const +{ + return stageName_; +} + +void DescribeTrafficControlsByApiRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeTrafficControlsByApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeTrafficControlsByApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeTrafficControlsByApiRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeTrafficControlsByApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string DescribeTrafficControlsByApiRequest::getApiId()const +{ + return apiId_; +} + +void DescribeTrafficControlsByApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string DescribeTrafficControlsByApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeTrafficControlsByApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeTrafficControlsByApiResult.cc b/cloudapi/src/model/DescribeTrafficControlsByApiResult.cc new file mode 100644 index 000000000..a84282219 --- /dev/null +++ b/cloudapi/src/model/DescribeTrafficControlsByApiResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeTrafficControlsByApiResult::DescribeTrafficControlsByApiResult() : + ServiceResult() +{} + +DescribeTrafficControlsByApiResult::DescribeTrafficControlsByApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTrafficControlsByApiResult::~DescribeTrafficControlsByApiResult() +{} + +void DescribeTrafficControlsByApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTrafficControlItems = value["TrafficControlItems"]["TrafficControlItem"]; + for (auto value : allTrafficControlItems) + { + TrafficControlItem trafficControlItemsObject; + if(!value["TrafficControlItemId"].isNull()) + trafficControlItemsObject.trafficControlItemId = value["TrafficControlItemId"].asString(); + if(!value["TrafficControlItemName"].isNull()) + trafficControlItemsObject.trafficControlItemName = value["TrafficControlItemName"].asString(); + if(!value["BoundTime"].isNull()) + trafficControlItemsObject.boundTime = value["BoundTime"].asString(); + trafficControlItems_.push_back(trafficControlItemsObject); + } + +} + +std::vector DescribeTrafficControlsByApiResult::getTrafficControlItems()const +{ + return trafficControlItems_; +} + diff --git a/cloudapi/src/model/DescribeTrafficControlsRequest.cc b/cloudapi/src/model/DescribeTrafficControlsRequest.cc new file mode 100644 index 000000000..070f5eec1 --- /dev/null +++ b/cloudapi/src/model/DescribeTrafficControlsRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::DescribeTrafficControlsRequest; + +DescribeTrafficControlsRequest::DescribeTrafficControlsRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeTrafficControls") +{} + +DescribeTrafficControlsRequest::~DescribeTrafficControlsRequest() +{} + +std::string DescribeTrafficControlsRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void DescribeTrafficControlsRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string DescribeTrafficControlsRequest::getStageName()const +{ + return stageName_; +} + +void DescribeTrafficControlsRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string DescribeTrafficControlsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeTrafficControlsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string DescribeTrafficControlsRequest::getTrafficControlName()const +{ + return trafficControlName_; +} + +void DescribeTrafficControlsRequest::setTrafficControlName(const std::string& trafficControlName) +{ + trafficControlName_ = trafficControlName; + setCoreParameter("TrafficControlName", trafficControlName); +} + +std::string DescribeTrafficControlsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeTrafficControlsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeTrafficControlsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeTrafficControlsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeTrafficControlsRequest::getApiId()const +{ + return apiId_; +} + +void DescribeTrafficControlsRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +int DescribeTrafficControlsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeTrafficControlsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeTrafficControlsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeTrafficControlsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeTrafficControlsResult.cc b/cloudapi/src/model/DescribeTrafficControlsResult.cc new file mode 100644 index 000000000..babf6c1d0 --- /dev/null +++ b/cloudapi/src/model/DescribeTrafficControlsResult.cc @@ -0,0 +1,113 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeTrafficControlsResult::DescribeTrafficControlsResult() : + ServiceResult() +{} + +DescribeTrafficControlsResult::DescribeTrafficControlsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTrafficControlsResult::~DescribeTrafficControlsResult() +{} + +void DescribeTrafficControlsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTrafficControls = value["TrafficControls"]["TrafficControl"]; + for (auto value : allTrafficControls) + { + TrafficControl trafficControlsObject; + if(!value["TrafficControlId"].isNull()) + trafficControlsObject.trafficControlId = value["TrafficControlId"].asString(); + if(!value["TrafficControlName"].isNull()) + trafficControlsObject.trafficControlName = value["TrafficControlName"].asString(); + if(!value["Description"].isNull()) + trafficControlsObject.description = value["Description"].asString(); + if(!value["TrafficControlUnit"].isNull()) + trafficControlsObject.trafficControlUnit = value["TrafficControlUnit"].asString(); + if(!value["ApiDefault"].isNull()) + trafficControlsObject.apiDefault = std::stoi(value["ApiDefault"].asString()); + if(!value["UserDefault"].isNull()) + trafficControlsObject.userDefault = std::stoi(value["UserDefault"].asString()); + if(!value["AppDefault"].isNull()) + trafficControlsObject.appDefault = std::stoi(value["AppDefault"].asString()); + if(!value["CreatedTime"].isNull()) + trafficControlsObject.createdTime = value["CreatedTime"].asString(); + if(!value["ModifiedTime"].isNull()) + trafficControlsObject.modifiedTime = value["ModifiedTime"].asString(); + auto allSpecialPolicies = value["SpecialPolicies"]["SpecialPolicy"]; + for (auto value : allSpecialPolicies) + { + TrafficControl::SpecialPolicy specialPoliciesObject; + if(!value["SpecialType"].isNull()) + specialPoliciesObject.specialType = value["SpecialType"].asString(); + auto allSpecials = value["Specials"]["Special"]; + for (auto value : allSpecials) + { + TrafficControl::SpecialPolicy::Special specialsObject; + if(!value["SpecialKey"].isNull()) + specialsObject.specialKey = value["SpecialKey"].asString(); + if(!value["TrafficValue"].isNull()) + specialsObject.trafficValue = std::stoi(value["TrafficValue"].asString()); + specialPoliciesObject.specials.push_back(specialsObject); + } + trafficControlsObject.specialPolicies.push_back(specialPoliciesObject); + } + trafficControls_.push_back(trafficControlsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeTrafficControlsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeTrafficControlsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeTrafficControlsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeTrafficControlsResult::getTrafficControls()const +{ + return trafficControls_; +} + diff --git a/cloudapi/src/model/DescribeVpcAccessesRequest.cc b/cloudapi/src/model/DescribeVpcAccessesRequest.cc new file mode 100644 index 000000000..17a0e17f0 --- /dev/null +++ b/cloudapi/src/model/DescribeVpcAccessesRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::DescribeVpcAccessesRequest; + +DescribeVpcAccessesRequest::DescribeVpcAccessesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "DescribeVpcAccesses") +{} + +DescribeVpcAccessesRequest::~DescribeVpcAccessesRequest() +{} + +std::string DescribeVpcAccessesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeVpcAccessesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int DescribeVpcAccessesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeVpcAccessesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeVpcAccessesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeVpcAccessesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeVpcAccessesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeVpcAccessesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/DescribeVpcAccessesResult.cc b/cloudapi/src/model/DescribeVpcAccessesResult.cc new file mode 100644 index 000000000..ec4999f74 --- /dev/null +++ b/cloudapi/src/model/DescribeVpcAccessesResult.cc @@ -0,0 +1,89 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +DescribeVpcAccessesResult::DescribeVpcAccessesResult() : + ServiceResult() +{} + +DescribeVpcAccessesResult::DescribeVpcAccessesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVpcAccessesResult::~DescribeVpcAccessesResult() +{} + +void DescribeVpcAccessesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allVpcAccessAttributes = value["VpcAccessAttributes"]["VpcAccessAttribute"]; + for (auto value : allVpcAccessAttributes) + { + VpcAccessAttribute vpcAccessAttributesObject; + if(!value["VpcId"].isNull()) + vpcAccessAttributesObject.vpcId = value["VpcId"].asString(); + if(!value["InstanceId"].isNull()) + vpcAccessAttributesObject.instanceId = value["InstanceId"].asString(); + if(!value["CreatedTime"].isNull()) + vpcAccessAttributesObject.createdTime = value["CreatedTime"].asString(); + if(!value["Port"].isNull()) + vpcAccessAttributesObject.port = std::stoi(value["Port"].asString()); + if(!value["RegionId"].isNull()) + vpcAccessAttributesObject.regionId = value["RegionId"].asString(); + if(!value["Name"].isNull()) + vpcAccessAttributesObject.name = value["Name"].asString(); + vpcAccessAttributes_.push_back(vpcAccessAttributesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeVpcAccessesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeVpcAccessesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeVpcAccessesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeVpcAccessesResult::getVpcAccessAttributes()const +{ + return vpcAccessAttributes_; +} + diff --git a/cloudapi/src/model/ImportSwaggerRequest.cc b/cloudapi/src/model/ImportSwaggerRequest.cc new file mode 100644 index 000000000..e35f73e92 --- /dev/null +++ b/cloudapi/src/model/ImportSwaggerRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::ImportSwaggerRequest; + +ImportSwaggerRequest::ImportSwaggerRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ImportSwagger") +{} + +ImportSwaggerRequest::~ImportSwaggerRequest() +{} + +std::string ImportSwaggerRequest::getDataFormat()const +{ + return dataFormat_; +} + +void ImportSwaggerRequest::setDataFormat(const std::string& dataFormat) +{ + dataFormat_ = dataFormat; + setCoreParameter("DataFormat", dataFormat); +} + +std::string ImportSwaggerRequest::getData()const +{ + return data_; +} + +void ImportSwaggerRequest::setData(const std::string& data) +{ + data_ = data; + setCoreParameter("Data", data); +} + +std::string ImportSwaggerRequest::getGroupId()const +{ + return groupId_; +} + +void ImportSwaggerRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +bool ImportSwaggerRequest::getOverwrite()const +{ + return overwrite_; +} + +void ImportSwaggerRequest::setOverwrite(bool overwrite) +{ + overwrite_ = overwrite; + setCoreParameter("Overwrite", overwrite ? "true" : "false"); +} + diff --git a/cloudapi/src/model/ImportSwaggerResult.cc b/cloudapi/src/model/ImportSwaggerResult.cc new file mode 100644 index 000000000..c85881229 --- /dev/null +++ b/cloudapi/src/model/ImportSwaggerResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ImportSwaggerResult::ImportSwaggerResult() : + ServiceResult() +{} + +ImportSwaggerResult::ImportSwaggerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportSwaggerResult::~ImportSwaggerResult() +{} + +void ImportSwaggerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuccess = value["Success"]["ApiImportSwaggerSuccess"]; + for (auto value : allSuccess) + { + ApiImportSwaggerSuccess successObject; + if(!value["Path"].isNull()) + successObject.path = value["Path"].asString(); + if(!value["HttpMethod"].isNull()) + successObject.httpMethod = value["HttpMethod"].asString(); + if(!value["ApiUid"].isNull()) + successObject.apiUid = value["ApiUid"].asString(); + if(!value["ApiOperation"].isNull()) + successObject.apiOperation = value["ApiOperation"].asString(); + success_.push_back(successObject); + } + auto allFailed = value["Failed"]["ApiImportSwaggerFailed"]; + for (auto value : allFailed) + { + ApiImportSwaggerFailed failedObject; + if(!value["Path"].isNull()) + failedObject.path = value["Path"].asString(); + if(!value["HttpMethod"].isNull()) + failedObject.httpMethod = value["HttpMethod"].asString(); + if(!value["ErrorMsg"].isNull()) + failedObject.errorMsg = value["ErrorMsg"].asString(); + failed_.push_back(failedObject); + } + +} + +std::vector ImportSwaggerResult::getFailed()const +{ + return failed_; +} + +std::vector ImportSwaggerResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudapi/src/model/ListTagResourcesRequest.cc b/cloudapi/src/model/ListTagResourcesRequest.cc new file mode 100644 index 000000000..17d0dd202 --- /dev/null +++ b/cloudapi/src/model/ListTagResourcesRequest.cc @@ -0,0 +1,100 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::ListTagResourcesRequest; + +ListTagResourcesRequest::ListTagResourcesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ListTagResources") +{} + +ListTagResourcesRequest::~ListTagResourcesRequest() +{} + +std::vector ListTagResourcesRequest::getResourceId()const +{ + return resourceId_; +} + +void ListTagResourcesRequest::setResourceId(const std::vector& resourceId) +{ + resourceId_ = resourceId; + for(int i = 0; i!= resourceId.size(); i++) + setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i)); +} + +std::string ListTagResourcesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ListTagResourcesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ListTagResourcesRequest::getNextToken()const +{ + return nextToken_; +} + +void ListTagResourcesRequest::setNextToken(const std::string& nextToken) +{ + nextToken_ = nextToken; + setCoreParameter("NextToken", nextToken); +} + +std::vector ListTagResourcesRequest::getTag()const +{ + return tag_; +} + +void ListTagResourcesRequest::setTag(const std::vector& 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::string ListTagResourcesRequest::getResourceType()const +{ + return resourceType_; +} + +void ListTagResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string ListTagResourcesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListTagResourcesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ListTagResourcesResult.cc b/cloudapi/src/model/ListTagResourcesResult.cc new file mode 100644 index 000000000..60d6cb069 --- /dev/null +++ b/cloudapi/src/model/ListTagResourcesResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::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 allTagResources = value["TagResources"]["TagResource"]; + for (auto value : allTagResources) + { + TagResource tagResourcesObject; + if(!value["ResourceId"].isNull()) + tagResourcesObject.resourceId = value["ResourceId"].asString(); + if(!value["ResourceType"].isNull()) + tagResourcesObject.resourceType = value["ResourceType"].asString(); + if(!value["TagKey"].isNull()) + tagResourcesObject.tagKey = value["TagKey"].asString(); + if(!value["TagValue"].isNull()) + tagResourcesObject.tagValue = value["TagValue"].asString(); + tagResources_.push_back(tagResourcesObject); + } + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + +} + +std::string ListTagResourcesResult::getNextToken()const +{ + return nextToken_; +} + +std::vector ListTagResourcesResult::getTagResources()const +{ + return tagResources_; +} + diff --git a/cloudapi/src/model/ModifyApiGroupRequest.cc b/cloudapi/src/model/ModifyApiGroupRequest.cc new file mode 100644 index 000000000..9d37d2fc3 --- /dev/null +++ b/cloudapi/src/model/ModifyApiGroupRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::ModifyApiGroupRequest; + +ModifyApiGroupRequest::ModifyApiGroupRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifyApiGroup") +{} + +ModifyApiGroupRequest::~ModifyApiGroupRequest() +{} + +std::string ModifyApiGroupRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyApiGroupRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifyApiGroupRequest::getGroupId()const +{ + return groupId_; +} + +void ModifyApiGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string ModifyApiGroupRequest::getDescription()const +{ + return description_; +} + +void ModifyApiGroupRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string ModifyApiGroupRequest::getGroupName()const +{ + return groupName_; +} + +void ModifyApiGroupRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setCoreParameter("GroupName", groupName); +} + +std::string ModifyApiGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyApiGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ModifyApiGroupResult.cc b/cloudapi/src/model/ModifyApiGroupResult.cc new file mode 100644 index 000000000..c3547a29b --- /dev/null +++ b/cloudapi/src/model/ModifyApiGroupResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifyApiGroupResult::ModifyApiGroupResult() : + ServiceResult() +{} + +ModifyApiGroupResult::ModifyApiGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyApiGroupResult::~ModifyApiGroupResult() +{} + +void ModifyApiGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["SubDomain"].isNull()) + subDomain_ = value["SubDomain"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + +} + +std::string ModifyApiGroupResult::getGroupName()const +{ + return groupName_; +} + +std::string ModifyApiGroupResult::getSubDomain()const +{ + return subDomain_; +} + +std::string ModifyApiGroupResult::getDescription()const +{ + return description_; +} + +std::string ModifyApiGroupResult::getGroupId()const +{ + return groupId_; +} + diff --git a/cloudapi/src/model/ModifyApiRequest.cc b/cloudapi/src/model/ModifyApiRequest.cc new file mode 100644 index 000000000..a478965ba --- /dev/null +++ b/cloudapi/src/model/ModifyApiRequest.cc @@ -0,0 +1,324 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::ModifyApiRequest; + +ModifyApiRequest::ModifyApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifyApi") +{} + +ModifyApiRequest::~ModifyApiRequest() +{} + +std::string ModifyApiRequest::getWebSocketApiType()const +{ + return webSocketApiType_; +} + +void ModifyApiRequest::setWebSocketApiType(const std::string& webSocketApiType) +{ + webSocketApiType_ = webSocketApiType; + setCoreParameter("WebSocketApiType", webSocketApiType); +} + +std::string ModifyApiRequest::getErrorCodeSamples()const +{ + return errorCodeSamples_; +} + +void ModifyApiRequest::setErrorCodeSamples(const std::string& errorCodeSamples) +{ + errorCodeSamples_ = errorCodeSamples; + setCoreParameter("ErrorCodeSamples", errorCodeSamples); +} + +std::string ModifyApiRequest::getAppCodeAuthType()const +{ + return appCodeAuthType_; +} + +void ModifyApiRequest::setAppCodeAuthType(const std::string& appCodeAuthType) +{ + appCodeAuthType_ = appCodeAuthType; + setCoreParameter("AppCodeAuthType", appCodeAuthType); +} + +std::string ModifyApiRequest::getDescription()const +{ + return description_; +} + +void ModifyApiRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +bool ModifyApiRequest::getDisableInternet()const +{ + return disableInternet_; +} + +void ModifyApiRequest::setDisableInternet(bool disableInternet) +{ + disableInternet_ = disableInternet; + setCoreParameter("DisableInternet", disableInternet ? "true" : "false"); +} + +std::string ModifyApiRequest::getConstantParameters()const +{ + return constantParameters_; +} + +void ModifyApiRequest::setConstantParameters(const std::string& constantParameters) +{ + constantParameters_ = constantParameters; + setCoreParameter("ConstantParameters", constantParameters); +} + +std::string ModifyApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyApiRequest::getAuthType()const +{ + return authType_; +} + +void ModifyApiRequest::setAuthType(const std::string& authType) +{ + authType_ = authType; + setCoreParameter("AuthType", authType); +} + +std::string ModifyApiRequest::getAllowSignatureMethod()const +{ + return allowSignatureMethod_; +} + +void ModifyApiRequest::setAllowSignatureMethod(const std::string& allowSignatureMethod) +{ + allowSignatureMethod_ = allowSignatureMethod; + setCoreParameter("AllowSignatureMethod", allowSignatureMethod); +} + +std::string ModifyApiRequest::getServiceParameters()const +{ + return serviceParameters_; +} + +void ModifyApiRequest::setServiceParameters(const std::string& serviceParameters) +{ + serviceParameters_ = serviceParameters; + setCoreParameter("ServiceParameters", serviceParameters); +} + +std::string ModifyApiRequest::getFailResultSample()const +{ + return failResultSample_; +} + +void ModifyApiRequest::setFailResultSample(const std::string& failResultSample) +{ + failResultSample_ = failResultSample; + setCoreParameter("FailResultSample", failResultSample); +} + +std::string ModifyApiRequest::getSystemParameters()const +{ + return systemParameters_; +} + +void ModifyApiRequest::setSystemParameters(const std::string& systemParameters) +{ + systemParameters_ = systemParameters; + setCoreParameter("SystemParameters", systemParameters); +} + +std::string ModifyApiRequest::getServiceParametersMap()const +{ + return serviceParametersMap_; +} + +void ModifyApiRequest::setServiceParametersMap(const std::string& serviceParametersMap) +{ + serviceParametersMap_ = serviceParametersMap; + setCoreParameter("ServiceParametersMap", serviceParametersMap); +} + +std::string ModifyApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifyApiRequest::getOpenIdConnectConfig()const +{ + return openIdConnectConfig_; +} + +void ModifyApiRequest::setOpenIdConnectConfig(const std::string& openIdConnectConfig) +{ + openIdConnectConfig_ = openIdConnectConfig; + setCoreParameter("OpenIdConnectConfig", openIdConnectConfig); +} + +std::string ModifyApiRequest::getRequestParameters()const +{ + return requestParameters_; +} + +void ModifyApiRequest::setRequestParameters(const std::string& requestParameters) +{ + requestParameters_ = requestParameters; + setCoreParameter("RequestParameters", requestParameters); +} + +std::string ModifyApiRequest::getResultDescriptions()const +{ + return resultDescriptions_; +} + +void ModifyApiRequest::setResultDescriptions(const std::string& resultDescriptions) +{ + resultDescriptions_ = resultDescriptions; + setCoreParameter("ResultDescriptions", resultDescriptions); +} + +std::string ModifyApiRequest::getVisibility()const +{ + return visibility_; +} + +void ModifyApiRequest::setVisibility(const std::string& visibility) +{ + visibility_ = visibility; + setCoreParameter("Visibility", visibility); +} + +std::string ModifyApiRequest::getGroupId()const +{ + return groupId_; +} + +void ModifyApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string ModifyApiRequest::getServiceConfig()const +{ + return serviceConfig_; +} + +void ModifyApiRequest::setServiceConfig(const std::string& serviceConfig) +{ + serviceConfig_ = serviceConfig; + setCoreParameter("ServiceConfig", serviceConfig); +} + +std::string ModifyApiRequest::getResultType()const +{ + return resultType_; +} + +void ModifyApiRequest::setResultType(const std::string& resultType) +{ + resultType_ = resultType; + setCoreParameter("ResultType", resultType); +} + +std::string ModifyApiRequest::getApiName()const +{ + return apiName_; +} + +void ModifyApiRequest::setApiName(const std::string& apiName) +{ + apiName_ = apiName; + setCoreParameter("ApiName", apiName); +} + +std::string ModifyApiRequest::getResultSample()const +{ + return resultSample_; +} + +void ModifyApiRequest::setResultSample(const std::string& resultSample) +{ + resultSample_ = resultSample; + setCoreParameter("ResultSample", resultSample); +} + +bool ModifyApiRequest::getForceNonceCheck()const +{ + return forceNonceCheck_; +} + +void ModifyApiRequest::setForceNonceCheck(bool forceNonceCheck) +{ + forceNonceCheck_ = forceNonceCheck; + setCoreParameter("ForceNonceCheck", forceNonceCheck ? "true" : "false"); +} + +std::string ModifyApiRequest::getRequestConfig()const +{ + return requestConfig_; +} + +void ModifyApiRequest::setRequestConfig(const std::string& requestConfig) +{ + requestConfig_ = requestConfig; + setCoreParameter("RequestConfig", requestConfig); +} + +std::string ModifyApiRequest::getResultBodyModel()const +{ + return resultBodyModel_; +} + +void ModifyApiRequest::setResultBodyModel(const std::string& resultBodyModel) +{ + resultBodyModel_ = resultBodyModel; + setCoreParameter("ResultBodyModel", resultBodyModel); +} + +std::string ModifyApiRequest::getApiId()const +{ + return apiId_; +} + +void ModifyApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + diff --git a/cloudapi/src/model/ModifyApiResult.cc b/cloudapi/src/model/ModifyApiResult.cc new file mode 100644 index 000000000..bb91b82e5 --- /dev/null +++ b/cloudapi/src/model/ModifyApiResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifyApiResult::ModifyApiResult() : + ServiceResult() +{} + +ModifyApiResult::ModifyApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyApiResult::~ModifyApiResult() +{} + +void ModifyApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ModifyAppRequest.cc b/cloudapi/src/model/ModifyAppRequest.cc new file mode 100644 index 000000000..075921ebf --- /dev/null +++ b/cloudapi/src/model/ModifyAppRequest.cc @@ -0,0 +1,99 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::ModifyAppRequest; + +ModifyAppRequest::ModifyAppRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifyApp") +{} + +ModifyAppRequest::~ModifyAppRequest() +{} + +std::string ModifyAppRequest::getAppName()const +{ + return appName_; +} + +void ModifyAppRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setCoreParameter("AppName", appName); +} + +std::string ModifyAppRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyAppRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long ModifyAppRequest::getAppId()const +{ + return appId_; +} + +void ModifyAppRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::string ModifyAppRequest::getDescription()const +{ + return description_; +} + +void ModifyAppRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::vector ModifyAppRequest::getTag()const +{ + return tag_; +} + +void ModifyAppRequest::setTag(const std::vector& 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::string ModifyAppRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyAppRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ModifyAppResult.cc b/cloudapi/src/model/ModifyAppResult.cc new file mode 100644 index 000000000..347d5bd89 --- /dev/null +++ b/cloudapi/src/model/ModifyAppResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifyAppResult::ModifyAppResult() : + ServiceResult() +{} + +ModifyAppResult::ModifyAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyAppResult::~ModifyAppResult() +{} + +void ModifyAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ModifyIpControlPolicyItemRequest.cc b/cloudapi/src/model/ModifyIpControlPolicyItemRequest.cc new file mode 100644 index 000000000..0f8a8e23c --- /dev/null +++ b/cloudapi/src/model/ModifyIpControlPolicyItemRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::ModifyIpControlPolicyItemRequest; + +ModifyIpControlPolicyItemRequest::ModifyIpControlPolicyItemRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifyIpControlPolicyItem") +{} + +ModifyIpControlPolicyItemRequest::~ModifyIpControlPolicyItemRequest() +{} + +std::string ModifyIpControlPolicyItemRequest::getIpControlId()const +{ + return ipControlId_; +} + +void ModifyIpControlPolicyItemRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string ModifyIpControlPolicyItemRequest::getPolicyItemId()const +{ + return policyItemId_; +} + +void ModifyIpControlPolicyItemRequest::setPolicyItemId(const std::string& policyItemId) +{ + policyItemId_ = policyItemId; + setCoreParameter("PolicyItemId", policyItemId); +} + +std::string ModifyIpControlPolicyItemRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyIpControlPolicyItemRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifyIpControlPolicyItemRequest::getAppId()const +{ + return appId_; +} + +void ModifyIpControlPolicyItemRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + +std::string ModifyIpControlPolicyItemRequest::getCidrIp()const +{ + return cidrIp_; +} + +void ModifyIpControlPolicyItemRequest::setCidrIp(const std::string& cidrIp) +{ + cidrIp_ = cidrIp; + setCoreParameter("CidrIp", cidrIp); +} + +std::string ModifyIpControlPolicyItemRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyIpControlPolicyItemRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ModifyIpControlPolicyItemResult.cc b/cloudapi/src/model/ModifyIpControlPolicyItemResult.cc new file mode 100644 index 000000000..7c864c62c --- /dev/null +++ b/cloudapi/src/model/ModifyIpControlPolicyItemResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifyIpControlPolicyItemResult::ModifyIpControlPolicyItemResult() : + ServiceResult() +{} + +ModifyIpControlPolicyItemResult::ModifyIpControlPolicyItemResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyIpControlPolicyItemResult::~ModifyIpControlPolicyItemResult() +{} + +void ModifyIpControlPolicyItemResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ModifyIpControlRequest.cc b/cloudapi/src/model/ModifyIpControlRequest.cc new file mode 100644 index 000000000..9ec892d0a --- /dev/null +++ b/cloudapi/src/model/ModifyIpControlRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::ModifyIpControlRequest; + +ModifyIpControlRequest::ModifyIpControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifyIpControl") +{} + +ModifyIpControlRequest::~ModifyIpControlRequest() +{} + +std::string ModifyIpControlRequest::getIpControlId()const +{ + return ipControlId_; +} + +void ModifyIpControlRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string ModifyIpControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyIpControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifyIpControlRequest::getIpControlName()const +{ + return ipControlName_; +} + +void ModifyIpControlRequest::setIpControlName(const std::string& ipControlName) +{ + ipControlName_ = ipControlName; + setCoreParameter("IpControlName", ipControlName); +} + +std::string ModifyIpControlRequest::getDescription()const +{ + return description_; +} + +void ModifyIpControlRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string ModifyIpControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyIpControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ModifyIpControlResult.cc b/cloudapi/src/model/ModifyIpControlResult.cc new file mode 100644 index 000000000..4356cf1ff --- /dev/null +++ b/cloudapi/src/model/ModifyIpControlResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifyIpControlResult::ModifyIpControlResult() : + ServiceResult() +{} + +ModifyIpControlResult::ModifyIpControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyIpControlResult::~ModifyIpControlResult() +{} + +void ModifyIpControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ModifyLogConfigRequest.cc b/cloudapi/src/model/ModifyLogConfigRequest.cc new file mode 100644 index 000000000..70460d60d --- /dev/null +++ b/cloudapi/src/model/ModifyLogConfigRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::ModifyLogConfigRequest; + +ModifyLogConfigRequest::ModifyLogConfigRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifyLogConfig") +{} + +ModifyLogConfigRequest::~ModifyLogConfigRequest() +{} + +std::string ModifyLogConfigRequest::getSlsLogStore()const +{ + return slsLogStore_; +} + +void ModifyLogConfigRequest::setSlsLogStore(const std::string& slsLogStore) +{ + slsLogStore_ = slsLogStore; + setCoreParameter("SlsLogStore", slsLogStore); +} + +std::string ModifyLogConfigRequest::getLogType()const +{ + return logType_; +} + +void ModifyLogConfigRequest::setLogType(const std::string& logType) +{ + logType_ = logType; + setCoreParameter("LogType", logType); +} + +std::string ModifyLogConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyLogConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifyLogConfigRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyLogConfigRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string ModifyLogConfigRequest::getSlsProject()const +{ + return slsProject_; +} + +void ModifyLogConfigRequest::setSlsProject(const std::string& slsProject) +{ + slsProject_ = slsProject; + setCoreParameter("SlsProject", slsProject); +} + +std::string ModifyLogConfigRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyLogConfigRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ModifyLogConfigResult.cc b/cloudapi/src/model/ModifyLogConfigResult.cc new file mode 100644 index 000000000..7af4c4a91 --- /dev/null +++ b/cloudapi/src/model/ModifyLogConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifyLogConfigResult::ModifyLogConfigResult() : + ServiceResult() +{} + +ModifyLogConfigResult::ModifyLogConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyLogConfigResult::~ModifyLogConfigResult() +{} + +void ModifyLogConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ModifySignatureRequest.cc b/cloudapi/src/model/ModifySignatureRequest.cc new file mode 100644 index 000000000..e97bbc0d0 --- /dev/null +++ b/cloudapi/src/model/ModifySignatureRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::ModifySignatureRequest; + +ModifySignatureRequest::ModifySignatureRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifySignature") +{} + +ModifySignatureRequest::~ModifySignatureRequest() +{} + +std::string ModifySignatureRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifySignatureRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifySignatureRequest::getSignatureName()const +{ + return signatureName_; +} + +void ModifySignatureRequest::setSignatureName(const std::string& signatureName) +{ + signatureName_ = signatureName; + setCoreParameter("SignatureName", signatureName); +} + +std::string ModifySignatureRequest::getSignatureKey()const +{ + return signatureKey_; +} + +void ModifySignatureRequest::setSignatureKey(const std::string& signatureKey) +{ + signatureKey_ = signatureKey; + setCoreParameter("SignatureKey", signatureKey); +} + +std::string ModifySignatureRequest::getSignatureId()const +{ + return signatureId_; +} + +void ModifySignatureRequest::setSignatureId(const std::string& signatureId) +{ + signatureId_ = signatureId; + setCoreParameter("SignatureId", signatureId); +} + +std::string ModifySignatureRequest::getSignatureSecret()const +{ + return signatureSecret_; +} + +void ModifySignatureRequest::setSignatureSecret(const std::string& signatureSecret) +{ + signatureSecret_ = signatureSecret; + setCoreParameter("SignatureSecret", signatureSecret); +} + +std::string ModifySignatureRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifySignatureRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ModifySignatureResult.cc b/cloudapi/src/model/ModifySignatureResult.cc new file mode 100644 index 000000000..059456dfd --- /dev/null +++ b/cloudapi/src/model/ModifySignatureResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifySignatureResult::ModifySignatureResult() : + ServiceResult() +{} + +ModifySignatureResult::ModifySignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySignatureResult::~ModifySignatureResult() +{} + +void ModifySignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["SignatureId"].isNull()) + signatureId_ = value["SignatureId"].asString(); + if(!value["SignatureName"].isNull()) + signatureName_ = value["SignatureName"].asString(); + +} + +std::string ModifySignatureResult::getSignatureId()const +{ + return signatureId_; +} + +std::string ModifySignatureResult::getSignatureName()const +{ + return signatureName_; +} + diff --git a/cloudapi/src/model/ModifyTrafficControlRequest.cc b/cloudapi/src/model/ModifyTrafficControlRequest.cc new file mode 100644 index 000000000..af06e2e4b --- /dev/null +++ b/cloudapi/src/model/ModifyTrafficControlRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::ModifyTrafficControlRequest; + +ModifyTrafficControlRequest::ModifyTrafficControlRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ModifyTrafficControl") +{} + +ModifyTrafficControlRequest::~ModifyTrafficControlRequest() +{} + +std::string ModifyTrafficControlRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void ModifyTrafficControlRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +int ModifyTrafficControlRequest::getApiDefault()const +{ + return apiDefault_; +} + +void ModifyTrafficControlRequest::setApiDefault(int apiDefault) +{ + apiDefault_ = apiDefault; + setCoreParameter("ApiDefault", std::to_string(apiDefault)); +} + +std::string ModifyTrafficControlRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ModifyTrafficControlRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ModifyTrafficControlRequest::getTrafficControlName()const +{ + return trafficControlName_; +} + +void ModifyTrafficControlRequest::setTrafficControlName(const std::string& trafficControlName) +{ + trafficControlName_ = trafficControlName; + setCoreParameter("TrafficControlName", trafficControlName); +} + +std::string ModifyTrafficControlRequest::getTrafficControlUnit()const +{ + return trafficControlUnit_; +} + +void ModifyTrafficControlRequest::setTrafficControlUnit(const std::string& trafficControlUnit) +{ + trafficControlUnit_ = trafficControlUnit; + setCoreParameter("TrafficControlUnit", trafficControlUnit); +} + +std::string ModifyTrafficControlRequest::getDescription()const +{ + return description_; +} + +void ModifyTrafficControlRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +int ModifyTrafficControlRequest::getUserDefault()const +{ + return userDefault_; +} + +void ModifyTrafficControlRequest::setUserDefault(int userDefault) +{ + userDefault_ = userDefault; + setCoreParameter("UserDefault", std::to_string(userDefault)); +} + +int ModifyTrafficControlRequest::getAppDefault()const +{ + return appDefault_; +} + +void ModifyTrafficControlRequest::setAppDefault(int appDefault) +{ + appDefault_ = appDefault; + setCoreParameter("AppDefault", std::to_string(appDefault)); +} + +std::string ModifyTrafficControlRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyTrafficControlRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ModifyTrafficControlResult.cc b/cloudapi/src/model/ModifyTrafficControlResult.cc new file mode 100644 index 000000000..b984898e2 --- /dev/null +++ b/cloudapi/src/model/ModifyTrafficControlResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ModifyTrafficControlResult::ModifyTrafficControlResult() : + ServiceResult() +{} + +ModifyTrafficControlResult::ModifyTrafficControlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyTrafficControlResult::~ModifyTrafficControlResult() +{} + +void ModifyTrafficControlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ReactivateDomainRequest.cc b/cloudapi/src/model/ReactivateDomainRequest.cc new file mode 100644 index 000000000..519d6a3fe --- /dev/null +++ b/cloudapi/src/model/ReactivateDomainRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::ReactivateDomainRequest; + +ReactivateDomainRequest::ReactivateDomainRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ReactivateDomain") +{} + +ReactivateDomainRequest::~ReactivateDomainRequest() +{} + +std::string ReactivateDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ReactivateDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ReactivateDomainRequest::getGroupId()const +{ + return groupId_; +} + +void ReactivateDomainRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string ReactivateDomainRequest::getDomainName()const +{ + return domainName_; +} + +void ReactivateDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string ReactivateDomainRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ReactivateDomainRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ReactivateDomainResult.cc b/cloudapi/src/model/ReactivateDomainResult.cc new file mode 100644 index 000000000..30aa90bec --- /dev/null +++ b/cloudapi/src/model/ReactivateDomainResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ReactivateDomainResult::ReactivateDomainResult() : + ServiceResult() +{} + +ReactivateDomainResult::ReactivateDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ReactivateDomainResult::~ReactivateDomainResult() +{} + +void ReactivateDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/RemoveApisAuthoritiesRequest.cc b/cloudapi/src/model/RemoveApisAuthoritiesRequest.cc new file mode 100644 index 000000000..74dea667f --- /dev/null +++ b/cloudapi/src/model/RemoveApisAuthoritiesRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::RemoveApisAuthoritiesRequest; + +RemoveApisAuthoritiesRequest::RemoveApisAuthoritiesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "RemoveApisAuthorities") +{} + +RemoveApisAuthoritiesRequest::~RemoveApisAuthoritiesRequest() +{} + +std::string RemoveApisAuthoritiesRequest::getStageName()const +{ + return stageName_; +} + +void RemoveApisAuthoritiesRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string RemoveApisAuthoritiesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveApisAuthoritiesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string RemoveApisAuthoritiesRequest::getGroupId()const +{ + return groupId_; +} + +void RemoveApisAuthoritiesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +long RemoveApisAuthoritiesRequest::getAppId()const +{ + return appId_; +} + +void RemoveApisAuthoritiesRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::string RemoveApisAuthoritiesRequest::getDescription()const +{ + return description_; +} + +void RemoveApisAuthoritiesRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string RemoveApisAuthoritiesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveApisAuthoritiesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string RemoveApisAuthoritiesRequest::getApiIds()const +{ + return apiIds_; +} + +void RemoveApisAuthoritiesRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/RemoveApisAuthoritiesResult.cc b/cloudapi/src/model/RemoveApisAuthoritiesResult.cc new file mode 100644 index 000000000..a54a6d39d --- /dev/null +++ b/cloudapi/src/model/RemoveApisAuthoritiesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +RemoveApisAuthoritiesResult::RemoveApisAuthoritiesResult() : + ServiceResult() +{} + +RemoveApisAuthoritiesResult::RemoveApisAuthoritiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveApisAuthoritiesResult::~RemoveApisAuthoritiesResult() +{} + +void RemoveApisAuthoritiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/RemoveAppsAuthoritiesRequest.cc b/cloudapi/src/model/RemoveAppsAuthoritiesRequest.cc new file mode 100644 index 000000000..5a35657da --- /dev/null +++ b/cloudapi/src/model/RemoveAppsAuthoritiesRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::RemoveAppsAuthoritiesRequest; + +RemoveAppsAuthoritiesRequest::RemoveAppsAuthoritiesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "RemoveAppsAuthorities") +{} + +RemoveAppsAuthoritiesRequest::~RemoveAppsAuthoritiesRequest() +{} + +std::string RemoveAppsAuthoritiesRequest::getStageName()const +{ + return stageName_; +} + +void RemoveAppsAuthoritiesRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string RemoveAppsAuthoritiesRequest::getAppIds()const +{ + return appIds_; +} + +void RemoveAppsAuthoritiesRequest::setAppIds(const std::string& appIds) +{ + appIds_ = appIds; + setCoreParameter("AppIds", appIds); +} + +std::string RemoveAppsAuthoritiesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveAppsAuthoritiesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string RemoveAppsAuthoritiesRequest::getGroupId()const +{ + return groupId_; +} + +void RemoveAppsAuthoritiesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string RemoveAppsAuthoritiesRequest::getApiId()const +{ + return apiId_; +} + +void RemoveAppsAuthoritiesRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string RemoveAppsAuthoritiesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveAppsAuthoritiesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/RemoveAppsAuthoritiesResult.cc b/cloudapi/src/model/RemoveAppsAuthoritiesResult.cc new file mode 100644 index 000000000..094c24b35 --- /dev/null +++ b/cloudapi/src/model/RemoveAppsAuthoritiesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +RemoveAppsAuthoritiesResult::RemoveAppsAuthoritiesResult() : + ServiceResult() +{} + +RemoveAppsAuthoritiesResult::RemoveAppsAuthoritiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveAppsAuthoritiesResult::~RemoveAppsAuthoritiesResult() +{} + +void RemoveAppsAuthoritiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/RemoveIpControlApisRequest.cc b/cloudapi/src/model/RemoveIpControlApisRequest.cc new file mode 100644 index 000000000..776892356 --- /dev/null +++ b/cloudapi/src/model/RemoveIpControlApisRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::RemoveIpControlApisRequest; + +RemoveIpControlApisRequest::RemoveIpControlApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "RemoveIpControlApis") +{} + +RemoveIpControlApisRequest::~RemoveIpControlApisRequest() +{} + +std::string RemoveIpControlApisRequest::getStageName()const +{ + return stageName_; +} + +void RemoveIpControlApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string RemoveIpControlApisRequest::getIpControlId()const +{ + return ipControlId_; +} + +void RemoveIpControlApisRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string RemoveIpControlApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveIpControlApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string RemoveIpControlApisRequest::getGroupId()const +{ + return groupId_; +} + +void RemoveIpControlApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string RemoveIpControlApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveIpControlApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string RemoveIpControlApisRequest::getApiIds()const +{ + return apiIds_; +} + +void RemoveIpControlApisRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/RemoveIpControlApisResult.cc b/cloudapi/src/model/RemoveIpControlApisResult.cc new file mode 100644 index 000000000..614fb4ab0 --- /dev/null +++ b/cloudapi/src/model/RemoveIpControlApisResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +RemoveIpControlApisResult::RemoveIpControlApisResult() : + ServiceResult() +{} + +RemoveIpControlApisResult::RemoveIpControlApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveIpControlApisResult::~RemoveIpControlApisResult() +{} + +void RemoveIpControlApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/RemoveIpControlPolicyItemRequest.cc b/cloudapi/src/model/RemoveIpControlPolicyItemRequest.cc new file mode 100644 index 000000000..24bfe3f48 --- /dev/null +++ b/cloudapi/src/model/RemoveIpControlPolicyItemRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::RemoveIpControlPolicyItemRequest; + +RemoveIpControlPolicyItemRequest::RemoveIpControlPolicyItemRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "RemoveIpControlPolicyItem") +{} + +RemoveIpControlPolicyItemRequest::~RemoveIpControlPolicyItemRequest() +{} + +std::string RemoveIpControlPolicyItemRequest::getIpControlId()const +{ + return ipControlId_; +} + +void RemoveIpControlPolicyItemRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string RemoveIpControlPolicyItemRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveIpControlPolicyItemRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string RemoveIpControlPolicyItemRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveIpControlPolicyItemRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string RemoveIpControlPolicyItemRequest::getPolicyItemIds()const +{ + return policyItemIds_; +} + +void RemoveIpControlPolicyItemRequest::setPolicyItemIds(const std::string& policyItemIds) +{ + policyItemIds_ = policyItemIds; + setCoreParameter("PolicyItemIds", policyItemIds); +} + diff --git a/cloudapi/src/model/RemoveIpControlPolicyItemResult.cc b/cloudapi/src/model/RemoveIpControlPolicyItemResult.cc new file mode 100644 index 000000000..4f0c3f836 --- /dev/null +++ b/cloudapi/src/model/RemoveIpControlPolicyItemResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +RemoveIpControlPolicyItemResult::RemoveIpControlPolicyItemResult() : + ServiceResult() +{} + +RemoveIpControlPolicyItemResult::RemoveIpControlPolicyItemResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveIpControlPolicyItemResult::~RemoveIpControlPolicyItemResult() +{} + +void RemoveIpControlPolicyItemResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/RemoveSignatureApisRequest.cc b/cloudapi/src/model/RemoveSignatureApisRequest.cc new file mode 100644 index 000000000..8e733283a --- /dev/null +++ b/cloudapi/src/model/RemoveSignatureApisRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::RemoveSignatureApisRequest; + +RemoveSignatureApisRequest::RemoveSignatureApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "RemoveSignatureApis") +{} + +RemoveSignatureApisRequest::~RemoveSignatureApisRequest() +{} + +std::string RemoveSignatureApisRequest::getStageName()const +{ + return stageName_; +} + +void RemoveSignatureApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string RemoveSignatureApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveSignatureApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string RemoveSignatureApisRequest::getGroupId()const +{ + return groupId_; +} + +void RemoveSignatureApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string RemoveSignatureApisRequest::getSignatureId()const +{ + return signatureId_; +} + +void RemoveSignatureApisRequest::setSignatureId(const std::string& signatureId) +{ + signatureId_ = signatureId; + setCoreParameter("SignatureId", signatureId); +} + +std::string RemoveSignatureApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveSignatureApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string RemoveSignatureApisRequest::getApiIds()const +{ + return apiIds_; +} + +void RemoveSignatureApisRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/RemoveSignatureApisResult.cc b/cloudapi/src/model/RemoveSignatureApisResult.cc new file mode 100644 index 000000000..21d017256 --- /dev/null +++ b/cloudapi/src/model/RemoveSignatureApisResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +RemoveSignatureApisResult::RemoveSignatureApisResult() : + ServiceResult() +{} + +RemoveSignatureApisResult::RemoveSignatureApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveSignatureApisResult::~RemoveSignatureApisResult() +{} + +void RemoveSignatureApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/RemoveTrafficControlApisRequest.cc b/cloudapi/src/model/RemoveTrafficControlApisRequest.cc new file mode 100644 index 000000000..4bcccb19f --- /dev/null +++ b/cloudapi/src/model/RemoveTrafficControlApisRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::RemoveTrafficControlApisRequest; + +RemoveTrafficControlApisRequest::RemoveTrafficControlApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "RemoveTrafficControlApis") +{} + +RemoveTrafficControlApisRequest::~RemoveTrafficControlApisRequest() +{} + +std::string RemoveTrafficControlApisRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void RemoveTrafficControlApisRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string RemoveTrafficControlApisRequest::getStageName()const +{ + return stageName_; +} + +void RemoveTrafficControlApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string RemoveTrafficControlApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveTrafficControlApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string RemoveTrafficControlApisRequest::getGroupId()const +{ + return groupId_; +} + +void RemoveTrafficControlApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string RemoveTrafficControlApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveTrafficControlApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string RemoveTrafficControlApisRequest::getApiIds()const +{ + return apiIds_; +} + +void RemoveTrafficControlApisRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/RemoveTrafficControlApisResult.cc b/cloudapi/src/model/RemoveTrafficControlApisResult.cc new file mode 100644 index 000000000..d988f4419 --- /dev/null +++ b/cloudapi/src/model/RemoveTrafficControlApisResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +RemoveTrafficControlApisResult::RemoveTrafficControlApisResult() : + ServiceResult() +{} + +RemoveTrafficControlApisResult::RemoveTrafficControlApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveTrafficControlApisResult::~RemoveTrafficControlApisResult() +{} + +void RemoveTrafficControlApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/RemoveVpcAccessRequest.cc b/cloudapi/src/model/RemoveVpcAccessRequest.cc new file mode 100644 index 000000000..31cf66d88 --- /dev/null +++ b/cloudapi/src/model/RemoveVpcAccessRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::RemoveVpcAccessRequest; + +RemoveVpcAccessRequest::RemoveVpcAccessRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "RemoveVpcAccess") +{} + +RemoveVpcAccessRequest::~RemoveVpcAccessRequest() +{} + +std::string RemoveVpcAccessRequest::getInstanceId()const +{ + return instanceId_; +} + +void RemoveVpcAccessRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string RemoveVpcAccessRequest::getSecurityToken()const +{ + return securityToken_; +} + +void RemoveVpcAccessRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int RemoveVpcAccessRequest::getPort()const +{ + return port_; +} + +void RemoveVpcAccessRequest::setPort(int port) +{ + port_ = port; + setCoreParameter("Port", std::to_string(port)); +} + +std::string RemoveVpcAccessRequest::getVpcId()const +{ + return vpcId_; +} + +void RemoveVpcAccessRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setCoreParameter("VpcId", vpcId); +} + +std::string RemoveVpcAccessRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveVpcAccessRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/RemoveVpcAccessResult.cc b/cloudapi/src/model/RemoveVpcAccessResult.cc new file mode 100644 index 000000000..39d611595 --- /dev/null +++ b/cloudapi/src/model/RemoveVpcAccessResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +RemoveVpcAccessResult::RemoveVpcAccessResult() : + ServiceResult() +{} + +RemoveVpcAccessResult::RemoveVpcAccessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveVpcAccessResult::~RemoveVpcAccessResult() +{} + +void RemoveVpcAccessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ResetAppCodeRequest.cc b/cloudapi/src/model/ResetAppCodeRequest.cc new file mode 100644 index 000000000..9f797962b --- /dev/null +++ b/cloudapi/src/model/ResetAppCodeRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::ResetAppCodeRequest; + +ResetAppCodeRequest::ResetAppCodeRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ResetAppCode") +{} + +ResetAppCodeRequest::~ResetAppCodeRequest() +{} + +std::string ResetAppCodeRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ResetAppCodeRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ResetAppCodeRequest::getAppCode()const +{ + return appCode_; +} + +void ResetAppCodeRequest::setAppCode(const std::string& appCode) +{ + appCode_ = appCode; + setCoreParameter("AppCode", appCode); +} + +std::string ResetAppCodeRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ResetAppCodeRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ResetAppCodeResult.cc b/cloudapi/src/model/ResetAppCodeResult.cc new file mode 100644 index 000000000..8e4d8efa4 --- /dev/null +++ b/cloudapi/src/model/ResetAppCodeResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ResetAppCodeResult::ResetAppCodeResult() : + ServiceResult() +{} + +ResetAppCodeResult::ResetAppCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResetAppCodeResult::~ResetAppCodeResult() +{} + +void ResetAppCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/ResetAppSecretRequest.cc b/cloudapi/src/model/ResetAppSecretRequest.cc new file mode 100644 index 000000000..d3dc901f8 --- /dev/null +++ b/cloudapi/src/model/ResetAppSecretRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::ResetAppSecretRequest; + +ResetAppSecretRequest::ResetAppSecretRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "ResetAppSecret") +{} + +ResetAppSecretRequest::~ResetAppSecretRequest() +{} + +std::string ResetAppSecretRequest::getSecurityToken()const +{ + return securityToken_; +} + +void ResetAppSecretRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string ResetAppSecretRequest::getAppKey()const +{ + return appKey_; +} + +void ResetAppSecretRequest::setAppKey(const std::string& appKey) +{ + appKey_ = appKey; + setCoreParameter("AppKey", appKey); +} + +std::string ResetAppSecretRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ResetAppSecretRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/ResetAppSecretResult.cc b/cloudapi/src/model/ResetAppSecretResult.cc new file mode 100644 index 000000000..8d9746e07 --- /dev/null +++ b/cloudapi/src/model/ResetAppSecretResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +ResetAppSecretResult::ResetAppSecretResult() : + ServiceResult() +{} + +ResetAppSecretResult::ResetAppSecretResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResetAppSecretResult::~ResetAppSecretResult() +{} + +void ResetAppSecretResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SdkGenerateByAppRequest.cc b/cloudapi/src/model/SdkGenerateByAppRequest.cc new file mode 100644 index 000000000..549f05646 --- /dev/null +++ b/cloudapi/src/model/SdkGenerateByAppRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::SdkGenerateByAppRequest; + +SdkGenerateByAppRequest::SdkGenerateByAppRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SdkGenerateByApp") +{} + +SdkGenerateByAppRequest::~SdkGenerateByAppRequest() +{} + +std::string SdkGenerateByAppRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SdkGenerateByAppRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +long SdkGenerateByAppRequest::getAppId()const +{ + return appId_; +} + +void SdkGenerateByAppRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::string SdkGenerateByAppRequest::getLanguage()const +{ + return language_; +} + +void SdkGenerateByAppRequest::setLanguage(const std::string& language) +{ + language_ = language; + setCoreParameter("Language", language); +} + +std::string SdkGenerateByAppRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SdkGenerateByAppRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SdkGenerateByAppResult.cc b/cloudapi/src/model/SdkGenerateByAppResult.cc new file mode 100644 index 000000000..515d37b4c --- /dev/null +++ b/cloudapi/src/model/SdkGenerateByAppResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SdkGenerateByAppResult::SdkGenerateByAppResult() : + ServiceResult() +{} + +SdkGenerateByAppResult::SdkGenerateByAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SdkGenerateByAppResult::~SdkGenerateByAppResult() +{} + +void SdkGenerateByAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["DownloadLink"].isNull()) + downloadLink_ = value["DownloadLink"].asString(); + +} + +std::string SdkGenerateByAppResult::getDownloadLink()const +{ + return downloadLink_; +} + diff --git a/cloudapi/src/model/SdkGenerateByGroupRequest.cc b/cloudapi/src/model/SdkGenerateByGroupRequest.cc new file mode 100644 index 000000000..584c639eb --- /dev/null +++ b/cloudapi/src/model/SdkGenerateByGroupRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::SdkGenerateByGroupRequest; + +SdkGenerateByGroupRequest::SdkGenerateByGroupRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SdkGenerateByGroup") +{} + +SdkGenerateByGroupRequest::~SdkGenerateByGroupRequest() +{} + +std::string SdkGenerateByGroupRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SdkGenerateByGroupRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SdkGenerateByGroupRequest::getGroupId()const +{ + return groupId_; +} + +void SdkGenerateByGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SdkGenerateByGroupRequest::getLanguage()const +{ + return language_; +} + +void SdkGenerateByGroupRequest::setLanguage(const std::string& language) +{ + language_ = language; + setCoreParameter("Language", language); +} + +std::string SdkGenerateByGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SdkGenerateByGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SdkGenerateByGroupResult.cc b/cloudapi/src/model/SdkGenerateByGroupResult.cc new file mode 100644 index 000000000..cb7494958 --- /dev/null +++ b/cloudapi/src/model/SdkGenerateByGroupResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SdkGenerateByGroupResult::SdkGenerateByGroupResult() : + ServiceResult() +{} + +SdkGenerateByGroupResult::SdkGenerateByGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SdkGenerateByGroupResult::~SdkGenerateByGroupResult() +{} + +void SdkGenerateByGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["DownloadLink"].isNull()) + downloadLink_ = value["DownloadLink"].asString(); + +} + +std::string SdkGenerateByGroupResult::getDownloadLink()const +{ + return downloadLink_; +} + diff --git a/cloudapi/src/model/SdkGenerateRequest.cc b/cloudapi/src/model/SdkGenerateRequest.cc new file mode 100644 index 000000000..fb54f8394 --- /dev/null +++ b/cloudapi/src/model/SdkGenerateRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::SdkGenerateRequest; + +SdkGenerateRequest::SdkGenerateRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SdkGenerate") +{} + +SdkGenerateRequest::~SdkGenerateRequest() +{} + +std::string SdkGenerateRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SdkGenerateRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SdkGenerateRequest::getGroupId()const +{ + return groupId_; +} + +void SdkGenerateRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +long SdkGenerateRequest::getAppId()const +{ + return appId_; +} + +void SdkGenerateRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::string SdkGenerateRequest::getLanguage()const +{ + return language_; +} + +void SdkGenerateRequest::setLanguage(const std::string& language) +{ + language_ = language; + setCoreParameter("Language", language); +} + +std::string SdkGenerateRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SdkGenerateRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SdkGenerateResult.cc b/cloudapi/src/model/SdkGenerateResult.cc new file mode 100644 index 000000000..71f3411e2 --- /dev/null +++ b/cloudapi/src/model/SdkGenerateResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SdkGenerateResult::SdkGenerateResult() : + ServiceResult() +{} + +SdkGenerateResult::SdkGenerateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SdkGenerateResult::~SdkGenerateResult() +{} + +void SdkGenerateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["DownloadLink"].isNull()) + downloadLink_ = value["DownloadLink"].asString(); + +} + +std::string SdkGenerateResult::getDownloadLink()const +{ + return downloadLink_; +} + diff --git a/cloudapi/src/model/SetApisAuthoritiesRequest.cc b/cloudapi/src/model/SetApisAuthoritiesRequest.cc new file mode 100644 index 000000000..b74e46ac8 --- /dev/null +++ b/cloudapi/src/model/SetApisAuthoritiesRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::SetApisAuthoritiesRequest; + +SetApisAuthoritiesRequest::SetApisAuthoritiesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetApisAuthorities") +{} + +SetApisAuthoritiesRequest::~SetApisAuthoritiesRequest() +{} + +std::string SetApisAuthoritiesRequest::getAuthVaildTime()const +{ + return authVaildTime_; +} + +void SetApisAuthoritiesRequest::setAuthVaildTime(const std::string& authVaildTime) +{ + authVaildTime_ = authVaildTime; + setCoreParameter("AuthVaildTime", authVaildTime); +} + +std::string SetApisAuthoritiesRequest::getStageName()const +{ + return stageName_; +} + +void SetApisAuthoritiesRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string SetApisAuthoritiesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetApisAuthoritiesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetApisAuthoritiesRequest::getGroupId()const +{ + return groupId_; +} + +void SetApisAuthoritiesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +long SetApisAuthoritiesRequest::getAppId()const +{ + return appId_; +} + +void SetApisAuthoritiesRequest::setAppId(long appId) +{ + appId_ = appId; + setCoreParameter("AppId", std::to_string(appId)); +} + +std::string SetApisAuthoritiesRequest::getDescription()const +{ + return description_; +} + +void SetApisAuthoritiesRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string SetApisAuthoritiesRequest::getAuthValidTime()const +{ + return authValidTime_; +} + +void SetApisAuthoritiesRequest::setAuthValidTime(const std::string& authValidTime) +{ + authValidTime_ = authValidTime; + setCoreParameter("AuthValidTime", authValidTime); +} + +std::string SetApisAuthoritiesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetApisAuthoritiesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SetApisAuthoritiesRequest::getApiIds()const +{ + return apiIds_; +} + +void SetApisAuthoritiesRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/SetApisAuthoritiesResult.cc b/cloudapi/src/model/SetApisAuthoritiesResult.cc new file mode 100644 index 000000000..e4f07164e --- /dev/null +++ b/cloudapi/src/model/SetApisAuthoritiesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetApisAuthoritiesResult::SetApisAuthoritiesResult() : + ServiceResult() +{} + +SetApisAuthoritiesResult::SetApisAuthoritiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetApisAuthoritiesResult::~SetApisAuthoritiesResult() +{} + +void SetApisAuthoritiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SetAppsAuthoritiesRequest.cc b/cloudapi/src/model/SetAppsAuthoritiesRequest.cc new file mode 100644 index 000000000..64d8ca475 --- /dev/null +++ b/cloudapi/src/model/SetAppsAuthoritiesRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::SetAppsAuthoritiesRequest; + +SetAppsAuthoritiesRequest::SetAppsAuthoritiesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetAppsAuthorities") +{} + +SetAppsAuthoritiesRequest::~SetAppsAuthoritiesRequest() +{} + +std::string SetAppsAuthoritiesRequest::getAuthVaildTime()const +{ + return authVaildTime_; +} + +void SetAppsAuthoritiesRequest::setAuthVaildTime(const std::string& authVaildTime) +{ + authVaildTime_ = authVaildTime; + setCoreParameter("AuthVaildTime", authVaildTime); +} + +std::string SetAppsAuthoritiesRequest::getStageName()const +{ + return stageName_; +} + +void SetAppsAuthoritiesRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string SetAppsAuthoritiesRequest::getAppIds()const +{ + return appIds_; +} + +void SetAppsAuthoritiesRequest::setAppIds(const std::string& appIds) +{ + appIds_ = appIds; + setCoreParameter("AppIds", appIds); +} + +std::string SetAppsAuthoritiesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetAppsAuthoritiesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetAppsAuthoritiesRequest::getGroupId()const +{ + return groupId_; +} + +void SetAppsAuthoritiesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SetAppsAuthoritiesRequest::getDescription()const +{ + return description_; +} + +void SetAppsAuthoritiesRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string SetAppsAuthoritiesRequest::getApiId()const +{ + return apiId_; +} + +void SetAppsAuthoritiesRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string SetAppsAuthoritiesRequest::getAuthValidTime()const +{ + return authValidTime_; +} + +void SetAppsAuthoritiesRequest::setAuthValidTime(const std::string& authValidTime) +{ + authValidTime_ = authValidTime; + setCoreParameter("AuthValidTime", authValidTime); +} + +std::string SetAppsAuthoritiesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetAppsAuthoritiesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SetAppsAuthoritiesResult.cc b/cloudapi/src/model/SetAppsAuthoritiesResult.cc new file mode 100644 index 000000000..3a9bd300e --- /dev/null +++ b/cloudapi/src/model/SetAppsAuthoritiesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetAppsAuthoritiesResult::SetAppsAuthoritiesResult() : + ServiceResult() +{} + +SetAppsAuthoritiesResult::SetAppsAuthoritiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetAppsAuthoritiesResult::~SetAppsAuthoritiesResult() +{} + +void SetAppsAuthoritiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SetDomainCertificateRequest.cc b/cloudapi/src/model/SetDomainCertificateRequest.cc new file mode 100644 index 000000000..1cec99953 --- /dev/null +++ b/cloudapi/src/model/SetDomainCertificateRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::SetDomainCertificateRequest; + +SetDomainCertificateRequest::SetDomainCertificateRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetDomainCertificate") +{} + +SetDomainCertificateRequest::~SetDomainCertificateRequest() +{} + +std::string SetDomainCertificateRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetDomainCertificateRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetDomainCertificateRequest::getCertificatePrivateKey()const +{ + return certificatePrivateKey_; +} + +void SetDomainCertificateRequest::setCertificatePrivateKey(const std::string& certificatePrivateKey) +{ + certificatePrivateKey_ = certificatePrivateKey; + setCoreParameter("CertificatePrivateKey", certificatePrivateKey); +} + +std::string SetDomainCertificateRequest::getGroupId()const +{ + return groupId_; +} + +void SetDomainCertificateRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SetDomainCertificateRequest::getDomainName()const +{ + return domainName_; +} + +void SetDomainCertificateRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string SetDomainCertificateRequest::getCertificateName()const +{ + return certificateName_; +} + +void SetDomainCertificateRequest::setCertificateName(const std::string& certificateName) +{ + certificateName_ = certificateName; + setCoreParameter("CertificateName", certificateName); +} + +std::string SetDomainCertificateRequest::getCertificateBody()const +{ + return certificateBody_; +} + +void SetDomainCertificateRequest::setCertificateBody(const std::string& certificateBody) +{ + certificateBody_ = certificateBody; + setCoreParameter("CertificateBody", certificateBody); +} + +std::string SetDomainCertificateRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetDomainCertificateRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SetDomainCertificateResult.cc b/cloudapi/src/model/SetDomainCertificateResult.cc new file mode 100644 index 000000000..15b68f2b6 --- /dev/null +++ b/cloudapi/src/model/SetDomainCertificateResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetDomainCertificateResult::SetDomainCertificateResult() : + ServiceResult() +{} + +SetDomainCertificateResult::SetDomainCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDomainCertificateResult::~SetDomainCertificateResult() +{} + +void SetDomainCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SetDomainRequest.cc b/cloudapi/src/model/SetDomainRequest.cc new file mode 100644 index 000000000..1d461d919 --- /dev/null +++ b/cloudapi/src/model/SetDomainRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::SetDomainRequest; + +SetDomainRequest::SetDomainRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetDomain") +{} + +SetDomainRequest::~SetDomainRequest() +{} + +std::string SetDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetDomainRequest::getGroupId()const +{ + return groupId_; +} + +void SetDomainRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SetDomainRequest::getDomainName()const +{ + return domainName_; +} + +void SetDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string SetDomainRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetDomainRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SetDomainResult.cc b/cloudapi/src/model/SetDomainResult.cc new file mode 100644 index 000000000..e34d5732a --- /dev/null +++ b/cloudapi/src/model/SetDomainResult.cc @@ -0,0 +1,94 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetDomainResult::SetDomainResult() : + ServiceResult() +{} + +SetDomainResult::SetDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDomainResult::~SetDomainResult() +{} + +void SetDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["SubDomain"].isNull()) + subDomain_ = value["SubDomain"].asString(); + if(!value["DomainBindingStatus"].isNull()) + domainBindingStatus_ = value["DomainBindingStatus"].asString(); + if(!value["DomainLegalStatus"].isNull()) + domainLegalStatus_ = value["DomainLegalStatus"].asString(); + if(!value["DomainWebSocketStatus"].isNull()) + domainWebSocketStatus_ = value["DomainWebSocketStatus"].asString(); + if(!value["DomainRemark"].isNull()) + domainRemark_ = value["DomainRemark"].asString(); + +} + +std::string SetDomainResult::getSubDomain()const +{ + return subDomain_; +} + +std::string SetDomainResult::getDomainRemark()const +{ + return domainRemark_; +} + +std::string SetDomainResult::getDomainBindingStatus()const +{ + return domainBindingStatus_; +} + +std::string SetDomainResult::getDomainLegalStatus()const +{ + return domainLegalStatus_; +} + +std::string SetDomainResult::getDomainName()const +{ + return domainName_; +} + +std::string SetDomainResult::getDomainWebSocketStatus()const +{ + return domainWebSocketStatus_; +} + +std::string SetDomainResult::getGroupId()const +{ + return groupId_; +} + diff --git a/cloudapi/src/model/SetDomainWebSocketStatusRequest.cc b/cloudapi/src/model/SetDomainWebSocketStatusRequest.cc new file mode 100644 index 000000000..3a03462c1 --- /dev/null +++ b/cloudapi/src/model/SetDomainWebSocketStatusRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::SetDomainWebSocketStatusRequest; + +SetDomainWebSocketStatusRequest::SetDomainWebSocketStatusRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetDomainWebSocketStatus") +{} + +SetDomainWebSocketStatusRequest::~SetDomainWebSocketStatusRequest() +{} + +std::string SetDomainWebSocketStatusRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetDomainWebSocketStatusRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetDomainWebSocketStatusRequest::getGroupId()const +{ + return groupId_; +} + +void SetDomainWebSocketStatusRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SetDomainWebSocketStatusRequest::getDomainName()const +{ + return domainName_; +} + +void SetDomainWebSocketStatusRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setCoreParameter("DomainName", domainName); +} + +std::string SetDomainWebSocketStatusRequest::getActionValue()const +{ + return actionValue_; +} + +void SetDomainWebSocketStatusRequest::setActionValue(const std::string& actionValue) +{ + actionValue_ = actionValue; + setCoreParameter("ActionValue", actionValue); +} + +std::string SetDomainWebSocketStatusRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetDomainWebSocketStatusRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SetDomainWebSocketStatusResult.cc b/cloudapi/src/model/SetDomainWebSocketStatusResult.cc new file mode 100644 index 000000000..6114ffb65 --- /dev/null +++ b/cloudapi/src/model/SetDomainWebSocketStatusResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetDomainWebSocketStatusResult::SetDomainWebSocketStatusResult() : + ServiceResult() +{} + +SetDomainWebSocketStatusResult::SetDomainWebSocketStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDomainWebSocketStatusResult::~SetDomainWebSocketStatusResult() +{} + +void SetDomainWebSocketStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SetIpControlApisRequest.cc b/cloudapi/src/model/SetIpControlApisRequest.cc new file mode 100644 index 000000000..501fcada5 --- /dev/null +++ b/cloudapi/src/model/SetIpControlApisRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::SetIpControlApisRequest; + +SetIpControlApisRequest::SetIpControlApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetIpControlApis") +{} + +SetIpControlApisRequest::~SetIpControlApisRequest() +{} + +std::string SetIpControlApisRequest::getStageName()const +{ + return stageName_; +} + +void SetIpControlApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string SetIpControlApisRequest::getIpControlId()const +{ + return ipControlId_; +} + +void SetIpControlApisRequest::setIpControlId(const std::string& ipControlId) +{ + ipControlId_ = ipControlId; + setCoreParameter("IpControlId", ipControlId); +} + +std::string SetIpControlApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetIpControlApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetIpControlApisRequest::getGroupId()const +{ + return groupId_; +} + +void SetIpControlApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SetIpControlApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetIpControlApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SetIpControlApisRequest::getApiIds()const +{ + return apiIds_; +} + +void SetIpControlApisRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/SetIpControlApisResult.cc b/cloudapi/src/model/SetIpControlApisResult.cc new file mode 100644 index 000000000..046b9eb82 --- /dev/null +++ b/cloudapi/src/model/SetIpControlApisResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetIpControlApisResult::SetIpControlApisResult() : + ServiceResult() +{} + +SetIpControlApisResult::SetIpControlApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetIpControlApisResult::~SetIpControlApisResult() +{} + +void SetIpControlApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SetSignatureApisRequest.cc b/cloudapi/src/model/SetSignatureApisRequest.cc new file mode 100644 index 000000000..ac0407d91 --- /dev/null +++ b/cloudapi/src/model/SetSignatureApisRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::SetSignatureApisRequest; + +SetSignatureApisRequest::SetSignatureApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetSignatureApis") +{} + +SetSignatureApisRequest::~SetSignatureApisRequest() +{} + +std::string SetSignatureApisRequest::getStageName()const +{ + return stageName_; +} + +void SetSignatureApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string SetSignatureApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetSignatureApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetSignatureApisRequest::getGroupId()const +{ + return groupId_; +} + +void SetSignatureApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SetSignatureApisRequest::getSignatureId()const +{ + return signatureId_; +} + +void SetSignatureApisRequest::setSignatureId(const std::string& signatureId) +{ + signatureId_ = signatureId; + setCoreParameter("SignatureId", signatureId); +} + +std::string SetSignatureApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetSignatureApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SetSignatureApisRequest::getApiIds()const +{ + return apiIds_; +} + +void SetSignatureApisRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/SetSignatureApisResult.cc b/cloudapi/src/model/SetSignatureApisResult.cc new file mode 100644 index 000000000..f96bcef46 --- /dev/null +++ b/cloudapi/src/model/SetSignatureApisResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetSignatureApisResult::SetSignatureApisResult() : + ServiceResult() +{} + +SetSignatureApisResult::SetSignatureApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetSignatureApisResult::~SetSignatureApisResult() +{} + +void SetSignatureApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SetTrafficControlApisRequest.cc b/cloudapi/src/model/SetTrafficControlApisRequest.cc new file mode 100644 index 000000000..07aa64835 --- /dev/null +++ b/cloudapi/src/model/SetTrafficControlApisRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::SetTrafficControlApisRequest; + +SetTrafficControlApisRequest::SetTrafficControlApisRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetTrafficControlApis") +{} + +SetTrafficControlApisRequest::~SetTrafficControlApisRequest() +{} + +std::string SetTrafficControlApisRequest::getTrafficControlId()const +{ + return trafficControlId_; +} + +void SetTrafficControlApisRequest::setTrafficControlId(const std::string& trafficControlId) +{ + trafficControlId_ = trafficControlId; + setCoreParameter("TrafficControlId", trafficControlId); +} + +std::string SetTrafficControlApisRequest::getStageName()const +{ + return stageName_; +} + +void SetTrafficControlApisRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string SetTrafficControlApisRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetTrafficControlApisRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SetTrafficControlApisRequest::getGroupId()const +{ + return groupId_; +} + +void SetTrafficControlApisRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SetTrafficControlApisRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetTrafficControlApisRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string SetTrafficControlApisRequest::getApiIds()const +{ + return apiIds_; +} + +void SetTrafficControlApisRequest::setApiIds(const std::string& apiIds) +{ + apiIds_ = apiIds; + setCoreParameter("ApiIds", apiIds); +} + diff --git a/cloudapi/src/model/SetTrafficControlApisResult.cc b/cloudapi/src/model/SetTrafficControlApisResult.cc new file mode 100644 index 000000000..2c178eec6 --- /dev/null +++ b/cloudapi/src/model/SetTrafficControlApisResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetTrafficControlApisResult::SetTrafficControlApisResult() : + ServiceResult() +{} + +SetTrafficControlApisResult::SetTrafficControlApisResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetTrafficControlApisResult::~SetTrafficControlApisResult() +{} + +void SetTrafficControlApisResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SetVpcAccessRequest.cc b/cloudapi/src/model/SetVpcAccessRequest.cc new file mode 100644 index 000000000..4b3decc91 --- /dev/null +++ b/cloudapi/src/model/SetVpcAccessRequest.cc @@ -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 + +using AlibabaCloud::CloudAPI::Model::SetVpcAccessRequest; + +SetVpcAccessRequest::SetVpcAccessRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SetVpcAccess") +{} + +SetVpcAccessRequest::~SetVpcAccessRequest() +{} + +std::string SetVpcAccessRequest::getInstanceId()const +{ + return instanceId_; +} + +void SetVpcAccessRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setCoreParameter("InstanceId", instanceId); +} + +std::string SetVpcAccessRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetVpcAccessRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +int SetVpcAccessRequest::getPort()const +{ + return port_; +} + +void SetVpcAccessRequest::setPort(int port) +{ + port_ = port; + setCoreParameter("Port", std::to_string(port)); +} + +std::string SetVpcAccessRequest::getVpcId()const +{ + return vpcId_; +} + +void SetVpcAccessRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setCoreParameter("VpcId", vpcId); +} + +std::string SetVpcAccessRequest::getName()const +{ + return name_; +} + +void SetVpcAccessRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string SetVpcAccessRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetVpcAccessRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SetVpcAccessResult.cc b/cloudapi/src/model/SetVpcAccessResult.cc new file mode 100644 index 000000000..4a55b4bb0 --- /dev/null +++ b/cloudapi/src/model/SetVpcAccessResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SetVpcAccessResult::SetVpcAccessResult() : + ServiceResult() +{} + +SetVpcAccessResult::SetVpcAccessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetVpcAccessResult::~SetVpcAccessResult() +{} + +void SetVpcAccessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/SwitchApiRequest.cc b/cloudapi/src/model/SwitchApiRequest.cc new file mode 100644 index 000000000..b06e203bd --- /dev/null +++ b/cloudapi/src/model/SwitchApiRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::SwitchApiRequest; + +SwitchApiRequest::SwitchApiRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "SwitchApi") +{} + +SwitchApiRequest::~SwitchApiRequest() +{} + +std::string SwitchApiRequest::getStageName()const +{ + return stageName_; +} + +void SwitchApiRequest::setStageName(const std::string& stageName) +{ + stageName_ = stageName; + setCoreParameter("StageName", stageName); +} + +std::string SwitchApiRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SwitchApiRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string SwitchApiRequest::getGroupId()const +{ + return groupId_; +} + +void SwitchApiRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string SwitchApiRequest::getDescription()const +{ + return description_; +} + +void SwitchApiRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string SwitchApiRequest::getApiId()const +{ + return apiId_; +} + +void SwitchApiRequest::setApiId(const std::string& apiId) +{ + apiId_ = apiId; + setCoreParameter("ApiId", apiId); +} + +std::string SwitchApiRequest::getHistoryVersion()const +{ + return historyVersion_; +} + +void SwitchApiRequest::setHistoryVersion(const std::string& historyVersion) +{ + historyVersion_ = historyVersion; + setCoreParameter("HistoryVersion", historyVersion); +} + +std::string SwitchApiRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SwitchApiRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/SwitchApiResult.cc b/cloudapi/src/model/SwitchApiResult.cc new file mode 100644 index 000000000..377e41e4b --- /dev/null +++ b/cloudapi/src/model/SwitchApiResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::Model; + +SwitchApiResult::SwitchApiResult() : + ServiceResult() +{} + +SwitchApiResult::SwitchApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SwitchApiResult::~SwitchApiResult() +{} + +void SwitchApiResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cloudapi/src/model/TagResourcesRequest.cc b/cloudapi/src/model/TagResourcesRequest.cc new file mode 100644 index 000000000..dbabe597b --- /dev/null +++ b/cloudapi/src/model/TagResourcesRequest.cc @@ -0,0 +1,89 @@ +/* + * 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 + +using AlibabaCloud::CloudAPI::Model::TagResourcesRequest; + +TagResourcesRequest::TagResourcesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "TagResources") +{} + +TagResourcesRequest::~TagResourcesRequest() +{} + +std::vector TagResourcesRequest::getResourceId()const +{ + return resourceId_; +} + +void TagResourcesRequest::setResourceId(const std::vector& resourceId) +{ + resourceId_ = resourceId; + for(int i = 0; i!= resourceId.size(); i++) + setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i)); +} + +std::string TagResourcesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void TagResourcesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::vector TagResourcesRequest::getTag()const +{ + return tag_; +} + +void TagResourcesRequest::setTag(const std::vector& 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::string TagResourcesRequest::getResourceType()const +{ + return resourceType_; +} + +void TagResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string TagResourcesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void TagResourcesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/TagResourcesResult.cc b/cloudapi/src/model/TagResourcesResult.cc new file mode 100644 index 000000000..f3d34b65a --- /dev/null +++ b/cloudapi/src/model/TagResourcesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::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()); + +} + diff --git a/cloudapi/src/model/UntagResourcesRequest.cc b/cloudapi/src/model/UntagResourcesRequest.cc new file mode 100644 index 000000000..8f4e24b5b --- /dev/null +++ b/cloudapi/src/model/UntagResourcesRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CloudAPI::Model::UntagResourcesRequest; + +UntagResourcesRequest::UntagResourcesRequest() : + RpcServiceRequest("cloudapi", "2016-07-14", "UntagResources") +{} + +UntagResourcesRequest::~UntagResourcesRequest() +{} + +bool UntagResourcesRequest::getAll()const +{ + return all_; +} + +void UntagResourcesRequest::setAll(bool all) +{ + all_ = all; + setCoreParameter("All", all ? "true" : "false"); +} + +std::vector UntagResourcesRequest::getResourceId()const +{ + return resourceId_; +} + +void UntagResourcesRequest::setResourceId(const std::vector& resourceId) +{ + resourceId_ = resourceId; + for(int i = 0; i!= resourceId.size(); i++) + setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i)); +} + +std::string UntagResourcesRequest::getSecurityToken()const +{ + return securityToken_; +} + +void UntagResourcesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::vector UntagResourcesRequest::getTagKey()const +{ + return tagKey_; +} + +void UntagResourcesRequest::setTagKey(const std::vector& tagKey) +{ + tagKey_ = tagKey; + for(int i = 0; i!= tagKey.size(); i++) + setCoreParameter("TagKey."+ std::to_string(i), tagKey.at(i)); +} + +std::string UntagResourcesRequest::getResourceType()const +{ + return resourceType_; +} + +void UntagResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setCoreParameter("ResourceType", resourceType); +} + +std::string UntagResourcesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UntagResourcesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/cloudapi/src/model/UntagResourcesResult.cc b/cloudapi/src/model/UntagResourcesResult.cc new file mode 100644 index 000000000..6a1918c53 --- /dev/null +++ b/cloudapi/src/model/UntagResourcesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::CloudAPI; +using namespace AlibabaCloud::CloudAPI::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()); + +} +