Compare commits

..

8 Commits

Author SHA1 Message Date
sdk-team
8fe6dfd981 Support continuous pushing. 2019-10-14 14:05:26 +08:00
sdk-team
0dc8a66e75 Add VideoCancelScan Api. 2019-10-09 17:27:41 +08:00
sdk-team
dcd246f4ed Support API RecognizeImageColor. 2019-10-09 14:20:15 +08:00
sdk-team
82ba7e55bb Supported Grab Frame IMM. 2019-10-08 16:50:20 +08:00
sdk-team
009add7f30 Supported API MassPush for Push Message or Notice. 2019-10-08 16:31:12 +08:00
sdk-team
032fbad258 Generated 2016-01-20 for Kms. 2019-10-08 11:28:14 +08:00
sdk-team
e5ca2d25d5 Supported RingConfig for BindAxb,BindAxn,BindAxg,BindAxnExtension. 2019-09-26 10:55:03 +08:00
sdk-team
0a74578464 Add param, DescribePrice supprot ReservedInstance. 2019-09-23 11:41:41 +08:00
352 changed files with 17433 additions and 7877 deletions

View File

@@ -1,3 +1,35 @@
2019-10-14 Version 1.36.149
- Support continuous pushing.
2019-10-09 Version 1.36.148
- Add VideoCancelScan Api.
2019-10-09 Version 1.36.147
- Support API RecognizeImageColor.
- Support API DetectImageElements.
- Support API RecolorImage.
- Support API SegmentImage.
- Support API ChangeImageSize.
- Support API ExtendImageStyle.
- Support API RecognizeImageStyle.
- Support API MakeSuperResolution.
2019-10-08 Version 1.36.146
- Supported Grab Frame IMM.
2019-10-08 Version 1.36.145
- Supported API MassPush for Push Message or Notice.
2019-10-08 Version 1.36.144
- Generated 2016-01-20 for `Kms`.
2019-09-26 Version 1.36.143
- Supported RingConfig for BindAxb,BindAxn,BindAxg,BindAxnExtension.
- Add QuerySubsId.
2019-09-23 Version 1.36.142
- Add param, DescribePrice supprot ReservedInstance.
2019-09-19 Version 1.36.141
- Supported Video Abstract for IMM.

View File

@@ -1 +1 @@
1.36.141
1.36.149

142
dyplsapi/CMakeLists.txt Normal file
View File

@@ -0,0 +1,142 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(dyplsapi_public_header
include/alibabacloud/dyplsapi/DyplsapiClient.h
include/alibabacloud/dyplsapi/DyplsapiExport.h )
set(dyplsapi_public_header_model
include/alibabacloud/dyplsapi/model/BindAxbRequest.h
include/alibabacloud/dyplsapi/model/BindAxbResult.h
include/alibabacloud/dyplsapi/model/BindAxgRequest.h
include/alibabacloud/dyplsapi/model/BindAxgResult.h
include/alibabacloud/dyplsapi/model/BindAxnRequest.h
include/alibabacloud/dyplsapi/model/BindAxnResult.h
include/alibabacloud/dyplsapi/model/BindAxnExtensionRequest.h
include/alibabacloud/dyplsapi/model/BindAxnExtensionResult.h
include/alibabacloud/dyplsapi/model/BuySecretNoRequest.h
include/alibabacloud/dyplsapi/model/BuySecretNoResult.h
include/alibabacloud/dyplsapi/model/CreateAxgGroupRequest.h
include/alibabacloud/dyplsapi/model/CreateAxgGroupResult.h
include/alibabacloud/dyplsapi/model/OperateAxgGroupRequest.h
include/alibabacloud/dyplsapi/model/OperateAxgGroupResult.h
include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h
include/alibabacloud/dyplsapi/model/QueryCallStatusResult.h
include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h
include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlResult.h
include/alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h
include/alibabacloud/dyplsapi/model/QuerySecretNoRemainResult.h
include/alibabacloud/dyplsapi/model/QuerySubsIdRequest.h
include/alibabacloud/dyplsapi/model/QuerySubsIdResult.h
include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailRequest.h
include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailResult.h
include/alibabacloud/dyplsapi/model/ReleaseSecretNoRequest.h
include/alibabacloud/dyplsapi/model/ReleaseSecretNoResult.h
include/alibabacloud/dyplsapi/model/UnbindSubscriptionRequest.h
include/alibabacloud/dyplsapi/model/UnbindSubscriptionResult.h
include/alibabacloud/dyplsapi/model/UpdateSubscriptionRequest.h
include/alibabacloud/dyplsapi/model/UpdateSubscriptionResult.h )
set(dyplsapi_src
src/DyplsapiClient.cc
src/model/BindAxbRequest.cc
src/model/BindAxbResult.cc
src/model/BindAxgRequest.cc
src/model/BindAxgResult.cc
src/model/BindAxnRequest.cc
src/model/BindAxnResult.cc
src/model/BindAxnExtensionRequest.cc
src/model/BindAxnExtensionResult.cc
src/model/BuySecretNoRequest.cc
src/model/BuySecretNoResult.cc
src/model/CreateAxgGroupRequest.cc
src/model/CreateAxgGroupResult.cc
src/model/OperateAxgGroupRequest.cc
src/model/OperateAxgGroupResult.cc
src/model/QueryCallStatusRequest.cc
src/model/QueryCallStatusResult.cc
src/model/QueryRecordFileDownloadUrlRequest.cc
src/model/QueryRecordFileDownloadUrlResult.cc
src/model/QuerySecretNoRemainRequest.cc
src/model/QuerySecretNoRemainResult.cc
src/model/QuerySubsIdRequest.cc
src/model/QuerySubsIdResult.cc
src/model/QuerySubscriptionDetailRequest.cc
src/model/QuerySubscriptionDetailResult.cc
src/model/ReleaseSecretNoRequest.cc
src/model/ReleaseSecretNoResult.cc
src/model/UnbindSubscriptionRequest.cc
src/model/UnbindSubscriptionResult.cc
src/model/UpdateSubscriptionRequest.cc
src/model/UpdateSubscriptionResult.cc )
add_library(dyplsapi ${LIB_TYPE}
${dyplsapi_public_header}
${dyplsapi_public_header_model}
${dyplsapi_src})
set_target_properties(dyplsapi
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}dyplsapi
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(dyplsapi
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_DYPLSAPI_LIBRARY)
endif()
target_include_directories(dyplsapi
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(dyplsapi
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(dyplsapi
jsoncpp)
target_include_directories(dyplsapi
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(dyplsapi
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(dyplsapi
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(dyplsapi
PRIVATE /usr/include/jsoncpp)
target_link_libraries(dyplsapi
jsoncpp)
endif()
install(FILES ${dyplsapi_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dyplsapi)
install(FILES ${dyplsapi_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dyplsapi/model)
install(TARGETS dyplsapi
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,166 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_DYPLSAPICLIENT_H_
#define ALIBABACLOUD_DYPLSAPI_DYPLSAPICLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DyplsapiExport.h"
#include "model/BindAxbRequest.h"
#include "model/BindAxbResult.h"
#include "model/BindAxgRequest.h"
#include "model/BindAxgResult.h"
#include "model/BindAxnRequest.h"
#include "model/BindAxnResult.h"
#include "model/BindAxnExtensionRequest.h"
#include "model/BindAxnExtensionResult.h"
#include "model/BuySecretNoRequest.h"
#include "model/BuySecretNoResult.h"
#include "model/CreateAxgGroupRequest.h"
#include "model/CreateAxgGroupResult.h"
#include "model/OperateAxgGroupRequest.h"
#include "model/OperateAxgGroupResult.h"
#include "model/QueryCallStatusRequest.h"
#include "model/QueryCallStatusResult.h"
#include "model/QueryRecordFileDownloadUrlRequest.h"
#include "model/QueryRecordFileDownloadUrlResult.h"
#include "model/QuerySecretNoRemainRequest.h"
#include "model/QuerySecretNoRemainResult.h"
#include "model/QuerySubsIdRequest.h"
#include "model/QuerySubsIdResult.h"
#include "model/QuerySubscriptionDetailRequest.h"
#include "model/QuerySubscriptionDetailResult.h"
#include "model/ReleaseSecretNoRequest.h"
#include "model/ReleaseSecretNoResult.h"
#include "model/UnbindSubscriptionRequest.h"
#include "model/UnbindSubscriptionResult.h"
#include "model/UpdateSubscriptionRequest.h"
#include "model/UpdateSubscriptionResult.h"
namespace AlibabaCloud
{
namespace Dyplsapi
{
class ALIBABACLOUD_DYPLSAPI_EXPORT DyplsapiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::BindAxbResult> BindAxbOutcome;
typedef std::future<BindAxbOutcome> BindAxbOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::BindAxbRequest&, const BindAxbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindAxbAsyncHandler;
typedef Outcome<Error, Model::BindAxgResult> BindAxgOutcome;
typedef std::future<BindAxgOutcome> BindAxgOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::BindAxgRequest&, const BindAxgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindAxgAsyncHandler;
typedef Outcome<Error, Model::BindAxnResult> BindAxnOutcome;
typedef std::future<BindAxnOutcome> BindAxnOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::BindAxnRequest&, const BindAxnOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindAxnAsyncHandler;
typedef Outcome<Error, Model::BindAxnExtensionResult> BindAxnExtensionOutcome;
typedef std::future<BindAxnExtensionOutcome> BindAxnExtensionOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::BindAxnExtensionRequest&, const BindAxnExtensionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindAxnExtensionAsyncHandler;
typedef Outcome<Error, Model::BuySecretNoResult> BuySecretNoOutcome;
typedef std::future<BuySecretNoOutcome> BuySecretNoOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::BuySecretNoRequest&, const BuySecretNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BuySecretNoAsyncHandler;
typedef Outcome<Error, Model::CreateAxgGroupResult> CreateAxgGroupOutcome;
typedef std::future<CreateAxgGroupOutcome> CreateAxgGroupOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::CreateAxgGroupRequest&, const CreateAxgGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAxgGroupAsyncHandler;
typedef Outcome<Error, Model::OperateAxgGroupResult> OperateAxgGroupOutcome;
typedef std::future<OperateAxgGroupOutcome> OperateAxgGroupOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::OperateAxgGroupRequest&, const OperateAxgGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateAxgGroupAsyncHandler;
typedef Outcome<Error, Model::QueryCallStatusResult> QueryCallStatusOutcome;
typedef std::future<QueryCallStatusOutcome> QueryCallStatusOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QueryCallStatusRequest&, const QueryCallStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallStatusAsyncHandler;
typedef Outcome<Error, Model::QueryRecordFileDownloadUrlResult> QueryRecordFileDownloadUrlOutcome;
typedef std::future<QueryRecordFileDownloadUrlOutcome> QueryRecordFileDownloadUrlOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QueryRecordFileDownloadUrlRequest&, const QueryRecordFileDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRecordFileDownloadUrlAsyncHandler;
typedef Outcome<Error, Model::QuerySecretNoRemainResult> QuerySecretNoRemainOutcome;
typedef std::future<QuerySecretNoRemainOutcome> QuerySecretNoRemainOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QuerySecretNoRemainRequest&, const QuerySecretNoRemainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySecretNoRemainAsyncHandler;
typedef Outcome<Error, Model::QuerySubsIdResult> QuerySubsIdOutcome;
typedef std::future<QuerySubsIdOutcome> QuerySubsIdOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QuerySubsIdRequest&, const QuerySubsIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySubsIdAsyncHandler;
typedef Outcome<Error, Model::QuerySubscriptionDetailResult> QuerySubscriptionDetailOutcome;
typedef std::future<QuerySubscriptionDetailOutcome> QuerySubscriptionDetailOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QuerySubscriptionDetailRequest&, const QuerySubscriptionDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySubscriptionDetailAsyncHandler;
typedef Outcome<Error, Model::ReleaseSecretNoResult> ReleaseSecretNoOutcome;
typedef std::future<ReleaseSecretNoOutcome> ReleaseSecretNoOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::ReleaseSecretNoRequest&, const ReleaseSecretNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseSecretNoAsyncHandler;
typedef Outcome<Error, Model::UnbindSubscriptionResult> UnbindSubscriptionOutcome;
typedef std::future<UnbindSubscriptionOutcome> UnbindSubscriptionOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::UnbindSubscriptionRequest&, const UnbindSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindSubscriptionAsyncHandler;
typedef Outcome<Error, Model::UpdateSubscriptionResult> UpdateSubscriptionOutcome;
typedef std::future<UpdateSubscriptionOutcome> UpdateSubscriptionOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::UpdateSubscriptionRequest&, const UpdateSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSubscriptionAsyncHandler;
DyplsapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
DyplsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DyplsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DyplsapiClient();
BindAxbOutcome bindAxb(const Model::BindAxbRequest &request)const;
void bindAxbAsync(const Model::BindAxbRequest& request, const BindAxbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindAxbOutcomeCallable bindAxbCallable(const Model::BindAxbRequest& request) const;
BindAxgOutcome bindAxg(const Model::BindAxgRequest &request)const;
void bindAxgAsync(const Model::BindAxgRequest& request, const BindAxgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindAxgOutcomeCallable bindAxgCallable(const Model::BindAxgRequest& request) const;
BindAxnOutcome bindAxn(const Model::BindAxnRequest &request)const;
void bindAxnAsync(const Model::BindAxnRequest& request, const BindAxnAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindAxnOutcomeCallable bindAxnCallable(const Model::BindAxnRequest& request) const;
BindAxnExtensionOutcome bindAxnExtension(const Model::BindAxnExtensionRequest &request)const;
void bindAxnExtensionAsync(const Model::BindAxnExtensionRequest& request, const BindAxnExtensionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindAxnExtensionOutcomeCallable bindAxnExtensionCallable(const Model::BindAxnExtensionRequest& request) const;
BuySecretNoOutcome buySecretNo(const Model::BuySecretNoRequest &request)const;
void buySecretNoAsync(const Model::BuySecretNoRequest& request, const BuySecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BuySecretNoOutcomeCallable buySecretNoCallable(const Model::BuySecretNoRequest& request) const;
CreateAxgGroupOutcome createAxgGroup(const Model::CreateAxgGroupRequest &request)const;
void createAxgGroupAsync(const Model::CreateAxgGroupRequest& request, const CreateAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAxgGroupOutcomeCallable createAxgGroupCallable(const Model::CreateAxgGroupRequest& request) const;
OperateAxgGroupOutcome operateAxgGroup(const Model::OperateAxgGroupRequest &request)const;
void operateAxgGroupAsync(const Model::OperateAxgGroupRequest& request, const OperateAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OperateAxgGroupOutcomeCallable operateAxgGroupCallable(const Model::OperateAxgGroupRequest& request) const;
QueryCallStatusOutcome queryCallStatus(const Model::QueryCallStatusRequest &request)const;
void queryCallStatusAsync(const Model::QueryCallStatusRequest& request, const QueryCallStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCallStatusOutcomeCallable queryCallStatusCallable(const Model::QueryCallStatusRequest& request) const;
QueryRecordFileDownloadUrlOutcome queryRecordFileDownloadUrl(const Model::QueryRecordFileDownloadUrlRequest &request)const;
void queryRecordFileDownloadUrlAsync(const Model::QueryRecordFileDownloadUrlRequest& request, const QueryRecordFileDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRecordFileDownloadUrlOutcomeCallable queryRecordFileDownloadUrlCallable(const Model::QueryRecordFileDownloadUrlRequest& request) const;
QuerySecretNoRemainOutcome querySecretNoRemain(const Model::QuerySecretNoRemainRequest &request)const;
void querySecretNoRemainAsync(const Model::QuerySecretNoRemainRequest& request, const QuerySecretNoRemainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySecretNoRemainOutcomeCallable querySecretNoRemainCallable(const Model::QuerySecretNoRemainRequest& request) const;
QuerySubsIdOutcome querySubsId(const Model::QuerySubsIdRequest &request)const;
void querySubsIdAsync(const Model::QuerySubsIdRequest& request, const QuerySubsIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySubsIdOutcomeCallable querySubsIdCallable(const Model::QuerySubsIdRequest& request) const;
QuerySubscriptionDetailOutcome querySubscriptionDetail(const Model::QuerySubscriptionDetailRequest &request)const;
void querySubscriptionDetailAsync(const Model::QuerySubscriptionDetailRequest& request, const QuerySubscriptionDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySubscriptionDetailOutcomeCallable querySubscriptionDetailCallable(const Model::QuerySubscriptionDetailRequest& request) const;
ReleaseSecretNoOutcome releaseSecretNo(const Model::ReleaseSecretNoRequest &request)const;
void releaseSecretNoAsync(const Model::ReleaseSecretNoRequest& request, const ReleaseSecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseSecretNoOutcomeCallable releaseSecretNoCallable(const Model::ReleaseSecretNoRequest& request) const;
UnbindSubscriptionOutcome unbindSubscription(const Model::UnbindSubscriptionRequest &request)const;
void unbindSubscriptionAsync(const Model::UnbindSubscriptionRequest& request, const UnbindSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindSubscriptionOutcomeCallable unbindSubscriptionCallable(const Model::UnbindSubscriptionRequest& request) const;
UpdateSubscriptionOutcome updateSubscription(const Model::UpdateSubscriptionRequest &request)const;
void updateSubscriptionAsync(const Model::UpdateSubscriptionRequest& request, const UpdateSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSubscriptionOutcomeCallable updateSubscriptionCallable(const Model::UpdateSubscriptionRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_DYPLSAPICLIENT_H_

View 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_DYPLSAPI_DYPLSAPIEXPORT_H_
#define ALIBABACLOUD_DYPLSAPI_DYPLSAPIEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DYPLSAPI_LIBRARY)
# define ALIBABACLOUD_DYPLSAPI_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DYPLSAPI_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DYPLSAPI_EXPORT
#endif
#endif // !ALIBABACLOUD_DYPLSAPI_DYPLSAPIEXPORT_H_

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxbRequest : public RpcServiceRequest
{
public:
BindAxbRequest();
~BindAxbRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getCallDisplayType()const;
void setCallDisplayType(int callDisplayType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
std::string getRingConfig()const;
void setRingConfig(const std::string& ringConfig);
std::string getPhoneNoB()const;
void setPhoneNoB(const std::string& phoneNoB);
std::string getPhoneNoA()const;
void setPhoneNoA(const std::string& phoneNoA);
std::string getExpectCity()const;
void setExpectCity(const std::string& expectCity);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getOutOrderId()const;
void setOutOrderId(const std::string& outOrderId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getExpiration()const;
void setExpiration(const std::string& expiration);
bool getIsRecordingEnabled()const;
void setIsRecordingEnabled(bool isRecordingEnabled);
std::string getOutId()const;
void setOutId(const std::string& outId);
private:
long resourceOwnerId_;
int callDisplayType_;
std::string accessKeyId_;
std::string phoneNoX_;
std::string ringConfig_;
std::string phoneNoB_;
std::string phoneNoA_;
std::string expectCity_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string outOrderId_;
std::string poolKey_;
std::string expiration_;
bool isRecordingEnabled_;
std::string outId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_

View File

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

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxgRequest : public RpcServiceRequest
{
public:
BindAxgRequest();
~BindAxgRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getCallDisplayType()const;
void setCallDisplayType(int callDisplayType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
std::string getRingConfig()const;
void setRingConfig(const std::string& ringConfig);
std::string getPhoneNoB()const;
void setPhoneNoB(const std::string& phoneNoB);
std::string getPhoneNoA()const;
void setPhoneNoA(const std::string& phoneNoA);
std::string getExpectCity()const;
void setExpectCity(const std::string& expectCity);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getOutOrderId()const;
void setOutOrderId(const std::string& outOrderId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getExpiration()const;
void setExpiration(const std::string& expiration);
bool getIsRecordingEnabled()const;
void setIsRecordingEnabled(bool isRecordingEnabled);
std::string getOutId()const;
void setOutId(const std::string& outId);
private:
long resourceOwnerId_;
int callDisplayType_;
std::string accessKeyId_;
std::string phoneNoX_;
std::string ringConfig_;
std::string phoneNoB_;
std::string phoneNoA_;
std::string expectCity_;
std::string resourceOwnerAccount_;
std::string groupId_;
long ownerId_;
std::string outOrderId_;
std::string poolKey_;
std::string expiration_;
bool isRecordingEnabled_;
std::string outId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_

View File

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

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxnExtensionRequest : public RpcServiceRequest
{
public:
BindAxnExtensionRequest();
~BindAxnExtensionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getExtension()const;
void setExtension(const std::string& extension);
int getCallDisplayType()const;
void setCallDisplayType(int callDisplayType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
std::string getRingConfig()const;
void setRingConfig(const std::string& ringConfig);
std::string getPhoneNoB()const;
void setPhoneNoB(const std::string& phoneNoB);
std::string getPhoneNoA()const;
void setPhoneNoA(const std::string& phoneNoA);
std::string getExpectCity()const;
void setExpectCity(const std::string& expectCity);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getOutOrderId()const;
void setOutOrderId(const std::string& outOrderId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getExpiration()const;
void setExpiration(const std::string& expiration);
bool getIsRecordingEnabled()const;
void setIsRecordingEnabled(bool isRecordingEnabled);
std::string getOutId()const;
void setOutId(const std::string& outId);
private:
long resourceOwnerId_;
std::string extension_;
int callDisplayType_;
std::string accessKeyId_;
std::string phoneNoX_;
std::string ringConfig_;
std::string phoneNoB_;
std::string phoneNoA_;
std::string expectCity_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string outOrderId_;
std::string poolKey_;
std::string expiration_;
bool isRecordingEnabled_;
std::string outId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxnRequest : public RpcServiceRequest
{
public:
BindAxnRequest();
~BindAxnRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getCallDisplayType()const;
void setCallDisplayType(int callDisplayType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
std::string getRingConfig()const;
void setRingConfig(const std::string& ringConfig);
std::string getPhoneNoB()const;
void setPhoneNoB(const std::string& phoneNoB);
std::string getPhoneNoA()const;
void setPhoneNoA(const std::string& phoneNoA);
std::string getExpectCity()const;
void setExpectCity(const std::string& expectCity);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getOutOrderId()const;
void setOutOrderId(const std::string& outOrderId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getExpiration()const;
void setExpiration(const std::string& expiration);
bool getIsRecordingEnabled()const;
void setIsRecordingEnabled(bool isRecordingEnabled);
std::string getOutId()const;
void setOutId(const std::string& outId);
std::string getNoType()const;
void setNoType(const std::string& noType);
private:
long resourceOwnerId_;
int callDisplayType_;
std::string accessKeyId_;
std::string phoneNoX_;
std::string ringConfig_;
std::string phoneNoB_;
std::string phoneNoA_;
std::string expectCity_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string outOrderId_;
std::string poolKey_;
std::string expiration_;
bool isRecordingEnabled_;
std::string outId_;
std::string noType_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT BuySecretNoRequest : public RpcServiceRequest
{
public:
BuySecretNoRequest();
~BuySecretNoRequest();
long getSpecId()const;
void setSpecId(long specId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCity()const;
void setCity(const std::string& city);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecretNo()const;
void setSecretNo(const std::string& secretNo);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
bool getDisplayPool()const;
void setDisplayPool(bool displayPool);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
private:
long specId_;
long resourceOwnerId_;
std::string city_;
std::string accessKeyId_;
std::string secretNo_;
std::string resourceOwnerAccount_;
bool displayPool_;
long ownerId_;
std::string poolKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_

View File

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

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT CreateAxgGroupRequest : public RpcServiceRequest
{
public:
CreateAxgGroupRequest();
~CreateAxgGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getNumbers()const;
void setNumbers(const std::string& numbers);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getName()const;
void setName(const std::string& name);
private:
long resourceOwnerId_;
std::string numbers_;
std::string remark_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string poolKey_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_

View File

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

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT OperateAxgGroupRequest : public RpcServiceRequest
{
public:
OperateAxgGroupRequest();
~OperateAxgGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getNumbers()const;
void setNumbers(const std::string& numbers);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getGroupId()const;
void setGroupId(long groupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getOperateType()const;
void setOperateType(const std::string& operateType);
private:
long resourceOwnerId_;
std::string numbers_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long groupId_;
long ownerId_;
std::string poolKey_;
std::string operateType_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_

View File

@@ -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_DYPLSAPI_MODEL_OPERATEAXGGROUPRESULT_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT OperateAxgGroupResult : public ServiceResult
{
public:
OperateAxgGroupResult();
explicit OperateAxgGroupResult(const std::string &payload);
~OperateAxgGroupResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QueryCallStatusRequest : public RpcServiceRequest
{
public:
QueryCallStatusRequest();
~QueryCallStatusRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSubsId()const;
void setSubsId(const std::string& subsId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getCallNo()const;
void setCallNo(const std::string& callNo);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string subsId_;
std::string resourceOwnerAccount_;
std::string callNo_;
long ownerId_;
std::string poolKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_

View File

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

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QueryRecordFileDownloadUrlRequest : public RpcServiceRequest
{
public:
QueryRecordFileDownloadUrlRequest();
~QueryRecordFileDownloadUrlRequest();
std::string getCallId()const;
void setCallId(const std::string& callId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getCallTime()const;
void setCallTime(const std::string& callTime);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
private:
std::string callId_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string productType_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string callTime_;
std::string poolKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySecretNoRemainRequest : public RpcServiceRequest
{
public:
QuerySecretNoRemainRequest();
~QuerySecretNoRemainRequest();
long getSpecId()const;
void setSpecId(long specId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCity()const;
void setCity(const std::string& city);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecretNo()const;
void setSecretNo(const std::string& secretNo);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long specId_;
long resourceOwnerId_;
std::string city_;
std::string accessKeyId_;
std::string secretNo_;
std::string resourceOwnerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySubsIdRequest : public RpcServiceRequest
{
public:
QuerySubsIdRequest();
~QuerySubsIdRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string poolKey_;
std::string phoneNoX_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_

View File

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

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySubscriptionDetailRequest : public RpcServiceRequest
{
public:
QuerySubscriptionDetailRequest();
~QuerySubscriptionDetailRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getSubsId()const;
void setSubsId(const std::string& subsId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string productType_;
std::string subsId_;
std::string phoneNoX_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string poolKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILRESULT_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySubscriptionDetailResult : public ServiceResult
{
public:
struct SecretBindDetailDTO
{
std::string extension;
long status;
std::string callRestrict;
std::string gmtCreate;
std::string phoneNoX;
std::string expireDate;
bool needRecord;
std::string phoneNoB;
std::string subsId;
std::string phoneNoA;
long groupId;
};
QuerySubscriptionDetailResult();
explicit QuerySubscriptionDetailResult(const std::string &payload);
~QuerySubscriptionDetailResult();
SecretBindDetailDTO getSecretBindDetailDTO()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
SecretBindDetailDTO secretBindDetailDTO_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT ReleaseSecretNoRequest : public RpcServiceRequest
{
public:
ReleaseSecretNoRequest();
~ReleaseSecretNoRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getSecretNo()const;
void setSecretNo(const std::string& secretNo);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string poolKey_;
std::string secretNo_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_

View File

@@ -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_DYPLSAPI_MODEL_RELEASESECRETNORESULT_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT ReleaseSecretNoResult : public ServiceResult
{
public:
ReleaseSecretNoResult();
explicit ReleaseSecretNoResult(const std::string &payload);
~ReleaseSecretNoResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNORESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT UnbindSubscriptionRequest : public RpcServiceRequest
{
public:
UnbindSubscriptionRequest();
~UnbindSubscriptionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getSubsId()const;
void setSubsId(const std::string& subsId);
std::string getSecretNo()const;
void setSecretNo(const std::string& secretNo);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string productType_;
std::string subsId_;
std::string secretNo_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string poolKey_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateSubscriptionRequest : public RpcServiceRequest
{
public:
UpdateSubscriptionRequest();
~UpdateSubscriptionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getCallDisplayType()const;
void setCallDisplayType(int callDisplayType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getProductType()const;
void setProductType(const std::string& productType);
std::string getSubsId()const;
void setSubsId(const std::string& subsId);
std::string getPhoneNoX()const;
void setPhoneNoX(const std::string& phoneNoX);
std::string getRingConfig()const;
void setRingConfig(const std::string& ringConfig);
std::string getPhoneNoB()const;
void setPhoneNoB(const std::string& phoneNoB);
std::string getPhoneNoA()const;
void setPhoneNoA(const std::string& phoneNoA);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getExpiration()const;
void setExpiration(const std::string& expiration);
std::string getOutId()const;
void setOutId(const std::string& outId);
bool getIsRecordingEnabled()const;
void setIsRecordingEnabled(bool isRecordingEnabled);
std::string getOperateType()const;
void setOperateType(const std::string& operateType);
std::string getCallRestrict()const;
void setCallRestrict(const std::string& callRestrict);
private:
long resourceOwnerId_;
int callDisplayType_;
std::string accessKeyId_;
std::string productType_;
std::string subsId_;
std::string phoneNoX_;
std::string ringConfig_;
std::string phoneNoB_;
std::string phoneNoA_;
std::string resourceOwnerAccount_;
std::string groupId_;
long ownerId_;
std::string poolKey_;
std::string expiration_;
std::string outId_;
bool isRecordingEnabled_;
std::string operateType_;
std::string callRestrict_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_

View File

@@ -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_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONRESULT_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateSubscriptionResult : public ServiceResult
{
public:
UpdateSubscriptionResult();
explicit UpdateSubscriptionResult(const std::string &payload);
~UpdateSubscriptionResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONRESULT_H_

View File

@@ -0,0 +1,593 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/dyplsapi/DyplsapiClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
namespace
{
const std::string SERVICE_NAME = "Dyplsapi";
}
DyplsapiClient::DyplsapiClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypls");
}
DyplsapiClient::DyplsapiClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypls");
}
DyplsapiClient::DyplsapiClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypls");
}
DyplsapiClient::~DyplsapiClient()
{}
DyplsapiClient::BindAxbOutcome DyplsapiClient::bindAxb(const BindAxbRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BindAxbOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BindAxbOutcome(BindAxbResult(outcome.result()));
else
return BindAxbOutcome(outcome.error());
}
void DyplsapiClient::bindAxbAsync(const BindAxbRequest& request, const BindAxbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, bindAxb(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::BindAxbOutcomeCallable DyplsapiClient::bindAxbCallable(const BindAxbRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BindAxbOutcome()>>(
[this, request]()
{
return this->bindAxb(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::BindAxgOutcome DyplsapiClient::bindAxg(const BindAxgRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BindAxgOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BindAxgOutcome(BindAxgResult(outcome.result()));
else
return BindAxgOutcome(outcome.error());
}
void DyplsapiClient::bindAxgAsync(const BindAxgRequest& request, const BindAxgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, bindAxg(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::BindAxgOutcomeCallable DyplsapiClient::bindAxgCallable(const BindAxgRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BindAxgOutcome()>>(
[this, request]()
{
return this->bindAxg(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::BindAxnOutcome DyplsapiClient::bindAxn(const BindAxnRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BindAxnOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BindAxnOutcome(BindAxnResult(outcome.result()));
else
return BindAxnOutcome(outcome.error());
}
void DyplsapiClient::bindAxnAsync(const BindAxnRequest& request, const BindAxnAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, bindAxn(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::BindAxnOutcomeCallable DyplsapiClient::bindAxnCallable(const BindAxnRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BindAxnOutcome()>>(
[this, request]()
{
return this->bindAxn(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::BindAxnExtensionOutcome DyplsapiClient::bindAxnExtension(const BindAxnExtensionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BindAxnExtensionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BindAxnExtensionOutcome(BindAxnExtensionResult(outcome.result()));
else
return BindAxnExtensionOutcome(outcome.error());
}
void DyplsapiClient::bindAxnExtensionAsync(const BindAxnExtensionRequest& request, const BindAxnExtensionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, bindAxnExtension(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::BindAxnExtensionOutcomeCallable DyplsapiClient::bindAxnExtensionCallable(const BindAxnExtensionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BindAxnExtensionOutcome()>>(
[this, request]()
{
return this->bindAxnExtension(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::BuySecretNoOutcome DyplsapiClient::buySecretNo(const BuySecretNoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BuySecretNoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BuySecretNoOutcome(BuySecretNoResult(outcome.result()));
else
return BuySecretNoOutcome(outcome.error());
}
void DyplsapiClient::buySecretNoAsync(const BuySecretNoRequest& request, const BuySecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, buySecretNo(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::BuySecretNoOutcomeCallable DyplsapiClient::buySecretNoCallable(const BuySecretNoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BuySecretNoOutcome()>>(
[this, request]()
{
return this->buySecretNo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::CreateAxgGroupOutcome DyplsapiClient::createAxgGroup(const CreateAxgGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateAxgGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateAxgGroupOutcome(CreateAxgGroupResult(outcome.result()));
else
return CreateAxgGroupOutcome(outcome.error());
}
void DyplsapiClient::createAxgGroupAsync(const CreateAxgGroupRequest& request, const CreateAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createAxgGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::CreateAxgGroupOutcomeCallable DyplsapiClient::createAxgGroupCallable(const CreateAxgGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateAxgGroupOutcome()>>(
[this, request]()
{
return this->createAxgGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::OperateAxgGroupOutcome DyplsapiClient::operateAxgGroup(const OperateAxgGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return OperateAxgGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return OperateAxgGroupOutcome(OperateAxgGroupResult(outcome.result()));
else
return OperateAxgGroupOutcome(outcome.error());
}
void DyplsapiClient::operateAxgGroupAsync(const OperateAxgGroupRequest& request, const OperateAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, operateAxgGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::OperateAxgGroupOutcomeCallable DyplsapiClient::operateAxgGroupCallable(const OperateAxgGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<OperateAxgGroupOutcome()>>(
[this, request]()
{
return this->operateAxgGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::QueryCallStatusOutcome DyplsapiClient::queryCallStatus(const QueryCallStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryCallStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryCallStatusOutcome(QueryCallStatusResult(outcome.result()));
else
return QueryCallStatusOutcome(outcome.error());
}
void DyplsapiClient::queryCallStatusAsync(const QueryCallStatusRequest& request, const QueryCallStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryCallStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::QueryCallStatusOutcomeCallable DyplsapiClient::queryCallStatusCallable(const QueryCallStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryCallStatusOutcome()>>(
[this, request]()
{
return this->queryCallStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::QueryRecordFileDownloadUrlOutcome DyplsapiClient::queryRecordFileDownloadUrl(const QueryRecordFileDownloadUrlRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryRecordFileDownloadUrlOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryRecordFileDownloadUrlOutcome(QueryRecordFileDownloadUrlResult(outcome.result()));
else
return QueryRecordFileDownloadUrlOutcome(outcome.error());
}
void DyplsapiClient::queryRecordFileDownloadUrlAsync(const QueryRecordFileDownloadUrlRequest& request, const QueryRecordFileDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryRecordFileDownloadUrl(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::QueryRecordFileDownloadUrlOutcomeCallable DyplsapiClient::queryRecordFileDownloadUrlCallable(const QueryRecordFileDownloadUrlRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryRecordFileDownloadUrlOutcome()>>(
[this, request]()
{
return this->queryRecordFileDownloadUrl(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::QuerySecretNoRemainOutcome DyplsapiClient::querySecretNoRemain(const QuerySecretNoRemainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QuerySecretNoRemainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QuerySecretNoRemainOutcome(QuerySecretNoRemainResult(outcome.result()));
else
return QuerySecretNoRemainOutcome(outcome.error());
}
void DyplsapiClient::querySecretNoRemainAsync(const QuerySecretNoRemainRequest& request, const QuerySecretNoRemainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, querySecretNoRemain(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::QuerySecretNoRemainOutcomeCallable DyplsapiClient::querySecretNoRemainCallable(const QuerySecretNoRemainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QuerySecretNoRemainOutcome()>>(
[this, request]()
{
return this->querySecretNoRemain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::QuerySubsIdOutcome DyplsapiClient::querySubsId(const QuerySubsIdRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QuerySubsIdOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QuerySubsIdOutcome(QuerySubsIdResult(outcome.result()));
else
return QuerySubsIdOutcome(outcome.error());
}
void DyplsapiClient::querySubsIdAsync(const QuerySubsIdRequest& request, const QuerySubsIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, querySubsId(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::QuerySubsIdOutcomeCallable DyplsapiClient::querySubsIdCallable(const QuerySubsIdRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QuerySubsIdOutcome()>>(
[this, request]()
{
return this->querySubsId(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::QuerySubscriptionDetailOutcome DyplsapiClient::querySubscriptionDetail(const QuerySubscriptionDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QuerySubscriptionDetailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QuerySubscriptionDetailOutcome(QuerySubscriptionDetailResult(outcome.result()));
else
return QuerySubscriptionDetailOutcome(outcome.error());
}
void DyplsapiClient::querySubscriptionDetailAsync(const QuerySubscriptionDetailRequest& request, const QuerySubscriptionDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, querySubscriptionDetail(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::QuerySubscriptionDetailOutcomeCallable DyplsapiClient::querySubscriptionDetailCallable(const QuerySubscriptionDetailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QuerySubscriptionDetailOutcome()>>(
[this, request]()
{
return this->querySubscriptionDetail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::ReleaseSecretNoOutcome DyplsapiClient::releaseSecretNo(const ReleaseSecretNoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ReleaseSecretNoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ReleaseSecretNoOutcome(ReleaseSecretNoResult(outcome.result()));
else
return ReleaseSecretNoOutcome(outcome.error());
}
void DyplsapiClient::releaseSecretNoAsync(const ReleaseSecretNoRequest& request, const ReleaseSecretNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, releaseSecretNo(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::ReleaseSecretNoOutcomeCallable DyplsapiClient::releaseSecretNoCallable(const ReleaseSecretNoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ReleaseSecretNoOutcome()>>(
[this, request]()
{
return this->releaseSecretNo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::UnbindSubscriptionOutcome DyplsapiClient::unbindSubscription(const UnbindSubscriptionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UnbindSubscriptionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UnbindSubscriptionOutcome(UnbindSubscriptionResult(outcome.result()));
else
return UnbindSubscriptionOutcome(outcome.error());
}
void DyplsapiClient::unbindSubscriptionAsync(const UnbindSubscriptionRequest& request, const UnbindSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, unbindSubscription(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::UnbindSubscriptionOutcomeCallable DyplsapiClient::unbindSubscriptionCallable(const UnbindSubscriptionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UnbindSubscriptionOutcome()>>(
[this, request]()
{
return this->unbindSubscription(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DyplsapiClient::UpdateSubscriptionOutcome DyplsapiClient::updateSubscription(const UpdateSubscriptionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateSubscriptionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateSubscriptionOutcome(UpdateSubscriptionResult(outcome.result()));
else
return UpdateSubscriptionOutcome(outcome.error());
}
void DyplsapiClient::updateSubscriptionAsync(const UpdateSubscriptionRequest& request, const UpdateSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateSubscription(request), context);
};
asyncExecute(new Runnable(fn));
}
DyplsapiClient::UpdateSubscriptionOutcomeCallable DyplsapiClient::updateSubscriptionCallable(const UpdateSubscriptionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateSubscriptionOutcome()>>(
[this, request]()
{
return this->updateSubscription(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,192 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/dyplsapi/model/BindAxbRequest.h>
using AlibabaCloud::Dyplsapi::Model::BindAxbRequest;
BindAxbRequest::BindAxbRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxb")
{}
BindAxbRequest::~BindAxbRequest()
{}
long BindAxbRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void BindAxbRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int BindAxbRequest::getCallDisplayType()const
{
return callDisplayType_;
}
void BindAxbRequest::setCallDisplayType(int callDisplayType)
{
callDisplayType_ = callDisplayType;
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
}
std::string BindAxbRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BindAxbRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string BindAxbRequest::getPhoneNoX()const
{
return phoneNoX_;
}
void BindAxbRequest::setPhoneNoX(const std::string& phoneNoX)
{
phoneNoX_ = phoneNoX;
setCoreParameter("PhoneNoX", phoneNoX);
}
std::string BindAxbRequest::getRingConfig()const
{
return ringConfig_;
}
void BindAxbRequest::setRingConfig(const std::string& ringConfig)
{
ringConfig_ = ringConfig;
setCoreParameter("RingConfig", ringConfig);
}
std::string BindAxbRequest::getPhoneNoB()const
{
return phoneNoB_;
}
void BindAxbRequest::setPhoneNoB(const std::string& phoneNoB)
{
phoneNoB_ = phoneNoB;
setCoreParameter("PhoneNoB", phoneNoB);
}
std::string BindAxbRequest::getPhoneNoA()const
{
return phoneNoA_;
}
void BindAxbRequest::setPhoneNoA(const std::string& phoneNoA)
{
phoneNoA_ = phoneNoA;
setCoreParameter("PhoneNoA", phoneNoA);
}
std::string BindAxbRequest::getExpectCity()const
{
return expectCity_;
}
void BindAxbRequest::setExpectCity(const std::string& expectCity)
{
expectCity_ = expectCity;
setCoreParameter("ExpectCity", expectCity);
}
std::string BindAxbRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void BindAxbRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long BindAxbRequest::getOwnerId()const
{
return ownerId_;
}
void BindAxbRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string BindAxbRequest::getOutOrderId()const
{
return outOrderId_;
}
void BindAxbRequest::setOutOrderId(const std::string& outOrderId)
{
outOrderId_ = outOrderId;
setCoreParameter("OutOrderId", outOrderId);
}
std::string BindAxbRequest::getPoolKey()const
{
return poolKey_;
}
void BindAxbRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string BindAxbRequest::getExpiration()const
{
return expiration_;
}
void BindAxbRequest::setExpiration(const std::string& expiration)
{
expiration_ = expiration;
setCoreParameter("Expiration", expiration);
}
bool BindAxbRequest::getIsRecordingEnabled()const
{
return isRecordingEnabled_;
}
void BindAxbRequest::setIsRecordingEnabled(bool isRecordingEnabled)
{
isRecordingEnabled_ = isRecordingEnabled;
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
}
std::string BindAxbRequest::getOutId()const
{
return outId_;
}
void BindAxbRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/BindAxbResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
BindAxbResult::BindAxbResult() :
ServiceResult()
{}
BindAxbResult::BindAxbResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BindAxbResult::~BindAxbResult()
{}
void BindAxbResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto secretBindDTONode = value["SecretBindDTO"];
if(!secretBindDTONode["SubsId"].isNull())
secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString();
if(!secretBindDTONode["SecretNo"].isNull())
secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString();
if(!secretBindDTONode["Extension"].isNull())
secretBindDTO_.extension = secretBindDTONode["Extension"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
BindAxbResult::SecretBindDTO BindAxbResult::getSecretBindDTO()const
{
return secretBindDTO_;
}
std::string BindAxbResult::getMessage()const
{
return message_;
}
std::string BindAxbResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,203 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/dyplsapi/model/BindAxgRequest.h>
using AlibabaCloud::Dyplsapi::Model::BindAxgRequest;
BindAxgRequest::BindAxgRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxg")
{}
BindAxgRequest::~BindAxgRequest()
{}
long BindAxgRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void BindAxgRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int BindAxgRequest::getCallDisplayType()const
{
return callDisplayType_;
}
void BindAxgRequest::setCallDisplayType(int callDisplayType)
{
callDisplayType_ = callDisplayType;
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
}
std::string BindAxgRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BindAxgRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string BindAxgRequest::getPhoneNoX()const
{
return phoneNoX_;
}
void BindAxgRequest::setPhoneNoX(const std::string& phoneNoX)
{
phoneNoX_ = phoneNoX;
setCoreParameter("PhoneNoX", phoneNoX);
}
std::string BindAxgRequest::getRingConfig()const
{
return ringConfig_;
}
void BindAxgRequest::setRingConfig(const std::string& ringConfig)
{
ringConfig_ = ringConfig;
setCoreParameter("RingConfig", ringConfig);
}
std::string BindAxgRequest::getPhoneNoB()const
{
return phoneNoB_;
}
void BindAxgRequest::setPhoneNoB(const std::string& phoneNoB)
{
phoneNoB_ = phoneNoB;
setCoreParameter("PhoneNoB", phoneNoB);
}
std::string BindAxgRequest::getPhoneNoA()const
{
return phoneNoA_;
}
void BindAxgRequest::setPhoneNoA(const std::string& phoneNoA)
{
phoneNoA_ = phoneNoA;
setCoreParameter("PhoneNoA", phoneNoA);
}
std::string BindAxgRequest::getExpectCity()const
{
return expectCity_;
}
void BindAxgRequest::setExpectCity(const std::string& expectCity)
{
expectCity_ = expectCity;
setCoreParameter("ExpectCity", expectCity);
}
std::string BindAxgRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void BindAxgRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string BindAxgRequest::getGroupId()const
{
return groupId_;
}
void BindAxgRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setCoreParameter("GroupId", groupId);
}
long BindAxgRequest::getOwnerId()const
{
return ownerId_;
}
void BindAxgRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string BindAxgRequest::getOutOrderId()const
{
return outOrderId_;
}
void BindAxgRequest::setOutOrderId(const std::string& outOrderId)
{
outOrderId_ = outOrderId;
setCoreParameter("OutOrderId", outOrderId);
}
std::string BindAxgRequest::getPoolKey()const
{
return poolKey_;
}
void BindAxgRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string BindAxgRequest::getExpiration()const
{
return expiration_;
}
void BindAxgRequest::setExpiration(const std::string& expiration)
{
expiration_ = expiration;
setCoreParameter("Expiration", expiration);
}
bool BindAxgRequest::getIsRecordingEnabled()const
{
return isRecordingEnabled_;
}
void BindAxgRequest::setIsRecordingEnabled(bool isRecordingEnabled)
{
isRecordingEnabled_ = isRecordingEnabled;
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
}
std::string BindAxgRequest::getOutId()const
{
return outId_;
}
void BindAxgRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/BindAxgResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
BindAxgResult::BindAxgResult() :
ServiceResult()
{}
BindAxgResult::BindAxgResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BindAxgResult::~BindAxgResult()
{}
void BindAxgResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto secretBindDTONode = value["SecretBindDTO"];
if(!secretBindDTONode["SubsId"].isNull())
secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString();
if(!secretBindDTONode["SecretNo"].isNull())
secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString();
if(!secretBindDTONode["Extension"].isNull())
secretBindDTO_.extension = secretBindDTONode["Extension"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
BindAxgResult::SecretBindDTO BindAxgResult::getSecretBindDTO()const
{
return secretBindDTO_;
}
std::string BindAxgResult::getMessage()const
{
return message_;
}
std::string BindAxgResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,203 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/dyplsapi/model/BindAxnExtensionRequest.h>
using AlibabaCloud::Dyplsapi::Model::BindAxnExtensionRequest;
BindAxnExtensionRequest::BindAxnExtensionRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxnExtension")
{}
BindAxnExtensionRequest::~BindAxnExtensionRequest()
{}
long BindAxnExtensionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void BindAxnExtensionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string BindAxnExtensionRequest::getExtension()const
{
return extension_;
}
void BindAxnExtensionRequest::setExtension(const std::string& extension)
{
extension_ = extension;
setCoreParameter("Extension", extension);
}
int BindAxnExtensionRequest::getCallDisplayType()const
{
return callDisplayType_;
}
void BindAxnExtensionRequest::setCallDisplayType(int callDisplayType)
{
callDisplayType_ = callDisplayType;
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
}
std::string BindAxnExtensionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BindAxnExtensionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string BindAxnExtensionRequest::getPhoneNoX()const
{
return phoneNoX_;
}
void BindAxnExtensionRequest::setPhoneNoX(const std::string& phoneNoX)
{
phoneNoX_ = phoneNoX;
setCoreParameter("PhoneNoX", phoneNoX);
}
std::string BindAxnExtensionRequest::getRingConfig()const
{
return ringConfig_;
}
void BindAxnExtensionRequest::setRingConfig(const std::string& ringConfig)
{
ringConfig_ = ringConfig;
setCoreParameter("RingConfig", ringConfig);
}
std::string BindAxnExtensionRequest::getPhoneNoB()const
{
return phoneNoB_;
}
void BindAxnExtensionRequest::setPhoneNoB(const std::string& phoneNoB)
{
phoneNoB_ = phoneNoB;
setCoreParameter("PhoneNoB", phoneNoB);
}
std::string BindAxnExtensionRequest::getPhoneNoA()const
{
return phoneNoA_;
}
void BindAxnExtensionRequest::setPhoneNoA(const std::string& phoneNoA)
{
phoneNoA_ = phoneNoA;
setCoreParameter("PhoneNoA", phoneNoA);
}
std::string BindAxnExtensionRequest::getExpectCity()const
{
return expectCity_;
}
void BindAxnExtensionRequest::setExpectCity(const std::string& expectCity)
{
expectCity_ = expectCity;
setCoreParameter("ExpectCity", expectCity);
}
std::string BindAxnExtensionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void BindAxnExtensionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long BindAxnExtensionRequest::getOwnerId()const
{
return ownerId_;
}
void BindAxnExtensionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string BindAxnExtensionRequest::getOutOrderId()const
{
return outOrderId_;
}
void BindAxnExtensionRequest::setOutOrderId(const std::string& outOrderId)
{
outOrderId_ = outOrderId;
setCoreParameter("OutOrderId", outOrderId);
}
std::string BindAxnExtensionRequest::getPoolKey()const
{
return poolKey_;
}
void BindAxnExtensionRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string BindAxnExtensionRequest::getExpiration()const
{
return expiration_;
}
void BindAxnExtensionRequest::setExpiration(const std::string& expiration)
{
expiration_ = expiration;
setCoreParameter("Expiration", expiration);
}
bool BindAxnExtensionRequest::getIsRecordingEnabled()const
{
return isRecordingEnabled_;
}
void BindAxnExtensionRequest::setIsRecordingEnabled(bool isRecordingEnabled)
{
isRecordingEnabled_ = isRecordingEnabled;
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
}
std::string BindAxnExtensionRequest::getOutId()const
{
return outId_;
}
void BindAxnExtensionRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/BindAxnExtensionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
BindAxnExtensionResult::BindAxnExtensionResult() :
ServiceResult()
{}
BindAxnExtensionResult::BindAxnExtensionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BindAxnExtensionResult::~BindAxnExtensionResult()
{}
void BindAxnExtensionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto secretBindDTONode = value["SecretBindDTO"];
if(!secretBindDTONode["SubsId"].isNull())
secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString();
if(!secretBindDTONode["SecretNo"].isNull())
secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString();
if(!secretBindDTONode["Extension"].isNull())
secretBindDTO_.extension = secretBindDTONode["Extension"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
BindAxnExtensionResult::SecretBindDTO BindAxnExtensionResult::getSecretBindDTO()const
{
return secretBindDTO_;
}
std::string BindAxnExtensionResult::getMessage()const
{
return message_;
}
std::string BindAxnExtensionResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,203 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/dyplsapi/model/BindAxnRequest.h>
using AlibabaCloud::Dyplsapi::Model::BindAxnRequest;
BindAxnRequest::BindAxnRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxn")
{}
BindAxnRequest::~BindAxnRequest()
{}
long BindAxnRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void BindAxnRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int BindAxnRequest::getCallDisplayType()const
{
return callDisplayType_;
}
void BindAxnRequest::setCallDisplayType(int callDisplayType)
{
callDisplayType_ = callDisplayType;
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
}
std::string BindAxnRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BindAxnRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string BindAxnRequest::getPhoneNoX()const
{
return phoneNoX_;
}
void BindAxnRequest::setPhoneNoX(const std::string& phoneNoX)
{
phoneNoX_ = phoneNoX;
setCoreParameter("PhoneNoX", phoneNoX);
}
std::string BindAxnRequest::getRingConfig()const
{
return ringConfig_;
}
void BindAxnRequest::setRingConfig(const std::string& ringConfig)
{
ringConfig_ = ringConfig;
setCoreParameter("RingConfig", ringConfig);
}
std::string BindAxnRequest::getPhoneNoB()const
{
return phoneNoB_;
}
void BindAxnRequest::setPhoneNoB(const std::string& phoneNoB)
{
phoneNoB_ = phoneNoB;
setCoreParameter("PhoneNoB", phoneNoB);
}
std::string BindAxnRequest::getPhoneNoA()const
{
return phoneNoA_;
}
void BindAxnRequest::setPhoneNoA(const std::string& phoneNoA)
{
phoneNoA_ = phoneNoA;
setCoreParameter("PhoneNoA", phoneNoA);
}
std::string BindAxnRequest::getExpectCity()const
{
return expectCity_;
}
void BindAxnRequest::setExpectCity(const std::string& expectCity)
{
expectCity_ = expectCity;
setCoreParameter("ExpectCity", expectCity);
}
std::string BindAxnRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void BindAxnRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long BindAxnRequest::getOwnerId()const
{
return ownerId_;
}
void BindAxnRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string BindAxnRequest::getOutOrderId()const
{
return outOrderId_;
}
void BindAxnRequest::setOutOrderId(const std::string& outOrderId)
{
outOrderId_ = outOrderId;
setCoreParameter("OutOrderId", outOrderId);
}
std::string BindAxnRequest::getPoolKey()const
{
return poolKey_;
}
void BindAxnRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string BindAxnRequest::getExpiration()const
{
return expiration_;
}
void BindAxnRequest::setExpiration(const std::string& expiration)
{
expiration_ = expiration;
setCoreParameter("Expiration", expiration);
}
bool BindAxnRequest::getIsRecordingEnabled()const
{
return isRecordingEnabled_;
}
void BindAxnRequest::setIsRecordingEnabled(bool isRecordingEnabled)
{
isRecordingEnabled_ = isRecordingEnabled;
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
}
std::string BindAxnRequest::getOutId()const
{
return outId_;
}
void BindAxnRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}
std::string BindAxnRequest::getNoType()const
{
return noType_;
}
void BindAxnRequest::setNoType(const std::string& noType)
{
noType_ = noType;
setCoreParameter("NoType", noType);
}

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/BindAxnResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
BindAxnResult::BindAxnResult() :
ServiceResult()
{}
BindAxnResult::BindAxnResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BindAxnResult::~BindAxnResult()
{}
void BindAxnResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto secretBindDTONode = value["SecretBindDTO"];
if(!secretBindDTONode["SubsId"].isNull())
secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString();
if(!secretBindDTONode["SecretNo"].isNull())
secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString();
if(!secretBindDTONode["Extension"].isNull())
secretBindDTO_.extension = secretBindDTONode["Extension"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
BindAxnResult::SecretBindDTO BindAxnResult::getSecretBindDTO()const
{
return secretBindDTO_;
}
std::string BindAxnResult::getMessage()const
{
return message_;
}
std::string BindAxnResult::getCode()const
{
return code_;
}

View 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/dyplsapi/model/BuySecretNoRequest.h>
using AlibabaCloud::Dyplsapi::Model::BuySecretNoRequest;
BuySecretNoRequest::BuySecretNoRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "BuySecretNo")
{}
BuySecretNoRequest::~BuySecretNoRequest()
{}
long BuySecretNoRequest::getSpecId()const
{
return specId_;
}
void BuySecretNoRequest::setSpecId(long specId)
{
specId_ = specId;
setCoreParameter("SpecId", std::to_string(specId));
}
long BuySecretNoRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void BuySecretNoRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string BuySecretNoRequest::getCity()const
{
return city_;
}
void BuySecretNoRequest::setCity(const std::string& city)
{
city_ = city;
setCoreParameter("City", city);
}
std::string BuySecretNoRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void BuySecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string BuySecretNoRequest::getSecretNo()const
{
return secretNo_;
}
void BuySecretNoRequest::setSecretNo(const std::string& secretNo)
{
secretNo_ = secretNo;
setCoreParameter("SecretNo", secretNo);
}
std::string BuySecretNoRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void BuySecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
bool BuySecretNoRequest::getDisplayPool()const
{
return displayPool_;
}
void BuySecretNoRequest::setDisplayPool(bool displayPool)
{
displayPool_ = displayPool;
setCoreParameter("DisplayPool", displayPool ? "true" : "false");
}
long BuySecretNoRequest::getOwnerId()const
{
return ownerId_;
}
void BuySecretNoRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string BuySecretNoRequest::getPoolKey()const
{
return poolKey_;
}
void BuySecretNoRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}

View File

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

View 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/dyplsapi/model/CreateAxgGroupRequest.h>
using AlibabaCloud::Dyplsapi::Model::CreateAxgGroupRequest;
CreateAxgGroupRequest::CreateAxgGroupRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "CreateAxgGroup")
{}
CreateAxgGroupRequest::~CreateAxgGroupRequest()
{}
long CreateAxgGroupRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateAxgGroupRequest::getNumbers()const
{
return numbers_;
}
void CreateAxgGroupRequest::setNumbers(const std::string& numbers)
{
numbers_ = numbers;
setCoreParameter("Numbers", numbers);
}
std::string CreateAxgGroupRequest::getRemark()const
{
return remark_;
}
void CreateAxgGroupRequest::setRemark(const std::string& remark)
{
remark_ = remark;
setCoreParameter("Remark", remark);
}
std::string CreateAxgGroupRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string CreateAxgGroupRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long CreateAxgGroupRequest::getOwnerId()const
{
return ownerId_;
}
void CreateAxgGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateAxgGroupRequest::getPoolKey()const
{
return poolKey_;
}
void CreateAxgGroupRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string CreateAxgGroupRequest::getName()const
{
return name_;
}
void CreateAxgGroupRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}

View File

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

View 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/dyplsapi/model/OperateAxgGroupRequest.h>
using AlibabaCloud::Dyplsapi::Model::OperateAxgGroupRequest;
OperateAxgGroupRequest::OperateAxgGroupRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "OperateAxgGroup")
{}
OperateAxgGroupRequest::~OperateAxgGroupRequest()
{}
long OperateAxgGroupRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void OperateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string OperateAxgGroupRequest::getNumbers()const
{
return numbers_;
}
void OperateAxgGroupRequest::setNumbers(const std::string& numbers)
{
numbers_ = numbers;
setCoreParameter("Numbers", numbers);
}
std::string OperateAxgGroupRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void OperateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string OperateAxgGroupRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void OperateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long OperateAxgGroupRequest::getGroupId()const
{
return groupId_;
}
void OperateAxgGroupRequest::setGroupId(long groupId)
{
groupId_ = groupId;
setCoreParameter("GroupId", std::to_string(groupId));
}
long OperateAxgGroupRequest::getOwnerId()const
{
return ownerId_;
}
void OperateAxgGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string OperateAxgGroupRequest::getPoolKey()const
{
return poolKey_;
}
void OperateAxgGroupRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string OperateAxgGroupRequest::getOperateType()const
{
return operateType_;
}
void OperateAxgGroupRequest::setOperateType(const std::string& operateType)
{
operateType_ = operateType;
setCoreParameter("OperateType", operateType);
}

View File

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

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/QueryCallStatusRequest.h>
using AlibabaCloud::Dyplsapi::Model::QueryCallStatusRequest;
QueryCallStatusRequest::QueryCallStatusRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryCallStatus")
{}
QueryCallStatusRequest::~QueryCallStatusRequest()
{}
long QueryCallStatusRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void QueryCallStatusRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string QueryCallStatusRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void QueryCallStatusRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string QueryCallStatusRequest::getSubsId()const
{
return subsId_;
}
void QueryCallStatusRequest::setSubsId(const std::string& subsId)
{
subsId_ = subsId;
setCoreParameter("SubsId", subsId);
}
std::string QueryCallStatusRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void QueryCallStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string QueryCallStatusRequest::getCallNo()const
{
return callNo_;
}
void QueryCallStatusRequest::setCallNo(const std::string& callNo)
{
callNo_ = callNo;
setCoreParameter("CallNo", callNo);
}
long QueryCallStatusRequest::getOwnerId()const
{
return ownerId_;
}
void QueryCallStatusRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string QueryCallStatusRequest::getPoolKey()const
{
return poolKey_;
}
void QueryCallStatusRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}

View File

@@ -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.
*/
#include <alibabacloud/dyplsapi/model/QueryCallStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
QueryCallStatusResult::QueryCallStatusResult() :
ServiceResult()
{}
QueryCallStatusResult::QueryCallStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryCallStatusResult::~QueryCallStatusResult()
{}
void QueryCallStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto secretCallStatusDTONode = value["SecretCallStatusDTO"];
if(!secretCallStatusDTONode["Status"].isNull())
secretCallStatusDTO_.status = std::stoi(secretCallStatusDTONode["Status"].asString());
if(!secretCallStatusDTONode["CalledNo"].isNull())
secretCallStatusDTO_.calledNo = secretCallStatusDTONode["CalledNo"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QueryCallStatusResult::getMessage()const
{
return message_;
}
std::string QueryCallStatusResult::getCode()const
{
return code_;
}
QueryCallStatusResult::SecretCallStatusDTO QueryCallStatusResult::getSecretCallStatusDTO()const
{
return secretCallStatusDTO_;
}

View 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/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h>
using AlibabaCloud::Dyplsapi::Model::QueryRecordFileDownloadUrlRequest;
QueryRecordFileDownloadUrlRequest::QueryRecordFileDownloadUrlRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "QueryRecordFileDownloadUrl")
{}
QueryRecordFileDownloadUrlRequest::~QueryRecordFileDownloadUrlRequest()
{}
std::string QueryRecordFileDownloadUrlRequest::getCallId()const
{
return callId_;
}
void QueryRecordFileDownloadUrlRequest::setCallId(const std::string& callId)
{
callId_ = callId;
setCoreParameter("CallId", callId);
}
long QueryRecordFileDownloadUrlRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void QueryRecordFileDownloadUrlRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void QueryRecordFileDownloadUrlRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string QueryRecordFileDownloadUrlRequest::getProductType()const
{
return productType_;
}
void QueryRecordFileDownloadUrlRequest::setProductType(const std::string& productType)
{
productType_ = productType;
setCoreParameter("ProductType", productType);
}
std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void QueryRecordFileDownloadUrlRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long QueryRecordFileDownloadUrlRequest::getOwnerId()const
{
return ownerId_;
}
void QueryRecordFileDownloadUrlRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string QueryRecordFileDownloadUrlRequest::getCallTime()const
{
return callTime_;
}
void QueryRecordFileDownloadUrlRequest::setCallTime(const std::string& callTime)
{
callTime_ = callTime;
setCoreParameter("CallTime", callTime);
}
std::string QueryRecordFileDownloadUrlRequest::getPoolKey()const
{
return poolKey_;
}
void QueryRecordFileDownloadUrlRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}

View File

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

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h>
using AlibabaCloud::Dyplsapi::Model::QuerySecretNoRemainRequest;
QuerySecretNoRemainRequest::QuerySecretNoRemainRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySecretNoRemain")
{}
QuerySecretNoRemainRequest::~QuerySecretNoRemainRequest()
{}
long QuerySecretNoRemainRequest::getSpecId()const
{
return specId_;
}
void QuerySecretNoRemainRequest::setSpecId(long specId)
{
specId_ = specId;
setCoreParameter("SpecId", std::to_string(specId));
}
long QuerySecretNoRemainRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void QuerySecretNoRemainRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string QuerySecretNoRemainRequest::getCity()const
{
return city_;
}
void QuerySecretNoRemainRequest::setCity(const std::string& city)
{
city_ = city;
setCoreParameter("City", city);
}
std::string QuerySecretNoRemainRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void QuerySecretNoRemainRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string QuerySecretNoRemainRequest::getSecretNo()const
{
return secretNo_;
}
void QuerySecretNoRemainRequest::setSecretNo(const std::string& secretNo)
{
secretNo_ = secretNo;
setCoreParameter("SecretNo", secretNo);
}
std::string QuerySecretNoRemainRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void QuerySecretNoRemainRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long QuerySecretNoRemainRequest::getOwnerId()const
{
return ownerId_;
}
void QuerySecretNoRemainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -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.
*/
#include <alibabacloud/dyplsapi/model/QuerySecretNoRemainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
QuerySecretNoRemainResult::QuerySecretNoRemainResult() :
ServiceResult()
{}
QuerySecretNoRemainResult::QuerySecretNoRemainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QuerySecretNoRemainResult::~QuerySecretNoRemainResult()
{}
void QuerySecretNoRemainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto secretRemainDTONode = value["SecretRemainDTO"];
if(!secretRemainDTONode["City"].isNull())
secretRemainDTO_.city = secretRemainDTONode["City"].asString();
if(!secretRemainDTONode["Amount"].isNull())
secretRemainDTO_.amount = std::stol(secretRemainDTONode["Amount"].asString());
auto allRemainDTOListNode = secretRemainDTONode["RemainDTOList"]["remainDTO"];
for (auto secretRemainDTONodeRemainDTOListremainDTO : allRemainDTOListNode)
{
SecretRemainDTO::RemainDTO remainDTOObject;
if(!secretRemainDTONodeRemainDTOListremainDTO["City"].isNull())
remainDTOObject.city = secretRemainDTONodeRemainDTOListremainDTO["City"].asString();
if(!secretRemainDTONodeRemainDTOListremainDTO["Amount"].isNull())
remainDTOObject.amount = std::stol(secretRemainDTONodeRemainDTOListremainDTO["Amount"].asString());
secretRemainDTO_.remainDTOList.push_back(remainDTOObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
QuerySecretNoRemainResult::SecretRemainDTO QuerySecretNoRemainResult::getSecretRemainDTO()const
{
return secretRemainDTO_;
}
std::string QuerySecretNoRemainResult::getMessage()const
{
return message_;
}
std::string QuerySecretNoRemainResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/QuerySubsIdRequest.h>
using AlibabaCloud::Dyplsapi::Model::QuerySubsIdRequest;
QuerySubsIdRequest::QuerySubsIdRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubsId")
{}
QuerySubsIdRequest::~QuerySubsIdRequest()
{}
long QuerySubsIdRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void QuerySubsIdRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string QuerySubsIdRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void QuerySubsIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long QuerySubsIdRequest::getOwnerId()const
{
return ownerId_;
}
void QuerySubsIdRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string QuerySubsIdRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void QuerySubsIdRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string QuerySubsIdRequest::getPoolKey()const
{
return poolKey_;
}
void QuerySubsIdRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string QuerySubsIdRequest::getPhoneNoX()const
{
return phoneNoX_;
}
void QuerySubsIdRequest::setPhoneNoX(const std::string& phoneNoX)
{
phoneNoX_ = phoneNoX;
setCoreParameter("PhoneNoX", phoneNoX);
}

View File

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

View 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/dyplsapi/model/QuerySubscriptionDetailRequest.h>
using AlibabaCloud::Dyplsapi::Model::QuerySubscriptionDetailRequest;
QuerySubscriptionDetailRequest::QuerySubscriptionDetailRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubscriptionDetail")
{}
QuerySubscriptionDetailRequest::~QuerySubscriptionDetailRequest()
{}
long QuerySubscriptionDetailRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void QuerySubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string QuerySubscriptionDetailRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void QuerySubscriptionDetailRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string QuerySubscriptionDetailRequest::getProductType()const
{
return productType_;
}
void QuerySubscriptionDetailRequest::setProductType(const std::string& productType)
{
productType_ = productType;
setCoreParameter("ProductType", productType);
}
std::string QuerySubscriptionDetailRequest::getSubsId()const
{
return subsId_;
}
void QuerySubscriptionDetailRequest::setSubsId(const std::string& subsId)
{
subsId_ = subsId;
setCoreParameter("SubsId", subsId);
}
std::string QuerySubscriptionDetailRequest::getPhoneNoX()const
{
return phoneNoX_;
}
void QuerySubscriptionDetailRequest::setPhoneNoX(const std::string& phoneNoX)
{
phoneNoX_ = phoneNoX;
setCoreParameter("PhoneNoX", phoneNoX);
}
std::string QuerySubscriptionDetailRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void QuerySubscriptionDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long QuerySubscriptionDetailRequest::getOwnerId()const
{
return ownerId_;
}
void QuerySubscriptionDetailRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string QuerySubscriptionDetailRequest::getPoolKey()const
{
return poolKey_;
}
void QuerySubscriptionDetailRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/QuerySubscriptionDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dyplsapi;
using namespace AlibabaCloud::Dyplsapi::Model;
QuerySubscriptionDetailResult::QuerySubscriptionDetailResult() :
ServiceResult()
{}
QuerySubscriptionDetailResult::QuerySubscriptionDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QuerySubscriptionDetailResult::~QuerySubscriptionDetailResult()
{}
void QuerySubscriptionDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto secretBindDetailDTONode = value["SecretBindDetailDTO"];
if(!secretBindDetailDTONode["SubsId"].isNull())
secretBindDetailDTO_.subsId = secretBindDetailDTONode["SubsId"].asString();
if(!secretBindDetailDTONode["PhoneNoA"].isNull())
secretBindDetailDTO_.phoneNoA = secretBindDetailDTONode["PhoneNoA"].asString();
if(!secretBindDetailDTONode["PhoneNoX"].isNull())
secretBindDetailDTO_.phoneNoX = secretBindDetailDTONode["PhoneNoX"].asString();
if(!secretBindDetailDTONode["PhoneNoB"].isNull())
secretBindDetailDTO_.phoneNoB = secretBindDetailDTONode["PhoneNoB"].asString();
if(!secretBindDetailDTONode["Extension"].isNull())
secretBindDetailDTO_.extension = secretBindDetailDTONode["Extension"].asString();
if(!secretBindDetailDTONode["GroupId"].isNull())
secretBindDetailDTO_.groupId = std::stol(secretBindDetailDTONode["GroupId"].asString());
if(!secretBindDetailDTONode["GmtCreate"].isNull())
secretBindDetailDTO_.gmtCreate = secretBindDetailDTONode["GmtCreate"].asString();
if(!secretBindDetailDTONode["ExpireDate"].isNull())
secretBindDetailDTO_.expireDate = secretBindDetailDTONode["ExpireDate"].asString();
if(!secretBindDetailDTONode["NeedRecord"].isNull())
secretBindDetailDTO_.needRecord = secretBindDetailDTONode["NeedRecord"].asString() == "true";
if(!secretBindDetailDTONode["CallRestrict"].isNull())
secretBindDetailDTO_.callRestrict = secretBindDetailDTONode["CallRestrict"].asString();
if(!secretBindDetailDTONode["Status"].isNull())
secretBindDetailDTO_.status = std::stol(secretBindDetailDTONode["Status"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
QuerySubscriptionDetailResult::SecretBindDetailDTO QuerySubscriptionDetailResult::getSecretBindDetailDTO()const
{
return secretBindDetailDTO_;
}
std::string QuerySubscriptionDetailResult::getMessage()const
{
return message_;
}
std::string QuerySubscriptionDetailResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dyplsapi/model/ReleaseSecretNoRequest.h>
using AlibabaCloud::Dyplsapi::Model::ReleaseSecretNoRequest;
ReleaseSecretNoRequest::ReleaseSecretNoRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "ReleaseSecretNo")
{}
ReleaseSecretNoRequest::~ReleaseSecretNoRequest()
{}
long ReleaseSecretNoRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ReleaseSecretNoRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ReleaseSecretNoRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void ReleaseSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long ReleaseSecretNoRequest::getOwnerId()const
{
return ownerId_;
}
void ReleaseSecretNoRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string ReleaseSecretNoRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ReleaseSecretNoRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string ReleaseSecretNoRequest::getPoolKey()const
{
return poolKey_;
}
void ReleaseSecretNoRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string ReleaseSecretNoRequest::getSecretNo()const
{
return secretNo_;
}
void ReleaseSecretNoRequest::setSecretNo(const std::string& secretNo)
{
secretNo_ = secretNo;
setCoreParameter("SecretNo", secretNo);
}

View File

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

View 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/dyplsapi/model/UnbindSubscriptionRequest.h>
using AlibabaCloud::Dyplsapi::Model::UnbindSubscriptionRequest;
UnbindSubscriptionRequest::UnbindSubscriptionRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "UnbindSubscription")
{}
UnbindSubscriptionRequest::~UnbindSubscriptionRequest()
{}
long UnbindSubscriptionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void UnbindSubscriptionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string UnbindSubscriptionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void UnbindSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string UnbindSubscriptionRequest::getProductType()const
{
return productType_;
}
void UnbindSubscriptionRequest::setProductType(const std::string& productType)
{
productType_ = productType;
setCoreParameter("ProductType", productType);
}
std::string UnbindSubscriptionRequest::getSubsId()const
{
return subsId_;
}
void UnbindSubscriptionRequest::setSubsId(const std::string& subsId)
{
subsId_ = subsId;
setCoreParameter("SubsId", subsId);
}
std::string UnbindSubscriptionRequest::getSecretNo()const
{
return secretNo_;
}
void UnbindSubscriptionRequest::setSecretNo(const std::string& secretNo)
{
secretNo_ = secretNo;
setCoreParameter("SecretNo", secretNo);
}
std::string UnbindSubscriptionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void UnbindSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long UnbindSubscriptionRequest::getOwnerId()const
{
return ownerId_;
}
void UnbindSubscriptionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string UnbindSubscriptionRequest::getPoolKey()const
{
return poolKey_;
}
void UnbindSubscriptionRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}

View File

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

View File

@@ -0,0 +1,225 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/dyplsapi/model/UpdateSubscriptionRequest.h>
using AlibabaCloud::Dyplsapi::Model::UpdateSubscriptionRequest;
UpdateSubscriptionRequest::UpdateSubscriptionRequest() :
RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateSubscription")
{}
UpdateSubscriptionRequest::~UpdateSubscriptionRequest()
{}
long UpdateSubscriptionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void UpdateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int UpdateSubscriptionRequest::getCallDisplayType()const
{
return callDisplayType_;
}
void UpdateSubscriptionRequest::setCallDisplayType(int callDisplayType)
{
callDisplayType_ = callDisplayType;
setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
}
std::string UpdateSubscriptionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void UpdateSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string UpdateSubscriptionRequest::getProductType()const
{
return productType_;
}
void UpdateSubscriptionRequest::setProductType(const std::string& productType)
{
productType_ = productType;
setCoreParameter("ProductType", productType);
}
std::string UpdateSubscriptionRequest::getSubsId()const
{
return subsId_;
}
void UpdateSubscriptionRequest::setSubsId(const std::string& subsId)
{
subsId_ = subsId;
setCoreParameter("SubsId", subsId);
}
std::string UpdateSubscriptionRequest::getPhoneNoX()const
{
return phoneNoX_;
}
void UpdateSubscriptionRequest::setPhoneNoX(const std::string& phoneNoX)
{
phoneNoX_ = phoneNoX;
setCoreParameter("PhoneNoX", phoneNoX);
}
std::string UpdateSubscriptionRequest::getRingConfig()const
{
return ringConfig_;
}
void UpdateSubscriptionRequest::setRingConfig(const std::string& ringConfig)
{
ringConfig_ = ringConfig;
setCoreParameter("RingConfig", ringConfig);
}
std::string UpdateSubscriptionRequest::getPhoneNoB()const
{
return phoneNoB_;
}
void UpdateSubscriptionRequest::setPhoneNoB(const std::string& phoneNoB)
{
phoneNoB_ = phoneNoB;
setCoreParameter("PhoneNoB", phoneNoB);
}
std::string UpdateSubscriptionRequest::getPhoneNoA()const
{
return phoneNoA_;
}
void UpdateSubscriptionRequest::setPhoneNoA(const std::string& phoneNoA)
{
phoneNoA_ = phoneNoA;
setCoreParameter("PhoneNoA", phoneNoA);
}
std::string UpdateSubscriptionRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void UpdateSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string UpdateSubscriptionRequest::getGroupId()const
{
return groupId_;
}
void UpdateSubscriptionRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setCoreParameter("GroupId", groupId);
}
long UpdateSubscriptionRequest::getOwnerId()const
{
return ownerId_;
}
void UpdateSubscriptionRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string UpdateSubscriptionRequest::getPoolKey()const
{
return poolKey_;
}
void UpdateSubscriptionRequest::setPoolKey(const std::string& poolKey)
{
poolKey_ = poolKey;
setCoreParameter("PoolKey", poolKey);
}
std::string UpdateSubscriptionRequest::getExpiration()const
{
return expiration_;
}
void UpdateSubscriptionRequest::setExpiration(const std::string& expiration)
{
expiration_ = expiration;
setCoreParameter("Expiration", expiration);
}
std::string UpdateSubscriptionRequest::getOutId()const
{
return outId_;
}
void UpdateSubscriptionRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}
bool UpdateSubscriptionRequest::getIsRecordingEnabled()const
{
return isRecordingEnabled_;
}
void UpdateSubscriptionRequest::setIsRecordingEnabled(bool isRecordingEnabled)
{
isRecordingEnabled_ = isRecordingEnabled;
setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
}
std::string UpdateSubscriptionRequest::getOperateType()const
{
return operateType_;
}
void UpdateSubscriptionRequest::setOperateType(const std::string& operateType)
{
operateType_ = operateType;
setCoreParameter("OperateType", operateType);
}
std::string UpdateSubscriptionRequest::getCallRestrict()const
{
return callRestrict_;
}
void UpdateSubscriptionRequest::setCallRestrict(const std::string& callRestrict)
{
callRestrict_ = callRestrict;
setCoreParameter("CallRestrict", callRestrict);
}

View File

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

View File

@@ -541,6 +541,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/RevokeSecurityGroupResult.h
include/alibabacloud/ecs/model/RevokeSecurityGroupEgressRequest.h
include/alibabacloud/ecs/model/RevokeSecurityGroupEgressResult.h
include/alibabacloud/ecs/model/RunCommandRequest.h
include/alibabacloud/ecs/model/RunCommandResult.h
include/alibabacloud/ecs/model/RunInstancesRequest.h
include/alibabacloud/ecs/model/RunInstancesResult.h
include/alibabacloud/ecs/model/StartInstanceRequest.h
@@ -1088,6 +1090,8 @@ set(ecs_src
src/model/RevokeSecurityGroupResult.cc
src/model/RevokeSecurityGroupEgressRequest.cc
src/model/RevokeSecurityGroupEgressResult.cc
src/model/RunCommandRequest.cc
src/model/RunCommandResult.cc
src/model/RunInstancesRequest.cc
src/model/RunInstancesResult.cc
src/model/StartInstanceRequest.cc

View File

@@ -542,6 +542,8 @@
#include "model/RevokeSecurityGroupResult.h"
#include "model/RevokeSecurityGroupEgressRequest.h"
#include "model/RevokeSecurityGroupEgressResult.h"
#include "model/RunCommandRequest.h"
#include "model/RunCommandResult.h"
#include "model/RunInstancesRequest.h"
#include "model/RunInstancesResult.h"
#include "model/StartInstanceRequest.h"
@@ -1355,6 +1357,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RevokeSecurityGroupEgressResult> RevokeSecurityGroupEgressOutcome;
typedef std::future<RevokeSecurityGroupEgressOutcome> RevokeSecurityGroupEgressOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::RevokeSecurityGroupEgressRequest&, const RevokeSecurityGroupEgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeSecurityGroupEgressAsyncHandler;
typedef Outcome<Error, Model::RunCommandResult> RunCommandOutcome;
typedef std::future<RunCommandOutcome> RunCommandOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::RunCommandRequest&, const RunCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunCommandAsyncHandler;
typedef Outcome<Error, Model::RunInstancesResult> RunInstancesOutcome;
typedef std::future<RunInstancesOutcome> RunInstancesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::RunInstancesRequest&, const RunInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunInstancesAsyncHandler;
@@ -2176,6 +2181,9 @@ namespace AlibabaCloud
RevokeSecurityGroupEgressOutcome revokeSecurityGroupEgress(const Model::RevokeSecurityGroupEgressRequest &request)const;
void revokeSecurityGroupEgressAsync(const Model::RevokeSecurityGroupEgressRequest& request, const RevokeSecurityGroupEgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RevokeSecurityGroupEgressOutcomeCallable revokeSecurityGroupEgressCallable(const Model::RevokeSecurityGroupEgressRequest& request) const;
RunCommandOutcome runCommand(const Model::RunCommandRequest &request)const;
void runCommandAsync(const Model::RunCommandRequest& request, const RunCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunCommandOutcomeCallable runCommandCallable(const Model::RunCommandRequest& request) const;
RunInstancesOutcome runInstances(const Model::RunInstancesRequest &request)const;
void runInstancesAsync(const Model::RunInstancesRequest& request, const RunInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunInstancesOutcomeCallable runInstancesCallable(const Model::RunInstancesRequest& request) const;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setPageNumber(long pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getContentEncoding()const;
void setContentEncoding(const std::string& contentEncoding);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getResourceOwnerAccount()const;
@@ -65,6 +67,7 @@ namespace AlibabaCloud
std::string commandId_;
long pageNumber_;
std::string regionId_;
std::string contentEncoding_;
long pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setPageNumber(long pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getContentEncoding()const;
void setContentEncoding(const std::string& contentEncoding);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getInvokeId()const;
@@ -70,6 +72,7 @@ namespace AlibabaCloud
std::string commandId_;
long pageNumber_;
std::string regionId_;
std::string contentEncoding_;
long pageSize_;
std::string invokeId_;
bool timed_;

View File

@@ -55,6 +55,8 @@ namespace AlibabaCloud
void setInternetChargeType(const std::string& internetChargeType);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
int getInstanceAmount()const;
void setInstanceAmount(int instanceAmount);
std::string getDataDisk3PerformanceLevel()const;
void setDataDisk3PerformanceLevel(const std::string& dataDisk3PerformanceLevel);
std::string getImageId()const;
@@ -65,6 +67,8 @@ namespace AlibabaCloud
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
std::string getSystemDiskCategory()const;
void setSystemDiskCategory(const std::string& systemDiskCategory);
std::string getPlatform()const;
void setPlatform(const std::string& platform);
std::string getSystemDiskPerformanceLevel()const;
void setSystemDiskPerformanceLevel(const std::string& systemDiskPerformanceLevel);
std::string getDataDisk4Category()const;
@@ -73,6 +77,8 @@ namespace AlibabaCloud
void setDataDisk4PerformanceLevel(const std::string& dataDisk4PerformanceLevel);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getScope()const;
void setScope(const std::string& scope);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getDataDisk2Category()const;
@@ -95,6 +101,8 @@ namespace AlibabaCloud
void setDataDisk2PerformanceLevel(const std::string& dataDisk2PerformanceLevel);
int getSystemDiskSize()const;
void setSystemDiskSize(int systemDiskSize);
std::string getOfferingType()const;
void setOfferingType(const std::string& offeringType);
private:
int dataDisk3Size_;
@@ -107,15 +115,18 @@ namespace AlibabaCloud
long ownerId_;
std::string internetChargeType_;
std::string instanceNetworkType_;
int instanceAmount_;
std::string dataDisk3PerformanceLevel_;
std::string imageId_;
std::string ioOptimized_;
int internetMaxBandwidthOut_;
std::string systemDiskCategory_;
std::string platform_;
std::string systemDiskPerformanceLevel_;
std::string dataDisk4Category_;
std::string dataDisk4PerformanceLevel_;
std::string regionId_;
std::string scope_;
std::string instanceType_;
std::string dataDisk2Category_;
int dataDisk1Size_;
@@ -127,6 +138,7 @@ namespace AlibabaCloud
std::string dataDisk1Category_;
std::string dataDisk2PerformanceLevel_;
int systemDiskSize_;
std::string offeringType_;
};
}

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
float tradePrice;
};
float originalPrice;
float reservedInstanceHourPrice;
float discountPrice;
std::string currency;
std::vector<ResourcePriceModel> detailInfos;

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_RUNCOMMANDREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_RUNCOMMANDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT RunCommandRequest : public RpcServiceRequest
{
public:
RunCommandRequest();
~RunCommandRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getWorkingDir()const;
void setWorkingDir(const std::string& workingDir);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getCommandContent()const;
void setCommandContent(const std::string& commandContent);
long getTimeout()const;
void setTimeout(long timeout);
std::string getFrequency()const;
void setFrequency(const std::string& frequency);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getContentEncoding()const;
void setContentEncoding(const std::string& contentEncoding);
bool getKeepCommand()const;
void setKeepCommand(bool keepCommand);
bool getTimed()const;
void setTimed(bool timed);
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::vector<std::string> getInstanceId()const;
void setInstanceId(const std::vector<std::string>& instanceId);
std::string getName()const;
void setName(const std::string& name);
std::map<std::string, std::string> getParameters()const;
void setParameters(const std::map<std::string, std::string>& parameters);
bool getEnableParameter()const;
void setEnableParameter(bool enableParameter);
private:
long resourceOwnerId_;
std::string workingDir_;
std::string description_;
std::string type_;
std::string commandContent_;
long timeout_;
std::string frequency_;
std::string regionId_;
std::string contentEncoding_;
bool keepCommand_;
bool timed_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::vector<std::string> instanceId_;
std::string name_;
std::map<std::string, std::string> parameters_;
bool enableParameter_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_RUNCOMMANDREQUEST_H_

View File

@@ -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_ECS_MODEL_RUNCOMMANDRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_RUNCOMMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT RunCommandResult : public ServiceResult
{
public:
RunCommandResult();
explicit RunCommandResult(const std::string &payload);
~RunCommandResult();
std::string getCommandId()const;
std::string getInvokeId()const;
protected:
void parse(const std::string &payload);
private:
std::string commandId_;
std::string invokeId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_RUNCOMMANDRESULT_H_

View File

@@ -9411,6 +9411,42 @@ EcsClient::RevokeSecurityGroupEgressOutcomeCallable EcsClient::revokeSecurityGro
return task->get_future();
}
EcsClient::RunCommandOutcome EcsClient::runCommand(const RunCommandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RunCommandOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RunCommandOutcome(RunCommandResult(outcome.result()));
else
return RunCommandOutcome(outcome.error());
}
void EcsClient::runCommandAsync(const RunCommandRequest& request, const RunCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, runCommand(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::RunCommandOutcomeCallable EcsClient::runCommandCallable(const RunCommandRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RunCommandOutcome()>>(
[this, request]()
{
return this->runCommand(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::RunInstancesOutcome EcsClient::runInstances(const RunInstancesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -91,6 +91,17 @@ void DescribeCommandsRequest::setRegionId(const std::string& regionId)
setCoreParameter("RegionId", regionId);
}
std::string DescribeCommandsRequest::getContentEncoding()const
{
return contentEncoding_;
}
void DescribeCommandsRequest::setContentEncoding(const std::string& contentEncoding)
{
contentEncoding_ = contentEncoding;
setCoreParameter("ContentEncoding", contentEncoding);
}
long DescribeCommandsRequest::getPageSize()const
{
return pageSize_;

View File

@@ -80,6 +80,17 @@ void DescribeInvocationsRequest::setRegionId(const std::string& regionId)
setCoreParameter("RegionId", regionId);
}
std::string DescribeInvocationsRequest::getContentEncoding()const
{
return contentEncoding_;
}
void DescribeInvocationsRequest::setContentEncoding(const std::string& contentEncoding)
{
contentEncoding_ = contentEncoding;
setCoreParameter("ContentEncoding", contentEncoding);
}
long DescribeInvocationsRequest::getPageSize()const
{
return pageSize_;

View File

@@ -135,6 +135,17 @@ void DescribePriceRequest::setInstanceNetworkType(const std::string& instanceNet
setCoreParameter("InstanceNetworkType", instanceNetworkType);
}
int DescribePriceRequest::getInstanceAmount()const
{
return instanceAmount_;
}
void DescribePriceRequest::setInstanceAmount(int instanceAmount)
{
instanceAmount_ = instanceAmount;
setCoreParameter("InstanceAmount", std::to_string(instanceAmount));
}
std::string DescribePriceRequest::getDataDisk3PerformanceLevel()const
{
return dataDisk3PerformanceLevel_;
@@ -190,6 +201,17 @@ void DescribePriceRequest::setSystemDiskCategory(const std::string& systemDiskCa
setCoreParameter("SystemDiskCategory", systemDiskCategory);
}
std::string DescribePriceRequest::getPlatform()const
{
return platform_;
}
void DescribePriceRequest::setPlatform(const std::string& platform)
{
platform_ = platform;
setCoreParameter("Platform", platform);
}
std::string DescribePriceRequest::getSystemDiskPerformanceLevel()const
{
return systemDiskPerformanceLevel_;
@@ -234,6 +256,17 @@ void DescribePriceRequest::setRegionId(const std::string& regionId)
setCoreParameter("RegionId", regionId);
}
std::string DescribePriceRequest::getScope()const
{
return scope_;
}
void DescribePriceRequest::setScope(const std::string& scope)
{
scope_ = scope;
setCoreParameter("Scope", scope);
}
std::string DescribePriceRequest::getInstanceType()const
{
return instanceType_;
@@ -355,3 +388,14 @@ void DescribePriceRequest::setSystemDiskSize(int systemDiskSize)
setCoreParameter("SystemDiskSize", std::to_string(systemDiskSize));
}
std::string DescribePriceRequest::getOfferingType()const
{
return offeringType_;
}
void DescribePriceRequest::setOfferingType(const std::string& offeringType)
{
offeringType_ = offeringType;
setCoreParameter("OfferingType", offeringType);
}

View File

@@ -57,6 +57,8 @@ void DescribePriceResult::parse(const std::string &payload)
priceInfo_.price.discountPrice = std::stof(priceNode["DiscountPrice"].asString());
if(!priceNode["TradePrice"].isNull())
priceInfo_.price.tradePrice = std::stof(priceNode["TradePrice"].asString());
if(!priceNode["ReservedInstanceHourPrice"].isNull())
priceInfo_.price.reservedInstanceHourPrice = std::stof(priceNode["ReservedInstanceHourPrice"].asString());
if(!priceNode["Currency"].isNull())
priceInfo_.price.currency = priceNode["Currency"].asString();
auto allDetailInfosNode = priceNode["DetailInfos"]["ResourcePriceModel"];

View File

@@ -0,0 +1,226 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ecs/model/RunCommandRequest.h>
using AlibabaCloud::Ecs::Model::RunCommandRequest;
RunCommandRequest::RunCommandRequest() :
RpcServiceRequest("ecs", "2014-05-26", "RunCommand")
{}
RunCommandRequest::~RunCommandRequest()
{}
long RunCommandRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void RunCommandRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string RunCommandRequest::getWorkingDir()const
{
return workingDir_;
}
void RunCommandRequest::setWorkingDir(const std::string& workingDir)
{
workingDir_ = workingDir;
setCoreParameter("WorkingDir", workingDir);
}
std::string RunCommandRequest::getDescription()const
{
return description_;
}
void RunCommandRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
std::string RunCommandRequest::getType()const
{
return type_;
}
void RunCommandRequest::setType(const std::string& type)
{
type_ = type;
setCoreParameter("Type", type);
}
std::string RunCommandRequest::getCommandContent()const
{
return commandContent_;
}
void RunCommandRequest::setCommandContent(const std::string& commandContent)
{
commandContent_ = commandContent;
setCoreParameter("CommandContent", commandContent);
}
long RunCommandRequest::getTimeout()const
{
return timeout_;
}
void RunCommandRequest::setTimeout(long timeout)
{
timeout_ = timeout;
setCoreParameter("Timeout", std::to_string(timeout));
}
std::string RunCommandRequest::getFrequency()const
{
return frequency_;
}
void RunCommandRequest::setFrequency(const std::string& frequency)
{
frequency_ = frequency;
setCoreParameter("Frequency", frequency);
}
std::string RunCommandRequest::getRegionId()const
{
return regionId_;
}
void RunCommandRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string RunCommandRequest::getContentEncoding()const
{
return contentEncoding_;
}
void RunCommandRequest::setContentEncoding(const std::string& contentEncoding)
{
contentEncoding_ = contentEncoding;
setCoreParameter("ContentEncoding", contentEncoding);
}
bool RunCommandRequest::getKeepCommand()const
{
return keepCommand_;
}
void RunCommandRequest::setKeepCommand(bool keepCommand)
{
keepCommand_ = keepCommand;
setCoreParameter("KeepCommand", keepCommand ? "true" : "false");
}
bool RunCommandRequest::getTimed()const
{
return timed_;
}
void RunCommandRequest::setTimed(bool timed)
{
timed_ = timed;
setCoreParameter("Timed", timed ? "true" : "false");
}
std::string RunCommandRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void RunCommandRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string RunCommandRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void RunCommandRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setCoreParameter("OwnerAccount", ownerAccount);
}
long RunCommandRequest::getOwnerId()const
{
return ownerId_;
}
void RunCommandRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::vector<std::string> RunCommandRequest::getInstanceId()const
{
return instanceId_;
}
void RunCommandRequest::setInstanceId(const std::vector<std::string>& instanceId)
{
instanceId_ = instanceId;
for(int i = 0; i!= instanceId.size(); i++)
setCoreParameter("InstanceId."+ std::to_string(i), instanceId.at(i));
}
std::string RunCommandRequest::getName()const
{
return name_;
}
void RunCommandRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}
std::map<std::string, std::string> RunCommandRequest::getParameters()const
{
return parameters_;
}
void RunCommandRequest::setParameters(const std::map<std::string, std::string>& parameters)
{
parameters_ = parameters;
setJsonParameters("Parameters", parameters);
}
bool RunCommandRequest::getEnableParameter()const
{
return enableParameter_;
}
void RunCommandRequest::setEnableParameter(bool enableParameter)
{
enableParameter_ = enableParameter;
setCoreParameter("EnableParameter", enableParameter ? "true" : "false");
}

View File

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

View File

@@ -279,6 +279,8 @@ set(green_public_header_model
include/alibabacloud/green/model/VideoAsyncScanResult.h
include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
include/alibabacloud/green/model/VideoAsyncScanResultsResult.h
include/alibabacloud/green/model/VideoCancelScanRequest.h
include/alibabacloud/green/model/VideoCancelScanResult.h
include/alibabacloud/green/model/VideoFeedbackRequest.h
include/alibabacloud/green/model/VideoFeedbackResult.h
include/alibabacloud/green/model/VideoSyncScanRequest.h
@@ -560,6 +562,8 @@ set(green_src
src/model/VideoAsyncScanResult.cc
src/model/VideoAsyncScanResultsRequest.cc
src/model/VideoAsyncScanResultsResult.cc
src/model/VideoCancelScanRequest.cc
src/model/VideoCancelScanResult.cc
src/model/VideoFeedbackRequest.cc
src/model/VideoFeedbackResult.cc
src/model/VideoSyncScanRequest.cc

View File

@@ -280,6 +280,8 @@
#include "model/VideoAsyncScanResult.h"
#include "model/VideoAsyncScanResultsRequest.h"
#include "model/VideoAsyncScanResultsResult.h"
#include "model/VideoCancelScanRequest.h"
#include "model/VideoCancelScanResult.h"
#include "model/VideoFeedbackRequest.h"
#include "model/VideoFeedbackResult.h"
#include "model/VideoSyncScanRequest.h"
@@ -696,6 +698,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::VideoAsyncScanResultsResult> VideoAsyncScanResultsOutcome;
typedef std::future<VideoAsyncScanResultsOutcome> VideoAsyncScanResultsOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoAsyncScanResultsRequest&, const VideoAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoAsyncScanResultsAsyncHandler;
typedef Outcome<Error, Model::VideoCancelScanResult> VideoCancelScanOutcome;
typedef std::future<VideoCancelScanOutcome> VideoCancelScanOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoCancelScanRequest&, const VideoCancelScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoCancelScanAsyncHandler;
typedef Outcome<Error, Model::VideoFeedbackResult> VideoFeedbackOutcome;
typedef std::future<VideoFeedbackOutcome> VideoFeedbackOutcomeCallable;
typedef std::function<void(const GreenClient*, const Model::VideoFeedbackRequest&, const VideoFeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoFeedbackAsyncHandler;
@@ -1118,6 +1123,9 @@ namespace AlibabaCloud
VideoAsyncScanResultsOutcome videoAsyncScanResults(const Model::VideoAsyncScanResultsRequest &request)const;
void videoAsyncScanResultsAsync(const Model::VideoAsyncScanResultsRequest& request, const VideoAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoAsyncScanResultsOutcomeCallable videoAsyncScanResultsCallable(const Model::VideoAsyncScanResultsRequest& request) const;
VideoCancelScanOutcome videoCancelScan(const Model::VideoCancelScanRequest &request)const;
void videoCancelScanAsync(const Model::VideoCancelScanRequest& request, const VideoCancelScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoCancelScanOutcomeCallable videoCancelScanCallable(const Model::VideoCancelScanRequest& request) const;
VideoFeedbackOutcome videoFeedback(const Model::VideoFeedbackRequest &request)const;
void videoFeedbackAsync(const Model::VideoFeedbackRequest& request, const VideoFeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VideoFeedbackOutcomeCallable videoFeedbackCallable(const Model::VideoFeedbackRequest& request) const;

View File

@@ -1,51 +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_GREEN_MODEL_ADDFACESREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddFacesRequest : public RoaServiceRequest
{
public:
AddFacesRequest();
~AddFacesRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_ADDFACESREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddFacesRequest : public RoaServiceRequest
{
public:
AddFacesRequest();
~AddFacesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDFACESREQUEST_H_

96
green/include/alibabacloud/green/model/AddFacesResult.h Executable file → Normal file
View File

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

View File

@@ -1,51 +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_GREEN_MODEL_ADDGROUPSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddGroupsRequest : public RoaServiceRequest
{
public:
AddGroupsRequest();
~AddGroupsRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_ADDGROUPSREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddGroupsRequest : public RoaServiceRequest
{
public:
AddGroupsRequest();
~AddGroupsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDGROUPSREQUEST_H_

View File

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

View File

@@ -1,51 +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_GREEN_MODEL_ADDPERSONREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDPERSONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddPersonRequest : public RoaServiceRequest
{
public:
AddPersonRequest();
~AddPersonRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_ADDPERSONREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_ADDPERSONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT AddPersonRequest : public RoaServiceRequest
{
public:
AddPersonRequest();
~AddPersonRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDPERSONREQUEST_H_

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
DeleteBizTypeRequest();
~DeleteBizTypeRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getBizTypeName()const;
void setBizTypeName(const std::string& bizTypeName);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getBizTypeName()const;
void setBizTypeName(const std::string& bizTypeName);
private:
std::string sourceIp_;
std::string bizTypeName_;
std::string sourceIp_;
std::string bizTypeName_;
};
}

View File

@@ -1,51 +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_GREEN_MODEL_DELETEFACESREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteFacesRequest : public RoaServiceRequest
{
public:
DeleteFacesRequest();
~DeleteFacesRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEFACESREQUEST_H_
#define ALIBABACLOUD_GREEN_MODEL_DELETEFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/green/GreenExport.h>
namespace AlibabaCloud
{
namespace Green
{
namespace Model
{
class ALIBABACLOUD_GREEN_EXPORT DeleteFacesRequest : public RoaServiceRequest
{
public:
DeleteFacesRequest();
~DeleteFacesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientInfo()const;
void setClientInfo(const std::string& clientInfo);
private:
private:
std::string regionId_;
std::string clientInfo_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEFACESREQUEST_H_

View File

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

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