Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9b2a0c830 | ||
|
|
e62af34b2a | ||
|
|
91746b862f | ||
|
|
67a361ad2d | ||
|
|
1da6c4aa18 | ||
|
|
6da61cc993 | ||
|
|
f75e990c49 | ||
|
|
8ac2f2bd4a | ||
|
|
996c9b497a | ||
|
|
a59527266e | ||
|
|
26d4cdb3b5 | ||
|
|
aa06915a34 | ||
|
|
cac98a349f | ||
|
|
bfe051d983 | ||
|
|
5e5610d91f | ||
|
|
88ef8f3618 | ||
|
|
7f3826c2f9 | ||
|
|
596b96d689 |
54
CHANGELOG
54
CHANGELOG
@@ -1,3 +1,57 @@
|
||||
2019-03-15 Version: 1.34.28
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-15 Version: 1.34.27
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-15 Version: 1.34.26
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-15 Version: 1.34.25
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.24
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.23
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.22
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.21
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.20
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.19
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.18
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.17
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-14 Version: 1.34.16
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-13 Version: 1.34.15
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-13 Version: 1.34.14
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-13 Version: 1.34.13
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-13 Version: 1.34.12
|
||||
1, Distinguish between system and service parameters
|
||||
|
||||
2019-03-13 Version: 1.34.11
|
||||
1, add DescribeDemands interface
|
||||
|
||||
2019-03-13 Version: 1.34.10
|
||||
1, Distinguish between system and service parameters
|
||||
|
||||
|
||||
@@ -91,4 +91,12 @@ add_subdirectory(arms)
|
||||
add_subdirectory(lubancloud)
|
||||
add_subdirectory(alimt)
|
||||
|
||||
add_subdirectory(xspace)
|
||||
add_subdirectory(xspace)
|
||||
add_subdirectory(jarvis-public)
|
||||
add_subdirectory(cbn)
|
||||
add_subdirectory(emr)
|
||||
add_subdirectory(ram)
|
||||
add_subdirectory(sts)
|
||||
add_subdirectory(gpdb)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(cr)
|
||||
230
cbn/CMakeLists.txt
Normal file
230
cbn/CMakeLists.txt
Normal file
@@ -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.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(cbn_public_header
|
||||
include/alibabacloud/cbn/CbnClient.h
|
||||
include/alibabacloud/cbn/CbnExport.h )
|
||||
|
||||
set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/ResolveAndRouteServiceInCenRequest.h
|
||||
include/alibabacloud/cbn/model/ResolveAndRouteServiceInCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/WithdrawPublishedRouteEntriesRequest.h
|
||||
include/alibabacloud/cbn/model/WithdrawPublishedRouteEntriesResult.h
|
||||
include/alibabacloud/cbn/model/DescribePublishedRouteEntriesRequest.h
|
||||
include/alibabacloud/cbn/model/DescribePublishedRouteEntriesResult.h
|
||||
include/alibabacloud/cbn/model/DescribeGrantRulesToCenRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeGrantRulesToCenResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenPrivateZoneRoutesRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenPrivateZoneRoutesResult.h
|
||||
include/alibabacloud/cbn/model/ModifyCenBandwidthPackageAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/ModifyCenBandwidthPackageAttributeResult.h
|
||||
include/alibabacloud/cbn/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/cbn/model/UntagResourcesResult.h
|
||||
include/alibabacloud/cbn/model/DisableCenVbrHealthCheckRequest.h
|
||||
include/alibabacloud/cbn/model/DisableCenVbrHealthCheckResult.h
|
||||
include/alibabacloud/cbn/model/UnroutePrivateZoneInCenToVpcRequest.h
|
||||
include/alibabacloud/cbn/model/UnroutePrivateZoneInCenToVpcResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenVbrHealthCheckRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenVbrHealthCheckResult.h
|
||||
include/alibabacloud/cbn/model/RoutePrivateZoneInCenToVpcRequest.h
|
||||
include/alibabacloud/cbn/model/RoutePrivateZoneInCenToVpcResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenGeographicSpansRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenGeographicSpansResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCensRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCensResult.h
|
||||
include/alibabacloud/cbn/model/EnableCenVbrHealthCheckRequest.h
|
||||
include/alibabacloud/cbn/model/EnableCenVbrHealthCheckResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenInterRegionBandwidthLimitsRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenInterRegionBandwidthLimitsResult.h
|
||||
include/alibabacloud/cbn/model/UnassociateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/UnassociateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/DescribeChildInstanceRegionsRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeChildInstanceRegionsResult.h
|
||||
include/alibabacloud/cbn/model/DetachCenChildInstanceRequest.h
|
||||
include/alibabacloud/cbn/model/DetachCenChildInstanceResult.h
|
||||
include/alibabacloud/cbn/model/AttachCenChildInstanceRequest.h
|
||||
include/alibabacloud/cbn/model/AttachCenChildInstanceResult.h
|
||||
include/alibabacloud/cbn/model/SetCenInterRegionBandwidthLimitRequest.h
|
||||
include/alibabacloud/cbn/model/SetCenInterRegionBandwidthLimitResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/ModifyCenAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/ModifyCenAttributeResult.h
|
||||
include/alibabacloud/cbn/model/DescribeGeographicRegionMembershipRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeGeographicRegionMembershipResult.h
|
||||
include/alibabacloud/cbn/model/DescribeRouteServicesInCenRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeRouteServicesInCenResult.h
|
||||
include/alibabacloud/cbn/model/DescribeRouteConflictRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeRouteConflictResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenRegionDomainRouteEntriesRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenRegionDomainRouteEntriesResult.h
|
||||
include/alibabacloud/cbn/model/DeleteRouteServiceInCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteRouteServiceInCenResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenAttachedChildInstancesRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenAttachedChildInstancesResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenAttachedChildInstanceAttributeRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenAttachedChildInstanceAttributeResult.h
|
||||
include/alibabacloud/cbn/model/ModifyCenBandwidthPackageSpecRequest.h
|
||||
include/alibabacloud/cbn/model/ModifyCenBandwidthPackageSpecResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenBandwidthPackagesRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenBandwidthPackagesResult.h
|
||||
include/alibabacloud/cbn/model/DescribeCenGeographicSpanRemainingBandwidthRequest.h
|
||||
include/alibabacloud/cbn/model/DescribeCenGeographicSpanRemainingBandwidthResult.h
|
||||
include/alibabacloud/cbn/model/PublishRouteEntriesRequest.h
|
||||
include/alibabacloud/cbn/model/PublishRouteEntriesResult.h
|
||||
include/alibabacloud/cbn/model/AssociateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/AssociateCenBandwidthPackageResult.h )
|
||||
|
||||
set(cbn_src
|
||||
src/CbnClient.cc
|
||||
src/model/ResolveAndRouteServiceInCenRequest.cc
|
||||
src/model/ResolveAndRouteServiceInCenResult.cc
|
||||
src/model/CreateCenBandwidthPackageRequest.cc
|
||||
src/model/CreateCenBandwidthPackageResult.cc
|
||||
src/model/WithdrawPublishedRouteEntriesRequest.cc
|
||||
src/model/WithdrawPublishedRouteEntriesResult.cc
|
||||
src/model/DescribePublishedRouteEntriesRequest.cc
|
||||
src/model/DescribePublishedRouteEntriesResult.cc
|
||||
src/model/DescribeGrantRulesToCenRequest.cc
|
||||
src/model/DescribeGrantRulesToCenResult.cc
|
||||
src/model/DescribeCenPrivateZoneRoutesRequest.cc
|
||||
src/model/DescribeCenPrivateZoneRoutesResult.cc
|
||||
src/model/ModifyCenBandwidthPackageAttributeRequest.cc
|
||||
src/model/ModifyCenBandwidthPackageAttributeResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/DisableCenVbrHealthCheckRequest.cc
|
||||
src/model/DisableCenVbrHealthCheckResult.cc
|
||||
src/model/UnroutePrivateZoneInCenToVpcRequest.cc
|
||||
src/model/UnroutePrivateZoneInCenToVpcResult.cc
|
||||
src/model/CreateCenRequest.cc
|
||||
src/model/CreateCenResult.cc
|
||||
src/model/DescribeCenVbrHealthCheckRequest.cc
|
||||
src/model/DescribeCenVbrHealthCheckResult.cc
|
||||
src/model/RoutePrivateZoneInCenToVpcRequest.cc
|
||||
src/model/RoutePrivateZoneInCenToVpcResult.cc
|
||||
src/model/DescribeCenGeographicSpansRequest.cc
|
||||
src/model/DescribeCenGeographicSpansResult.cc
|
||||
src/model/DescribeCensRequest.cc
|
||||
src/model/DescribeCensResult.cc
|
||||
src/model/EnableCenVbrHealthCheckRequest.cc
|
||||
src/model/EnableCenVbrHealthCheckResult.cc
|
||||
src/model/DeleteCenRequest.cc
|
||||
src/model/DeleteCenResult.cc
|
||||
src/model/DescribeCenInterRegionBandwidthLimitsRequest.cc
|
||||
src/model/DescribeCenInterRegionBandwidthLimitsResult.cc
|
||||
src/model/UnassociateCenBandwidthPackageRequest.cc
|
||||
src/model/UnassociateCenBandwidthPackageResult.cc
|
||||
src/model/DescribeChildInstanceRegionsRequest.cc
|
||||
src/model/DescribeChildInstanceRegionsResult.cc
|
||||
src/model/DetachCenChildInstanceRequest.cc
|
||||
src/model/DetachCenChildInstanceResult.cc
|
||||
src/model/AttachCenChildInstanceRequest.cc
|
||||
src/model/AttachCenChildInstanceResult.cc
|
||||
src/model/SetCenInterRegionBandwidthLimitRequest.cc
|
||||
src/model/SetCenInterRegionBandwidthLimitResult.cc
|
||||
src/model/DeleteCenBandwidthPackageRequest.cc
|
||||
src/model/DeleteCenBandwidthPackageResult.cc
|
||||
src/model/ModifyCenAttributeRequest.cc
|
||||
src/model/ModifyCenAttributeResult.cc
|
||||
src/model/DescribeGeographicRegionMembershipRequest.cc
|
||||
src/model/DescribeGeographicRegionMembershipResult.cc
|
||||
src/model/DescribeRouteServicesInCenRequest.cc
|
||||
src/model/DescribeRouteServicesInCenResult.cc
|
||||
src/model/DescribeRouteConflictRequest.cc
|
||||
src/model/DescribeRouteConflictResult.cc
|
||||
src/model/DescribeCenRegionDomainRouteEntriesRequest.cc
|
||||
src/model/DescribeCenRegionDomainRouteEntriesResult.cc
|
||||
src/model/DeleteRouteServiceInCenRequest.cc
|
||||
src/model/DeleteRouteServiceInCenResult.cc
|
||||
src/model/DescribeCenAttachedChildInstancesRequest.cc
|
||||
src/model/DescribeCenAttachedChildInstancesResult.cc
|
||||
src/model/DescribeCenAttachedChildInstanceAttributeRequest.cc
|
||||
src/model/DescribeCenAttachedChildInstanceAttributeResult.cc
|
||||
src/model/ModifyCenBandwidthPackageSpecRequest.cc
|
||||
src/model/ModifyCenBandwidthPackageSpecResult.cc
|
||||
src/model/DescribeCenBandwidthPackagesRequest.cc
|
||||
src/model/DescribeCenBandwidthPackagesResult.cc
|
||||
src/model/DescribeCenGeographicSpanRemainingBandwidthRequest.cc
|
||||
src/model/DescribeCenGeographicSpanRemainingBandwidthResult.cc
|
||||
src/model/PublishRouteEntriesRequest.cc
|
||||
src/model/PublishRouteEntriesResult.cc
|
||||
src/model/AssociateCenBandwidthPackageRequest.cc
|
||||
src/model/AssociateCenBandwidthPackageResult.cc )
|
||||
|
||||
add_library(cbn ${LIB_TYPE}
|
||||
${cbn_public_header}
|
||||
${cbn_public_header_model}
|
||||
${cbn_src})
|
||||
|
||||
set_target_properties(cbn
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}cbn
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(cbn
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CBN_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(cbn
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(cbn
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(cbn
|
||||
jsoncpp)
|
||||
target_include_directories(cbn
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(cbn
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(cbn
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(cbn
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(cbn
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${cbn_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cbn)
|
||||
install(FILES ${cbn_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cbn/model)
|
||||
install(TARGETS cbn
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
342
cbn/include/alibabacloud/cbn/CbnClient.h
Normal file
342
cbn/include/alibabacloud/cbn/CbnClient.h
Normal file
@@ -0,0 +1,342 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_CBNCLIENT_H_
|
||||
#define ALIBABACLOUD_CBN_CBNCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CbnExport.h"
|
||||
#include "model/ResolveAndRouteServiceInCenRequest.h"
|
||||
#include "model/ResolveAndRouteServiceInCenResult.h"
|
||||
#include "model/CreateCenBandwidthPackageRequest.h"
|
||||
#include "model/CreateCenBandwidthPackageResult.h"
|
||||
#include "model/WithdrawPublishedRouteEntriesRequest.h"
|
||||
#include "model/WithdrawPublishedRouteEntriesResult.h"
|
||||
#include "model/DescribePublishedRouteEntriesRequest.h"
|
||||
#include "model/DescribePublishedRouteEntriesResult.h"
|
||||
#include "model/DescribeGrantRulesToCenRequest.h"
|
||||
#include "model/DescribeGrantRulesToCenResult.h"
|
||||
#include "model/DescribeCenPrivateZoneRoutesRequest.h"
|
||||
#include "model/DescribeCenPrivateZoneRoutesResult.h"
|
||||
#include "model/ModifyCenBandwidthPackageAttributeRequest.h"
|
||||
#include "model/ModifyCenBandwidthPackageAttributeResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/DisableCenVbrHealthCheckRequest.h"
|
||||
#include "model/DisableCenVbrHealthCheckResult.h"
|
||||
#include "model/UnroutePrivateZoneInCenToVpcRequest.h"
|
||||
#include "model/UnroutePrivateZoneInCenToVpcResult.h"
|
||||
#include "model/CreateCenRequest.h"
|
||||
#include "model/CreateCenResult.h"
|
||||
#include "model/DescribeCenVbrHealthCheckRequest.h"
|
||||
#include "model/DescribeCenVbrHealthCheckResult.h"
|
||||
#include "model/RoutePrivateZoneInCenToVpcRequest.h"
|
||||
#include "model/RoutePrivateZoneInCenToVpcResult.h"
|
||||
#include "model/DescribeCenGeographicSpansRequest.h"
|
||||
#include "model/DescribeCenGeographicSpansResult.h"
|
||||
#include "model/DescribeCensRequest.h"
|
||||
#include "model/DescribeCensResult.h"
|
||||
#include "model/EnableCenVbrHealthCheckRequest.h"
|
||||
#include "model/EnableCenVbrHealthCheckResult.h"
|
||||
#include "model/DeleteCenRequest.h"
|
||||
#include "model/DeleteCenResult.h"
|
||||
#include "model/DescribeCenInterRegionBandwidthLimitsRequest.h"
|
||||
#include "model/DescribeCenInterRegionBandwidthLimitsResult.h"
|
||||
#include "model/UnassociateCenBandwidthPackageRequest.h"
|
||||
#include "model/UnassociateCenBandwidthPackageResult.h"
|
||||
#include "model/DescribeChildInstanceRegionsRequest.h"
|
||||
#include "model/DescribeChildInstanceRegionsResult.h"
|
||||
#include "model/DetachCenChildInstanceRequest.h"
|
||||
#include "model/DetachCenChildInstanceResult.h"
|
||||
#include "model/AttachCenChildInstanceRequest.h"
|
||||
#include "model/AttachCenChildInstanceResult.h"
|
||||
#include "model/SetCenInterRegionBandwidthLimitRequest.h"
|
||||
#include "model/SetCenInterRegionBandwidthLimitResult.h"
|
||||
#include "model/DeleteCenBandwidthPackageRequest.h"
|
||||
#include "model/DeleteCenBandwidthPackageResult.h"
|
||||
#include "model/ModifyCenAttributeRequest.h"
|
||||
#include "model/ModifyCenAttributeResult.h"
|
||||
#include "model/DescribeGeographicRegionMembershipRequest.h"
|
||||
#include "model/DescribeGeographicRegionMembershipResult.h"
|
||||
#include "model/DescribeRouteServicesInCenRequest.h"
|
||||
#include "model/DescribeRouteServicesInCenResult.h"
|
||||
#include "model/DescribeRouteConflictRequest.h"
|
||||
#include "model/DescribeRouteConflictResult.h"
|
||||
#include "model/DescribeCenRegionDomainRouteEntriesRequest.h"
|
||||
#include "model/DescribeCenRegionDomainRouteEntriesResult.h"
|
||||
#include "model/DeleteRouteServiceInCenRequest.h"
|
||||
#include "model/DeleteRouteServiceInCenResult.h"
|
||||
#include "model/DescribeCenAttachedChildInstancesRequest.h"
|
||||
#include "model/DescribeCenAttachedChildInstancesResult.h"
|
||||
#include "model/DescribeCenAttachedChildInstanceAttributeRequest.h"
|
||||
#include "model/DescribeCenAttachedChildInstanceAttributeResult.h"
|
||||
#include "model/ModifyCenBandwidthPackageSpecRequest.h"
|
||||
#include "model/ModifyCenBandwidthPackageSpecResult.h"
|
||||
#include "model/DescribeCenBandwidthPackagesRequest.h"
|
||||
#include "model/DescribeCenBandwidthPackagesResult.h"
|
||||
#include "model/DescribeCenGeographicSpanRemainingBandwidthRequest.h"
|
||||
#include "model/DescribeCenGeographicSpanRemainingBandwidthResult.h"
|
||||
#include "model/PublishRouteEntriesRequest.h"
|
||||
#include "model/PublishRouteEntriesResult.h"
|
||||
#include "model/AssociateCenBandwidthPackageRequest.h"
|
||||
#include "model/AssociateCenBandwidthPackageResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CbnClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ResolveAndRouteServiceInCenResult> ResolveAndRouteServiceInCenOutcome;
|
||||
typedef std::future<ResolveAndRouteServiceInCenOutcome> ResolveAndRouteServiceInCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ResolveAndRouteServiceInCenRequest&, const ResolveAndRouteServiceInCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResolveAndRouteServiceInCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenBandwidthPackageResult> CreateCenBandwidthPackageOutcome;
|
||||
typedef std::future<CreateCenBandwidthPackageOutcome> CreateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenBandwidthPackageRequest&, const CreateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::WithdrawPublishedRouteEntriesResult> WithdrawPublishedRouteEntriesOutcome;
|
||||
typedef std::future<WithdrawPublishedRouteEntriesOutcome> WithdrawPublishedRouteEntriesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::WithdrawPublishedRouteEntriesRequest&, const WithdrawPublishedRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WithdrawPublishedRouteEntriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePublishedRouteEntriesResult> DescribePublishedRouteEntriesOutcome;
|
||||
typedef std::future<DescribePublishedRouteEntriesOutcome> DescribePublishedRouteEntriesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribePublishedRouteEntriesRequest&, const DescribePublishedRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePublishedRouteEntriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGrantRulesToCenResult> DescribeGrantRulesToCenOutcome;
|
||||
typedef std::future<DescribeGrantRulesToCenOutcome> DescribeGrantRulesToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeGrantRulesToCenRequest&, const DescribeGrantRulesToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGrantRulesToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenPrivateZoneRoutesResult> DescribeCenPrivateZoneRoutesOutcome;
|
||||
typedef std::future<DescribeCenPrivateZoneRoutesOutcome> DescribeCenPrivateZoneRoutesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenPrivateZoneRoutesRequest&, const DescribeCenPrivateZoneRoutesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenPrivateZoneRoutesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyCenBandwidthPackageAttributeResult> ModifyCenBandwidthPackageAttributeOutcome;
|
||||
typedef std::future<ModifyCenBandwidthPackageAttributeOutcome> ModifyCenBandwidthPackageAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ModifyCenBandwidthPackageAttributeRequest&, const ModifyCenBandwidthPackageAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCenBandwidthPackageAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableCenVbrHealthCheckResult> DisableCenVbrHealthCheckOutcome;
|
||||
typedef std::future<DisableCenVbrHealthCheckOutcome> DisableCenVbrHealthCheckOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DisableCenVbrHealthCheckRequest&, const DisableCenVbrHealthCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableCenVbrHealthCheckAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnroutePrivateZoneInCenToVpcResult> UnroutePrivateZoneInCenToVpcOutcome;
|
||||
typedef std::future<UnroutePrivateZoneInCenToVpcOutcome> UnroutePrivateZoneInCenToVpcOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UnroutePrivateZoneInCenToVpcRequest&, const UnroutePrivateZoneInCenToVpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnroutePrivateZoneInCenToVpcAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenResult> CreateCenOutcome;
|
||||
typedef std::future<CreateCenOutcome> CreateCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenRequest&, const CreateCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenVbrHealthCheckResult> DescribeCenVbrHealthCheckOutcome;
|
||||
typedef std::future<DescribeCenVbrHealthCheckOutcome> DescribeCenVbrHealthCheckOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenVbrHealthCheckRequest&, const DescribeCenVbrHealthCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenVbrHealthCheckAsyncHandler;
|
||||
typedef Outcome<Error, Model::RoutePrivateZoneInCenToVpcResult> RoutePrivateZoneInCenToVpcOutcome;
|
||||
typedef std::future<RoutePrivateZoneInCenToVpcOutcome> RoutePrivateZoneInCenToVpcOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::RoutePrivateZoneInCenToVpcRequest&, const RoutePrivateZoneInCenToVpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RoutePrivateZoneInCenToVpcAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenGeographicSpansResult> DescribeCenGeographicSpansOutcome;
|
||||
typedef std::future<DescribeCenGeographicSpansOutcome> DescribeCenGeographicSpansOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenGeographicSpansRequest&, const DescribeCenGeographicSpansOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenGeographicSpansAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCensResult> DescribeCensOutcome;
|
||||
typedef std::future<DescribeCensOutcome> DescribeCensOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCensRequest&, const DescribeCensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCensAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableCenVbrHealthCheckResult> EnableCenVbrHealthCheckOutcome;
|
||||
typedef std::future<EnableCenVbrHealthCheckOutcome> EnableCenVbrHealthCheckOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::EnableCenVbrHealthCheckRequest&, const EnableCenVbrHealthCheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableCenVbrHealthCheckAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenResult> DeleteCenOutcome;
|
||||
typedef std::future<DeleteCenOutcome> DeleteCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenRequest&, const DeleteCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenInterRegionBandwidthLimitsResult> DescribeCenInterRegionBandwidthLimitsOutcome;
|
||||
typedef std::future<DescribeCenInterRegionBandwidthLimitsOutcome> DescribeCenInterRegionBandwidthLimitsOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenInterRegionBandwidthLimitsRequest&, const DescribeCenInterRegionBandwidthLimitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenInterRegionBandwidthLimitsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnassociateCenBandwidthPackageResult> UnassociateCenBandwidthPackageOutcome;
|
||||
typedef std::future<UnassociateCenBandwidthPackageOutcome> UnassociateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UnassociateCenBandwidthPackageRequest&, const UnassociateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassociateCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeChildInstanceRegionsResult> DescribeChildInstanceRegionsOutcome;
|
||||
typedef std::future<DescribeChildInstanceRegionsOutcome> DescribeChildInstanceRegionsOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeChildInstanceRegionsRequest&, const DescribeChildInstanceRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeChildInstanceRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachCenChildInstanceResult> DetachCenChildInstanceOutcome;
|
||||
typedef std::future<DetachCenChildInstanceOutcome> DetachCenChildInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DetachCenChildInstanceRequest&, const DetachCenChildInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachCenChildInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachCenChildInstanceResult> AttachCenChildInstanceOutcome;
|
||||
typedef std::future<AttachCenChildInstanceOutcome> AttachCenChildInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AttachCenChildInstanceRequest&, const AttachCenChildInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachCenChildInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetCenInterRegionBandwidthLimitResult> SetCenInterRegionBandwidthLimitOutcome;
|
||||
typedef std::future<SetCenInterRegionBandwidthLimitOutcome> SetCenInterRegionBandwidthLimitOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::SetCenInterRegionBandwidthLimitRequest&, const SetCenInterRegionBandwidthLimitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetCenInterRegionBandwidthLimitAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenBandwidthPackageResult> DeleteCenBandwidthPackageOutcome;
|
||||
typedef std::future<DeleteCenBandwidthPackageOutcome> DeleteCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenBandwidthPackageRequest&, const DeleteCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyCenAttributeResult> ModifyCenAttributeOutcome;
|
||||
typedef std::future<ModifyCenAttributeOutcome> ModifyCenAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ModifyCenAttributeRequest&, const ModifyCenAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCenAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGeographicRegionMembershipResult> DescribeGeographicRegionMembershipOutcome;
|
||||
typedef std::future<DescribeGeographicRegionMembershipOutcome> DescribeGeographicRegionMembershipOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeGeographicRegionMembershipRequest&, const DescribeGeographicRegionMembershipOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGeographicRegionMembershipAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRouteServicesInCenResult> DescribeRouteServicesInCenOutcome;
|
||||
typedef std::future<DescribeRouteServicesInCenOutcome> DescribeRouteServicesInCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeRouteServicesInCenRequest&, const DescribeRouteServicesInCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRouteServicesInCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRouteConflictResult> DescribeRouteConflictOutcome;
|
||||
typedef std::future<DescribeRouteConflictOutcome> DescribeRouteConflictOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeRouteConflictRequest&, const DescribeRouteConflictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRouteConflictAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenRegionDomainRouteEntriesResult> DescribeCenRegionDomainRouteEntriesOutcome;
|
||||
typedef std::future<DescribeCenRegionDomainRouteEntriesOutcome> DescribeCenRegionDomainRouteEntriesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenRegionDomainRouteEntriesRequest&, const DescribeCenRegionDomainRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenRegionDomainRouteEntriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRouteServiceInCenResult> DeleteRouteServiceInCenOutcome;
|
||||
typedef std::future<DeleteRouteServiceInCenOutcome> DeleteRouteServiceInCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteRouteServiceInCenRequest&, const DeleteRouteServiceInCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRouteServiceInCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenAttachedChildInstancesResult> DescribeCenAttachedChildInstancesOutcome;
|
||||
typedef std::future<DescribeCenAttachedChildInstancesOutcome> DescribeCenAttachedChildInstancesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenAttachedChildInstancesRequest&, const DescribeCenAttachedChildInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenAttachedChildInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenAttachedChildInstanceAttributeResult> DescribeCenAttachedChildInstanceAttributeOutcome;
|
||||
typedef std::future<DescribeCenAttachedChildInstanceAttributeOutcome> DescribeCenAttachedChildInstanceAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenAttachedChildInstanceAttributeRequest&, const DescribeCenAttachedChildInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenAttachedChildInstanceAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyCenBandwidthPackageSpecResult> ModifyCenBandwidthPackageSpecOutcome;
|
||||
typedef std::future<ModifyCenBandwidthPackageSpecOutcome> ModifyCenBandwidthPackageSpecOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::ModifyCenBandwidthPackageSpecRequest&, const ModifyCenBandwidthPackageSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCenBandwidthPackageSpecAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenBandwidthPackagesResult> DescribeCenBandwidthPackagesOutcome;
|
||||
typedef std::future<DescribeCenBandwidthPackagesOutcome> DescribeCenBandwidthPackagesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenBandwidthPackagesRequest&, const DescribeCenBandwidthPackagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenBandwidthPackagesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCenGeographicSpanRemainingBandwidthResult> DescribeCenGeographicSpanRemainingBandwidthOutcome;
|
||||
typedef std::future<DescribeCenGeographicSpanRemainingBandwidthOutcome> DescribeCenGeographicSpanRemainingBandwidthOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DescribeCenGeographicSpanRemainingBandwidthRequest&, const DescribeCenGeographicSpanRemainingBandwidthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCenGeographicSpanRemainingBandwidthAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishRouteEntriesResult> PublishRouteEntriesOutcome;
|
||||
typedef std::future<PublishRouteEntriesOutcome> PublishRouteEntriesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::PublishRouteEntriesRequest&, const PublishRouteEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishRouteEntriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssociateCenBandwidthPackageResult> AssociateCenBandwidthPackageOutcome;
|
||||
typedef std::future<AssociateCenBandwidthPackageOutcome> AssociateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::AssociateCenBandwidthPackageRequest&, const AssociateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateCenBandwidthPackageAsyncHandler;
|
||||
|
||||
CbnClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CbnClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CbnClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CbnClient();
|
||||
ResolveAndRouteServiceInCenOutcome resolveAndRouteServiceInCen(const Model::ResolveAndRouteServiceInCenRequest &request)const;
|
||||
void resolveAndRouteServiceInCenAsync(const Model::ResolveAndRouteServiceInCenRequest& request, const ResolveAndRouteServiceInCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResolveAndRouteServiceInCenOutcomeCallable resolveAndRouteServiceInCenCallable(const Model::ResolveAndRouteServiceInCenRequest& request) const;
|
||||
CreateCenBandwidthPackageOutcome createCenBandwidthPackage(const Model::CreateCenBandwidthPackageRequest &request)const;
|
||||
void createCenBandwidthPackageAsync(const Model::CreateCenBandwidthPackageRequest& request, const CreateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenBandwidthPackageOutcomeCallable createCenBandwidthPackageCallable(const Model::CreateCenBandwidthPackageRequest& request) const;
|
||||
WithdrawPublishedRouteEntriesOutcome withdrawPublishedRouteEntries(const Model::WithdrawPublishedRouteEntriesRequest &request)const;
|
||||
void withdrawPublishedRouteEntriesAsync(const Model::WithdrawPublishedRouteEntriesRequest& request, const WithdrawPublishedRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WithdrawPublishedRouteEntriesOutcomeCallable withdrawPublishedRouteEntriesCallable(const Model::WithdrawPublishedRouteEntriesRequest& request) const;
|
||||
DescribePublishedRouteEntriesOutcome describePublishedRouteEntries(const Model::DescribePublishedRouteEntriesRequest &request)const;
|
||||
void describePublishedRouteEntriesAsync(const Model::DescribePublishedRouteEntriesRequest& request, const DescribePublishedRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePublishedRouteEntriesOutcomeCallable describePublishedRouteEntriesCallable(const Model::DescribePublishedRouteEntriesRequest& request) const;
|
||||
DescribeGrantRulesToCenOutcome describeGrantRulesToCen(const Model::DescribeGrantRulesToCenRequest &request)const;
|
||||
void describeGrantRulesToCenAsync(const Model::DescribeGrantRulesToCenRequest& request, const DescribeGrantRulesToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGrantRulesToCenOutcomeCallable describeGrantRulesToCenCallable(const Model::DescribeGrantRulesToCenRequest& request) const;
|
||||
DescribeCenPrivateZoneRoutesOutcome describeCenPrivateZoneRoutes(const Model::DescribeCenPrivateZoneRoutesRequest &request)const;
|
||||
void describeCenPrivateZoneRoutesAsync(const Model::DescribeCenPrivateZoneRoutesRequest& request, const DescribeCenPrivateZoneRoutesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenPrivateZoneRoutesOutcomeCallable describeCenPrivateZoneRoutesCallable(const Model::DescribeCenPrivateZoneRoutesRequest& request) const;
|
||||
ModifyCenBandwidthPackageAttributeOutcome modifyCenBandwidthPackageAttribute(const Model::ModifyCenBandwidthPackageAttributeRequest &request)const;
|
||||
void modifyCenBandwidthPackageAttributeAsync(const Model::ModifyCenBandwidthPackageAttributeRequest& request, const ModifyCenBandwidthPackageAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyCenBandwidthPackageAttributeOutcomeCallable modifyCenBandwidthPackageAttributeCallable(const Model::ModifyCenBandwidthPackageAttributeRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
DisableCenVbrHealthCheckOutcome disableCenVbrHealthCheck(const Model::DisableCenVbrHealthCheckRequest &request)const;
|
||||
void disableCenVbrHealthCheckAsync(const Model::DisableCenVbrHealthCheckRequest& request, const DisableCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableCenVbrHealthCheckOutcomeCallable disableCenVbrHealthCheckCallable(const Model::DisableCenVbrHealthCheckRequest& request) const;
|
||||
UnroutePrivateZoneInCenToVpcOutcome unroutePrivateZoneInCenToVpc(const Model::UnroutePrivateZoneInCenToVpcRequest &request)const;
|
||||
void unroutePrivateZoneInCenToVpcAsync(const Model::UnroutePrivateZoneInCenToVpcRequest& request, const UnroutePrivateZoneInCenToVpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnroutePrivateZoneInCenToVpcOutcomeCallable unroutePrivateZoneInCenToVpcCallable(const Model::UnroutePrivateZoneInCenToVpcRequest& request) const;
|
||||
CreateCenOutcome createCen(const Model::CreateCenRequest &request)const;
|
||||
void createCenAsync(const Model::CreateCenRequest& request, const CreateCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenOutcomeCallable createCenCallable(const Model::CreateCenRequest& request) const;
|
||||
DescribeCenVbrHealthCheckOutcome describeCenVbrHealthCheck(const Model::DescribeCenVbrHealthCheckRequest &request)const;
|
||||
void describeCenVbrHealthCheckAsync(const Model::DescribeCenVbrHealthCheckRequest& request, const DescribeCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenVbrHealthCheckOutcomeCallable describeCenVbrHealthCheckCallable(const Model::DescribeCenVbrHealthCheckRequest& request) const;
|
||||
RoutePrivateZoneInCenToVpcOutcome routePrivateZoneInCenToVpc(const Model::RoutePrivateZoneInCenToVpcRequest &request)const;
|
||||
void routePrivateZoneInCenToVpcAsync(const Model::RoutePrivateZoneInCenToVpcRequest& request, const RoutePrivateZoneInCenToVpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RoutePrivateZoneInCenToVpcOutcomeCallable routePrivateZoneInCenToVpcCallable(const Model::RoutePrivateZoneInCenToVpcRequest& request) const;
|
||||
DescribeCenGeographicSpansOutcome describeCenGeographicSpans(const Model::DescribeCenGeographicSpansRequest &request)const;
|
||||
void describeCenGeographicSpansAsync(const Model::DescribeCenGeographicSpansRequest& request, const DescribeCenGeographicSpansAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenGeographicSpansOutcomeCallable describeCenGeographicSpansCallable(const Model::DescribeCenGeographicSpansRequest& request) const;
|
||||
DescribeCensOutcome describeCens(const Model::DescribeCensRequest &request)const;
|
||||
void describeCensAsync(const Model::DescribeCensRequest& request, const DescribeCensAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCensOutcomeCallable describeCensCallable(const Model::DescribeCensRequest& request) const;
|
||||
EnableCenVbrHealthCheckOutcome enableCenVbrHealthCheck(const Model::EnableCenVbrHealthCheckRequest &request)const;
|
||||
void enableCenVbrHealthCheckAsync(const Model::EnableCenVbrHealthCheckRequest& request, const EnableCenVbrHealthCheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableCenVbrHealthCheckOutcomeCallable enableCenVbrHealthCheckCallable(const Model::EnableCenVbrHealthCheckRequest& request) const;
|
||||
DeleteCenOutcome deleteCen(const Model::DeleteCenRequest &request)const;
|
||||
void deleteCenAsync(const Model::DeleteCenRequest& request, const DeleteCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenOutcomeCallable deleteCenCallable(const Model::DeleteCenRequest& request) const;
|
||||
DescribeCenInterRegionBandwidthLimitsOutcome describeCenInterRegionBandwidthLimits(const Model::DescribeCenInterRegionBandwidthLimitsRequest &request)const;
|
||||
void describeCenInterRegionBandwidthLimitsAsync(const Model::DescribeCenInterRegionBandwidthLimitsRequest& request, const DescribeCenInterRegionBandwidthLimitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenInterRegionBandwidthLimitsOutcomeCallable describeCenInterRegionBandwidthLimitsCallable(const Model::DescribeCenInterRegionBandwidthLimitsRequest& request) const;
|
||||
UnassociateCenBandwidthPackageOutcome unassociateCenBandwidthPackage(const Model::UnassociateCenBandwidthPackageRequest &request)const;
|
||||
void unassociateCenBandwidthPackageAsync(const Model::UnassociateCenBandwidthPackageRequest& request, const UnassociateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnassociateCenBandwidthPackageOutcomeCallable unassociateCenBandwidthPackageCallable(const Model::UnassociateCenBandwidthPackageRequest& request) const;
|
||||
DescribeChildInstanceRegionsOutcome describeChildInstanceRegions(const Model::DescribeChildInstanceRegionsRequest &request)const;
|
||||
void describeChildInstanceRegionsAsync(const Model::DescribeChildInstanceRegionsRequest& request, const DescribeChildInstanceRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeChildInstanceRegionsOutcomeCallable describeChildInstanceRegionsCallable(const Model::DescribeChildInstanceRegionsRequest& request) const;
|
||||
DetachCenChildInstanceOutcome detachCenChildInstance(const Model::DetachCenChildInstanceRequest &request)const;
|
||||
void detachCenChildInstanceAsync(const Model::DetachCenChildInstanceRequest& request, const DetachCenChildInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachCenChildInstanceOutcomeCallable detachCenChildInstanceCallable(const Model::DetachCenChildInstanceRequest& request) const;
|
||||
AttachCenChildInstanceOutcome attachCenChildInstance(const Model::AttachCenChildInstanceRequest &request)const;
|
||||
void attachCenChildInstanceAsync(const Model::AttachCenChildInstanceRequest& request, const AttachCenChildInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachCenChildInstanceOutcomeCallable attachCenChildInstanceCallable(const Model::AttachCenChildInstanceRequest& request) const;
|
||||
SetCenInterRegionBandwidthLimitOutcome setCenInterRegionBandwidthLimit(const Model::SetCenInterRegionBandwidthLimitRequest &request)const;
|
||||
void setCenInterRegionBandwidthLimitAsync(const Model::SetCenInterRegionBandwidthLimitRequest& request, const SetCenInterRegionBandwidthLimitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetCenInterRegionBandwidthLimitOutcomeCallable setCenInterRegionBandwidthLimitCallable(const Model::SetCenInterRegionBandwidthLimitRequest& request) const;
|
||||
DeleteCenBandwidthPackageOutcome deleteCenBandwidthPackage(const Model::DeleteCenBandwidthPackageRequest &request)const;
|
||||
void deleteCenBandwidthPackageAsync(const Model::DeleteCenBandwidthPackageRequest& request, const DeleteCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenBandwidthPackageOutcomeCallable deleteCenBandwidthPackageCallable(const Model::DeleteCenBandwidthPackageRequest& request) const;
|
||||
ModifyCenAttributeOutcome modifyCenAttribute(const Model::ModifyCenAttributeRequest &request)const;
|
||||
void modifyCenAttributeAsync(const Model::ModifyCenAttributeRequest& request, const ModifyCenAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyCenAttributeOutcomeCallable modifyCenAttributeCallable(const Model::ModifyCenAttributeRequest& request) const;
|
||||
DescribeGeographicRegionMembershipOutcome describeGeographicRegionMembership(const Model::DescribeGeographicRegionMembershipRequest &request)const;
|
||||
void describeGeographicRegionMembershipAsync(const Model::DescribeGeographicRegionMembershipRequest& request, const DescribeGeographicRegionMembershipAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGeographicRegionMembershipOutcomeCallable describeGeographicRegionMembershipCallable(const Model::DescribeGeographicRegionMembershipRequest& request) const;
|
||||
DescribeRouteServicesInCenOutcome describeRouteServicesInCen(const Model::DescribeRouteServicesInCenRequest &request)const;
|
||||
void describeRouteServicesInCenAsync(const Model::DescribeRouteServicesInCenRequest& request, const DescribeRouteServicesInCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRouteServicesInCenOutcomeCallable describeRouteServicesInCenCallable(const Model::DescribeRouteServicesInCenRequest& request) const;
|
||||
DescribeRouteConflictOutcome describeRouteConflict(const Model::DescribeRouteConflictRequest &request)const;
|
||||
void describeRouteConflictAsync(const Model::DescribeRouteConflictRequest& request, const DescribeRouteConflictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRouteConflictOutcomeCallable describeRouteConflictCallable(const Model::DescribeRouteConflictRequest& request) const;
|
||||
DescribeCenRegionDomainRouteEntriesOutcome describeCenRegionDomainRouteEntries(const Model::DescribeCenRegionDomainRouteEntriesRequest &request)const;
|
||||
void describeCenRegionDomainRouteEntriesAsync(const Model::DescribeCenRegionDomainRouteEntriesRequest& request, const DescribeCenRegionDomainRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenRegionDomainRouteEntriesOutcomeCallable describeCenRegionDomainRouteEntriesCallable(const Model::DescribeCenRegionDomainRouteEntriesRequest& request) const;
|
||||
DeleteRouteServiceInCenOutcome deleteRouteServiceInCen(const Model::DeleteRouteServiceInCenRequest &request)const;
|
||||
void deleteRouteServiceInCenAsync(const Model::DeleteRouteServiceInCenRequest& request, const DeleteRouteServiceInCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRouteServiceInCenOutcomeCallable deleteRouteServiceInCenCallable(const Model::DeleteRouteServiceInCenRequest& request) const;
|
||||
DescribeCenAttachedChildInstancesOutcome describeCenAttachedChildInstances(const Model::DescribeCenAttachedChildInstancesRequest &request)const;
|
||||
void describeCenAttachedChildInstancesAsync(const Model::DescribeCenAttachedChildInstancesRequest& request, const DescribeCenAttachedChildInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenAttachedChildInstancesOutcomeCallable describeCenAttachedChildInstancesCallable(const Model::DescribeCenAttachedChildInstancesRequest& request) const;
|
||||
DescribeCenAttachedChildInstanceAttributeOutcome describeCenAttachedChildInstanceAttribute(const Model::DescribeCenAttachedChildInstanceAttributeRequest &request)const;
|
||||
void describeCenAttachedChildInstanceAttributeAsync(const Model::DescribeCenAttachedChildInstanceAttributeRequest& request, const DescribeCenAttachedChildInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenAttachedChildInstanceAttributeOutcomeCallable describeCenAttachedChildInstanceAttributeCallable(const Model::DescribeCenAttachedChildInstanceAttributeRequest& request) const;
|
||||
ModifyCenBandwidthPackageSpecOutcome modifyCenBandwidthPackageSpec(const Model::ModifyCenBandwidthPackageSpecRequest &request)const;
|
||||
void modifyCenBandwidthPackageSpecAsync(const Model::ModifyCenBandwidthPackageSpecRequest& request, const ModifyCenBandwidthPackageSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyCenBandwidthPackageSpecOutcomeCallable modifyCenBandwidthPackageSpecCallable(const Model::ModifyCenBandwidthPackageSpecRequest& request) const;
|
||||
DescribeCenBandwidthPackagesOutcome describeCenBandwidthPackages(const Model::DescribeCenBandwidthPackagesRequest &request)const;
|
||||
void describeCenBandwidthPackagesAsync(const Model::DescribeCenBandwidthPackagesRequest& request, const DescribeCenBandwidthPackagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenBandwidthPackagesOutcomeCallable describeCenBandwidthPackagesCallable(const Model::DescribeCenBandwidthPackagesRequest& request) const;
|
||||
DescribeCenGeographicSpanRemainingBandwidthOutcome describeCenGeographicSpanRemainingBandwidth(const Model::DescribeCenGeographicSpanRemainingBandwidthRequest &request)const;
|
||||
void describeCenGeographicSpanRemainingBandwidthAsync(const Model::DescribeCenGeographicSpanRemainingBandwidthRequest& request, const DescribeCenGeographicSpanRemainingBandwidthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCenGeographicSpanRemainingBandwidthOutcomeCallable describeCenGeographicSpanRemainingBandwidthCallable(const Model::DescribeCenGeographicSpanRemainingBandwidthRequest& request) const;
|
||||
PublishRouteEntriesOutcome publishRouteEntries(const Model::PublishRouteEntriesRequest &request)const;
|
||||
void publishRouteEntriesAsync(const Model::PublishRouteEntriesRequest& request, const PublishRouteEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishRouteEntriesOutcomeCallable publishRouteEntriesCallable(const Model::PublishRouteEntriesRequest& request) const;
|
||||
AssociateCenBandwidthPackageOutcome associateCenBandwidthPackage(const Model::AssociateCenBandwidthPackageRequest &request)const;
|
||||
void associateCenBandwidthPackageAsync(const Model::AssociateCenBandwidthPackageRequest& request, const AssociateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssociateCenBandwidthPackageOutcomeCallable associateCenBandwidthPackageCallable(const Model::AssociateCenBandwidthPackageRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CBN_CBNCLIENT_H_
|
||||
32
cbn/include/alibabacloud/cbn/CbnExport.h
Normal file
32
cbn/include/alibabacloud/cbn/CbnExport.h
Normal file
@@ -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_CBN_CBNEXPORT_H_
|
||||
#define ALIBABACLOUD_CBN_CBNEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CBN_LIBRARY)
|
||||
# define ALIBABACLOUD_CBN_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CBN_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CBN_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CBN_CBNEXPORT_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_CBN_MODEL_ASSOCIATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ASSOCIATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AssociateCenBandwidthPackageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssociateCenBandwidthPackageRequest();
|
||||
~AssociateCenBandwidthPackageRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ASSOCIATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ASSOCIATECENBANDWIDTHPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ASSOCIATECENBANDWIDTHPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AssociateCenBandwidthPackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AssociateCenBandwidthPackageResult();
|
||||
explicit AssociateCenBandwidthPackageResult(const std::string &payload);
|
||||
~AssociateCenBandwidthPackageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ASSOCIATECENBANDWIDTHPACKAGERESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ATTACHCENCHILDINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ATTACHCENCHILDINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AttachCenChildInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AttachCenChildInstanceRequest();
|
||||
~AttachCenChildInstanceRequest();
|
||||
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
long getChildInstanceOwnerId()const;
|
||||
void setChildInstanceOwnerId(long childInstanceOwnerId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
std::string childInstanceId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
long childInstanceOwnerId_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ATTACHCENCHILDINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ATTACHCENCHILDINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ATTACHCENCHILDINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT AttachCenChildInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachCenChildInstanceResult();
|
||||
explicit AttachCenChildInstanceResult(const std::string &payload);
|
||||
~AttachCenChildInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ATTACHCENCHILDINSTANCERESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenBandwidthPackageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCenBandwidthPackageRequest();
|
||||
~CreateCenBandwidthPackageRequest();
|
||||
|
||||
std::string getGeographicRegionBId()const;
|
||||
void setGeographicRegionBId(const std::string& geographicRegionBId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPeriod()const;
|
||||
void setPeriod(int period);
|
||||
std::string getGeographicRegionAId()const;
|
||||
void setGeographicRegionAId(const std::string& geographicRegionAId);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getBandwidth()const;
|
||||
void setBandwidth(int bandwidth);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getBandwidthPackageChargeType()const;
|
||||
void setBandwidthPackageChargeType(const std::string& bandwidthPackageChargeType);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
std::string geographicRegionBId_;
|
||||
long resourceOwnerId_;
|
||||
int period_;
|
||||
std::string geographicRegionAId_;
|
||||
bool autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
std::string description_;
|
||||
long ownerId_;
|
||||
std::string bandwidthPackageChargeType_;
|
||||
std::string name_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENBANDWIDTHPACKAGEREQUEST_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_CBN_MODEL_CREATECENBANDWIDTHPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENBANDWIDTHPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenBandwidthPackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenBandwidthPackageResult();
|
||||
explicit CreateCenBandwidthPackageResult(const std::string &payload);
|
||||
~CreateCenBandwidthPackageResult();
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
std::string getCenBandwidthPackageOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string cenBandwidthPackageId_;
|
||||
std::string cenBandwidthPackageOrderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENBANDWIDTHPACKAGERESULT_H_
|
||||
69
cbn/include/alibabacloud/cbn/model/CreateCenRequest.h
Normal file
69
cbn/include/alibabacloud/cbn/model/CreateCenRequest.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCenRequest();
|
||||
~CreateCenRequest();
|
||||
|
||||
std::string getProtectionLevel()const;
|
||||
void setProtectionLevel(const std::string& protectionLevel);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string protectionLevel_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENREQUEST_H_
|
||||
51
cbn/include/alibabacloud/cbn/model/CreateCenResult.h
Normal file
51
cbn/include/alibabacloud/cbn/model/CreateCenResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_CREATECENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenResult();
|
||||
explicit CreateCenResult(const std::string &payload);
|
||||
~CreateCenResult();
|
||||
std::string getCenId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string cenId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenBandwidthPackageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenBandwidthPackageRequest();
|
||||
~DeleteCenBandwidthPackageRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENBANDWIDTHPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENBANDWIDTHPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenBandwidthPackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCenBandwidthPackageResult();
|
||||
explicit DeleteCenBandwidthPackageResult(const std::string &payload);
|
||||
~DeleteCenBandwidthPackageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENBANDWIDTHPACKAGERESULT_H_
|
||||
60
cbn/include/alibabacloud/cbn/model/DeleteCenRequest.h
Normal file
60
cbn/include/alibabacloud/cbn/model/DeleteCenRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenRequest();
|
||||
~DeleteCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENREQUEST_H_
|
||||
49
cbn/include/alibabacloud/cbn/model/DeleteCenResult.h
Normal file
49
cbn/include/alibabacloud/cbn/model/DeleteCenResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETECENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCenResult();
|
||||
explicit DeleteCenResult(const std::string &payload);
|
||||
~DeleteCenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETEROUTESERVICEINCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETEROUTESERVICEINCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteRouteServiceInCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteRouteServiceInCenRequest();
|
||||
~DeleteRouteServiceInCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getHost()const;
|
||||
void setHost(const std::string& host);
|
||||
std::string getHostRegionId()const;
|
||||
void setHostRegionId(const std::string& hostRegionId);
|
||||
std::string getAccessRegionId()const;
|
||||
void setAccessRegionId(const std::string& accessRegionId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
std::string host_;
|
||||
std::string hostRegionId_;
|
||||
std::string accessRegionId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETEROUTESERVICEINCENREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DELETEROUTESERVICEINCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETEROUTESERVICEINCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteRouteServiceInCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRouteServiceInCenResult();
|
||||
explicit DeleteRouteServiceInCenResult(const std::string &payload);
|
||||
~DeleteRouteServiceInCenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETEROUTESERVICEINCENRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenAttachedChildInstanceAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenAttachedChildInstanceAttributeRequest();
|
||||
~DescribeCenAttachedChildInstanceAttributeRequest();
|
||||
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
std::string childInstanceId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCEATTRIBUTEREQUEST_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_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCEATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCEATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenAttachedChildInstanceAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeResult();
|
||||
explicit DescribeCenAttachedChildInstanceAttributeResult(const std::string &payload);
|
||||
~DescribeCenAttachedChildInstanceAttributeResult();
|
||||
std::string getStatus()const;
|
||||
std::string getChildInstanceType()const;
|
||||
std::string getCenId()const;
|
||||
std::string getChildInstanceAttachTime()const;
|
||||
long getChildInstanceOwnerId()const;
|
||||
std::string getChildInstanceName()const;
|
||||
std::string getChildInstanceId()const;
|
||||
std::string getChildInstanceRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string childInstanceType_;
|
||||
std::string cenId_;
|
||||
std::string childInstanceAttachTime_;
|
||||
long childInstanceOwnerId_;
|
||||
std::string childInstanceName_;
|
||||
std::string childInstanceId_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCEATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenAttachedChildInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenAttachedChildInstancesRequest();
|
||||
~DescribeCenAttachedChildInstancesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
int pageNumber_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCESREQUEST_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_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenAttachedChildInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChildInstance
|
||||
{
|
||||
std::string status;
|
||||
std::string childInstanceType;
|
||||
std::string cenId;
|
||||
std::string childInstanceAttachTime;
|
||||
long childInstanceOwnerId;
|
||||
std::string childInstanceId;
|
||||
std::string childInstanceRegionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenAttachedChildInstancesResult();
|
||||
explicit DescribeCenAttachedChildInstancesResult(const std::string &payload);
|
||||
~DescribeCenAttachedChildInstancesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<ChildInstance> getChildInstances()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<ChildInstance> childInstances_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENATTACHEDCHILDINSTANCESRESULT_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENBANDWIDTHPACKAGESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENBANDWIDTHPACKAGESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenBandwidthPackagesRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeCenBandwidthPackagesRequest();
|
||||
~DescribeCenBandwidthPackagesRequest();
|
||||
|
||||
std::vector<Filter> getFilter()const;
|
||||
void setFilter(const std::vector<Filter>& filter);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
bool getIsOrKey()const;
|
||||
void setIsOrKey(bool isOrKey);
|
||||
|
||||
private:
|
||||
std::vector<Filter> filter_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
bool isOrKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENBANDWIDTHPACKAGESREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENBANDWIDTHPACKAGESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENBANDWIDTHPACKAGESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenBandwidthPackagesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CenBandwidthPackage
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string geographicSpanId;
|
||||
std::string geographicRegionBId;
|
||||
std::string geographicRegionAId;
|
||||
bool isCrossBorder;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string bandwidthPackageChargeType;
|
||||
long bandwidth;
|
||||
std::string expiredTime;
|
||||
std::string creationTime;
|
||||
std::vector<std::string> cenIds;
|
||||
std::string cenBandwidthPackageId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenBandwidthPackagesResult();
|
||||
explicit DescribeCenBandwidthPackagesResult(const std::string &payload);
|
||||
~DescribeCenBandwidthPackagesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<CenBandwidthPackage> getCenBandwidthPackages()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<CenBandwidthPackage> cenBandwidthPackages_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENBANDWIDTHPACKAGESRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANREMAININGBANDWIDTHREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANREMAININGBANDWIDTHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenGeographicSpanRemainingBandwidthRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenGeographicSpanRemainingBandwidthRequest();
|
||||
~DescribeCenGeographicSpanRemainingBandwidthRequest();
|
||||
|
||||
std::string getGeographicRegionBId()const;
|
||||
void setGeographicRegionBId(const std::string& geographicRegionBId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getGeographicRegionAId()const;
|
||||
void setGeographicRegionAId(const std::string& geographicRegionAId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string geographicRegionBId_;
|
||||
long resourceOwnerId_;
|
||||
std::string geographicRegionAId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANREMAININGBANDWIDTHREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANREMAININGBANDWIDTHRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANREMAININGBANDWIDTHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenGeographicSpanRemainingBandwidthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeCenGeographicSpanRemainingBandwidthResult();
|
||||
explicit DescribeCenGeographicSpanRemainingBandwidthResult(const std::string &payload);
|
||||
~DescribeCenGeographicSpanRemainingBandwidthResult();
|
||||
long getRemainingBandwidth()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long remainingBandwidth_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANREMAININGBANDWIDTHRESULT_H_
|
||||
@@ -14,29 +14,31 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_VPC_MODEL_DESCRIBEROUTERINTERFACESFORGLOBALREQUEST_H_
|
||||
#define ALIBABACLOUD_VPC_MODEL_DESCRIBEROUTERINTERFACESFORGLOBALREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANSREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/vpc/VpcExport.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Vpc
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_VPC_EXPORT DescribeRouterInterfacesForGlobalRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenGeographicSpansRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRouterInterfacesForGlobalRequest();
|
||||
~DescribeRouterInterfacesForGlobalRequest();
|
||||
DescribeCenGeographicSpansRequest();
|
||||
~DescribeCenGeographicSpansRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getGeographicSpanId()const;
|
||||
void setGeographicSpanId(const std::string& geographicSpanId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -47,20 +49,18 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string geographicSpanId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VPC_MODEL_DESCRIBEROUTERINTERFACESFORGLOBALREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANSREQUEST_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_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANSRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenGeographicSpansResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GeographicSpanModel
|
||||
{
|
||||
std::string localGeoRegionId;
|
||||
std::string geographicSpanId;
|
||||
std::string oppositeGeoRegionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenGeographicSpansResult();
|
||||
explicit DescribeCenGeographicSpansResult(const std::string &payload);
|
||||
~DescribeCenGeographicSpansResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<GeographicSpanModel> getGeographicSpanModels()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<GeographicSpanModel> geographicSpanModels_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENGEOGRAPHICSPANSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENINTERREGIONBANDWIDTHLIMITSREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENINTERREGIONBANDWIDTHLIMITSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenInterRegionBandwidthLimitsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenInterRegionBandwidthLimitsRequest();
|
||||
~DescribeCenInterRegionBandwidthLimitsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENINTERREGIONBANDWIDTHLIMITSREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENINTERREGIONBANDWIDTHLIMITSRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENINTERREGIONBANDWIDTHLIMITSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenInterRegionBandwidthLimitsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CenInterRegionBandwidthLimit
|
||||
{
|
||||
std::string status;
|
||||
std::string geographicSpanId;
|
||||
std::string oppositeRegionId;
|
||||
std::string cenId;
|
||||
long bandwidthLimit;
|
||||
std::string localRegionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenInterRegionBandwidthLimitsResult();
|
||||
explicit DescribeCenInterRegionBandwidthLimitsResult(const std::string &payload);
|
||||
~DescribeCenInterRegionBandwidthLimitsResult();
|
||||
std::vector<CenInterRegionBandwidthLimit> getCenInterRegionBandwidthLimits()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CenInterRegionBandwidthLimit> cenInterRegionBandwidthLimits_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENINTERREGIONBANDWIDTHLIMITSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENPRIVATEZONEROUTESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENPRIVATEZONEROUTESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenPrivateZoneRoutesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenPrivateZoneRoutesRequest();
|
||||
~DescribeCenPrivateZoneRoutesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getHostRegionId()const;
|
||||
void setHostRegionId(const std::string& hostRegionId);
|
||||
std::string getAccessRegionId()const;
|
||||
void setAccessRegionId(const std::string& accessRegionId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
int pageSize_;
|
||||
std::string hostRegionId_;
|
||||
std::string accessRegionId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENPRIVATEZONEROUTESREQUEST_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_CBN_MODEL_DESCRIBECENPRIVATEZONEROUTESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENPRIVATEZONEROUTESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenPrivateZoneRoutesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrivateZoneInfo
|
||||
{
|
||||
std::string status;
|
||||
std::string hostRegionId;
|
||||
std::string accessRegionId;
|
||||
std::string hostVpcId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenPrivateZoneRoutesResult();
|
||||
explicit DescribeCenPrivateZoneRoutesResult(const std::string &payload);
|
||||
~DescribeCenPrivateZoneRoutesResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<PrivateZoneInfo> getPrivateZoneInfos()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getCenId()const;
|
||||
std::string getPrivateZoneDnsServers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<PrivateZoneInfo> privateZoneInfos_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string cenId_;
|
||||
std::string privateZoneDnsServers_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENPRIVATEZONEROUTESRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENREGIONDOMAINROUTEENTRIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENREGIONDOMAINROUTEENTRIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenRegionDomainRouteEntriesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenRegionDomainRouteEntriesRequest();
|
||||
~DescribeCenRegionDomainRouteEntriesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getCenRegionId()const;
|
||||
void setCenRegionId(const std::string& cenRegionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
std::string cenRegionId_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENREGIONDOMAINROUTEENTRIESREQUEST_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_CBN_MODEL_DESCRIBECENREGIONDOMAINROUTEENTRIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENREGIONDOMAINROUTEENTRIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenRegionDomainRouteEntriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CenRouteEntry
|
||||
{
|
||||
std::string nextHopType;
|
||||
std::string nextHopRegionId;
|
||||
std::string type;
|
||||
std::string destinationCidrBlock;
|
||||
std::string nextHopInstanceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenRegionDomainRouteEntriesResult();
|
||||
explicit DescribeCenRegionDomainRouteEntriesResult(const std::string &payload);
|
||||
~DescribeCenRegionDomainRouteEntriesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<CenRouteEntry> getCenRouteEntries()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<CenRouteEntry> cenRouteEntries_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENREGIONDOMAINROUTEENTRIESRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENVBRHEALTHCHECKREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENVBRHEALTHCHECKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenVbrHealthCheckRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCenVbrHealthCheckRequest();
|
||||
~DescribeCenVbrHealthCheckRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
long getVbrInstanceOwnerId()const;
|
||||
void setVbrInstanceOwnerId(long vbrInstanceOwnerId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getVbrInstanceId()const;
|
||||
void setVbrInstanceId(const std::string& vbrInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVbrInstanceRegionId()const;
|
||||
void setVbrInstanceRegionId(const std::string& vbrInstanceRegionId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
long vbrInstanceOwnerId_;
|
||||
std::string ownerAccount_;
|
||||
std::string vbrInstanceId_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
std::string vbrInstanceRegionId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENVBRHEALTHCHECKREQUEST_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_CBN_MODEL_DESCRIBECENVBRHEALTHCHECKRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENVBRHEALTHCHECKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenVbrHealthCheckResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VbrHealthCheck
|
||||
{
|
||||
std::string linkStatus;
|
||||
std::string vbrInstanceId;
|
||||
std::string healthCheckSourceIp;
|
||||
std::string cenId;
|
||||
long packetLoss;
|
||||
std::string healthCheckTargetIp;
|
||||
long delay;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenVbrHealthCheckResult();
|
||||
explicit DescribeCenVbrHealthCheckResult(const std::string &payload);
|
||||
~DescribeCenVbrHealthCheckResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<VbrHealthCheck> getVbrHealthChecks()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<VbrHealthCheck> vbrHealthChecks_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENVBRHEALTHCHECKRESULT_H_
|
||||
79
cbn/include/alibabacloud/cbn/model/DescribeCensRequest.h
Normal file
79
cbn/include/alibabacloud/cbn/model/DescribeCensRequest.h
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENSREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCensRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
std::string key;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeCensRequest();
|
||||
~DescribeCensRequest();
|
||||
|
||||
std::vector<Filter> getFilter()const;
|
||||
void setFilter(const std::vector<Filter>& filter);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::vector<Filter> filter_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENSREQUEST_H_
|
||||
73
cbn/include/alibabacloud/cbn/model/DescribeCensResult.h
Normal file
73
cbn/include/alibabacloud/cbn/model/DescribeCensResult.h
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECENSRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECENSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCensResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Cen
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::string protectionLevel;
|
||||
std::string description;
|
||||
std::string cenId;
|
||||
std::string creationTime;
|
||||
std::vector<std::string> cenBandwidthPackageIds;
|
||||
std::vector<Cen::Tag> tags;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeCensResult();
|
||||
explicit DescribeCensResult(const std::string &payload);
|
||||
~DescribeCensResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Cen> getCens()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Cen> cens_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECENSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBECHILDINSTANCEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECHILDINSTANCEREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeChildInstanceRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeChildInstanceRegionsRequest();
|
||||
~DescribeChildInstanceRegionsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECHILDINSTANCEREGIONSREQUEST_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_CBN_MODEL_DESCRIBECHILDINSTANCEREGIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBECHILDINSTANCEREGIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeChildInstanceRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Region
|
||||
{
|
||||
std::string regionId;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
DescribeChildInstanceRegionsResult();
|
||||
explicit DescribeChildInstanceRegionsResult(const std::string &payload);
|
||||
~DescribeChildInstanceRegionsResult();
|
||||
std::vector<Region> getRegions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Region> regions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBECHILDINSTANCEREGIONSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBEGEOGRAPHICREGIONMEMBERSHIPREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEGEOGRAPHICREGIONMEMBERSHIPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeGeographicRegionMembershipRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeGeographicRegionMembershipRequest();
|
||||
~DescribeGeographicRegionMembershipRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getGeographicRegionId()const;
|
||||
void setGeographicRegionId(const std::string& geographicRegionId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
std::string geographicRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEGEOGRAPHICREGIONMEMBERSHIPREQUEST_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_CBN_MODEL_DESCRIBEGEOGRAPHICREGIONMEMBERSHIPRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEGEOGRAPHICREGIONMEMBERSHIPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeGeographicRegionMembershipResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RegionId
|
||||
{
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeGeographicRegionMembershipResult();
|
||||
explicit DescribeGeographicRegionMembershipResult(const std::string &payload);
|
||||
~DescribeGeographicRegionMembershipResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<RegionId> getRegionIds()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<RegionId> regionIds_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEGEOGRAPHICREGIONMEMBERSHIPRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBEGRANTRULESTOCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEGRANTRULESTOCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeGrantRulesToCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeGrantRulesToCenRequest();
|
||||
~DescribeGrantRulesToCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEGRANTRULESTOCENREQUEST_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_CBN_MODEL_DESCRIBEGRANTRULESTOCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEGRANTRULESTOCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeGrantRulesToCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GrantRule
|
||||
{
|
||||
std::string childInstanceType;
|
||||
std::string cenId;
|
||||
long childInstanceOwnerId;
|
||||
std::string childInstanceId;
|
||||
std::string childInstanceRegionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeGrantRulesToCenResult();
|
||||
explicit DescribeGrantRulesToCenResult(const std::string &payload);
|
||||
~DescribeGrantRulesToCenResult();
|
||||
std::vector<GrantRule> getGrantRules()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<GrantRule> grantRules_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEGRANTRULESTOCENRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBEPUBLISHEDROUTEENTRIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEPUBLISHEDROUTEENTRIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribePublishedRouteEntriesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePublishedRouteEntriesRequest();
|
||||
~DescribePublishedRouteEntriesRequest();
|
||||
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceRouteTableId()const;
|
||||
void setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
std::string childInstanceId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string destinationCidrBlock_;
|
||||
int pageSize_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceRouteTableId_;
|
||||
int pageNumber_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEPUBLISHEDROUTEENTRIESREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBEPUBLISHEDROUTEENTRIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEPUBLISHEDROUTEENTRIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribePublishedRouteEntriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PublishedRouteEntry
|
||||
{
|
||||
struct Conflict
|
||||
{
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string destinationCidrBlock;
|
||||
std::string regionId;
|
||||
std::string instanceType;
|
||||
};
|
||||
std::string nextHopType;
|
||||
std::string routeType;
|
||||
std::string nextHopId;
|
||||
std::vector<PublishedRouteEntry::Conflict> conflicts;
|
||||
std::string destinationCidrBlock;
|
||||
std::string childInstanceRouteTableId;
|
||||
bool operationalMode;
|
||||
std::string publishStatus;
|
||||
};
|
||||
|
||||
|
||||
DescribePublishedRouteEntriesResult();
|
||||
explicit DescribePublishedRouteEntriesResult(const std::string &payload);
|
||||
~DescribePublishedRouteEntriesResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<PublishedRouteEntry> getPublishedRouteEntries()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<PublishedRouteEntry> publishedRouteEntries_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEPUBLISHEDROUTEENTRIESRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTECONFLICTREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTECONFLICTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeRouteConflictRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRouteConflictRequest();
|
||||
~DescribeRouteConflictRequest();
|
||||
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceRouteTableId()const;
|
||||
void setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
std::string childInstanceId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceRouteTableId_;
|
||||
int pageNumber_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTECONFLICTREQUEST_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_CBN_MODEL_DESCRIBEROUTECONFLICTRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTECONFLICTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeRouteConflictResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RouteConflict
|
||||
{
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string destinationCidrBlock;
|
||||
std::string regionId;
|
||||
std::string instanceType;
|
||||
};
|
||||
|
||||
|
||||
DescribeRouteConflictResult();
|
||||
explicit DescribeRouteConflictResult(const std::string &payload);
|
||||
~DescribeRouteConflictResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<RouteConflict> getRouteConflicts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<RouteConflict> routeConflicts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTECONFLICTRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTESERVICESINCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTESERVICESINCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeRouteServicesInCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRouteServicesInCenRequest();
|
||||
~DescribeRouteServicesInCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getHost()const;
|
||||
void setHost(const std::string& host);
|
||||
std::string getHostRegionId()const;
|
||||
void setHostRegionId(const std::string& hostRegionId);
|
||||
std::string getAccessRegionId()const;
|
||||
void setAccessRegionId(const std::string& accessRegionId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
int pageSize_;
|
||||
std::string host_;
|
||||
std::string hostRegionId_;
|
||||
std::string accessRegionId_;
|
||||
long ownerId_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTESERVICESINCENREQUEST_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_CBN_MODEL_DESCRIBEROUTESERVICESINCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTESERVICESINCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeRouteServicesInCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RouteServiceEntry
|
||||
{
|
||||
std::string status;
|
||||
std::string hostRegionId;
|
||||
std::string cenId;
|
||||
std::string host;
|
||||
std::string accessRegionId;
|
||||
std::string updateInterval;
|
||||
std::vector<std::string> cidrs;
|
||||
};
|
||||
|
||||
|
||||
DescribeRouteServicesInCenResult();
|
||||
explicit DescribeRouteServicesInCenResult(const std::string &payload);
|
||||
~DescribeRouteServicesInCenResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<RouteServiceEntry> getRouteServiceEntries()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<RouteServiceEntry> routeServiceEntries_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DESCRIBEROUTESERVICESINCENRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DETACHCENCHILDINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DETACHCENCHILDINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DetachCenChildInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetachCenChildInstanceRequest();
|
||||
~DetachCenChildInstanceRequest();
|
||||
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getCenOwnerId()const;
|
||||
void setCenOwnerId(long cenOwnerId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
long getChildInstanceOwnerId()const;
|
||||
void setChildInstanceOwnerId(long childInstanceOwnerId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
std::string childInstanceId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
long cenOwnerId_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
long childInstanceOwnerId_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DETACHCENCHILDINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DETACHCENCHILDINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DETACHCENCHILDINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DetachCenChildInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachCenChildInstanceResult();
|
||||
explicit DetachCenChildInstanceResult(const std::string &payload);
|
||||
~DetachCenChildInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DETACHCENCHILDINSTANCERESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DISABLECENVBRHEALTHCHECKREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DISABLECENVBRHEALTHCHECKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DisableCenVbrHealthCheckRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableCenVbrHealthCheckRequest();
|
||||
~DisableCenVbrHealthCheckRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
long getVbrInstanceOwnerId()const;
|
||||
void setVbrInstanceOwnerId(long vbrInstanceOwnerId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getVbrInstanceId()const;
|
||||
void setVbrInstanceId(const std::string& vbrInstanceId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVbrInstanceRegionId()const;
|
||||
void setVbrInstanceRegionId(const std::string& vbrInstanceRegionId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
long vbrInstanceOwnerId_;
|
||||
std::string ownerAccount_;
|
||||
std::string vbrInstanceId_;
|
||||
long ownerId_;
|
||||
std::string vbrInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DISABLECENVBRHEALTHCHECKREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_DISABLECENVBRHEALTHCHECKRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DISABLECENVBRHEALTHCHECKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DisableCenVbrHealthCheckResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableCenVbrHealthCheckResult();
|
||||
explicit DisableCenVbrHealthCheckResult(const std::string &payload);
|
||||
~DisableCenVbrHealthCheckResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DISABLECENVBRHEALTHCHECKRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ENABLECENVBRHEALTHCHECKREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ENABLECENVBRHEALTHCHECKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT EnableCenVbrHealthCheckRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableCenVbrHealthCheckRequest();
|
||||
~EnableCenVbrHealthCheckRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getHealthCheckSourceIp()const;
|
||||
void setHealthCheckSourceIp(const std::string& healthCheckSourceIp);
|
||||
long getVbrInstanceOwnerId()const;
|
||||
void setVbrInstanceOwnerId(long vbrInstanceOwnerId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getVbrInstanceId()const;
|
||||
void setVbrInstanceId(const std::string& vbrInstanceId);
|
||||
std::string getHealthCheckTargetIp()const;
|
||||
void setHealthCheckTargetIp(const std::string& healthCheckTargetIp);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVbrInstanceRegionId()const;
|
||||
void setVbrInstanceRegionId(const std::string& vbrInstanceRegionId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string healthCheckSourceIp_;
|
||||
long vbrInstanceOwnerId_;
|
||||
std::string ownerAccount_;
|
||||
std::string vbrInstanceId_;
|
||||
std::string healthCheckTargetIp_;
|
||||
long ownerId_;
|
||||
std::string vbrInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ENABLECENVBRHEALTHCHECKREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ENABLECENVBRHEALTHCHECKRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ENABLECENVBRHEALTHCHECKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT EnableCenVbrHealthCheckResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableCenVbrHealthCheckResult();
|
||||
explicit EnableCenVbrHealthCheckResult(const std::string &payload);
|
||||
~EnableCenVbrHealthCheckResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ENABLECENVBRHEALTHCHECKRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MODIFYCENATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MODIFYCENATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ModifyCenAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyCenAttributeRequest();
|
||||
~ModifyCenAttributeRequest();
|
||||
|
||||
std::string getProtectionLevel()const;
|
||||
void setProtectionLevel(const std::string& protectionLevel);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string protectionLevel_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MODIFYCENATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MODIFYCENATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MODIFYCENATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ModifyCenAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyCenAttributeResult();
|
||||
explicit ModifyCenAttributeResult(const std::string &payload);
|
||||
~ModifyCenAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MODIFYCENATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ModifyCenBandwidthPackageAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyCenBandwidthPackageAttributeRequest();
|
||||
~ModifyCenBandwidthPackageAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
std::string ownerAccount_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGEATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGEATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGEATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ModifyCenBandwidthPackageAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyCenBandwidthPackageAttributeResult();
|
||||
explicit ModifyCenBandwidthPackageAttributeResult(const std::string &payload);
|
||||
~ModifyCenBandwidthPackageAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGEATTRIBUTERESULT_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_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ModifyCenBandwidthPackageSpecRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyCenBandwidthPackageSpecRequest();
|
||||
~ModifyCenBandwidthPackageSpecRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getBandwidth()const;
|
||||
void setBandwidth(int bandwidth);
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int bandwidth_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ModifyCenBandwidthPackageSpecResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyCenBandwidthPackageSpecResult();
|
||||
explicit ModifyCenBandwidthPackageSpecResult(const std::string &payload);
|
||||
~ModifyCenBandwidthPackageSpecResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_MODIFYCENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_PUBLISHROUTEENTRIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_PUBLISHROUTEENTRIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT PublishRouteEntriesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishRouteEntriesRequest();
|
||||
~PublishRouteEntriesRequest();
|
||||
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceRouteTableId()const;
|
||||
void setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
std::string childInstanceId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string destinationCidrBlock_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceRouteTableId_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_PUBLISHROUTEENTRIESREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_PUBLISHROUTEENTRIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_PUBLISHROUTEENTRIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT PublishRouteEntriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishRouteEntriesResult();
|
||||
explicit PublishRouteEntriesResult(const std::string &payload);
|
||||
~PublishRouteEntriesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_PUBLISHROUTEENTRIESRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_RESOLVEANDROUTESERVICEINCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_RESOLVEANDROUTESERVICEINCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ResolveAndRouteServiceInCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResolveAndRouteServiceInCenRequest();
|
||||
~ResolveAndRouteServiceInCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getHost()const;
|
||||
void setHost(const std::string& host);
|
||||
std::string getHostRegionId()const;
|
||||
void setHostRegionId(const std::string& hostRegionId);
|
||||
std::string getAccessRegionId()const;
|
||||
void setAccessRegionId(const std::string& accessRegionId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getUpdateInterval()const;
|
||||
void setUpdateInterval(long updateInterval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
std::string host_;
|
||||
std::string hostRegionId_;
|
||||
std::string accessRegionId_;
|
||||
long ownerId_;
|
||||
long updateInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_RESOLVEANDROUTESERVICEINCENREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_RESOLVEANDROUTESERVICEINCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_RESOLVEANDROUTESERVICEINCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT ResolveAndRouteServiceInCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResolveAndRouteServiceInCenResult();
|
||||
explicit ResolveAndRouteServiceInCenResult(const std::string &payload);
|
||||
~ResolveAndRouteServiceInCenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_RESOLVEANDROUTESERVICEINCENRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ROUTEPRIVATEZONEINCENTOVPCREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ROUTEPRIVATEZONEINCENTOVPCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT RoutePrivateZoneInCenToVpcRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RoutePrivateZoneInCenToVpcRequest();
|
||||
~RoutePrivateZoneInCenToVpcRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getHostRegionId()const;
|
||||
void setHostRegionId(const std::string& hostRegionId);
|
||||
std::string getAccessRegionId()const;
|
||||
void setAccessRegionId(const std::string& accessRegionId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getHostVpcId()const;
|
||||
void setHostVpcId(const std::string& hostVpcId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
std::string hostRegionId_;
|
||||
std::string accessRegionId_;
|
||||
long ownerId_;
|
||||
std::string hostVpcId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ROUTEPRIVATEZONEINCENTOVPCREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_ROUTEPRIVATEZONEINCENTOVPCRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_ROUTEPRIVATEZONEINCENTOVPCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT RoutePrivateZoneInCenToVpcResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RoutePrivateZoneInCenToVpcResult();
|
||||
explicit RoutePrivateZoneInCenToVpcResult(const std::string &payload);
|
||||
~RoutePrivateZoneInCenToVpcResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_ROUTEPRIVATEZONEINCENTOVPCRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_SETCENINTERREGIONBANDWIDTHLIMITREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_SETCENINTERREGIONBANDWIDTHLIMITREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT SetCenInterRegionBandwidthLimitRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetCenInterRegionBandwidthLimitRequest();
|
||||
~SetCenInterRegionBandwidthLimitRequest();
|
||||
|
||||
std::string getLocalRegionId()const;
|
||||
void setLocalRegionId(const std::string& localRegionId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getOppositeRegionId()const;
|
||||
void setOppositeRegionId(const std::string& oppositeRegionId);
|
||||
long getBandwidthLimit()const;
|
||||
void setBandwidthLimit(long bandwidthLimit);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string localRegionId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
std::string oppositeRegionId_;
|
||||
long bandwidthLimit_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_SETCENINTERREGIONBANDWIDTHLIMITREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_SETCENINTERREGIONBANDWIDTHLIMITRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_SETCENINTERREGIONBANDWIDTHLIMITRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT SetCenInterRegionBandwidthLimitResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetCenInterRegionBandwidthLimitResult();
|
||||
explicit SetCenInterRegionBandwidthLimitResult(const std::string &payload);
|
||||
~SetCenInterRegionBandwidthLimitResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_SETCENINTERREGIONBANDWIDTHLIMITRESULT_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_CBN_MODEL_UNASSOCIATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UNASSOCIATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UnassociateCenBandwidthPackageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnassociateCenBandwidthPackageRequest();
|
||||
~UnassociateCenBandwidthPackageRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UNASSOCIATECENBANDWIDTHPACKAGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UNASSOCIATECENBANDWIDTHPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UNASSOCIATECENBANDWIDTHPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UnassociateCenBandwidthPackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnassociateCenBandwidthPackageResult();
|
||||
explicit UnassociateCenBandwidthPackageResult(const std::string &payload);
|
||||
~UnassociateCenBandwidthPackageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UNASSOCIATECENBANDWIDTHPACKAGERESULT_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_CBN_MODEL_UNROUTEPRIVATEZONEINCENTOVPCREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UNROUTEPRIVATEZONEINCENTOVPCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UnroutePrivateZoneInCenToVpcRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnroutePrivateZoneInCenToVpcRequest();
|
||||
~UnroutePrivateZoneInCenToVpcRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getAccessRegionId()const;
|
||||
void setAccessRegionId(const std::string& accessRegionId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string ownerAccount_;
|
||||
std::string accessRegionId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UNROUTEPRIVATEZONEINCENTOVPCREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UNROUTEPRIVATEZONEINCENTOVPCRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UNROUTEPRIVATEZONEINCENTOVPCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UnroutePrivateZoneInCenToVpcResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnroutePrivateZoneInCenToVpcResult();
|
||||
explicit UnroutePrivateZoneInCenToVpcResult(const std::string &payload);
|
||||
~UnroutePrivateZoneInCenToVpcResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UNROUTEPRIVATEZONEINCENTOVPCRESULT_H_
|
||||
72
cbn/include/alibabacloud/cbn/model/UntagResourcesRequest.h
Normal file
72
cbn/include/alibabacloud/cbn/model/UntagResourcesRequest.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UntagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getTagOwnerUid()const;
|
||||
void setTagOwnerUid(long tagOwnerUid);
|
||||
std::string getTagOwnerBid()const;
|
||||
void setTagOwnerBid(const std::string& tagOwnerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<std::string> getTagKey()const;
|
||||
void setTagKey(const std::vector<std::string>& tagKey);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long tagOwnerUid_;
|
||||
std::string tagOwnerBid_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
49
cbn/include/alibabacloud/cbn/model/UntagResourcesResult.h
Normal file
49
cbn/include/alibabacloud/cbn/model/UntagResourcesResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT UntagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UntagResourcesResult();
|
||||
explicit UntagResourcesResult(const std::string &payload);
|
||||
~UntagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_WITHDRAWPUBLISHEDROUTEENTRIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_WITHDRAWPUBLISHEDROUTEENTRIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT WithdrawPublishedRouteEntriesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
WithdrawPublishedRouteEntriesRequest();
|
||||
~WithdrawPublishedRouteEntriesRequest();
|
||||
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceRouteTableId()const;
|
||||
void setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
|
||||
private:
|
||||
std::string childInstanceId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cenId_;
|
||||
std::string destinationCidrBlock_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceRouteTableId_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_WITHDRAWPUBLISHEDROUTEENTRIESREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CBN_MODEL_WITHDRAWPUBLISHEDROUTEENTRIESRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_WITHDRAWPUBLISHEDROUTEENTRIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT WithdrawPublishedRouteEntriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
WithdrawPublishedRouteEntriesResult();
|
||||
explicit WithdrawPublishedRouteEntriesResult(const std::string &payload);
|
||||
~WithdrawPublishedRouteEntriesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_WITHDRAWPUBLISHEDROUTEENTRIESRESULT_H_
|
||||
1385
cbn/src/CbnClient.cc
Normal file
1385
cbn/src/CbnClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
93
cbn/src/model/AssociateCenBandwidthPackageRequest.cc
Normal file
93
cbn/src/model/AssociateCenBandwidthPackageRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/AssociateCenBandwidthPackageRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::AssociateCenBandwidthPackageRequest;
|
||||
|
||||
AssociateCenBandwidthPackageRequest::AssociateCenBandwidthPackageRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "AssociateCenBandwidthPackage")
|
||||
{}
|
||||
|
||||
AssociateCenBandwidthPackageRequest::~AssociateCenBandwidthPackageRequest()
|
||||
{}
|
||||
|
||||
long AssociateCenBandwidthPackageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string AssociateCenBandwidthPackageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssociateCenBandwidthPackageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AssociateCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
45
cbn/src/model/AssociateCenBandwidthPackageResult.cc
Normal file
45
cbn/src/model/AssociateCenBandwidthPackageResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/AssociateCenBandwidthPackageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
AssociateCenBandwidthPackageResult::AssociateCenBandwidthPackageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AssociateCenBandwidthPackageResult::AssociateCenBandwidthPackageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AssociateCenBandwidthPackageResult::~AssociateCenBandwidthPackageResult()
|
||||
{}
|
||||
|
||||
void AssociateCenBandwidthPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
126
cbn/src/model/AttachCenChildInstanceRequest.cc
Normal file
126
cbn/src/model/AttachCenChildInstanceRequest.cc
Normal file
@@ -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 <alibabacloud/cbn/model/AttachCenChildInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::AttachCenChildInstanceRequest;
|
||||
|
||||
AttachCenChildInstanceRequest::AttachCenChildInstanceRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "AttachCenChildInstance")
|
||||
{}
|
||||
|
||||
AttachCenChildInstanceRequest::~AttachCenChildInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long AttachCenChildInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AttachCenChildInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setChildInstanceType(const std::string& childInstanceType)
|
||||
{
|
||||
childInstanceType_ = childInstanceType;
|
||||
setParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
long AttachCenChildInstanceRequest::getChildInstanceOwnerId()const
|
||||
{
|
||||
return childInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setChildInstanceOwnerId(long childInstanceOwnerId)
|
||||
{
|
||||
childInstanceOwnerId_ = childInstanceOwnerId;
|
||||
setParameter("ChildInstanceOwnerId", std::to_string(childInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachCenChildInstanceRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void AttachCenChildInstanceRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
45
cbn/src/model/AttachCenChildInstanceResult.cc
Normal file
45
cbn/src/model/AttachCenChildInstanceResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/AttachCenChildInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
AttachCenChildInstanceResult::AttachCenChildInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AttachCenChildInstanceResult::AttachCenChildInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AttachCenChildInstanceResult::~AttachCenChildInstanceResult()
|
||||
{}
|
||||
|
||||
void AttachCenChildInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
181
cbn/src/model/CreateCenBandwidthPackageRequest.cc
Normal file
181
cbn/src/model/CreateCenBandwidthPackageRequest.cc
Normal file
@@ -0,0 +1,181 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CreateCenBandwidthPackageRequest;
|
||||
|
||||
CreateCenBandwidthPackageRequest::CreateCenBandwidthPackageRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CreateCenBandwidthPackage")
|
||||
{}
|
||||
|
||||
CreateCenBandwidthPackageRequest::~CreateCenBandwidthPackageRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getGeographicRegionBId()const
|
||||
{
|
||||
return geographicRegionBId_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setGeographicRegionBId(const std::string& geographicRegionBId)
|
||||
{
|
||||
geographicRegionBId_ = geographicRegionBId;
|
||||
setParameter("GeographicRegionBId", geographicRegionBId);
|
||||
}
|
||||
|
||||
long CreateCenBandwidthPackageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int CreateCenBandwidthPackageRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getGeographicRegionAId()const
|
||||
{
|
||||
return geographicRegionAId_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setGeographicRegionAId(const std::string& geographicRegionAId)
|
||||
{
|
||||
geographicRegionAId_ = geographicRegionAId;
|
||||
setParameter("GeographicRegionAId", geographicRegionAId);
|
||||
}
|
||||
|
||||
bool CreateCenBandwidthPackageRequest::getAutoPay()const
|
||||
{
|
||||
return autoPay_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setAutoPay(bool autoPay)
|
||||
{
|
||||
autoPay_ = autoPay;
|
||||
setParameter("AutoPay", std::to_string(autoPay));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
int CreateCenBandwidthPackageRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setBandwidth(int bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setParameter("Bandwidth", std::to_string(bandwidth));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateCenBandwidthPackageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getBandwidthPackageChargeType()const
|
||||
{
|
||||
return bandwidthPackageChargeType_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setBandwidthPackageChargeType(const std::string& bandwidthPackageChargeType)
|
||||
{
|
||||
bandwidthPackageChargeType_ = bandwidthPackageChargeType;
|
||||
setParameter("BandwidthPackageChargeType", bandwidthPackageChargeType);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getPricingCycle()const
|
||||
{
|
||||
return pricingCycle_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setPricingCycle(const std::string& pricingCycle)
|
||||
{
|
||||
pricingCycle_ = pricingCycle;
|
||||
setParameter("PricingCycle", pricingCycle);
|
||||
}
|
||||
|
||||
59
cbn/src/model/CreateCenBandwidthPackageResult.cc
Normal file
59
cbn/src/model/CreateCenBandwidthPackageResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenBandwidthPackageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
CreateCenBandwidthPackageResult::CreateCenBandwidthPackageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCenBandwidthPackageResult::CreateCenBandwidthPackageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCenBandwidthPackageResult::~CreateCenBandwidthPackageResult()
|
||||
{}
|
||||
|
||||
void CreateCenBandwidthPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CenBandwidthPackageId"].isNull())
|
||||
cenBandwidthPackageId_ = value["CenBandwidthPackageId"].asString();
|
||||
if(!value["CenBandwidthPackageOrderId"].isNull())
|
||||
cenBandwidthPackageOrderId_ = value["CenBandwidthPackageOrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageResult::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageResult::getCenBandwidthPackageOrderId()const
|
||||
{
|
||||
return cenBandwidthPackageOrderId_;
|
||||
}
|
||||
|
||||
115
cbn/src/model/CreateCenRequest.cc
Normal file
115
cbn/src/model/CreateCenRequest.cc
Normal file
@@ -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 <alibabacloud/cbn/model/CreateCenRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CreateCenRequest;
|
||||
|
||||
CreateCenRequest::CreateCenRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CreateCen")
|
||||
{}
|
||||
|
||||
CreateCenRequest::~CreateCenRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCenRequest::getProtectionLevel()const
|
||||
{
|
||||
return protectionLevel_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setProtectionLevel(const std::string& protectionLevel)
|
||||
{
|
||||
protectionLevel_ = protectionLevel;
|
||||
setParameter("ProtectionLevel", protectionLevel);
|
||||
}
|
||||
|
||||
long CreateCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
52
cbn/src/model/CreateCenResult.cc
Normal file
52
cbn/src/model/CreateCenResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
CreateCenResult::CreateCenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCenResult::CreateCenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCenResult::~CreateCenResult()
|
||||
{}
|
||||
|
||||
void CreateCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CenId"].isNull())
|
||||
cenId_ = value["CenId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateCenResult::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
82
cbn/src/model/DeleteCenBandwidthPackageRequest.cc
Normal file
82
cbn/src/model/DeleteCenBandwidthPackageRequest.cc
Normal file
@@ -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 <alibabacloud/cbn/model/DeleteCenBandwidthPackageRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteCenBandwidthPackageRequest;
|
||||
|
||||
DeleteCenBandwidthPackageRequest::DeleteCenBandwidthPackageRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteCenBandwidthPackage")
|
||||
{}
|
||||
|
||||
DeleteCenBandwidthPackageRequest::~DeleteCenBandwidthPackageRequest()
|
||||
{}
|
||||
|
||||
long DeleteCenBandwidthPackageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteCenBandwidthPackageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenBandwidthPackageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenBandwidthPackageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenBandwidthPackageRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void DeleteCenBandwidthPackageRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string DeleteCenBandwidthPackageRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenBandwidthPackageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteCenBandwidthPackageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
45
cbn/src/model/DeleteCenBandwidthPackageResult.cc
Normal file
45
cbn/src/model/DeleteCenBandwidthPackageResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenBandwidthPackageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteCenBandwidthPackageResult::DeleteCenBandwidthPackageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCenBandwidthPackageResult::DeleteCenBandwidthPackageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCenBandwidthPackageResult::~DeleteCenBandwidthPackageResult()
|
||||
{}
|
||||
|
||||
void DeleteCenBandwidthPackageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
82
cbn/src/model/DeleteCenRequest.cc
Normal file
82
cbn/src/model/DeleteCenRequest.cc
Normal file
@@ -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 <alibabacloud/cbn/model/DeleteCenRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteCenRequest;
|
||||
|
||||
DeleteCenRequest::DeleteCenRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteCen")
|
||||
{}
|
||||
|
||||
DeleteCenRequest::~DeleteCenRequest()
|
||||
{}
|
||||
|
||||
long DeleteCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DeleteCenRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
45
cbn/src/model/DeleteCenResult.cc
Normal file
45
cbn/src/model/DeleteCenResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteCenResult::DeleteCenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCenResult::DeleteCenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCenResult::~DeleteCenResult()
|
||||
{}
|
||||
|
||||
void DeleteCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
115
cbn/src/model/DeleteRouteServiceInCenRequest.cc
Normal file
115
cbn/src/model/DeleteRouteServiceInCenRequest.cc
Normal file
@@ -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 <alibabacloud/cbn/model/DeleteRouteServiceInCenRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteRouteServiceInCenRequest;
|
||||
|
||||
DeleteRouteServiceInCenRequest::DeleteRouteServiceInCenRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteRouteServiceInCen")
|
||||
{}
|
||||
|
||||
DeleteRouteServiceInCenRequest::~DeleteRouteServiceInCenRequest()
|
||||
{}
|
||||
|
||||
long DeleteRouteServiceInCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getHost()const
|
||||
{
|
||||
return host_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setHost(const std::string& host)
|
||||
{
|
||||
host_ = host;
|
||||
setParameter("Host", host);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getHostRegionId()const
|
||||
{
|
||||
return hostRegionId_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setHostRegionId(const std::string& hostRegionId)
|
||||
{
|
||||
hostRegionId_ = hostRegionId;
|
||||
setParameter("HostRegionId", hostRegionId);
|
||||
}
|
||||
|
||||
std::string DeleteRouteServiceInCenRequest::getAccessRegionId()const
|
||||
{
|
||||
return accessRegionId_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setAccessRegionId(const std::string& accessRegionId)
|
||||
{
|
||||
accessRegionId_ = accessRegionId;
|
||||
setParameter("AccessRegionId", accessRegionId);
|
||||
}
|
||||
|
||||
long DeleteRouteServiceInCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteRouteServiceInCenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
45
cbn/src/model/DeleteRouteServiceInCenResult.cc
Normal file
45
cbn/src/model/DeleteRouteServiceInCenResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteRouteServiceInCenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteRouteServiceInCenResult::DeleteRouteServiceInCenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteRouteServiceInCenResult::DeleteRouteServiceInCenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteRouteServiceInCenResult::~DeleteRouteServiceInCenResult()
|
||||
{}
|
||||
|
||||
void DeleteRouteServiceInCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cbn/model/DescribeCenAttachedChildInstanceAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DescribeCenAttachedChildInstanceAttributeRequest;
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeRequest::DescribeCenAttachedChildInstanceAttributeRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DescribeCenAttachedChildInstanceAttribute")
|
||||
{}
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeRequest::~DescribeCenAttachedChildInstanceAttributeRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstanceAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstanceAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceType(const std::string& childInstanceType)
|
||||
{
|
||||
childInstanceType_ = childInstanceType;
|
||||
setParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
101
cbn/src/model/DescribeCenAttachedChildInstanceAttributeResult.cc
Normal file
101
cbn/src/model/DescribeCenAttachedChildInstanceAttributeResult.cc
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DescribeCenAttachedChildInstanceAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeResult::DescribeCenAttachedChildInstanceAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeResult::DescribeCenAttachedChildInstanceAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeResult::~DescribeCenAttachedChildInstanceAttributeResult()
|
||||
{}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CenId"].isNull())
|
||||
cenId_ = value["CenId"].asString();
|
||||
if(!value["ChildInstanceId"].isNull())
|
||||
childInstanceId_ = value["ChildInstanceId"].asString();
|
||||
if(!value["ChildInstanceType"].isNull())
|
||||
childInstanceType_ = value["ChildInstanceType"].asString();
|
||||
if(!value["ChildInstanceRegionId"].isNull())
|
||||
childInstanceRegionId_ = value["ChildInstanceRegionId"].asString();
|
||||
if(!value["ChildInstanceOwnerId"].isNull())
|
||||
childInstanceOwnerId_ = std::stol(value["ChildInstanceOwnerId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["ChildInstanceName"].isNull())
|
||||
childInstanceName_ = value["ChildInstanceName"].asString();
|
||||
if(!value["ChildInstanceAttachTime"].isNull())
|
||||
childInstanceAttachTime_ = value["ChildInstanceAttachTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceAttachTime()const
|
||||
{
|
||||
return childInstanceAttachTime_;
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceOwnerId()const
|
||||
{
|
||||
return childInstanceOwnerId_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceName()const
|
||||
{
|
||||
return childInstanceName_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
126
cbn/src/model/DescribeCenAttachedChildInstancesRequest.cc
Normal file
126
cbn/src/model/DescribeCenAttachedChildInstancesRequest.cc
Normal file
@@ -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 <alibabacloud/cbn/model/DescribeCenAttachedChildInstancesRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DescribeCenAttachedChildInstancesRequest;
|
||||
|
||||
DescribeCenAttachedChildInstancesRequest::DescribeCenAttachedChildInstancesRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DescribeCenAttachedChildInstances")
|
||||
{}
|
||||
|
||||
DescribeCenAttachedChildInstancesRequest::~DescribeCenAttachedChildInstancesRequest()
|
||||
{}
|
||||
|
||||
long DescribeCenAttachedChildInstancesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeCenAttachedChildInstancesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstancesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setChildInstanceType(const std::string& childInstanceType)
|
||||
{
|
||||
childInstanceType_ = childInstanceType;
|
||||
setParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
int DescribeCenAttachedChildInstancesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstancesRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstancesRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
91
cbn/src/model/DescribeCenAttachedChildInstancesResult.cc
Normal file
91
cbn/src/model/DescribeCenAttachedChildInstancesResult.cc
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DescribeCenAttachedChildInstancesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DescribeCenAttachedChildInstancesResult::DescribeCenAttachedChildInstancesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCenAttachedChildInstancesResult::DescribeCenAttachedChildInstancesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCenAttachedChildInstancesResult::~DescribeCenAttachedChildInstancesResult()
|
||||
{}
|
||||
|
||||
void DescribeCenAttachedChildInstancesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allChildInstances = value["ChildInstances"]["ChildInstance"];
|
||||
for (auto value : allChildInstances)
|
||||
{
|
||||
ChildInstance childInstancesObject;
|
||||
if(!value["CenId"].isNull())
|
||||
childInstancesObject.cenId = value["CenId"].asString();
|
||||
if(!value["ChildInstanceId"].isNull())
|
||||
childInstancesObject.childInstanceId = value["ChildInstanceId"].asString();
|
||||
if(!value["ChildInstanceType"].isNull())
|
||||
childInstancesObject.childInstanceType = value["ChildInstanceType"].asString();
|
||||
if(!value["ChildInstanceRegionId"].isNull())
|
||||
childInstancesObject.childInstanceRegionId = value["ChildInstanceRegionId"].asString();
|
||||
if(!value["ChildInstanceOwnerId"].isNull())
|
||||
childInstancesObject.childInstanceOwnerId = std::stol(value["ChildInstanceOwnerId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
childInstancesObject.status = value["Status"].asString();
|
||||
if(!value["ChildInstanceAttachTime"].isNull())
|
||||
childInstancesObject.childInstanceAttachTime = value["ChildInstanceAttachTime"].asString();
|
||||
childInstances_.push_back(childInstancesObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeCenAttachedChildInstancesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeCenAttachedChildInstancesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeCenAttachedChildInstancesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCenAttachedChildInstancesResult::ChildInstance> DescribeCenAttachedChildInstancesResult::getChildInstances()const
|
||||
{
|
||||
return childInstances_;
|
||||
}
|
||||
|
||||
121
cbn/src/model/DescribeCenBandwidthPackagesRequest.cc
Normal file
121
cbn/src/model/DescribeCenBandwidthPackagesRequest.cc
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DescribeCenBandwidthPackagesRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DescribeCenBandwidthPackagesRequest;
|
||||
|
||||
DescribeCenBandwidthPackagesRequest::DescribeCenBandwidthPackagesRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DescribeCenBandwidthPackages")
|
||||
{}
|
||||
|
||||
DescribeCenBandwidthPackagesRequest::~DescribeCenBandwidthPackagesRequest()
|
||||
{}
|
||||
|
||||
std::vector<DescribeCenBandwidthPackagesRequest::Filter> DescribeCenBandwidthPackagesRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= filter.size(); i++) {
|
||||
auto obj = filter.at(i);
|
||||
std::string str ="Filter."+ std::to_string(i);
|
||||
for(int i = 0; i!= obj.value.size(); i++)
|
||||
setParameter(str + ".Value."+ std::to_string(i), obj.value.at(i));
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long DescribeCenBandwidthPackagesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCenBandwidthPackagesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenBandwidthPackagesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeCenBandwidthPackagesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCenBandwidthPackagesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeCenBandwidthPackagesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
bool DescribeCenBandwidthPackagesRequest::getIsOrKey()const
|
||||
{
|
||||
return isOrKey_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setIsOrKey(bool isOrKey)
|
||||
{
|
||||
isOrKey_ = isOrKey;
|
||||
setParameter("IsOrKey", std::to_string(isOrKey));
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user