Compare commits

..

7 Commits

Author SHA1 Message Date
sdk-team
c9f3f1182e Supported ExternalId IMM. 2019-10-22 10:07:21 +08:00
sdk-team
63f8b47b8d Release first version. 2019-10-21 11:23:43 +08:00
sdk-team
e3c9867b49 Generated 2019-09-10 for DnsKnocker. 2019-10-18 18:48:15 +08:00
宋神宗
cef7d9d526 Merge pull request #73 from aliyun/fixed/issue_70
fixed #70
2019-10-17 15:14:36 +08:00
wb-hx510875
501fec720e fixed #70 2019-10-17 12:57:23 +08:00
sdk-team
031a93374f Add ListTagResources OpenApi. 2019-10-16 12:33:43 +08:00
sdk-team
8fe6dfd981 Support continuous pushing. 2019-10-14 14:05:26 +08:00
338 changed files with 15536 additions and 10602 deletions

View File

@@ -1,3 +1,21 @@
2019-10-22 Version 1.36.153
- Supported ExternalId IMM.
2019-10-21 Version 1.36.152
- Release first version.
2019-10-18 Version 1.36.151
- Generated 2019-09-10 for `DnsKnocker`.
2019-10-16 Version 1.36.150
- Add ListTagResources OpenApi.
- Add TagResources OpenApi.
- Add UntagResources OpenApi.
- Add ModifyDBInstanceAutoUpgradeMinorVersion OpenApi.
2019-10-14 Version 1.36.149
- Support continuous pushing.
2019-10-09 Version 1.36.148
- Add VideoCancelScan Api.

View File

@@ -1 +1 @@
1.36.148
1.36.153

View File

@@ -29,6 +29,7 @@ class ALIBABACLOUD_CORE_EXPORT RoaServiceRequest : public ServiceRequest {
using ServiceRequest::setContent;
using ServiceRequest::parameter;
using ServiceRequest::setScheme;
using ServiceRequest::setResourcePath;
};
} // namespace AlibabaCloud
#endif // CORE_INCLUDE_ALIBABACLOUD_CORE_ROASERVICEREQUEST_H_

122
dnsknocker/CMakeLists.txt Normal file
View File

@@ -0,0 +1,122 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(dnsknocker_public_header
include/alibabacloud/dnsknocker/DnsKnockerClient.h
include/alibabacloud/dnsknocker/DnsKnockerExport.h )
set(dnsknocker_public_header_model
include/alibabacloud/dnsknocker/model/BatchCreateRrRequest.h
include/alibabacloud/dnsknocker/model/BatchCreateRrResult.h
include/alibabacloud/dnsknocker/model/BatchDeleteRrRequest.h
include/alibabacloud/dnsknocker/model/BatchDeleteRrResult.h
include/alibabacloud/dnsknocker/model/ChangeResourceRecordRequest.h
include/alibabacloud/dnsknocker/model/ChangeResourceRecordResult.h
include/alibabacloud/dnsknocker/model/ChangeResourceRecordsRequest.h
include/alibabacloud/dnsknocker/model/ChangeResourceRecordsResult.h
include/alibabacloud/dnsknocker/model/CreateResourceRecordRequest.h
include/alibabacloud/dnsknocker/model/CreateResourceRecordResult.h
include/alibabacloud/dnsknocker/model/DeleteDomainRequest.h
include/alibabacloud/dnsknocker/model/DeleteDomainResult.h
include/alibabacloud/dnsknocker/model/DeleteResourceRecordRequest.h
include/alibabacloud/dnsknocker/model/DeleteResourceRecordResult.h
include/alibabacloud/dnsknocker/model/DeleteResourceRecordsRequest.h
include/alibabacloud/dnsknocker/model/DeleteResourceRecordsResult.h
include/alibabacloud/dnsknocker/model/GetDomainRequest.h
include/alibabacloud/dnsknocker/model/GetDomainResult.h
include/alibabacloud/dnsknocker/model/GetResourceRecordsRequest.h
include/alibabacloud/dnsknocker/model/GetResourceRecordsResult.h )
set(dnsknocker_src
src/DnsKnockerClient.cc
src/model/BatchCreateRrRequest.cc
src/model/BatchCreateRrResult.cc
src/model/BatchDeleteRrRequest.cc
src/model/BatchDeleteRrResult.cc
src/model/ChangeResourceRecordRequest.cc
src/model/ChangeResourceRecordResult.cc
src/model/ChangeResourceRecordsRequest.cc
src/model/ChangeResourceRecordsResult.cc
src/model/CreateResourceRecordRequest.cc
src/model/CreateResourceRecordResult.cc
src/model/DeleteDomainRequest.cc
src/model/DeleteDomainResult.cc
src/model/DeleteResourceRecordRequest.cc
src/model/DeleteResourceRecordResult.cc
src/model/DeleteResourceRecordsRequest.cc
src/model/DeleteResourceRecordsResult.cc
src/model/GetDomainRequest.cc
src/model/GetDomainResult.cc
src/model/GetResourceRecordsRequest.cc
src/model/GetResourceRecordsResult.cc )
add_library(dnsknocker ${LIB_TYPE}
${dnsknocker_public_header}
${dnsknocker_public_header_model}
${dnsknocker_src})
set_target_properties(dnsknocker
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}dnsknocker
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(dnsknocker
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_DNSKNOCKER_LIBRARY)
endif()
target_include_directories(dnsknocker
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(dnsknocker
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(dnsknocker
jsoncpp)
target_include_directories(dnsknocker
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(dnsknocker
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(dnsknocker
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(dnsknocker
PRIVATE /usr/include/jsoncpp)
target_link_libraries(dnsknocker
jsoncpp)
endif()
install(FILES ${dnsknocker_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dnsknocker)
install(FILES ${dnsknocker_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dnsknocker/model)
install(TARGETS dnsknocker
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

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.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_DNSKNOCKERCLIENT_H_
#define ALIBABACLOUD_DNSKNOCKER_DNSKNOCKERCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DnsKnockerExport.h"
#include "model/BatchCreateRrRequest.h"
#include "model/BatchCreateRrResult.h"
#include "model/BatchDeleteRrRequest.h"
#include "model/BatchDeleteRrResult.h"
#include "model/ChangeResourceRecordRequest.h"
#include "model/ChangeResourceRecordResult.h"
#include "model/ChangeResourceRecordsRequest.h"
#include "model/ChangeResourceRecordsResult.h"
#include "model/CreateResourceRecordRequest.h"
#include "model/CreateResourceRecordResult.h"
#include "model/DeleteDomainRequest.h"
#include "model/DeleteDomainResult.h"
#include "model/DeleteResourceRecordRequest.h"
#include "model/DeleteResourceRecordResult.h"
#include "model/DeleteResourceRecordsRequest.h"
#include "model/DeleteResourceRecordsResult.h"
#include "model/GetDomainRequest.h"
#include "model/GetDomainResult.h"
#include "model/GetResourceRecordsRequest.h"
#include "model/GetResourceRecordsResult.h"
namespace AlibabaCloud
{
namespace DnsKnocker
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT DnsKnockerClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::BatchCreateRrResult> BatchCreateRrOutcome;
typedef std::future<BatchCreateRrOutcome> BatchCreateRrOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::BatchCreateRrRequest&, const BatchCreateRrOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateRrAsyncHandler;
typedef Outcome<Error, Model::BatchDeleteRrResult> BatchDeleteRrOutcome;
typedef std::future<BatchDeleteRrOutcome> BatchDeleteRrOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::BatchDeleteRrRequest&, const BatchDeleteRrOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteRrAsyncHandler;
typedef Outcome<Error, Model::ChangeResourceRecordResult> ChangeResourceRecordOutcome;
typedef std::future<ChangeResourceRecordOutcome> ChangeResourceRecordOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::ChangeResourceRecordRequest&, const ChangeResourceRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceRecordAsyncHandler;
typedef Outcome<Error, Model::ChangeResourceRecordsResult> ChangeResourceRecordsOutcome;
typedef std::future<ChangeResourceRecordsOutcome> ChangeResourceRecordsOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::ChangeResourceRecordsRequest&, const ChangeResourceRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceRecordsAsyncHandler;
typedef Outcome<Error, Model::CreateResourceRecordResult> CreateResourceRecordOutcome;
typedef std::future<CreateResourceRecordOutcome> CreateResourceRecordOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::CreateResourceRecordRequest&, const CreateResourceRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResourceRecordAsyncHandler;
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
typedef Outcome<Error, Model::DeleteResourceRecordResult> DeleteResourceRecordOutcome;
typedef std::future<DeleteResourceRecordOutcome> DeleteResourceRecordOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::DeleteResourceRecordRequest&, const DeleteResourceRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteResourceRecordAsyncHandler;
typedef Outcome<Error, Model::DeleteResourceRecordsResult> DeleteResourceRecordsOutcome;
typedef std::future<DeleteResourceRecordsOutcome> DeleteResourceRecordsOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::DeleteResourceRecordsRequest&, const DeleteResourceRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteResourceRecordsAsyncHandler;
typedef Outcome<Error, Model::GetDomainResult> GetDomainOutcome;
typedef std::future<GetDomainOutcome> GetDomainOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::GetDomainRequest&, const GetDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDomainAsyncHandler;
typedef Outcome<Error, Model::GetResourceRecordsResult> GetResourceRecordsOutcome;
typedef std::future<GetResourceRecordsOutcome> GetResourceRecordsOutcomeCallable;
typedef std::function<void(const DnsKnockerClient*, const Model::GetResourceRecordsRequest&, const GetResourceRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceRecordsAsyncHandler;
DnsKnockerClient(const Credentials &credentials, const ClientConfiguration &configuration);
DnsKnockerClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DnsKnockerClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DnsKnockerClient();
BatchCreateRrOutcome batchCreateRr(const Model::BatchCreateRrRequest &request)const;
void batchCreateRrAsync(const Model::BatchCreateRrRequest& request, const BatchCreateRrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchCreateRrOutcomeCallable batchCreateRrCallable(const Model::BatchCreateRrRequest& request) const;
BatchDeleteRrOutcome batchDeleteRr(const Model::BatchDeleteRrRequest &request)const;
void batchDeleteRrAsync(const Model::BatchDeleteRrRequest& request, const BatchDeleteRrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchDeleteRrOutcomeCallable batchDeleteRrCallable(const Model::BatchDeleteRrRequest& request) const;
ChangeResourceRecordOutcome changeResourceRecord(const Model::ChangeResourceRecordRequest &request)const;
void changeResourceRecordAsync(const Model::ChangeResourceRecordRequest& request, const ChangeResourceRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeResourceRecordOutcomeCallable changeResourceRecordCallable(const Model::ChangeResourceRecordRequest& request) const;
ChangeResourceRecordsOutcome changeResourceRecords(const Model::ChangeResourceRecordsRequest &request)const;
void changeResourceRecordsAsync(const Model::ChangeResourceRecordsRequest& request, const ChangeResourceRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeResourceRecordsOutcomeCallable changeResourceRecordsCallable(const Model::ChangeResourceRecordsRequest& request) const;
CreateResourceRecordOutcome createResourceRecord(const Model::CreateResourceRecordRequest &request)const;
void createResourceRecordAsync(const Model::CreateResourceRecordRequest& request, const CreateResourceRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateResourceRecordOutcomeCallable createResourceRecordCallable(const Model::CreateResourceRecordRequest& request) const;
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
DeleteResourceRecordOutcome deleteResourceRecord(const Model::DeleteResourceRecordRequest &request)const;
void deleteResourceRecordAsync(const Model::DeleteResourceRecordRequest& request, const DeleteResourceRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteResourceRecordOutcomeCallable deleteResourceRecordCallable(const Model::DeleteResourceRecordRequest& request) const;
DeleteResourceRecordsOutcome deleteResourceRecords(const Model::DeleteResourceRecordsRequest &request)const;
void deleteResourceRecordsAsync(const Model::DeleteResourceRecordsRequest& request, const DeleteResourceRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteResourceRecordsOutcomeCallable deleteResourceRecordsCallable(const Model::DeleteResourceRecordsRequest& request) const;
GetDomainOutcome getDomain(const Model::GetDomainRequest &request)const;
void getDomainAsync(const Model::GetDomainRequest& request, const GetDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDomainOutcomeCallable getDomainCallable(const Model::GetDomainRequest& request) const;
GetResourceRecordsOutcome getResourceRecords(const Model::GetResourceRecordsRequest &request)const;
void getResourceRecordsAsync(const Model::GetResourceRecordsRequest& request, const GetResourceRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourceRecordsOutcomeCallable getResourceRecordsCallable(const Model::GetResourceRecordsRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_DNSKNOCKERCLIENT_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_DNSKNOCKER_DNSKNOCKEREXPORT_H_
#define ALIBABACLOUD_DNSKNOCKER_DNSKNOCKEREXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DNSKNOCKER_LIBRARY)
# define ALIBABACLOUD_DNSKNOCKER_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DNSKNOCKER_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DNSKNOCKER_EXPORT
#endif
#endif // !ALIBABACLOUD_DNSKNOCKER_DNSKNOCKEREXPORT_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_DNSKNOCKER_MODEL_BATCHCREATERRREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHCREATERRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT BatchCreateRrRequest : public RpcServiceRequest
{
public:
BatchCreateRrRequest();
~BatchCreateRrRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getResourceRecords()const;
void setResourceRecords(const std::string& resourceRecords);
std::string getLine()const;
void setLine(const std::string& line);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
private:
std::string accessID_;
std::string accessSecret_;
std::string resourceRecords_;
std::string line_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHCREATERRREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHCREATERRRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHCREATERRRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT BatchCreateRrResult : public ServiceResult
{
public:
BatchCreateRrResult();
explicit BatchCreateRrResult(const std::string &payload);
~BatchCreateRrResult();
std::string getResultMessage()const;
std::string getResultCode()const;
bool getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string resultMessage_;
std::string resultCode_;
bool success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHCREATERRRESULT_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_DNSKNOCKER_MODEL_BATCHDELETERRREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHDELETERRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT BatchDeleteRrRequest : public RpcServiceRequest
{
public:
BatchDeleteRrRequest();
~BatchDeleteRrRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getResourceRecords()const;
void setResourceRecords(const std::string& resourceRecords);
std::string getLine()const;
void setLine(const std::string& line);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
private:
std::string accessID_;
std::string accessSecret_;
std::string resourceRecords_;
std::string line_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHDELETERRREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHDELETERRRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHDELETERRRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT BatchDeleteRrResult : public ServiceResult
{
public:
BatchDeleteRrResult();
explicit BatchDeleteRrResult(const std::string &payload);
~BatchDeleteRrResult();
std::string getResultMessage()const;
std::string getResultCode()const;
bool getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string resultMessage_;
std::string resultCode_;
bool success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_BATCHDELETERRRESULT_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_DNSKNOCKER_MODEL_CHANGERESOURCERECORDREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT ChangeResourceRecordRequest : public RpcServiceRequest
{
public:
ChangeResourceRecordRequest();
~ChangeResourceRecordRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getNewRRInfo()const;
void setNewRRInfo(const std::string& newRRInfo);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
std::string getOldRRInfo()const;
void setOldRRInfo(const std::string& oldRRInfo);
private:
std::string accessID_;
std::string accessSecret_;
std::string newRRInfo_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
std::string oldRRInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDREQUEST_H_

View File

@@ -14,46 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreatePornBatchDetectJobResult : public ServiceResult
class ALIBABACLOUD_DNSKNOCKER_EXPORT ChangeResourceRecordResult : public ServiceResult
{
public:
CreatePornBatchDetectJobResult();
explicit CreatePornBatchDetectJobResult(const std::string &payload);
~CreatePornBatchDetectJobResult();
std::string getStatus()const;
int getPercent()const;
std::string getTgtLoc()const;
std::string getCreateTime()const;
std::string getJobId()const;
ChangeResourceRecordResult();
explicit ChangeResourceRecordResult(const std::string &payload);
~ChangeResourceRecordResult();
std::string getResultMessage()const;
std::string getResultCode()const;
std::string getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
int percent_;
std::string tgtLoc_;
std::string createTime_;
std::string jobId_;
std::string resultMessage_;
std::string resultCode_;
std::string success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDRESULT_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_DNSKNOCKER_MODEL_CHANGERESOURCERECORDSREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT ChangeResourceRecordsRequest : public RpcServiceRequest
{
public:
ChangeResourceRecordsRequest();
~ChangeResourceRecordsRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getTypes()const;
void setTypes(const std::string& types);
std::string getResourceRecords()const;
void setResourceRecords(const std::string& resourceRecords);
std::string getLine()const;
void setLine(const std::string& line);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
private:
std::string accessID_;
std::string accessSecret_;
std::string types_;
std::string resourceRecords_;
std::string line_;
std::string domainName_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDSREQUEST_H_

View File

@@ -14,48 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEFACESETRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEFACESETRESULT_H_
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDSRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateFaceSetResult : public ServiceResult
class ALIBABACLOUD_DNSKNOCKER_EXPORT ChangeResourceRecordsResult : public ServiceResult
{
public:
CreateFaceSetResult();
explicit CreateFaceSetResult(const std::string &payload);
~CreateFaceSetResult();
std::string getStatus()const;
long getPhotos()const;
std::string getModifyTime()const;
std::string getCreateTime()const;
std::string getSetId()const;
long getFaces()const;
ChangeResourceRecordsResult();
explicit ChangeResourceRecordsResult(const std::string &payload);
~ChangeResourceRecordsResult();
std::string getResultMessage()const;
std::string getResultCode()const;
bool getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
long photos_;
std::string modifyTime_;
std::string createTime_;
std::string setId_;
long faces_;
std::string resultMessage_;
std::string resultCode_;
bool success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEFACESETRESULT_H_
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_CHANGERESOURCERECORDSRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_CREATERESOURCERECORDREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_CREATERESOURCERECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT CreateResourceRecordRequest : public RpcServiceRequest
{
public:
CreateResourceRecordRequest();
~CreateResourceRecordRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getRrTTL()const;
void setRrTTL(const std::string& rrTTL);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getRrLine()const;
void setRrLine(const std::string& rrLine);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getRrValue()const;
void setRrValue(const std::string& rrValue);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
std::string getRrType()const;
void setRrType(const std::string& rrType);
private:
std::string accessID_;
std::string rrTTL_;
std::string accessSecret_;
std::string rrLine_;
std::string domainName_;
std::string rrValue_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
std::string rrType_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_CREATERESOURCERECORDREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_CREATERESOURCERECORDRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_CREATERESOURCERECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT CreateResourceRecordResult : public ServiceResult
{
public:
CreateResourceRecordResult();
explicit CreateResourceRecordResult(const std::string &payload);
~CreateResourceRecordResult();
std::string getResultMessage()const;
std::string getResultCode()const;
std::string getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string resultMessage_;
std::string resultCode_;
std::string success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_CREATERESOURCERECORDRESULT_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_DNSKNOCKER_MODEL_DELETEDOMAINREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_DELETEDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT DeleteDomainRequest : public RpcServiceRequest
{
public:
DeleteDomainRequest();
~DeleteDomainRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getLine()const;
void setLine(const std::string& line);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
private:
std::string accessID_;
std::string accessSecret_;
std::string line_;
std::string domainName_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_DELETEDOMAINREQUEST_H_

View File

@@ -14,46 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATETAGSETRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATETAGSETRESULT_H_
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_DELETEDOMAINRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_DELETEDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateTagSetResult : public ServiceResult
class ALIBABACLOUD_DNSKNOCKER_EXPORT DeleteDomainResult : public ServiceResult
{
public:
CreateTagSetResult();
explicit CreateTagSetResult(const std::string &payload);
~CreateTagSetResult();
std::string getStatus()const;
long getPhotos()const;
std::string getModifyTime()const;
std::string getCreateTime()const;
std::string getSetId()const;
DeleteDomainResult();
explicit DeleteDomainResult(const std::string &payload);
~DeleteDomainResult();
std::string getResultMessage()const;
std::string getResultCode()const;
bool getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
long photos_;
std::string modifyTime_;
std::string createTime_;
std::string setId_;
std::string resultMessage_;
std::string resultCode_;
bool success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGSETRESULT_H_
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_DELETEDOMAINRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT DeleteResourceRecordRequest : public RpcServiceRequest
{
public:
DeleteResourceRecordRequest();
~DeleteResourceRecordRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getRRTTL()const;
void setRRTTL(const std::string& rRTTL);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getRRLine()const;
void setRRLine(const std::string& rRLine);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getRRValue()const;
void setRRValue(const std::string& rRValue);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
std::string getRRType()const;
void setRRType(const std::string& rRType);
private:
std::string accessID_;
std::string rRTTL_;
std::string accessSecret_;
std::string rRLine_;
std::string domainName_;
std::string rRValue_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
std::string rRType_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT DeleteResourceRecordResult : public ServiceResult
{
public:
DeleteResourceRecordResult();
explicit DeleteResourceRecordResult(const std::string &payload);
~DeleteResourceRecordResult();
std::string getResultMessage()const;
std::string getResultCode()const;
std::string getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string resultMessage_;
std::string resultCode_;
std::string success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDRESULT_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_DNSKNOCKER_MODEL_DELETERESOURCERECORDSREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT DeleteResourceRecordsRequest : public RpcServiceRequest
{
public:
DeleteResourceRecordsRequest();
~DeleteResourceRecordsRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getTypeList()const;
void setTypeList(const std::string& typeList);
std::string getLine()const;
void setLine(const std::string& line);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getZoneName()const;
void setZoneName(const std::string& zoneName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getGroup()const;
void setGroup(const std::string& group);
private:
std::string accessID_;
std::string accessSecret_;
std::string typeList_;
std::string line_;
std::string domainName_;
std::string zoneName_;
std::string transactionId_;
std::string group_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDSRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT DeleteResourceRecordsResult : public ServiceResult
{
public:
DeleteResourceRecordsResult();
explicit DeleteResourceRecordsResult(const std::string &payload);
~DeleteResourceRecordsResult();
std::string getResultMessage()const;
std::string getResultCode()const;
std::string getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::string resultMessage_;
std::string resultCode_;
std::string success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_DELETERESOURCERECORDSRESULT_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_DNSKNOCKER_MODEL_GETDOMAINREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_GETDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT GetDomainRequest : public RpcServiceRequest
{
public:
GetDomainRequest();
~GetDomainRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getDomainLine()const;
void setDomainLine(const std::string& domainLine);
std::string getGroup()const;
void setGroup(const std::string& group);
private:
std::string accessID_;
std::string accessSecret_;
std::string domainName_;
std::string domainLine_;
std::string group_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_GETDOMAINREQUEST_H_

View File

@@ -14,49 +14,52 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_
#ifndef ALIBABACLOUD_DNSKNOCKER_MODEL_GETDOMAINRESULT_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_GETDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupsResult : public ServiceResult
class ALIBABACLOUD_DNSKNOCKER_EXPORT GetDomainResult : public ServiceResult
{
public:
struct GroupsItem
struct Data
{
std::string groupName;
std::string status;
std::string modifyTime;
std::string createTime;
std::string count;
std::string groupId;
std::string message;
std::string domainName;
std::string exists;
};
ListFaceSearchGroupsResult();
explicit ListFaceSearchGroupsResult(const std::string &payload);
~ListFaceSearchGroupsResult();
std::vector<GroupsItem> getGroups()const;
std::string getNextMarker()const;
GetDomainResult();
explicit GetDomainResult(const std::string &payload);
~GetDomainResult();
std::vector<Data> getDomain()const;
std::string getResultMessage()const;
std::string getResultCode()const;
std::string getSuccess()const;
std::string getTransactionId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<GroupsItem> groups_;
std::string nextMarker_;
std::vector<Data> domain_;
std::string resultMessage_;
std::string resultCode_;
std::string success_;
std::string transactionId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_GETDOMAINRESULT_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_DNSKNOCKER_MODEL_GETRESOURCERECORDSREQUEST_H_
#define ALIBABACLOUD_DNSKNOCKER_MODEL_GETRESOURCERECORDSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dnsknocker/DnsKnockerExport.h>
namespace AlibabaCloud
{
namespace DnsKnocker
{
namespace Model
{
class ALIBABACLOUD_DNSKNOCKER_EXPORT GetResourceRecordsRequest : public RpcServiceRequest
{
public:
GetResourceRecordsRequest();
~GetResourceRecordsRequest();
std::string getAccessID()const;
void setAccessID(const std::string& accessID);
std::string getAccessSecret()const;
void setAccessSecret(const std::string& accessSecret);
std::string getZone()const;
void setZone(const std::string& zone);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getDomainLine()const;
void setDomainLine(const std::string& domainLine);
std::string getGroup()const;
void setGroup(const std::string& group);
private:
std::string accessID_;
std::string accessSecret_;
std::string zone_;
std::string domainName_;
std::string transactionId_;
std::string domainLine_;
std::string group_;
};
}
}
}
#endif // !ALIBABACLOUD_DNSKNOCKER_MODEL_GETRESOURCERECORDSREQUEST_H_

View File

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

View File

@@ -0,0 +1,413 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/dnsknocker/DnsKnockerClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
namespace
{
const std::string SERVICE_NAME = "DnsKnocker";
}
DnsKnockerClient::DnsKnockerClient(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, "dns_knocker");
}
DnsKnockerClient::DnsKnockerClient(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, "dns_knocker");
}
DnsKnockerClient::DnsKnockerClient(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, "dns_knocker");
}
DnsKnockerClient::~DnsKnockerClient()
{}
DnsKnockerClient::BatchCreateRrOutcome DnsKnockerClient::batchCreateRr(const BatchCreateRrRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchCreateRrOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchCreateRrOutcome(BatchCreateRrResult(outcome.result()));
else
return BatchCreateRrOutcome(outcome.error());
}
void DnsKnockerClient::batchCreateRrAsync(const BatchCreateRrRequest& request, const BatchCreateRrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchCreateRr(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::BatchCreateRrOutcomeCallable DnsKnockerClient::batchCreateRrCallable(const BatchCreateRrRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchCreateRrOutcome()>>(
[this, request]()
{
return this->batchCreateRr(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::BatchDeleteRrOutcome DnsKnockerClient::batchDeleteRr(const BatchDeleteRrRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchDeleteRrOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchDeleteRrOutcome(BatchDeleteRrResult(outcome.result()));
else
return BatchDeleteRrOutcome(outcome.error());
}
void DnsKnockerClient::batchDeleteRrAsync(const BatchDeleteRrRequest& request, const BatchDeleteRrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchDeleteRr(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::BatchDeleteRrOutcomeCallable DnsKnockerClient::batchDeleteRrCallable(const BatchDeleteRrRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchDeleteRrOutcome()>>(
[this, request]()
{
return this->batchDeleteRr(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::ChangeResourceRecordOutcome DnsKnockerClient::changeResourceRecord(const ChangeResourceRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ChangeResourceRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ChangeResourceRecordOutcome(ChangeResourceRecordResult(outcome.result()));
else
return ChangeResourceRecordOutcome(outcome.error());
}
void DnsKnockerClient::changeResourceRecordAsync(const ChangeResourceRecordRequest& request, const ChangeResourceRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, changeResourceRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::ChangeResourceRecordOutcomeCallable DnsKnockerClient::changeResourceRecordCallable(const ChangeResourceRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ChangeResourceRecordOutcome()>>(
[this, request]()
{
return this->changeResourceRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::ChangeResourceRecordsOutcome DnsKnockerClient::changeResourceRecords(const ChangeResourceRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ChangeResourceRecordsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ChangeResourceRecordsOutcome(ChangeResourceRecordsResult(outcome.result()));
else
return ChangeResourceRecordsOutcome(outcome.error());
}
void DnsKnockerClient::changeResourceRecordsAsync(const ChangeResourceRecordsRequest& request, const ChangeResourceRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, changeResourceRecords(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::ChangeResourceRecordsOutcomeCallable DnsKnockerClient::changeResourceRecordsCallable(const ChangeResourceRecordsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ChangeResourceRecordsOutcome()>>(
[this, request]()
{
return this->changeResourceRecords(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::CreateResourceRecordOutcome DnsKnockerClient::createResourceRecord(const CreateResourceRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateResourceRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateResourceRecordOutcome(CreateResourceRecordResult(outcome.result()));
else
return CreateResourceRecordOutcome(outcome.error());
}
void DnsKnockerClient::createResourceRecordAsync(const CreateResourceRecordRequest& request, const CreateResourceRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createResourceRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::CreateResourceRecordOutcomeCallable DnsKnockerClient::createResourceRecordCallable(const CreateResourceRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateResourceRecordOutcome()>>(
[this, request]()
{
return this->createResourceRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::DeleteDomainOutcome DnsKnockerClient::deleteDomain(const DeleteDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteDomainOutcome(DeleteDomainResult(outcome.result()));
else
return DeleteDomainOutcome(outcome.error());
}
void DnsKnockerClient::deleteDomainAsync(const DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::DeleteDomainOutcomeCallable DnsKnockerClient::deleteDomainCallable(const DeleteDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteDomainOutcome()>>(
[this, request]()
{
return this->deleteDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::DeleteResourceRecordOutcome DnsKnockerClient::deleteResourceRecord(const DeleteResourceRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteResourceRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteResourceRecordOutcome(DeleteResourceRecordResult(outcome.result()));
else
return DeleteResourceRecordOutcome(outcome.error());
}
void DnsKnockerClient::deleteResourceRecordAsync(const DeleteResourceRecordRequest& request, const DeleteResourceRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteResourceRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::DeleteResourceRecordOutcomeCallable DnsKnockerClient::deleteResourceRecordCallable(const DeleteResourceRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteResourceRecordOutcome()>>(
[this, request]()
{
return this->deleteResourceRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::DeleteResourceRecordsOutcome DnsKnockerClient::deleteResourceRecords(const DeleteResourceRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteResourceRecordsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteResourceRecordsOutcome(DeleteResourceRecordsResult(outcome.result()));
else
return DeleteResourceRecordsOutcome(outcome.error());
}
void DnsKnockerClient::deleteResourceRecordsAsync(const DeleteResourceRecordsRequest& request, const DeleteResourceRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteResourceRecords(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::DeleteResourceRecordsOutcomeCallable DnsKnockerClient::deleteResourceRecordsCallable(const DeleteResourceRecordsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteResourceRecordsOutcome()>>(
[this, request]()
{
return this->deleteResourceRecords(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::GetDomainOutcome DnsKnockerClient::getDomain(const GetDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetDomainOutcome(GetDomainResult(outcome.result()));
else
return GetDomainOutcome(outcome.error());
}
void DnsKnockerClient::getDomainAsync(const GetDomainRequest& request, const GetDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::GetDomainOutcomeCallable DnsKnockerClient::getDomainCallable(const GetDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetDomainOutcome()>>(
[this, request]()
{
return this->getDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DnsKnockerClient::GetResourceRecordsOutcome DnsKnockerClient::getResourceRecords(const GetResourceRecordsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetResourceRecordsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetResourceRecordsOutcome(GetResourceRecordsResult(outcome.result()));
else
return GetResourceRecordsOutcome(outcome.error());
}
void DnsKnockerClient::getResourceRecordsAsync(const GetResourceRecordsRequest& request, const GetResourceRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getResourceRecords(request), context);
};
asyncExecute(new Runnable(fn));
}
DnsKnockerClient::GetResourceRecordsOutcomeCallable DnsKnockerClient::getResourceRecordsCallable(const GetResourceRecordsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetResourceRecordsOutcome()>>(
[this, request]()
{
return this->getResourceRecords(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

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/dnsknocker/model/BatchCreateRrRequest.h>
using AlibabaCloud::DnsKnocker::Model::BatchCreateRrRequest;
BatchCreateRrRequest::BatchCreateRrRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "BatchCreateRr")
{}
BatchCreateRrRequest::~BatchCreateRrRequest()
{}
std::string BatchCreateRrRequest::getAccessID()const
{
return accessID_;
}
void BatchCreateRrRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string BatchCreateRrRequest::getAccessSecret()const
{
return accessSecret_;
}
void BatchCreateRrRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string BatchCreateRrRequest::getResourceRecords()const
{
return resourceRecords_;
}
void BatchCreateRrRequest::setResourceRecords(const std::string& resourceRecords)
{
resourceRecords_ = resourceRecords;
setCoreParameter("ResourceRecords", resourceRecords);
}
std::string BatchCreateRrRequest::getLine()const
{
return line_;
}
void BatchCreateRrRequest::setLine(const std::string& line)
{
line_ = line;
setCoreParameter("Line", line);
}
std::string BatchCreateRrRequest::getZoneName()const
{
return zoneName_;
}
void BatchCreateRrRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string BatchCreateRrRequest::getTransactionId()const
{
return transactionId_;
}
void BatchCreateRrRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string BatchCreateRrRequest::getGroup()const
{
return group_;
}
void BatchCreateRrRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}

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.
*/
#include <alibabacloud/dnsknocker/model/BatchCreateRrResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
BatchCreateRrResult::BatchCreateRrResult() :
ServiceResult()
{}
BatchCreateRrResult::BatchCreateRrResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchCreateRrResult::~BatchCreateRrResult()
{}
void BatchCreateRrResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string BatchCreateRrResult::getResultMessage()const
{
return resultMessage_;
}
std::string BatchCreateRrResult::getResultCode()const
{
return resultCode_;
}
bool BatchCreateRrResult::getSuccess()const
{
return success_;
}
std::string BatchCreateRrResult::getTransactionId()const
{
return transactionId_;
}

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/dnsknocker/model/BatchDeleteRrRequest.h>
using AlibabaCloud::DnsKnocker::Model::BatchDeleteRrRequest;
BatchDeleteRrRequest::BatchDeleteRrRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "BatchDeleteRr")
{}
BatchDeleteRrRequest::~BatchDeleteRrRequest()
{}
std::string BatchDeleteRrRequest::getAccessID()const
{
return accessID_;
}
void BatchDeleteRrRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string BatchDeleteRrRequest::getAccessSecret()const
{
return accessSecret_;
}
void BatchDeleteRrRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string BatchDeleteRrRequest::getResourceRecords()const
{
return resourceRecords_;
}
void BatchDeleteRrRequest::setResourceRecords(const std::string& resourceRecords)
{
resourceRecords_ = resourceRecords;
setCoreParameter("ResourceRecords", resourceRecords);
}
std::string BatchDeleteRrRequest::getLine()const
{
return line_;
}
void BatchDeleteRrRequest::setLine(const std::string& line)
{
line_ = line;
setCoreParameter("Line", line);
}
std::string BatchDeleteRrRequest::getZoneName()const
{
return zoneName_;
}
void BatchDeleteRrRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string BatchDeleteRrRequest::getTransactionId()const
{
return transactionId_;
}
void BatchDeleteRrRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string BatchDeleteRrRequest::getGroup()const
{
return group_;
}
void BatchDeleteRrRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}

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.
*/
#include <alibabacloud/dnsknocker/model/BatchDeleteRrResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
BatchDeleteRrResult::BatchDeleteRrResult() :
ServiceResult()
{}
BatchDeleteRrResult::BatchDeleteRrResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchDeleteRrResult::~BatchDeleteRrResult()
{}
void BatchDeleteRrResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string BatchDeleteRrResult::getResultMessage()const
{
return resultMessage_;
}
std::string BatchDeleteRrResult::getResultCode()const
{
return resultCode_;
}
bool BatchDeleteRrResult::getSuccess()const
{
return success_;
}
std::string BatchDeleteRrResult::getTransactionId()const
{
return transactionId_;
}

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/dnsknocker/model/ChangeResourceRecordRequest.h>
using AlibabaCloud::DnsKnocker::Model::ChangeResourceRecordRequest;
ChangeResourceRecordRequest::ChangeResourceRecordRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "ChangeResourceRecord")
{}
ChangeResourceRecordRequest::~ChangeResourceRecordRequest()
{}
std::string ChangeResourceRecordRequest::getAccessID()const
{
return accessID_;
}
void ChangeResourceRecordRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string ChangeResourceRecordRequest::getAccessSecret()const
{
return accessSecret_;
}
void ChangeResourceRecordRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string ChangeResourceRecordRequest::getNewRRInfo()const
{
return newRRInfo_;
}
void ChangeResourceRecordRequest::setNewRRInfo(const std::string& newRRInfo)
{
newRRInfo_ = newRRInfo;
setCoreParameter("NewRRInfo", newRRInfo);
}
std::string ChangeResourceRecordRequest::getZoneName()const
{
return zoneName_;
}
void ChangeResourceRecordRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string ChangeResourceRecordRequest::getTransactionId()const
{
return transactionId_;
}
void ChangeResourceRecordRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string ChangeResourceRecordRequest::getGroup()const
{
return group_;
}
void ChangeResourceRecordRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}
std::string ChangeResourceRecordRequest::getOldRRInfo()const
{
return oldRRInfo_;
}
void ChangeResourceRecordRequest::setOldRRInfo(const std::string& oldRRInfo)
{
oldRRInfo_ = oldRRInfo;
setCoreParameter("OldRRInfo", oldRRInfo);
}

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.
*/
#include <alibabacloud/dnsknocker/model/ChangeResourceRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
ChangeResourceRecordResult::ChangeResourceRecordResult() :
ServiceResult()
{}
ChangeResourceRecordResult::ChangeResourceRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ChangeResourceRecordResult::~ChangeResourceRecordResult()
{}
void ChangeResourceRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string ChangeResourceRecordResult::getResultMessage()const
{
return resultMessage_;
}
std::string ChangeResourceRecordResult::getResultCode()const
{
return resultCode_;
}
std::string ChangeResourceRecordResult::getSuccess()const
{
return success_;
}
std::string ChangeResourceRecordResult::getTransactionId()const
{
return transactionId_;
}

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/dnsknocker/model/ChangeResourceRecordsRequest.h>
using AlibabaCloud::DnsKnocker::Model::ChangeResourceRecordsRequest;
ChangeResourceRecordsRequest::ChangeResourceRecordsRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "ChangeResourceRecords")
{}
ChangeResourceRecordsRequest::~ChangeResourceRecordsRequest()
{}
std::string ChangeResourceRecordsRequest::getAccessID()const
{
return accessID_;
}
void ChangeResourceRecordsRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string ChangeResourceRecordsRequest::getAccessSecret()const
{
return accessSecret_;
}
void ChangeResourceRecordsRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string ChangeResourceRecordsRequest::getTypes()const
{
return types_;
}
void ChangeResourceRecordsRequest::setTypes(const std::string& types)
{
types_ = types;
setCoreParameter("Types", types);
}
std::string ChangeResourceRecordsRequest::getResourceRecords()const
{
return resourceRecords_;
}
void ChangeResourceRecordsRequest::setResourceRecords(const std::string& resourceRecords)
{
resourceRecords_ = resourceRecords;
setCoreParameter("ResourceRecords", resourceRecords);
}
std::string ChangeResourceRecordsRequest::getLine()const
{
return line_;
}
void ChangeResourceRecordsRequest::setLine(const std::string& line)
{
line_ = line;
setCoreParameter("Line", line);
}
std::string ChangeResourceRecordsRequest::getDomainName()const
{
return domainName_;
}
void ChangeResourceRecordsRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
std::string ChangeResourceRecordsRequest::getZoneName()const
{
return zoneName_;
}
void ChangeResourceRecordsRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string ChangeResourceRecordsRequest::getTransactionId()const
{
return transactionId_;
}
void ChangeResourceRecordsRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string ChangeResourceRecordsRequest::getGroup()const
{
return group_;
}
void ChangeResourceRecordsRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}

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.
*/
#include <alibabacloud/dnsknocker/model/ChangeResourceRecordsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
ChangeResourceRecordsResult::ChangeResourceRecordsResult() :
ServiceResult()
{}
ChangeResourceRecordsResult::ChangeResourceRecordsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ChangeResourceRecordsResult::~ChangeResourceRecordsResult()
{}
void ChangeResourceRecordsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string ChangeResourceRecordsResult::getResultMessage()const
{
return resultMessage_;
}
std::string ChangeResourceRecordsResult::getResultCode()const
{
return resultCode_;
}
bool ChangeResourceRecordsResult::getSuccess()const
{
return success_;
}
std::string ChangeResourceRecordsResult::getTransactionId()const
{
return transactionId_;
}

View File

@@ -0,0 +1,137 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dnsknocker/model/CreateResourceRecordRequest.h>
using AlibabaCloud::DnsKnocker::Model::CreateResourceRecordRequest;
CreateResourceRecordRequest::CreateResourceRecordRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "CreateResourceRecord")
{}
CreateResourceRecordRequest::~CreateResourceRecordRequest()
{}
std::string CreateResourceRecordRequest::getAccessID()const
{
return accessID_;
}
void CreateResourceRecordRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string CreateResourceRecordRequest::getRrTTL()const
{
return rrTTL_;
}
void CreateResourceRecordRequest::setRrTTL(const std::string& rrTTL)
{
rrTTL_ = rrTTL;
setCoreParameter("RrTTL", rrTTL);
}
std::string CreateResourceRecordRequest::getAccessSecret()const
{
return accessSecret_;
}
void CreateResourceRecordRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string CreateResourceRecordRequest::getRrLine()const
{
return rrLine_;
}
void CreateResourceRecordRequest::setRrLine(const std::string& rrLine)
{
rrLine_ = rrLine;
setCoreParameter("RrLine", rrLine);
}
std::string CreateResourceRecordRequest::getDomainName()const
{
return domainName_;
}
void CreateResourceRecordRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
std::string CreateResourceRecordRequest::getRrValue()const
{
return rrValue_;
}
void CreateResourceRecordRequest::setRrValue(const std::string& rrValue)
{
rrValue_ = rrValue;
setCoreParameter("RrValue", rrValue);
}
std::string CreateResourceRecordRequest::getZoneName()const
{
return zoneName_;
}
void CreateResourceRecordRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string CreateResourceRecordRequest::getTransactionId()const
{
return transactionId_;
}
void CreateResourceRecordRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string CreateResourceRecordRequest::getGroup()const
{
return group_;
}
void CreateResourceRecordRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}
std::string CreateResourceRecordRequest::getRrType()const
{
return rrType_;
}
void CreateResourceRecordRequest::setRrType(const std::string& rrType)
{
rrType_ = rrType;
setCoreParameter("RrType", rrType);
}

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.
*/
#include <alibabacloud/dnsknocker/model/CreateResourceRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
CreateResourceRecordResult::CreateResourceRecordResult() :
ServiceResult()
{}
CreateResourceRecordResult::CreateResourceRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateResourceRecordResult::~CreateResourceRecordResult()
{}
void CreateResourceRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string CreateResourceRecordResult::getResultMessage()const
{
return resultMessage_;
}
std::string CreateResourceRecordResult::getResultCode()const
{
return resultCode_;
}
std::string CreateResourceRecordResult::getSuccess()const
{
return success_;
}
std::string CreateResourceRecordResult::getTransactionId()const
{
return transactionId_;
}

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/dnsknocker/model/DeleteDomainRequest.h>
using AlibabaCloud::DnsKnocker::Model::DeleteDomainRequest;
DeleteDomainRequest::DeleteDomainRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "DeleteDomain")
{}
DeleteDomainRequest::~DeleteDomainRequest()
{}
std::string DeleteDomainRequest::getAccessID()const
{
return accessID_;
}
void DeleteDomainRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string DeleteDomainRequest::getAccessSecret()const
{
return accessSecret_;
}
void DeleteDomainRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string DeleteDomainRequest::getLine()const
{
return line_;
}
void DeleteDomainRequest::setLine(const std::string& line)
{
line_ = line;
setCoreParameter("Line", line);
}
std::string DeleteDomainRequest::getDomainName()const
{
return domainName_;
}
void DeleteDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
std::string DeleteDomainRequest::getZoneName()const
{
return zoneName_;
}
void DeleteDomainRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string DeleteDomainRequest::getTransactionId()const
{
return transactionId_;
}
void DeleteDomainRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string DeleteDomainRequest::getGroup()const
{
return group_;
}
void DeleteDomainRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}

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.
*/
#include <alibabacloud/dnsknocker/model/DeleteDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
DeleteDomainResult::DeleteDomainResult() :
ServiceResult()
{}
DeleteDomainResult::DeleteDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDomainResult::~DeleteDomainResult()
{}
void DeleteDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string DeleteDomainResult::getResultMessage()const
{
return resultMessage_;
}
std::string DeleteDomainResult::getResultCode()const
{
return resultCode_;
}
bool DeleteDomainResult::getSuccess()const
{
return success_;
}
std::string DeleteDomainResult::getTransactionId()const
{
return transactionId_;
}

View File

@@ -0,0 +1,137 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dnsknocker/model/DeleteResourceRecordRequest.h>
using AlibabaCloud::DnsKnocker::Model::DeleteResourceRecordRequest;
DeleteResourceRecordRequest::DeleteResourceRecordRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "DeleteResourceRecord")
{}
DeleteResourceRecordRequest::~DeleteResourceRecordRequest()
{}
std::string DeleteResourceRecordRequest::getAccessID()const
{
return accessID_;
}
void DeleteResourceRecordRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string DeleteResourceRecordRequest::getRRTTL()const
{
return rRTTL_;
}
void DeleteResourceRecordRequest::setRRTTL(const std::string& rRTTL)
{
rRTTL_ = rRTTL;
setCoreParameter("RRTTL", rRTTL);
}
std::string DeleteResourceRecordRequest::getAccessSecret()const
{
return accessSecret_;
}
void DeleteResourceRecordRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string DeleteResourceRecordRequest::getRRLine()const
{
return rRLine_;
}
void DeleteResourceRecordRequest::setRRLine(const std::string& rRLine)
{
rRLine_ = rRLine;
setCoreParameter("RRLine", rRLine);
}
std::string DeleteResourceRecordRequest::getDomainName()const
{
return domainName_;
}
void DeleteResourceRecordRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
std::string DeleteResourceRecordRequest::getRRValue()const
{
return rRValue_;
}
void DeleteResourceRecordRequest::setRRValue(const std::string& rRValue)
{
rRValue_ = rRValue;
setCoreParameter("RRValue", rRValue);
}
std::string DeleteResourceRecordRequest::getZoneName()const
{
return zoneName_;
}
void DeleteResourceRecordRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string DeleteResourceRecordRequest::getTransactionId()const
{
return transactionId_;
}
void DeleteResourceRecordRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string DeleteResourceRecordRequest::getGroup()const
{
return group_;
}
void DeleteResourceRecordRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}
std::string DeleteResourceRecordRequest::getRRType()const
{
return rRType_;
}
void DeleteResourceRecordRequest::setRRType(const std::string& rRType)
{
rRType_ = rRType;
setCoreParameter("RRType", rRType);
}

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.
*/
#include <alibabacloud/dnsknocker/model/DeleteResourceRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
DeleteResourceRecordResult::DeleteResourceRecordResult() :
ServiceResult()
{}
DeleteResourceRecordResult::DeleteResourceRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteResourceRecordResult::~DeleteResourceRecordResult()
{}
void DeleteResourceRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string DeleteResourceRecordResult::getResultMessage()const
{
return resultMessage_;
}
std::string DeleteResourceRecordResult::getResultCode()const
{
return resultCode_;
}
std::string DeleteResourceRecordResult::getSuccess()const
{
return success_;
}
std::string DeleteResourceRecordResult::getTransactionId()const
{
return transactionId_;
}

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/dnsknocker/model/DeleteResourceRecordsRequest.h>
using AlibabaCloud::DnsKnocker::Model::DeleteResourceRecordsRequest;
DeleteResourceRecordsRequest::DeleteResourceRecordsRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "DeleteResourceRecords")
{}
DeleteResourceRecordsRequest::~DeleteResourceRecordsRequest()
{}
std::string DeleteResourceRecordsRequest::getAccessID()const
{
return accessID_;
}
void DeleteResourceRecordsRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string DeleteResourceRecordsRequest::getAccessSecret()const
{
return accessSecret_;
}
void DeleteResourceRecordsRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string DeleteResourceRecordsRequest::getTypeList()const
{
return typeList_;
}
void DeleteResourceRecordsRequest::setTypeList(const std::string& typeList)
{
typeList_ = typeList;
setCoreParameter("TypeList", typeList);
}
std::string DeleteResourceRecordsRequest::getLine()const
{
return line_;
}
void DeleteResourceRecordsRequest::setLine(const std::string& line)
{
line_ = line;
setCoreParameter("Line", line);
}
std::string DeleteResourceRecordsRequest::getDomainName()const
{
return domainName_;
}
void DeleteResourceRecordsRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
std::string DeleteResourceRecordsRequest::getZoneName()const
{
return zoneName_;
}
void DeleteResourceRecordsRequest::setZoneName(const std::string& zoneName)
{
zoneName_ = zoneName;
setCoreParameter("ZoneName", zoneName);
}
std::string DeleteResourceRecordsRequest::getTransactionId()const
{
return transactionId_;
}
void DeleteResourceRecordsRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string DeleteResourceRecordsRequest::getGroup()const
{
return group_;
}
void DeleteResourceRecordsRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}

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.
*/
#include <alibabacloud/dnsknocker/model/DeleteResourceRecordsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
DeleteResourceRecordsResult::DeleteResourceRecordsResult() :
ServiceResult()
{}
DeleteResourceRecordsResult::DeleteResourceRecordsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteResourceRecordsResult::~DeleteResourceRecordsResult()
{}
void DeleteResourceRecordsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::string DeleteResourceRecordsResult::getResultMessage()const
{
return resultMessage_;
}
std::string DeleteResourceRecordsResult::getResultCode()const
{
return resultCode_;
}
std::string DeleteResourceRecordsResult::getSuccess()const
{
return success_;
}
std::string DeleteResourceRecordsResult::getTransactionId()const
{
return transactionId_;
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dnsknocker/model/GetDomainRequest.h>
using AlibabaCloud::DnsKnocker::Model::GetDomainRequest;
GetDomainRequest::GetDomainRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "GetDomain")
{}
GetDomainRequest::~GetDomainRequest()
{}
std::string GetDomainRequest::getAccessID()const
{
return accessID_;
}
void GetDomainRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string GetDomainRequest::getAccessSecret()const
{
return accessSecret_;
}
void GetDomainRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string GetDomainRequest::getDomainName()const
{
return domainName_;
}
void GetDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
std::string GetDomainRequest::getDomainLine()const
{
return domainLine_;
}
void GetDomainRequest::setDomainLine(const std::string& domainLine)
{
domainLine_ = domainLine;
setCoreParameter("DomainLine", domainLine);
}
std::string GetDomainRequest::getGroup()const
{
return group_;
}
void GetDomainRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}

View File

@@ -0,0 +1,89 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dnsknocker/model/GetDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
GetDomainResult::GetDomainResult() :
ServiceResult()
{}
GetDomainResult::GetDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDomainResult::~GetDomainResult()
{}
void GetDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDomainNode = value["Domain"]["Data"];
for (auto valueDomainData : allDomainNode)
{
Data domainObject;
if(!valueDomainData["DomainName"].isNull())
domainObject.domainName = valueDomainData["DomainName"].asString();
if(!valueDomainData["Exists"].isNull())
domainObject.exists = valueDomainData["Exists"].asString();
if(!valueDomainData["Message"].isNull())
domainObject.message = valueDomainData["Message"].asString();
domain_.push_back(domainObject);
}
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TransactionId"].isNull())
transactionId_ = value["TransactionId"].asString();
}
std::vector<GetDomainResult::Data> GetDomainResult::getDomain()const
{
return domain_;
}
std::string GetDomainResult::getResultMessage()const
{
return resultMessage_;
}
std::string GetDomainResult::getResultCode()const
{
return resultCode_;
}
std::string GetDomainResult::getSuccess()const
{
return success_;
}
std::string GetDomainResult::getTransactionId()const
{
return transactionId_;
}

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/dnsknocker/model/GetResourceRecordsRequest.h>
using AlibabaCloud::DnsKnocker::Model::GetResourceRecordsRequest;
GetResourceRecordsRequest::GetResourceRecordsRequest() :
RpcServiceRequest("dnsknocker", "2019-09-10", "GetResourceRecords")
{}
GetResourceRecordsRequest::~GetResourceRecordsRequest()
{}
std::string GetResourceRecordsRequest::getAccessID()const
{
return accessID_;
}
void GetResourceRecordsRequest::setAccessID(const std::string& accessID)
{
accessID_ = accessID;
setCoreParameter("AccessID", accessID);
}
std::string GetResourceRecordsRequest::getAccessSecret()const
{
return accessSecret_;
}
void GetResourceRecordsRequest::setAccessSecret(const std::string& accessSecret)
{
accessSecret_ = accessSecret;
setCoreParameter("AccessSecret", accessSecret);
}
std::string GetResourceRecordsRequest::getZone()const
{
return zone_;
}
void GetResourceRecordsRequest::setZone(const std::string& zone)
{
zone_ = zone;
setCoreParameter("Zone", zone);
}
std::string GetResourceRecordsRequest::getDomainName()const
{
return domainName_;
}
void GetResourceRecordsRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setCoreParameter("DomainName", domainName);
}
std::string GetResourceRecordsRequest::getTransactionId()const
{
return transactionId_;
}
void GetResourceRecordsRequest::setTransactionId(const std::string& transactionId)
{
transactionId_ = transactionId;
setCoreParameter("TransactionId", transactionId);
}
std::string GetResourceRecordsRequest::getDomainLine()const
{
return domainLine_;
}
void GetResourceRecordsRequest::setDomainLine(const std::string& domainLine)
{
domainLine_ = domainLine;
setCoreParameter("DomainLine", domainLine);
}
std::string GetResourceRecordsRequest::getGroup()const
{
return group_;
}
void GetResourceRecordsRequest::setGroup(const std::string& group)
{
group_ = group;
setCoreParameter("Group", group);
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dnsknocker/model/GetResourceRecordsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::DnsKnocker;
using namespace AlibabaCloud::DnsKnocker::Model;
GetResourceRecordsResult::GetResourceRecordsResult() :
ServiceResult()
{}
GetResourceRecordsResult::GetResourceRecordsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetResourceRecordsResult::~GetResourceRecordsResult()
{}
void GetResourceRecordsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allResourceRecordSet = value["ResourceRecordSet"]["Data"];
for (const auto &item : allResourceRecordSet)
resourceRecordSet_.push_back(item.asString());
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::vector<std::string> GetResourceRecordsResult::getResourceRecordSet()const
{
return resourceRecordSet_;
}
std::string GetResourceRecordsResult::getResultMessage()const
{
return resultMessage_;
}
std::string GetResourceRecordsResult::getResultCode()const
{
return resultCode_;
}
bool GetResourceRecordsResult::getSuccess()const
{
return success_;
}

View File

@@ -31,8 +31,6 @@ set(imm_public_header_model
include/alibabacloud/imm/model/CreateCADConversionTaskResult.h
include/alibabacloud/imm/model/CreateDocIndexTaskRequest.h
include/alibabacloud/imm/model/CreateDocIndexTaskResult.h
include/alibabacloud/imm/model/CreateFaceSetRequest.h
include/alibabacloud/imm/model/CreateFaceSetResult.h
include/alibabacloud/imm/model/CreateGrabFrameTaskRequest.h
include/alibabacloud/imm/model/CreateGrabFrameTaskResult.h
include/alibabacloud/imm/model/CreateGroupFacesJobRequest.h
@@ -43,14 +41,8 @@ set(imm_public_header_model
include/alibabacloud/imm/model/CreateMergeFaceGroupsJobResult.h
include/alibabacloud/imm/model/CreateOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/CreateOfficeConversionTaskResult.h
include/alibabacloud/imm/model/CreatePornBatchDetectJobRequest.h
include/alibabacloud/imm/model/CreatePornBatchDetectJobResult.h
include/alibabacloud/imm/model/CreateSetRequest.h
include/alibabacloud/imm/model/CreateSetResult.h
include/alibabacloud/imm/model/CreateTagJobRequest.h
include/alibabacloud/imm/model/CreateTagJobResult.h
include/alibabacloud/imm/model/CreateTagSetRequest.h
include/alibabacloud/imm/model/CreateTagSetResult.h
include/alibabacloud/imm/model/CreateVideoAbstractTaskRequest.h
include/alibabacloud/imm/model/CreateVideoAbstractTaskResult.h
include/alibabacloud/imm/model/CreateVideoAnalyseTaskRequest.h
@@ -61,36 +53,16 @@ set(imm_public_header_model
include/alibabacloud/imm/model/DecodeBlindWatermarkResult.h
include/alibabacloud/imm/model/DeleteDocIndexRequest.h
include/alibabacloud/imm/model/DeleteDocIndexResult.h
include/alibabacloud/imm/model/DeleteFaceJobRequest.h
include/alibabacloud/imm/model/DeleteFaceJobResult.h
include/alibabacloud/imm/model/DeleteFaceSearchGroupRequest.h
include/alibabacloud/imm/model/DeleteFaceSearchGroupResult.h
include/alibabacloud/imm/model/DeleteFaceSearchImageByIdRequest.h
include/alibabacloud/imm/model/DeleteFaceSearchImageByIdResult.h
include/alibabacloud/imm/model/DeleteFaceSearchUserRequest.h
include/alibabacloud/imm/model/DeleteFaceSearchUserResult.h
include/alibabacloud/imm/model/DeleteImageRequest.h
include/alibabacloud/imm/model/DeleteImageResult.h
include/alibabacloud/imm/model/DeleteImageJobRequest.h
include/alibabacloud/imm/model/DeleteImageJobResult.h
include/alibabacloud/imm/model/DeleteOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/DeleteOfficeConversionTaskResult.h
include/alibabacloud/imm/model/DeletePhotoProcessTaskRequest.h
include/alibabacloud/imm/model/DeletePhotoProcessTaskResult.h
include/alibabacloud/imm/model/DeletePornBatchDetectJobRequest.h
include/alibabacloud/imm/model/DeletePornBatchDetectJobResult.h
include/alibabacloud/imm/model/DeleteProjectRequest.h
include/alibabacloud/imm/model/DeleteProjectResult.h
include/alibabacloud/imm/model/DeleteSetRequest.h
include/alibabacloud/imm/model/DeleteSetResult.h
include/alibabacloud/imm/model/DeleteTagByNameRequest.h
include/alibabacloud/imm/model/DeleteTagByNameResult.h
include/alibabacloud/imm/model/DeleteTagByUrlRequest.h
include/alibabacloud/imm/model/DeleteTagByUrlResult.h
include/alibabacloud/imm/model/DeleteTagJobRequest.h
include/alibabacloud/imm/model/DeleteTagJobResult.h
include/alibabacloud/imm/model/DeleteTagSetRequest.h
include/alibabacloud/imm/model/DeleteTagSetResult.h
include/alibabacloud/imm/model/DeleteVideoRequest.h
include/alibabacloud/imm/model/DeleteVideoResult.h
include/alibabacloud/imm/model/DeleteVideoTaskRequest.h
@@ -107,16 +79,14 @@ set(imm_public_header_model
include/alibabacloud/imm/model/DetectImageFacesResult.h
include/alibabacloud/imm/model/DetectImageLogosRequest.h
include/alibabacloud/imm/model/DetectImageLogosResult.h
include/alibabacloud/imm/model/DetectImageQRCodesRequest.h
include/alibabacloud/imm/model/DetectImageQRCodesResult.h
include/alibabacloud/imm/model/DetectImageTagsRequest.h
include/alibabacloud/imm/model/DetectImageTagsResult.h
include/alibabacloud/imm/model/DetectImageTextsRequest.h
include/alibabacloud/imm/model/DetectImageTextsResult.h
include/alibabacloud/imm/model/DetectLogoRequest.h
include/alibabacloud/imm/model/DetectLogoResult.h
include/alibabacloud/imm/model/DetectQRCodesRequest.h
include/alibabacloud/imm/model/DetectQRCodesResult.h
include/alibabacloud/imm/model/DetectTagRequest.h
include/alibabacloud/imm/model/DetectTagResult.h
include/alibabacloud/imm/model/EncodeBlindWatermarkRequest.h
include/alibabacloud/imm/model/EncodeBlindWatermarkResult.h
include/alibabacloud/imm/model/FindImagesRequest.h
@@ -129,12 +99,6 @@ set(imm_public_header_model
include/alibabacloud/imm/model/GetDocIndexResult.h
include/alibabacloud/imm/model/GetDocIndexTaskRequest.h
include/alibabacloud/imm/model/GetDocIndexTaskResult.h
include/alibabacloud/imm/model/GetFaceSearchGroupRequest.h
include/alibabacloud/imm/model/GetFaceSearchGroupResult.h
include/alibabacloud/imm/model/GetFaceSearchImageRequest.h
include/alibabacloud/imm/model/GetFaceSearchImageResult.h
include/alibabacloud/imm/model/GetFaceSearchUserRequest.h
include/alibabacloud/imm/model/GetFaceSearchUserResult.h
include/alibabacloud/imm/model/GetImageRequest.h
include/alibabacloud/imm/model/GetImageResult.h
include/alibabacloud/imm/model/GetImageJobRequest.h
@@ -143,46 +107,26 @@ set(imm_public_header_model
include/alibabacloud/imm/model/GetMediaMetaResult.h
include/alibabacloud/imm/model/GetOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/GetOfficeConversionTaskResult.h
include/alibabacloud/imm/model/GetPhotoProcessTaskRequest.h
include/alibabacloud/imm/model/GetPhotoProcessTaskResult.h
include/alibabacloud/imm/model/GetPornBatchDetectJobRequest.h
include/alibabacloud/imm/model/GetPornBatchDetectJobResult.h
include/alibabacloud/imm/model/GetProjectRequest.h
include/alibabacloud/imm/model/GetProjectResult.h
include/alibabacloud/imm/model/GetSetRequest.h
include/alibabacloud/imm/model/GetSetResult.h
include/alibabacloud/imm/model/GetTagJobRequest.h
include/alibabacloud/imm/model/GetTagJobResult.h
include/alibabacloud/imm/model/GetTagSetRequest.h
include/alibabacloud/imm/model/GetTagSetResult.h
include/alibabacloud/imm/model/GetVideoRequest.h
include/alibabacloud/imm/model/GetVideoResult.h
include/alibabacloud/imm/model/GetVideoTaskRequest.h
include/alibabacloud/imm/model/GetVideoTaskResult.h
include/alibabacloud/imm/model/IndexImageRequest.h
include/alibabacloud/imm/model/IndexImageResult.h
include/alibabacloud/imm/model/IndexTagRequest.h
include/alibabacloud/imm/model/IndexTagResult.h
include/alibabacloud/imm/model/IndexVideoRequest.h
include/alibabacloud/imm/model/IndexVideoResult.h
include/alibabacloud/imm/model/ListFaceGroupsRequest.h
include/alibabacloud/imm/model/ListFaceGroupsResult.h
include/alibabacloud/imm/model/ListFaceSearchGroupImagesRequest.h
include/alibabacloud/imm/model/ListFaceSearchGroupImagesResult.h
include/alibabacloud/imm/model/ListFaceSearchGroupUsersRequest.h
include/alibabacloud/imm/model/ListFaceSearchGroupUsersResult.h
include/alibabacloud/imm/model/ListFaceSearchGroupsRequest.h
include/alibabacloud/imm/model/ListFaceSearchGroupsResult.h
include/alibabacloud/imm/model/ListImageJobsRequest.h
include/alibabacloud/imm/model/ListImageJobsResult.h
include/alibabacloud/imm/model/ListImagesRequest.h
include/alibabacloud/imm/model/ListImagesResult.h
include/alibabacloud/imm/model/ListOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/ListOfficeConversionTaskResult.h
include/alibabacloud/imm/model/ListPhotoProcessTasksRequest.h
include/alibabacloud/imm/model/ListPhotoProcessTasksResult.h
include/alibabacloud/imm/model/ListPornBatchDetectJobsRequest.h
include/alibabacloud/imm/model/ListPornBatchDetectJobsResult.h
include/alibabacloud/imm/model/ListProjectAPIsRequest.h
include/alibabacloud/imm/model/ListProjectAPIsResult.h
include/alibabacloud/imm/model/ListProjectsRequest.h
@@ -191,14 +135,8 @@ set(imm_public_header_model
include/alibabacloud/imm/model/ListSetTagsResult.h
include/alibabacloud/imm/model/ListSetsRequest.h
include/alibabacloud/imm/model/ListSetsResult.h
include/alibabacloud/imm/model/ListTagJobsRequest.h
include/alibabacloud/imm/model/ListTagJobsResult.h
include/alibabacloud/imm/model/ListTagNamesRequest.h
include/alibabacloud/imm/model/ListTagNamesResult.h
include/alibabacloud/imm/model/ListTagPhotosRequest.h
include/alibabacloud/imm/model/ListTagPhotosResult.h
include/alibabacloud/imm/model/ListTagSetsRequest.h
include/alibabacloud/imm/model/ListTagSetsResult.h
include/alibabacloud/imm/model/ListVideoAudiosRequest.h
include/alibabacloud/imm/model/ListVideoAudiosResult.h
include/alibabacloud/imm/model/ListVideoFramesRequest.h
@@ -207,16 +145,10 @@ set(imm_public_header_model
include/alibabacloud/imm/model/ListVideoTasksResult.h
include/alibabacloud/imm/model/ListVideosRequest.h
include/alibabacloud/imm/model/ListVideosResult.h
include/alibabacloud/imm/model/PhotoProcessRequest.h
include/alibabacloud/imm/model/PhotoProcessResult.h
include/alibabacloud/imm/model/PutProjectRequest.h
include/alibabacloud/imm/model/PutProjectResult.h
include/alibabacloud/imm/model/RegistFaceRequest.h
include/alibabacloud/imm/model/RegistFaceResult.h
include/alibabacloud/imm/model/SearchDocIndexRequest.h
include/alibabacloud/imm/model/SearchDocIndexResult.h
include/alibabacloud/imm/model/SearchFaceRequest.h
include/alibabacloud/imm/model/SearchFaceResult.h
include/alibabacloud/imm/model/UpdateDocIndexMetaRequest.h
include/alibabacloud/imm/model/UpdateDocIndexMetaResult.h
include/alibabacloud/imm/model/UpdateFaceGroupRequest.h
@@ -240,8 +172,6 @@ set(imm_src
src/model/CreateCADConversionTaskResult.cc
src/model/CreateDocIndexTaskRequest.cc
src/model/CreateDocIndexTaskResult.cc
src/model/CreateFaceSetRequest.cc
src/model/CreateFaceSetResult.cc
src/model/CreateGrabFrameTaskRequest.cc
src/model/CreateGrabFrameTaskResult.cc
src/model/CreateGroupFacesJobRequest.cc
@@ -252,14 +182,8 @@ set(imm_src
src/model/CreateMergeFaceGroupsJobResult.cc
src/model/CreateOfficeConversionTaskRequest.cc
src/model/CreateOfficeConversionTaskResult.cc
src/model/CreatePornBatchDetectJobRequest.cc
src/model/CreatePornBatchDetectJobResult.cc
src/model/CreateSetRequest.cc
src/model/CreateSetResult.cc
src/model/CreateTagJobRequest.cc
src/model/CreateTagJobResult.cc
src/model/CreateTagSetRequest.cc
src/model/CreateTagSetResult.cc
src/model/CreateVideoAbstractTaskRequest.cc
src/model/CreateVideoAbstractTaskResult.cc
src/model/CreateVideoAnalyseTaskRequest.cc
@@ -270,36 +194,16 @@ set(imm_src
src/model/DecodeBlindWatermarkResult.cc
src/model/DeleteDocIndexRequest.cc
src/model/DeleteDocIndexResult.cc
src/model/DeleteFaceJobRequest.cc
src/model/DeleteFaceJobResult.cc
src/model/DeleteFaceSearchGroupRequest.cc
src/model/DeleteFaceSearchGroupResult.cc
src/model/DeleteFaceSearchImageByIdRequest.cc
src/model/DeleteFaceSearchImageByIdResult.cc
src/model/DeleteFaceSearchUserRequest.cc
src/model/DeleteFaceSearchUserResult.cc
src/model/DeleteImageRequest.cc
src/model/DeleteImageResult.cc
src/model/DeleteImageJobRequest.cc
src/model/DeleteImageJobResult.cc
src/model/DeleteOfficeConversionTaskRequest.cc
src/model/DeleteOfficeConversionTaskResult.cc
src/model/DeletePhotoProcessTaskRequest.cc
src/model/DeletePhotoProcessTaskResult.cc
src/model/DeletePornBatchDetectJobRequest.cc
src/model/DeletePornBatchDetectJobResult.cc
src/model/DeleteProjectRequest.cc
src/model/DeleteProjectResult.cc
src/model/DeleteSetRequest.cc
src/model/DeleteSetResult.cc
src/model/DeleteTagByNameRequest.cc
src/model/DeleteTagByNameResult.cc
src/model/DeleteTagByUrlRequest.cc
src/model/DeleteTagByUrlResult.cc
src/model/DeleteTagJobRequest.cc
src/model/DeleteTagJobResult.cc
src/model/DeleteTagSetRequest.cc
src/model/DeleteTagSetResult.cc
src/model/DeleteVideoRequest.cc
src/model/DeleteVideoResult.cc
src/model/DeleteVideoTaskRequest.cc
@@ -316,16 +220,14 @@ set(imm_src
src/model/DetectImageFacesResult.cc
src/model/DetectImageLogosRequest.cc
src/model/DetectImageLogosResult.cc
src/model/DetectImageQRCodesRequest.cc
src/model/DetectImageQRCodesResult.cc
src/model/DetectImageTagsRequest.cc
src/model/DetectImageTagsResult.cc
src/model/DetectImageTextsRequest.cc
src/model/DetectImageTextsResult.cc
src/model/DetectLogoRequest.cc
src/model/DetectLogoResult.cc
src/model/DetectQRCodesRequest.cc
src/model/DetectQRCodesResult.cc
src/model/DetectTagRequest.cc
src/model/DetectTagResult.cc
src/model/EncodeBlindWatermarkRequest.cc
src/model/EncodeBlindWatermarkResult.cc
src/model/FindImagesRequest.cc
@@ -338,12 +240,6 @@ set(imm_src
src/model/GetDocIndexResult.cc
src/model/GetDocIndexTaskRequest.cc
src/model/GetDocIndexTaskResult.cc
src/model/GetFaceSearchGroupRequest.cc
src/model/GetFaceSearchGroupResult.cc
src/model/GetFaceSearchImageRequest.cc
src/model/GetFaceSearchImageResult.cc
src/model/GetFaceSearchUserRequest.cc
src/model/GetFaceSearchUserResult.cc
src/model/GetImageRequest.cc
src/model/GetImageResult.cc
src/model/GetImageJobRequest.cc
@@ -352,46 +248,26 @@ set(imm_src
src/model/GetMediaMetaResult.cc
src/model/GetOfficeConversionTaskRequest.cc
src/model/GetOfficeConversionTaskResult.cc
src/model/GetPhotoProcessTaskRequest.cc
src/model/GetPhotoProcessTaskResult.cc
src/model/GetPornBatchDetectJobRequest.cc
src/model/GetPornBatchDetectJobResult.cc
src/model/GetProjectRequest.cc
src/model/GetProjectResult.cc
src/model/GetSetRequest.cc
src/model/GetSetResult.cc
src/model/GetTagJobRequest.cc
src/model/GetTagJobResult.cc
src/model/GetTagSetRequest.cc
src/model/GetTagSetResult.cc
src/model/GetVideoRequest.cc
src/model/GetVideoResult.cc
src/model/GetVideoTaskRequest.cc
src/model/GetVideoTaskResult.cc
src/model/IndexImageRequest.cc
src/model/IndexImageResult.cc
src/model/IndexTagRequest.cc
src/model/IndexTagResult.cc
src/model/IndexVideoRequest.cc
src/model/IndexVideoResult.cc
src/model/ListFaceGroupsRequest.cc
src/model/ListFaceGroupsResult.cc
src/model/ListFaceSearchGroupImagesRequest.cc
src/model/ListFaceSearchGroupImagesResult.cc
src/model/ListFaceSearchGroupUsersRequest.cc
src/model/ListFaceSearchGroupUsersResult.cc
src/model/ListFaceSearchGroupsRequest.cc
src/model/ListFaceSearchGroupsResult.cc
src/model/ListImageJobsRequest.cc
src/model/ListImageJobsResult.cc
src/model/ListImagesRequest.cc
src/model/ListImagesResult.cc
src/model/ListOfficeConversionTaskRequest.cc
src/model/ListOfficeConversionTaskResult.cc
src/model/ListPhotoProcessTasksRequest.cc
src/model/ListPhotoProcessTasksResult.cc
src/model/ListPornBatchDetectJobsRequest.cc
src/model/ListPornBatchDetectJobsResult.cc
src/model/ListProjectAPIsRequest.cc
src/model/ListProjectAPIsResult.cc
src/model/ListProjectsRequest.cc
@@ -400,14 +276,8 @@ set(imm_src
src/model/ListSetTagsResult.cc
src/model/ListSetsRequest.cc
src/model/ListSetsResult.cc
src/model/ListTagJobsRequest.cc
src/model/ListTagJobsResult.cc
src/model/ListTagNamesRequest.cc
src/model/ListTagNamesResult.cc
src/model/ListTagPhotosRequest.cc
src/model/ListTagPhotosResult.cc
src/model/ListTagSetsRequest.cc
src/model/ListTagSetsResult.cc
src/model/ListVideoAudiosRequest.cc
src/model/ListVideoAudiosResult.cc
src/model/ListVideoFramesRequest.cc
@@ -416,16 +286,10 @@ set(imm_src
src/model/ListVideoTasksResult.cc
src/model/ListVideosRequest.cc
src/model/ListVideosResult.cc
src/model/PhotoProcessRequest.cc
src/model/PhotoProcessResult.cc
src/model/PutProjectRequest.cc
src/model/PutProjectResult.cc
src/model/RegistFaceRequest.cc
src/model/RegistFaceResult.cc
src/model/SearchDocIndexRequest.cc
src/model/SearchDocIndexResult.cc
src/model/SearchFaceRequest.cc
src/model/SearchFaceResult.cc
src/model/UpdateDocIndexMetaRequest.cc
src/model/UpdateDocIndexMetaResult.cc
src/model/UpdateFaceGroupRequest.cc

View File

@@ -32,8 +32,6 @@
#include "model/CreateCADConversionTaskResult.h"
#include "model/CreateDocIndexTaskRequest.h"
#include "model/CreateDocIndexTaskResult.h"
#include "model/CreateFaceSetRequest.h"
#include "model/CreateFaceSetResult.h"
#include "model/CreateGrabFrameTaskRequest.h"
#include "model/CreateGrabFrameTaskResult.h"
#include "model/CreateGroupFacesJobRequest.h"
@@ -44,14 +42,8 @@
#include "model/CreateMergeFaceGroupsJobResult.h"
#include "model/CreateOfficeConversionTaskRequest.h"
#include "model/CreateOfficeConversionTaskResult.h"
#include "model/CreatePornBatchDetectJobRequest.h"
#include "model/CreatePornBatchDetectJobResult.h"
#include "model/CreateSetRequest.h"
#include "model/CreateSetResult.h"
#include "model/CreateTagJobRequest.h"
#include "model/CreateTagJobResult.h"
#include "model/CreateTagSetRequest.h"
#include "model/CreateTagSetResult.h"
#include "model/CreateVideoAbstractTaskRequest.h"
#include "model/CreateVideoAbstractTaskResult.h"
#include "model/CreateVideoAnalyseTaskRequest.h"
@@ -62,36 +54,16 @@
#include "model/DecodeBlindWatermarkResult.h"
#include "model/DeleteDocIndexRequest.h"
#include "model/DeleteDocIndexResult.h"
#include "model/DeleteFaceJobRequest.h"
#include "model/DeleteFaceJobResult.h"
#include "model/DeleteFaceSearchGroupRequest.h"
#include "model/DeleteFaceSearchGroupResult.h"
#include "model/DeleteFaceSearchImageByIdRequest.h"
#include "model/DeleteFaceSearchImageByIdResult.h"
#include "model/DeleteFaceSearchUserRequest.h"
#include "model/DeleteFaceSearchUserResult.h"
#include "model/DeleteImageRequest.h"
#include "model/DeleteImageResult.h"
#include "model/DeleteImageJobRequest.h"
#include "model/DeleteImageJobResult.h"
#include "model/DeleteOfficeConversionTaskRequest.h"
#include "model/DeleteOfficeConversionTaskResult.h"
#include "model/DeletePhotoProcessTaskRequest.h"
#include "model/DeletePhotoProcessTaskResult.h"
#include "model/DeletePornBatchDetectJobRequest.h"
#include "model/DeletePornBatchDetectJobResult.h"
#include "model/DeleteProjectRequest.h"
#include "model/DeleteProjectResult.h"
#include "model/DeleteSetRequest.h"
#include "model/DeleteSetResult.h"
#include "model/DeleteTagByNameRequest.h"
#include "model/DeleteTagByNameResult.h"
#include "model/DeleteTagByUrlRequest.h"
#include "model/DeleteTagByUrlResult.h"
#include "model/DeleteTagJobRequest.h"
#include "model/DeleteTagJobResult.h"
#include "model/DeleteTagSetRequest.h"
#include "model/DeleteTagSetResult.h"
#include "model/DeleteVideoRequest.h"
#include "model/DeleteVideoResult.h"
#include "model/DeleteVideoTaskRequest.h"
@@ -108,16 +80,14 @@
#include "model/DetectImageFacesResult.h"
#include "model/DetectImageLogosRequest.h"
#include "model/DetectImageLogosResult.h"
#include "model/DetectImageQRCodesRequest.h"
#include "model/DetectImageQRCodesResult.h"
#include "model/DetectImageTagsRequest.h"
#include "model/DetectImageTagsResult.h"
#include "model/DetectImageTextsRequest.h"
#include "model/DetectImageTextsResult.h"
#include "model/DetectLogoRequest.h"
#include "model/DetectLogoResult.h"
#include "model/DetectQRCodesRequest.h"
#include "model/DetectQRCodesResult.h"
#include "model/DetectTagRequest.h"
#include "model/DetectTagResult.h"
#include "model/EncodeBlindWatermarkRequest.h"
#include "model/EncodeBlindWatermarkResult.h"
#include "model/FindImagesRequest.h"
@@ -130,12 +100,6 @@
#include "model/GetDocIndexResult.h"
#include "model/GetDocIndexTaskRequest.h"
#include "model/GetDocIndexTaskResult.h"
#include "model/GetFaceSearchGroupRequest.h"
#include "model/GetFaceSearchGroupResult.h"
#include "model/GetFaceSearchImageRequest.h"
#include "model/GetFaceSearchImageResult.h"
#include "model/GetFaceSearchUserRequest.h"
#include "model/GetFaceSearchUserResult.h"
#include "model/GetImageRequest.h"
#include "model/GetImageResult.h"
#include "model/GetImageJobRequest.h"
@@ -144,46 +108,26 @@
#include "model/GetMediaMetaResult.h"
#include "model/GetOfficeConversionTaskRequest.h"
#include "model/GetOfficeConversionTaskResult.h"
#include "model/GetPhotoProcessTaskRequest.h"
#include "model/GetPhotoProcessTaskResult.h"
#include "model/GetPornBatchDetectJobRequest.h"
#include "model/GetPornBatchDetectJobResult.h"
#include "model/GetProjectRequest.h"
#include "model/GetProjectResult.h"
#include "model/GetSetRequest.h"
#include "model/GetSetResult.h"
#include "model/GetTagJobRequest.h"
#include "model/GetTagJobResult.h"
#include "model/GetTagSetRequest.h"
#include "model/GetTagSetResult.h"
#include "model/GetVideoRequest.h"
#include "model/GetVideoResult.h"
#include "model/GetVideoTaskRequest.h"
#include "model/GetVideoTaskResult.h"
#include "model/IndexImageRequest.h"
#include "model/IndexImageResult.h"
#include "model/IndexTagRequest.h"
#include "model/IndexTagResult.h"
#include "model/IndexVideoRequest.h"
#include "model/IndexVideoResult.h"
#include "model/ListFaceGroupsRequest.h"
#include "model/ListFaceGroupsResult.h"
#include "model/ListFaceSearchGroupImagesRequest.h"
#include "model/ListFaceSearchGroupImagesResult.h"
#include "model/ListFaceSearchGroupUsersRequest.h"
#include "model/ListFaceSearchGroupUsersResult.h"
#include "model/ListFaceSearchGroupsRequest.h"
#include "model/ListFaceSearchGroupsResult.h"
#include "model/ListImageJobsRequest.h"
#include "model/ListImageJobsResult.h"
#include "model/ListImagesRequest.h"
#include "model/ListImagesResult.h"
#include "model/ListOfficeConversionTaskRequest.h"
#include "model/ListOfficeConversionTaskResult.h"
#include "model/ListPhotoProcessTasksRequest.h"
#include "model/ListPhotoProcessTasksResult.h"
#include "model/ListPornBatchDetectJobsRequest.h"
#include "model/ListPornBatchDetectJobsResult.h"
#include "model/ListProjectAPIsRequest.h"
#include "model/ListProjectAPIsResult.h"
#include "model/ListProjectsRequest.h"
@@ -192,14 +136,8 @@
#include "model/ListSetTagsResult.h"
#include "model/ListSetsRequest.h"
#include "model/ListSetsResult.h"
#include "model/ListTagJobsRequest.h"
#include "model/ListTagJobsResult.h"
#include "model/ListTagNamesRequest.h"
#include "model/ListTagNamesResult.h"
#include "model/ListTagPhotosRequest.h"
#include "model/ListTagPhotosResult.h"
#include "model/ListTagSetsRequest.h"
#include "model/ListTagSetsResult.h"
#include "model/ListVideoAudiosRequest.h"
#include "model/ListVideoAudiosResult.h"
#include "model/ListVideoFramesRequest.h"
@@ -208,16 +146,10 @@
#include "model/ListVideoTasksResult.h"
#include "model/ListVideosRequest.h"
#include "model/ListVideosResult.h"
#include "model/PhotoProcessRequest.h"
#include "model/PhotoProcessResult.h"
#include "model/PutProjectRequest.h"
#include "model/PutProjectResult.h"
#include "model/RegistFaceRequest.h"
#include "model/RegistFaceResult.h"
#include "model/SearchDocIndexRequest.h"
#include "model/SearchDocIndexResult.h"
#include "model/SearchFaceRequest.h"
#include "model/SearchFaceResult.h"
#include "model/UpdateDocIndexMetaRequest.h"
#include "model/UpdateDocIndexMetaResult.h"
#include "model/UpdateFaceGroupRequest.h"
@@ -252,9 +184,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDocIndexTaskResult> CreateDocIndexTaskOutcome;
typedef std::future<CreateDocIndexTaskOutcome> CreateDocIndexTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateDocIndexTaskRequest&, const CreateDocIndexTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocIndexTaskAsyncHandler;
typedef Outcome<Error, Model::CreateFaceSetResult> CreateFaceSetOutcome;
typedef std::future<CreateFaceSetOutcome> CreateFaceSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateFaceSetRequest&, const CreateFaceSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFaceSetAsyncHandler;
typedef Outcome<Error, Model::CreateGrabFrameTaskResult> CreateGrabFrameTaskOutcome;
typedef std::future<CreateGrabFrameTaskOutcome> CreateGrabFrameTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateGrabFrameTaskRequest&, const CreateGrabFrameTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGrabFrameTaskAsyncHandler;
@@ -270,18 +199,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateOfficeConversionTaskResult> CreateOfficeConversionTaskOutcome;
typedef std::future<CreateOfficeConversionTaskOutcome> CreateOfficeConversionTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateOfficeConversionTaskRequest&, const CreateOfficeConversionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOfficeConversionTaskAsyncHandler;
typedef Outcome<Error, Model::CreatePornBatchDetectJobResult> CreatePornBatchDetectJobOutcome;
typedef std::future<CreatePornBatchDetectJobOutcome> CreatePornBatchDetectJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreatePornBatchDetectJobRequest&, const CreatePornBatchDetectJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePornBatchDetectJobAsyncHandler;
typedef Outcome<Error, Model::CreateSetResult> CreateSetOutcome;
typedef std::future<CreateSetOutcome> CreateSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateSetRequest&, const CreateSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSetAsyncHandler;
typedef Outcome<Error, Model::CreateTagJobResult> CreateTagJobOutcome;
typedef std::future<CreateTagJobOutcome> CreateTagJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateTagJobRequest&, const CreateTagJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagJobAsyncHandler;
typedef Outcome<Error, Model::CreateTagSetResult> CreateTagSetOutcome;
typedef std::future<CreateTagSetOutcome> CreateTagSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateTagSetRequest&, const CreateTagSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagSetAsyncHandler;
typedef Outcome<Error, Model::CreateVideoAbstractTaskResult> CreateVideoAbstractTaskOutcome;
typedef std::future<CreateVideoAbstractTaskOutcome> CreateVideoAbstractTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateVideoAbstractTaskRequest&, const CreateVideoAbstractTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVideoAbstractTaskAsyncHandler;
@@ -297,18 +217,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteDocIndexResult> DeleteDocIndexOutcome;
typedef std::future<DeleteDocIndexOutcome> DeleteDocIndexOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteDocIndexRequest&, const DeleteDocIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDocIndexAsyncHandler;
typedef Outcome<Error, Model::DeleteFaceJobResult> DeleteFaceJobOutcome;
typedef std::future<DeleteFaceJobOutcome> DeleteFaceJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteFaceJobRequest&, const DeleteFaceJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceJobAsyncHandler;
typedef Outcome<Error, Model::DeleteFaceSearchGroupResult> DeleteFaceSearchGroupOutcome;
typedef std::future<DeleteFaceSearchGroupOutcome> DeleteFaceSearchGroupOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteFaceSearchGroupRequest&, const DeleteFaceSearchGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceSearchGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteFaceSearchImageByIdResult> DeleteFaceSearchImageByIdOutcome;
typedef std::future<DeleteFaceSearchImageByIdOutcome> DeleteFaceSearchImageByIdOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteFaceSearchImageByIdRequest&, const DeleteFaceSearchImageByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceSearchImageByIdAsyncHandler;
typedef Outcome<Error, Model::DeleteFaceSearchUserResult> DeleteFaceSearchUserOutcome;
typedef std::future<DeleteFaceSearchUserOutcome> DeleteFaceSearchUserOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteFaceSearchUserRequest&, const DeleteFaceSearchUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceSearchUserAsyncHandler;
typedef Outcome<Error, Model::DeleteImageResult> DeleteImageOutcome;
typedef std::future<DeleteImageOutcome> DeleteImageOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteImageRequest&, const DeleteImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteImageAsyncHandler;
@@ -318,30 +226,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteOfficeConversionTaskResult> DeleteOfficeConversionTaskOutcome;
typedef std::future<DeleteOfficeConversionTaskOutcome> DeleteOfficeConversionTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteOfficeConversionTaskRequest&, const DeleteOfficeConversionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteOfficeConversionTaskAsyncHandler;
typedef Outcome<Error, Model::DeletePhotoProcessTaskResult> DeletePhotoProcessTaskOutcome;
typedef std::future<DeletePhotoProcessTaskOutcome> DeletePhotoProcessTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeletePhotoProcessTaskRequest&, const DeletePhotoProcessTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotoProcessTaskAsyncHandler;
typedef Outcome<Error, Model::DeletePornBatchDetectJobResult> DeletePornBatchDetectJobOutcome;
typedef std::future<DeletePornBatchDetectJobOutcome> DeletePornBatchDetectJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeletePornBatchDetectJobRequest&, const DeletePornBatchDetectJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePornBatchDetectJobAsyncHandler;
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
typedef Outcome<Error, Model::DeleteSetResult> DeleteSetOutcome;
typedef std::future<DeleteSetOutcome> DeleteSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteSetRequest&, const DeleteSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSetAsyncHandler;
typedef Outcome<Error, Model::DeleteTagByNameResult> DeleteTagByNameOutcome;
typedef std::future<DeleteTagByNameOutcome> DeleteTagByNameOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteTagByNameRequest&, const DeleteTagByNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagByNameAsyncHandler;
typedef Outcome<Error, Model::DeleteTagByUrlResult> DeleteTagByUrlOutcome;
typedef std::future<DeleteTagByUrlOutcome> DeleteTagByUrlOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteTagByUrlRequest&, const DeleteTagByUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagByUrlAsyncHandler;
typedef Outcome<Error, Model::DeleteTagJobResult> DeleteTagJobOutcome;
typedef std::future<DeleteTagJobOutcome> DeleteTagJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteTagJobRequest&, const DeleteTagJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagJobAsyncHandler;
typedef Outcome<Error, Model::DeleteTagSetResult> DeleteTagSetOutcome;
typedef std::future<DeleteTagSetOutcome> DeleteTagSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteTagSetRequest&, const DeleteTagSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagSetAsyncHandler;
typedef Outcome<Error, Model::DeleteVideoResult> DeleteVideoOutcome;
typedef std::future<DeleteVideoOutcome> DeleteVideoOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteVideoRequest&, const DeleteVideoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVideoAsyncHandler;
@@ -366,21 +256,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DetectImageLogosResult> DetectImageLogosOutcome;
typedef std::future<DetectImageLogosOutcome> DetectImageLogosOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectImageLogosRequest&, const DetectImageLogosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectImageLogosAsyncHandler;
typedef Outcome<Error, Model::DetectImageQRCodesResult> DetectImageQRCodesOutcome;
typedef std::future<DetectImageQRCodesOutcome> DetectImageQRCodesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectImageQRCodesRequest&, const DetectImageQRCodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectImageQRCodesAsyncHandler;
typedef Outcome<Error, Model::DetectImageTagsResult> DetectImageTagsOutcome;
typedef std::future<DetectImageTagsOutcome> DetectImageTagsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectImageTagsRequest&, const DetectImageTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectImageTagsAsyncHandler;
typedef Outcome<Error, Model::DetectImageTextsResult> DetectImageTextsOutcome;
typedef std::future<DetectImageTextsOutcome> DetectImageTextsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectImageTextsRequest&, const DetectImageTextsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectImageTextsAsyncHandler;
typedef Outcome<Error, Model::DetectLogoResult> DetectLogoOutcome;
typedef std::future<DetectLogoOutcome> DetectLogoOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectLogoRequest&, const DetectLogoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectLogoAsyncHandler;
typedef Outcome<Error, Model::DetectQRCodesResult> DetectQRCodesOutcome;
typedef std::future<DetectQRCodesOutcome> DetectQRCodesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectQRCodesRequest&, const DetectQRCodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectQRCodesAsyncHandler;
typedef Outcome<Error, Model::DetectTagResult> DetectTagOutcome;
typedef std::future<DetectTagOutcome> DetectTagOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectTagRequest&, const DetectTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectTagAsyncHandler;
typedef Outcome<Error, Model::EncodeBlindWatermarkResult> EncodeBlindWatermarkOutcome;
typedef std::future<EncodeBlindWatermarkOutcome> EncodeBlindWatermarkOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::EncodeBlindWatermarkRequest&, const EncodeBlindWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EncodeBlindWatermarkAsyncHandler;
@@ -399,15 +286,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetDocIndexTaskResult> GetDocIndexTaskOutcome;
typedef std::future<GetDocIndexTaskOutcome> GetDocIndexTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetDocIndexTaskRequest&, const GetDocIndexTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDocIndexTaskAsyncHandler;
typedef Outcome<Error, Model::GetFaceSearchGroupResult> GetFaceSearchGroupOutcome;
typedef std::future<GetFaceSearchGroupOutcome> GetFaceSearchGroupOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetFaceSearchGroupRequest&, const GetFaceSearchGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFaceSearchGroupAsyncHandler;
typedef Outcome<Error, Model::GetFaceSearchImageResult> GetFaceSearchImageOutcome;
typedef std::future<GetFaceSearchImageOutcome> GetFaceSearchImageOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetFaceSearchImageRequest&, const GetFaceSearchImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFaceSearchImageAsyncHandler;
typedef Outcome<Error, Model::GetFaceSearchUserResult> GetFaceSearchUserOutcome;
typedef std::future<GetFaceSearchUserOutcome> GetFaceSearchUserOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetFaceSearchUserRequest&, const GetFaceSearchUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFaceSearchUserAsyncHandler;
typedef Outcome<Error, Model::GetImageResult> GetImageOutcome;
typedef std::future<GetImageOutcome> GetImageOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetImageRequest&, const GetImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageAsyncHandler;
@@ -420,24 +298,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetOfficeConversionTaskResult> GetOfficeConversionTaskOutcome;
typedef std::future<GetOfficeConversionTaskOutcome> GetOfficeConversionTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetOfficeConversionTaskRequest&, const GetOfficeConversionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOfficeConversionTaskAsyncHandler;
typedef Outcome<Error, Model::GetPhotoProcessTaskResult> GetPhotoProcessTaskOutcome;
typedef std::future<GetPhotoProcessTaskOutcome> GetPhotoProcessTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetPhotoProcessTaskRequest&, const GetPhotoProcessTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotoProcessTaskAsyncHandler;
typedef Outcome<Error, Model::GetPornBatchDetectJobResult> GetPornBatchDetectJobOutcome;
typedef std::future<GetPornBatchDetectJobOutcome> GetPornBatchDetectJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetPornBatchDetectJobRequest&, const GetPornBatchDetectJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPornBatchDetectJobAsyncHandler;
typedef Outcome<Error, Model::GetProjectResult> GetProjectOutcome;
typedef std::future<GetProjectOutcome> GetProjectOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetProjectRequest&, const GetProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectAsyncHandler;
typedef Outcome<Error, Model::GetSetResult> GetSetOutcome;
typedef std::future<GetSetOutcome> GetSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetSetRequest&, const GetSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSetAsyncHandler;
typedef Outcome<Error, Model::GetTagJobResult> GetTagJobOutcome;
typedef std::future<GetTagJobOutcome> GetTagJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetTagJobRequest&, const GetTagJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagJobAsyncHandler;
typedef Outcome<Error, Model::GetTagSetResult> GetTagSetOutcome;
typedef std::future<GetTagSetOutcome> GetTagSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetTagSetRequest&, const GetTagSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagSetAsyncHandler;
typedef Outcome<Error, Model::GetVideoResult> GetVideoOutcome;
typedef std::future<GetVideoOutcome> GetVideoOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetVideoRequest&, const GetVideoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVideoAsyncHandler;
@@ -447,24 +313,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::IndexImageResult> IndexImageOutcome;
typedef std::future<IndexImageOutcome> IndexImageOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::IndexImageRequest&, const IndexImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IndexImageAsyncHandler;
typedef Outcome<Error, Model::IndexTagResult> IndexTagOutcome;
typedef std::future<IndexTagOutcome> IndexTagOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::IndexTagRequest&, const IndexTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IndexTagAsyncHandler;
typedef Outcome<Error, Model::IndexVideoResult> IndexVideoOutcome;
typedef std::future<IndexVideoOutcome> IndexVideoOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::IndexVideoRequest&, const IndexVideoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IndexVideoAsyncHandler;
typedef Outcome<Error, Model::ListFaceGroupsResult> ListFaceGroupsOutcome;
typedef std::future<ListFaceGroupsOutcome> ListFaceGroupsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListFaceGroupsRequest&, const ListFaceGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceGroupsAsyncHandler;
typedef Outcome<Error, Model::ListFaceSearchGroupImagesResult> ListFaceSearchGroupImagesOutcome;
typedef std::future<ListFaceSearchGroupImagesOutcome> ListFaceSearchGroupImagesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListFaceSearchGroupImagesRequest&, const ListFaceSearchGroupImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceSearchGroupImagesAsyncHandler;
typedef Outcome<Error, Model::ListFaceSearchGroupUsersResult> ListFaceSearchGroupUsersOutcome;
typedef std::future<ListFaceSearchGroupUsersOutcome> ListFaceSearchGroupUsersOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListFaceSearchGroupUsersRequest&, const ListFaceSearchGroupUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceSearchGroupUsersAsyncHandler;
typedef Outcome<Error, Model::ListFaceSearchGroupsResult> ListFaceSearchGroupsOutcome;
typedef std::future<ListFaceSearchGroupsOutcome> ListFaceSearchGroupsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListFaceSearchGroupsRequest&, const ListFaceSearchGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceSearchGroupsAsyncHandler;
typedef Outcome<Error, Model::ListImageJobsResult> ListImageJobsOutcome;
typedef std::future<ListImageJobsOutcome> ListImageJobsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListImageJobsRequest&, const ListImageJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListImageJobsAsyncHandler;
@@ -474,12 +328,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListOfficeConversionTaskResult> ListOfficeConversionTaskOutcome;
typedef std::future<ListOfficeConversionTaskOutcome> ListOfficeConversionTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListOfficeConversionTaskRequest&, const ListOfficeConversionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOfficeConversionTaskAsyncHandler;
typedef Outcome<Error, Model::ListPhotoProcessTasksResult> ListPhotoProcessTasksOutcome;
typedef std::future<ListPhotoProcessTasksOutcome> ListPhotoProcessTasksOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListPhotoProcessTasksRequest&, const ListPhotoProcessTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoProcessTasksAsyncHandler;
typedef Outcome<Error, Model::ListPornBatchDetectJobsResult> ListPornBatchDetectJobsOutcome;
typedef std::future<ListPornBatchDetectJobsOutcome> ListPornBatchDetectJobsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListPornBatchDetectJobsRequest&, const ListPornBatchDetectJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPornBatchDetectJobsAsyncHandler;
typedef Outcome<Error, Model::ListProjectAPIsResult> ListProjectAPIsOutcome;
typedef std::future<ListProjectAPIsOutcome> ListProjectAPIsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListProjectAPIsRequest&, const ListProjectAPIsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectAPIsAsyncHandler;
@@ -492,18 +340,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListSetsResult> ListSetsOutcome;
typedef std::future<ListSetsOutcome> ListSetsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListSetsRequest&, const ListSetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSetsAsyncHandler;
typedef Outcome<Error, Model::ListTagJobsResult> ListTagJobsOutcome;
typedef std::future<ListTagJobsOutcome> ListTagJobsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListTagJobsRequest&, const ListTagJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagJobsAsyncHandler;
typedef Outcome<Error, Model::ListTagNamesResult> ListTagNamesOutcome;
typedef std::future<ListTagNamesOutcome> ListTagNamesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListTagNamesRequest&, const ListTagNamesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagNamesAsyncHandler;
typedef Outcome<Error, Model::ListTagPhotosResult> ListTagPhotosOutcome;
typedef std::future<ListTagPhotosOutcome> ListTagPhotosOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListTagPhotosRequest&, const ListTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagPhotosAsyncHandler;
typedef Outcome<Error, Model::ListTagSetsResult> ListTagSetsOutcome;
typedef std::future<ListTagSetsOutcome> ListTagSetsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListTagSetsRequest&, const ListTagSetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagSetsAsyncHandler;
typedef Outcome<Error, Model::ListVideoAudiosResult> ListVideoAudiosOutcome;
typedef std::future<ListVideoAudiosOutcome> ListVideoAudiosOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListVideoAudiosRequest&, const ListVideoAudiosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVideoAudiosAsyncHandler;
@@ -516,21 +355,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListVideosResult> ListVideosOutcome;
typedef std::future<ListVideosOutcome> ListVideosOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListVideosRequest&, const ListVideosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVideosAsyncHandler;
typedef Outcome<Error, Model::PhotoProcessResult> PhotoProcessOutcome;
typedef std::future<PhotoProcessOutcome> PhotoProcessOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::PhotoProcessRequest&, const PhotoProcessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PhotoProcessAsyncHandler;
typedef Outcome<Error, Model::PutProjectResult> PutProjectOutcome;
typedef std::future<PutProjectOutcome> PutProjectOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::PutProjectRequest&, const PutProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutProjectAsyncHandler;
typedef Outcome<Error, Model::RegistFaceResult> RegistFaceOutcome;
typedef std::future<RegistFaceOutcome> RegistFaceOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::RegistFaceRequest&, const RegistFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegistFaceAsyncHandler;
typedef Outcome<Error, Model::SearchDocIndexResult> SearchDocIndexOutcome;
typedef std::future<SearchDocIndexOutcome> SearchDocIndexOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::SearchDocIndexRequest&, const SearchDocIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchDocIndexAsyncHandler;
typedef Outcome<Error, Model::SearchFaceResult> SearchFaceOutcome;
typedef std::future<SearchFaceOutcome> SearchFaceOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::SearchFaceRequest&, const SearchFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchFaceAsyncHandler;
typedef Outcome<Error, Model::UpdateDocIndexMetaResult> UpdateDocIndexMetaOutcome;
typedef std::future<UpdateDocIndexMetaOutcome> UpdateDocIndexMetaOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::UpdateDocIndexMetaRequest&, const UpdateDocIndexMetaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDocIndexMetaAsyncHandler;
@@ -566,9 +396,6 @@ namespace AlibabaCloud
CreateDocIndexTaskOutcome createDocIndexTask(const Model::CreateDocIndexTaskRequest &request)const;
void createDocIndexTaskAsync(const Model::CreateDocIndexTaskRequest& request, const CreateDocIndexTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDocIndexTaskOutcomeCallable createDocIndexTaskCallable(const Model::CreateDocIndexTaskRequest& request) const;
CreateFaceSetOutcome createFaceSet(const Model::CreateFaceSetRequest &request)const;
void createFaceSetAsync(const Model::CreateFaceSetRequest& request, const CreateFaceSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFaceSetOutcomeCallable createFaceSetCallable(const Model::CreateFaceSetRequest& request) const;
CreateGrabFrameTaskOutcome createGrabFrameTask(const Model::CreateGrabFrameTaskRequest &request)const;
void createGrabFrameTaskAsync(const Model::CreateGrabFrameTaskRequest& request, const CreateGrabFrameTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateGrabFrameTaskOutcomeCallable createGrabFrameTaskCallable(const Model::CreateGrabFrameTaskRequest& request) const;
@@ -584,18 +411,9 @@ namespace AlibabaCloud
CreateOfficeConversionTaskOutcome createOfficeConversionTask(const Model::CreateOfficeConversionTaskRequest &request)const;
void createOfficeConversionTaskAsync(const Model::CreateOfficeConversionTaskRequest& request, const CreateOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateOfficeConversionTaskOutcomeCallable createOfficeConversionTaskCallable(const Model::CreateOfficeConversionTaskRequest& request) const;
CreatePornBatchDetectJobOutcome createPornBatchDetectJob(const Model::CreatePornBatchDetectJobRequest &request)const;
void createPornBatchDetectJobAsync(const Model::CreatePornBatchDetectJobRequest& request, const CreatePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePornBatchDetectJobOutcomeCallable createPornBatchDetectJobCallable(const Model::CreatePornBatchDetectJobRequest& request) const;
CreateSetOutcome createSet(const Model::CreateSetRequest &request)const;
void createSetAsync(const Model::CreateSetRequest& request, const CreateSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSetOutcomeCallable createSetCallable(const Model::CreateSetRequest& request) const;
CreateTagJobOutcome createTagJob(const Model::CreateTagJobRequest &request)const;
void createTagJobAsync(const Model::CreateTagJobRequest& request, const CreateTagJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTagJobOutcomeCallable createTagJobCallable(const Model::CreateTagJobRequest& request) const;
CreateTagSetOutcome createTagSet(const Model::CreateTagSetRequest &request)const;
void createTagSetAsync(const Model::CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTagSetOutcomeCallable createTagSetCallable(const Model::CreateTagSetRequest& request) const;
CreateVideoAbstractTaskOutcome createVideoAbstractTask(const Model::CreateVideoAbstractTaskRequest &request)const;
void createVideoAbstractTaskAsync(const Model::CreateVideoAbstractTaskRequest& request, const CreateVideoAbstractTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVideoAbstractTaskOutcomeCallable createVideoAbstractTaskCallable(const Model::CreateVideoAbstractTaskRequest& request) const;
@@ -611,18 +429,6 @@ namespace AlibabaCloud
DeleteDocIndexOutcome deleteDocIndex(const Model::DeleteDocIndexRequest &request)const;
void deleteDocIndexAsync(const Model::DeleteDocIndexRequest& request, const DeleteDocIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDocIndexOutcomeCallable deleteDocIndexCallable(const Model::DeleteDocIndexRequest& request) const;
DeleteFaceJobOutcome deleteFaceJob(const Model::DeleteFaceJobRequest &request)const;
void deleteFaceJobAsync(const Model::DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFaceJobOutcomeCallable deleteFaceJobCallable(const Model::DeleteFaceJobRequest& request) const;
DeleteFaceSearchGroupOutcome deleteFaceSearchGroup(const Model::DeleteFaceSearchGroupRequest &request)const;
void deleteFaceSearchGroupAsync(const Model::DeleteFaceSearchGroupRequest& request, const DeleteFaceSearchGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFaceSearchGroupOutcomeCallable deleteFaceSearchGroupCallable(const Model::DeleteFaceSearchGroupRequest& request) const;
DeleteFaceSearchImageByIdOutcome deleteFaceSearchImageById(const Model::DeleteFaceSearchImageByIdRequest &request)const;
void deleteFaceSearchImageByIdAsync(const Model::DeleteFaceSearchImageByIdRequest& request, const DeleteFaceSearchImageByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFaceSearchImageByIdOutcomeCallable deleteFaceSearchImageByIdCallable(const Model::DeleteFaceSearchImageByIdRequest& request) const;
DeleteFaceSearchUserOutcome deleteFaceSearchUser(const Model::DeleteFaceSearchUserRequest &request)const;
void deleteFaceSearchUserAsync(const Model::DeleteFaceSearchUserRequest& request, const DeleteFaceSearchUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFaceSearchUserOutcomeCallable deleteFaceSearchUserCallable(const Model::DeleteFaceSearchUserRequest& request) const;
DeleteImageOutcome deleteImage(const Model::DeleteImageRequest &request)const;
void deleteImageAsync(const Model::DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteImageOutcomeCallable deleteImageCallable(const Model::DeleteImageRequest& request) const;
@@ -632,30 +438,12 @@ namespace AlibabaCloud
DeleteOfficeConversionTaskOutcome deleteOfficeConversionTask(const Model::DeleteOfficeConversionTaskRequest &request)const;
void deleteOfficeConversionTaskAsync(const Model::DeleteOfficeConversionTaskRequest& request, const DeleteOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteOfficeConversionTaskOutcomeCallable deleteOfficeConversionTaskCallable(const Model::DeleteOfficeConversionTaskRequest& request) const;
DeletePhotoProcessTaskOutcome deletePhotoProcessTask(const Model::DeletePhotoProcessTaskRequest &request)const;
void deletePhotoProcessTaskAsync(const Model::DeletePhotoProcessTaskRequest& request, const DeletePhotoProcessTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotoProcessTaskOutcomeCallable deletePhotoProcessTaskCallable(const Model::DeletePhotoProcessTaskRequest& request) const;
DeletePornBatchDetectJobOutcome deletePornBatchDetectJob(const Model::DeletePornBatchDetectJobRequest &request)const;
void deletePornBatchDetectJobAsync(const Model::DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePornBatchDetectJobOutcomeCallable deletePornBatchDetectJobCallable(const Model::DeletePornBatchDetectJobRequest& request) const;
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const;
DeleteSetOutcome deleteSet(const Model::DeleteSetRequest &request)const;
void deleteSetAsync(const Model::DeleteSetRequest& request, const DeleteSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSetOutcomeCallable deleteSetCallable(const Model::DeleteSetRequest& request) const;
DeleteTagByNameOutcome deleteTagByName(const Model::DeleteTagByNameRequest &request)const;
void deleteTagByNameAsync(const Model::DeleteTagByNameRequest& request, const DeleteTagByNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTagByNameOutcomeCallable deleteTagByNameCallable(const Model::DeleteTagByNameRequest& request) const;
DeleteTagByUrlOutcome deleteTagByUrl(const Model::DeleteTagByUrlRequest &request)const;
void deleteTagByUrlAsync(const Model::DeleteTagByUrlRequest& request, const DeleteTagByUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTagByUrlOutcomeCallable deleteTagByUrlCallable(const Model::DeleteTagByUrlRequest& request) const;
DeleteTagJobOutcome deleteTagJob(const Model::DeleteTagJobRequest &request)const;
void deleteTagJobAsync(const Model::DeleteTagJobRequest& request, const DeleteTagJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTagJobOutcomeCallable deleteTagJobCallable(const Model::DeleteTagJobRequest& request) const;
DeleteTagSetOutcome deleteTagSet(const Model::DeleteTagSetRequest &request)const;
void deleteTagSetAsync(const Model::DeleteTagSetRequest& request, const DeleteTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTagSetOutcomeCallable deleteTagSetCallable(const Model::DeleteTagSetRequest& request) const;
DeleteVideoOutcome deleteVideo(const Model::DeleteVideoRequest &request)const;
void deleteVideoAsync(const Model::DeleteVideoRequest& request, const DeleteVideoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVideoOutcomeCallable deleteVideoCallable(const Model::DeleteVideoRequest& request) const;
@@ -680,21 +468,18 @@ namespace AlibabaCloud
DetectImageLogosOutcome detectImageLogos(const Model::DetectImageLogosRequest &request)const;
void detectImageLogosAsync(const Model::DetectImageLogosRequest& request, const DetectImageLogosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectImageLogosOutcomeCallable detectImageLogosCallable(const Model::DetectImageLogosRequest& request) const;
DetectImageQRCodesOutcome detectImageQRCodes(const Model::DetectImageQRCodesRequest &request)const;
void detectImageQRCodesAsync(const Model::DetectImageQRCodesRequest& request, const DetectImageQRCodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectImageQRCodesOutcomeCallable detectImageQRCodesCallable(const Model::DetectImageQRCodesRequest& request) const;
DetectImageTagsOutcome detectImageTags(const Model::DetectImageTagsRequest &request)const;
void detectImageTagsAsync(const Model::DetectImageTagsRequest& request, const DetectImageTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectImageTagsOutcomeCallable detectImageTagsCallable(const Model::DetectImageTagsRequest& request) const;
DetectImageTextsOutcome detectImageTexts(const Model::DetectImageTextsRequest &request)const;
void detectImageTextsAsync(const Model::DetectImageTextsRequest& request, const DetectImageTextsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectImageTextsOutcomeCallable detectImageTextsCallable(const Model::DetectImageTextsRequest& request) const;
DetectLogoOutcome detectLogo(const Model::DetectLogoRequest &request)const;
void detectLogoAsync(const Model::DetectLogoRequest& request, const DetectLogoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectLogoOutcomeCallable detectLogoCallable(const Model::DetectLogoRequest& request) const;
DetectQRCodesOutcome detectQRCodes(const Model::DetectQRCodesRequest &request)const;
void detectQRCodesAsync(const Model::DetectQRCodesRequest& request, const DetectQRCodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectQRCodesOutcomeCallable detectQRCodesCallable(const Model::DetectQRCodesRequest& request) const;
DetectTagOutcome detectTag(const Model::DetectTagRequest &request)const;
void detectTagAsync(const Model::DetectTagRequest& request, const DetectTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectTagOutcomeCallable detectTagCallable(const Model::DetectTagRequest& request) const;
EncodeBlindWatermarkOutcome encodeBlindWatermark(const Model::EncodeBlindWatermarkRequest &request)const;
void encodeBlindWatermarkAsync(const Model::EncodeBlindWatermarkRequest& request, const EncodeBlindWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EncodeBlindWatermarkOutcomeCallable encodeBlindWatermarkCallable(const Model::EncodeBlindWatermarkRequest& request) const;
@@ -713,15 +498,6 @@ namespace AlibabaCloud
GetDocIndexTaskOutcome getDocIndexTask(const Model::GetDocIndexTaskRequest &request)const;
void getDocIndexTaskAsync(const Model::GetDocIndexTaskRequest& request, const GetDocIndexTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDocIndexTaskOutcomeCallable getDocIndexTaskCallable(const Model::GetDocIndexTaskRequest& request) const;
GetFaceSearchGroupOutcome getFaceSearchGroup(const Model::GetFaceSearchGroupRequest &request)const;
void getFaceSearchGroupAsync(const Model::GetFaceSearchGroupRequest& request, const GetFaceSearchGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFaceSearchGroupOutcomeCallable getFaceSearchGroupCallable(const Model::GetFaceSearchGroupRequest& request) const;
GetFaceSearchImageOutcome getFaceSearchImage(const Model::GetFaceSearchImageRequest &request)const;
void getFaceSearchImageAsync(const Model::GetFaceSearchImageRequest& request, const GetFaceSearchImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFaceSearchImageOutcomeCallable getFaceSearchImageCallable(const Model::GetFaceSearchImageRequest& request) const;
GetFaceSearchUserOutcome getFaceSearchUser(const Model::GetFaceSearchUserRequest &request)const;
void getFaceSearchUserAsync(const Model::GetFaceSearchUserRequest& request, const GetFaceSearchUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFaceSearchUserOutcomeCallable getFaceSearchUserCallable(const Model::GetFaceSearchUserRequest& request) const;
GetImageOutcome getImage(const Model::GetImageRequest &request)const;
void getImageAsync(const Model::GetImageRequest& request, const GetImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageOutcomeCallable getImageCallable(const Model::GetImageRequest& request) const;
@@ -734,24 +510,12 @@ namespace AlibabaCloud
GetOfficeConversionTaskOutcome getOfficeConversionTask(const Model::GetOfficeConversionTaskRequest &request)const;
void getOfficeConversionTaskAsync(const Model::GetOfficeConversionTaskRequest& request, const GetOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOfficeConversionTaskOutcomeCallable getOfficeConversionTaskCallable(const Model::GetOfficeConversionTaskRequest& request) const;
GetPhotoProcessTaskOutcome getPhotoProcessTask(const Model::GetPhotoProcessTaskRequest &request)const;
void getPhotoProcessTaskAsync(const Model::GetPhotoProcessTaskRequest& request, const GetPhotoProcessTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotoProcessTaskOutcomeCallable getPhotoProcessTaskCallable(const Model::GetPhotoProcessTaskRequest& request) const;
GetPornBatchDetectJobOutcome getPornBatchDetectJob(const Model::GetPornBatchDetectJobRequest &request)const;
void getPornBatchDetectJobAsync(const Model::GetPornBatchDetectJobRequest& request, const GetPornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPornBatchDetectJobOutcomeCallable getPornBatchDetectJobCallable(const Model::GetPornBatchDetectJobRequest& request) const;
GetProjectOutcome getProject(const Model::GetProjectRequest &request)const;
void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const;
GetSetOutcome getSet(const Model::GetSetRequest &request)const;
void getSetAsync(const Model::GetSetRequest& request, const GetSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSetOutcomeCallable getSetCallable(const Model::GetSetRequest& request) const;
GetTagJobOutcome getTagJob(const Model::GetTagJobRequest &request)const;
void getTagJobAsync(const Model::GetTagJobRequest& request, const GetTagJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTagJobOutcomeCallable getTagJobCallable(const Model::GetTagJobRequest& request) const;
GetTagSetOutcome getTagSet(const Model::GetTagSetRequest &request)const;
void getTagSetAsync(const Model::GetTagSetRequest& request, const GetTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTagSetOutcomeCallable getTagSetCallable(const Model::GetTagSetRequest& request) const;
GetVideoOutcome getVideo(const Model::GetVideoRequest &request)const;
void getVideoAsync(const Model::GetVideoRequest& request, const GetVideoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVideoOutcomeCallable getVideoCallable(const Model::GetVideoRequest& request) const;
@@ -761,24 +525,12 @@ namespace AlibabaCloud
IndexImageOutcome indexImage(const Model::IndexImageRequest &request)const;
void indexImageAsync(const Model::IndexImageRequest& request, const IndexImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
IndexImageOutcomeCallable indexImageCallable(const Model::IndexImageRequest& request) const;
IndexTagOutcome indexTag(const Model::IndexTagRequest &request)const;
void indexTagAsync(const Model::IndexTagRequest& request, const IndexTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
IndexTagOutcomeCallable indexTagCallable(const Model::IndexTagRequest& request) const;
IndexVideoOutcome indexVideo(const Model::IndexVideoRequest &request)const;
void indexVideoAsync(const Model::IndexVideoRequest& request, const IndexVideoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
IndexVideoOutcomeCallable indexVideoCallable(const Model::IndexVideoRequest& request) const;
ListFaceGroupsOutcome listFaceGroups(const Model::ListFaceGroupsRequest &request)const;
void listFaceGroupsAsync(const Model::ListFaceGroupsRequest& request, const ListFaceGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFaceGroupsOutcomeCallable listFaceGroupsCallable(const Model::ListFaceGroupsRequest& request) const;
ListFaceSearchGroupImagesOutcome listFaceSearchGroupImages(const Model::ListFaceSearchGroupImagesRequest &request)const;
void listFaceSearchGroupImagesAsync(const Model::ListFaceSearchGroupImagesRequest& request, const ListFaceSearchGroupImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFaceSearchGroupImagesOutcomeCallable listFaceSearchGroupImagesCallable(const Model::ListFaceSearchGroupImagesRequest& request) const;
ListFaceSearchGroupUsersOutcome listFaceSearchGroupUsers(const Model::ListFaceSearchGroupUsersRequest &request)const;
void listFaceSearchGroupUsersAsync(const Model::ListFaceSearchGroupUsersRequest& request, const ListFaceSearchGroupUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFaceSearchGroupUsersOutcomeCallable listFaceSearchGroupUsersCallable(const Model::ListFaceSearchGroupUsersRequest& request) const;
ListFaceSearchGroupsOutcome listFaceSearchGroups(const Model::ListFaceSearchGroupsRequest &request)const;
void listFaceSearchGroupsAsync(const Model::ListFaceSearchGroupsRequest& request, const ListFaceSearchGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFaceSearchGroupsOutcomeCallable listFaceSearchGroupsCallable(const Model::ListFaceSearchGroupsRequest& request) const;
ListImageJobsOutcome listImageJobs(const Model::ListImageJobsRequest &request)const;
void listImageJobsAsync(const Model::ListImageJobsRequest& request, const ListImageJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListImageJobsOutcomeCallable listImageJobsCallable(const Model::ListImageJobsRequest& request) const;
@@ -788,12 +540,6 @@ namespace AlibabaCloud
ListOfficeConversionTaskOutcome listOfficeConversionTask(const Model::ListOfficeConversionTaskRequest &request)const;
void listOfficeConversionTaskAsync(const Model::ListOfficeConversionTaskRequest& request, const ListOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListOfficeConversionTaskOutcomeCallable listOfficeConversionTaskCallable(const Model::ListOfficeConversionTaskRequest& request) const;
ListPhotoProcessTasksOutcome listPhotoProcessTasks(const Model::ListPhotoProcessTasksRequest &request)const;
void listPhotoProcessTasksAsync(const Model::ListPhotoProcessTasksRequest& request, const ListPhotoProcessTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoProcessTasksOutcomeCallable listPhotoProcessTasksCallable(const Model::ListPhotoProcessTasksRequest& request) const;
ListPornBatchDetectJobsOutcome listPornBatchDetectJobs(const Model::ListPornBatchDetectJobsRequest &request)const;
void listPornBatchDetectJobsAsync(const Model::ListPornBatchDetectJobsRequest& request, const ListPornBatchDetectJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPornBatchDetectJobsOutcomeCallable listPornBatchDetectJobsCallable(const Model::ListPornBatchDetectJobsRequest& request) const;
ListProjectAPIsOutcome listProjectAPIs(const Model::ListProjectAPIsRequest &request)const;
void listProjectAPIsAsync(const Model::ListProjectAPIsRequest& request, const ListProjectAPIsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListProjectAPIsOutcomeCallable listProjectAPIsCallable(const Model::ListProjectAPIsRequest& request) const;
@@ -806,18 +552,9 @@ namespace AlibabaCloud
ListSetsOutcome listSets(const Model::ListSetsRequest &request)const;
void listSetsAsync(const Model::ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSetsOutcomeCallable listSetsCallable(const Model::ListSetsRequest& request) const;
ListTagJobsOutcome listTagJobs(const Model::ListTagJobsRequest &request)const;
void listTagJobsAsync(const Model::ListTagJobsRequest& request, const ListTagJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagJobsOutcomeCallable listTagJobsCallable(const Model::ListTagJobsRequest& request) const;
ListTagNamesOutcome listTagNames(const Model::ListTagNamesRequest &request)const;
void listTagNamesAsync(const Model::ListTagNamesRequest& request, const ListTagNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagNamesOutcomeCallable listTagNamesCallable(const Model::ListTagNamesRequest& request) const;
ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const;
void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagPhotosOutcomeCallable listTagPhotosCallable(const Model::ListTagPhotosRequest& request) const;
ListTagSetsOutcome listTagSets(const Model::ListTagSetsRequest &request)const;
void listTagSetsAsync(const Model::ListTagSetsRequest& request, const ListTagSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagSetsOutcomeCallable listTagSetsCallable(const Model::ListTagSetsRequest& request) const;
ListVideoAudiosOutcome listVideoAudios(const Model::ListVideoAudiosRequest &request)const;
void listVideoAudiosAsync(const Model::ListVideoAudiosRequest& request, const ListVideoAudiosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVideoAudiosOutcomeCallable listVideoAudiosCallable(const Model::ListVideoAudiosRequest& request) const;
@@ -830,21 +567,12 @@ namespace AlibabaCloud
ListVideosOutcome listVideos(const Model::ListVideosRequest &request)const;
void listVideosAsync(const Model::ListVideosRequest& request, const ListVideosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVideosOutcomeCallable listVideosCallable(const Model::ListVideosRequest& request) const;
PhotoProcessOutcome photoProcess(const Model::PhotoProcessRequest &request)const;
void photoProcessAsync(const Model::PhotoProcessRequest& request, const PhotoProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PhotoProcessOutcomeCallable photoProcessCallable(const Model::PhotoProcessRequest& request) const;
PutProjectOutcome putProject(const Model::PutProjectRequest &request)const;
void putProjectAsync(const Model::PutProjectRequest& request, const PutProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutProjectOutcomeCallable putProjectCallable(const Model::PutProjectRequest& request) const;
RegistFaceOutcome registFace(const Model::RegistFaceRequest &request)const;
void registFaceAsync(const Model::RegistFaceRequest& request, const RegistFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegistFaceOutcomeCallable registFaceCallable(const Model::RegistFaceRequest& request) const;
SearchDocIndexOutcome searchDocIndex(const Model::SearchDocIndexRequest &request)const;
void searchDocIndexAsync(const Model::SearchDocIndexRequest& request, const SearchDocIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchDocIndexOutcomeCallable searchDocIndexCallable(const Model::SearchDocIndexRequest& request) const;
SearchFaceOutcome searchFace(const Model::SearchFaceRequest &request)const;
void searchFaceAsync(const Model::SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchFaceOutcomeCallable searchFaceCallable(const Model::SearchFaceRequest& request) const;
UpdateDocIndexMetaOutcome updateDocIndexMeta(const Model::UpdateDocIndexMetaRequest &request)const;
void updateDocIndexMetaAsync(const Model::UpdateDocIndexMetaRequest& request, const UpdateDocIndexMetaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDocIndexMetaOutcomeCallable updateDocIndexMetaCallable(const Model::UpdateDocIndexMetaRequest& request) const;

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreatePornBatchDetectJobRequest : public RpcServiceRequest
{
public:
CreatePornBatchDetectJobRequest();
~CreatePornBatchDetectJobRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getExternalID()const;
void setExternalID(const std::string& externalID);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNotifyEndpoint()const;
void setNotifyEndpoint(const std::string& notifyEndpoint);
std::string getNotifyTopicName()const;
void setNotifyTopicName(const std::string& notifyTopicName);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
std::string getTgtUri()const;
void setTgtUri(const std::string& tgtUri);
private:
std::string project_;
std::string externalID_;
std::string accessKeyId_;
std::string notifyEndpoint_;
std::string notifyTopicName_;
std::string srcUri_;
std::string tgtUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATETAGJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATETAGJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateTagJobRequest : public RpcServiceRequest
{
public:
CreateTagJobRequest();
~CreateTagJobRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getExternalID()const;
void setExternalID(const std::string& externalID);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNotifyEndpoint()const;
void setNotifyEndpoint(const std::string& notifyEndpoint);
std::string getNotifyTopicName()const;
void setNotifyTopicName(const std::string& notifyTopicName);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
private:
std::string project_;
std::string externalID_;
std::string accessKeyId_;
std::string notifyEndpoint_;
std::string notifyTopicName_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGJOBREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATETAGJOBRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATETAGJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateTagJobResult : public ServiceResult
{
public:
CreateTagJobResult();
explicit CreateTagJobResult(const std::string &payload);
~CreateTagJobResult();
std::string getStatus()const;
std::string getFinishTime()const;
int getPercent()const;
std::string getCreateTime()const;
std::string getSetId()const;
std::string getJobId()const;
std::string getSrcUri()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string finishTime_;
int percent_;
std::string createTime_;
std::string setId_;
std::string jobId_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGJOBRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteFaceJobRequest : public RpcServiceRequest
{
public:
DeleteFaceJobRequest();
~DeleteFaceJobRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getClearIndexData()const;
void setClearIndexData(const std::string& clearIndexData);
private:
std::string project_;
std::string accessKeyId_;
std::string jobId_;
std::string clearIndexData_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchImageByIdRequest : public RpcServiceRequest
{
public:
DeleteFaceSearchImageByIdRequest();
~DeleteFaceSearchImageByIdRequest();
std::string getImageId()const;
void setImageId(const std::string& imageId);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
std::string getUser()const;
void setUser(const std::string& user);
private:
std::string imageId_;
std::string project_;
std::string accessKeyId_;
std::string groupName_;
std::string srcUri_;
std::string user_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchUserRequest : public RpcServiceRequest
{
public:
DeleteFaceSearchUserRequest();
~DeleteFaceSearchUserRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getUser()const;
void setUser(const std::string& user);
private:
std::string project_;
std::string accessKeyId_;
std::string groupName_;
std::string user_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeletePornBatchDetectJobRequest : public RpcServiceRequest
{
public:
DeletePornBatchDetectJobRequest();
~DeletePornBatchDetectJobRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
private:
std::string project_;
std::string accessKeyId_;
std::string jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteTagByNameRequest : public RpcServiceRequest
{
public:
DeleteTagByNameRequest();
~DeleteTagByNameRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTagName()const;
void setTagName(const std::string& tagName);
std::string getSetId()const;
void setSetId(const std::string& setId);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
private:
std::string project_;
std::string accessKeyId_;
std::string tagName_;
std::string setId_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteTagByUrlRequest : public RpcServiceRequest
{
public:
DeleteTagByUrlRequest();
~DeleteTagByUrlRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSetId()const;
void setSetId(const std::string& setId);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
private:
std::string project_;
std::string accessKeyId_;
std::string setId_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETETAGJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETETAGJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteTagJobRequest : public RpcServiceRequest
{
public:
DeleteTagJobRequest();
~DeleteTagJobRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getClearIndexData()const;
void setClearIndexData(const std::string& clearIndexData);
private:
std::string project_;
std::string accessKeyId_;
std::string jobId_;
std::string clearIndexData_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGJOBREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETETAGSETREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETETAGSETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteTagSetRequest : public RpcServiceRequest
{
public:
DeleteTagSetRequest();
~DeleteTagSetRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getLazyMode()const;
void setLazyMode(const std::string& lazyMode);
std::string getCheckEmpty()const;
void setCheckEmpty(const std::string& checkEmpty);
std::string getSetId()const;
void setSetId(const std::string& setId);
private:
std::string project_;
std::string accessKeyId_;
std::string lazyMode_;
std::string checkEmpty_;
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGSETREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetFaceSearchGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_IMM_EXPORT DetectImageQRCodesRequest : public RpcServiceRequest
{
public:
GetFaceSearchGroupRequest();
~GetFaceSearchGroupRequest();
DetectImageQRCodesRequest();
~DetectImageQRCodesRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getImageUri()const;
void setImageUri(const std::string& imageUri);
private:
std::string project_;
std::string groupName_;
std::string accessKeyId_;
std::string imageUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESRESULT_H_
#include <string>
#include <vector>
@@ -29,33 +29,37 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetFaceSearchGroupResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT DetectImageQRCodesResult : public ServiceResult
{
public:
struct QRCodesItem
{
struct QRCodeBoundary
{
int left;
int top;
int height;
int width;
};
std::string content;
QRCodeBoundary qRCodeBoundary;
};
GetFaceSearchGroupResult();
explicit GetFaceSearchGroupResult(const std::string &payload);
~GetFaceSearchGroupResult();
std::string getGroupName()const;
std::string getStatus()const;
std::string getModifyTime()const;
std::string getCreateTime()const;
int getCount()const;
std::string getGroupId()const;
DetectImageQRCodesResult();
explicit DetectImageQRCodesResult(const std::string &payload);
~DetectImageQRCodesResult();
std::string getImageUri()const;
std::vector<QRCodesItem> getQRCodes()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
std::string status_;
std::string modifyTime_;
std::string createTime_;
int count_;
std::string groupId_;
std::string imageUri_;
std::vector<QRCodesItem> qRCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESRESULT_H_

View File

@@ -1,75 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTLOGORESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTLOGORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DetectLogoResult : public ServiceResult
{
public:
struct SuccessDetailsItem
{
struct LogoBoxDetailItem
{
std::string type;
float score;
std::string pUID;
std::vector<std::string> box;
};
std::string getImageTime;
std::string detectTime;
std::string time;
std::vector<SuccessDetailsItem::LogoBoxDetailItem> logoBoxDetail;
std::string srcUri;
};
struct FailDetailsItem
{
std::string reason;
std::string srcUri;
};
DetectLogoResult();
explicit DetectLogoResult(const std::string &payload);
~DetectLogoResult();
std::vector<SuccessDetailsItem> getSuccessDetails()const;
std::vector<std::string> getSrcUris()const;
std::vector<FailDetailsItem> getFailDetails()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SuccessDetailsItem> successDetails_;
std::vector<std::string> srcUris_;
std::vector<FailDetailsItem> failDetails_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTLOGORESULT_H_

View File

@@ -1,74 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTTAGRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTTAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DetectTagResult : public ServiceResult
{
public:
struct SuccessDetailsItem
{
struct TagsItem
{
std::string parentTagId;
std::string tagName;
std::string tagId;
std::string tagScore;
std::string tagLevel;
std::string parentTagName;
};
std::vector<SuccessDetailsItem::TagsItem> tags;
std::string srcUri;
};
struct FailDetailsItem
{
std::string reason;
std::string srcUri;
};
DetectTagResult();
explicit DetectTagResult(const std::string &payload);
~DetectTagResult();
std::vector<SuccessDetailsItem> getSuccessDetails()const;
std::string getSuccessNum()const;
std::vector<FailDetailsItem> getFailDetails()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SuccessDetailsItem> successDetails_;
std::string successNum_;
std::vector<FailDetailsItem> failDetails_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTTAGRESULT_H_

View File

@@ -61,12 +61,14 @@ namespace AlibabaCloud
std::string faceId;
float similarity;
FaceAttributes1 faceAttributes1;
std::string externalId;
std::string imageUri;
};
std::string faceId;
FaceAttributes faceAttributes;
std::vector<FacesItem::SimilarFacesItem> similarFaces;
float similarity;
std::string externalId;
std::string imageUri;
};

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetFaceSearchImageRequest : public RpcServiceRequest
{
public:
GetFaceSearchImageRequest();
~GetFaceSearchImageRequest();
std::string getImageId()const;
void setImageId(const std::string& imageId);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
std::string getUser()const;
void setUser(const std::string& user);
private:
std::string imageId_;
std::string project_;
std::string accessKeyId_;
std::string groupName_;
std::string srcUri_;
std::string user_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_

View File

@@ -1,81 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetFaceSearchImageResult : public ServiceResult
{
public:
GetFaceSearchImageResult();
explicit GetFaceSearchImageResult(const std::string &payload);
~GetFaceSearchImageResult();
std::string getGroupName()const;
std::string getFaceId()const;
std::string getUser()const;
std::string getGender()const;
std::string getImageUri()const;
float getYaw()const;
std::string getGroupId()const;
float getQuality()const;
float getPitch()const;
int getGlasses()const;
std::string getImageId()const;
int getHat()const;
float getRoll()const;
std::vector<std::string> getAxis()const;
int getAge()const;
std::string getImageMd5()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
std::string faceId_;
std::string user_;
std::string gender_;
std::string imageUri_;
float yaw_;
std::string groupId_;
float quality_;
float pitch_;
int glasses_;
std::string imageId_;
int hat_;
float roll_;
std::vector<std::string> axis_;
int age_;
std::string imageMd5_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetFaceSearchUserResult : public ServiceResult
{
public:
GetFaceSearchUserResult();
explicit GetFaceSearchUserResult(const std::string &payload);
~GetFaceSearchUserResult();
std::string getGroupName()const;
std::string getStatus()const;
std::string getModifyTime()const;
std::string getUser()const;
std::string getCreateTime()const;
int getCount()const;
std::string getGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
std::string status_;
std::string modifyTime_;
std::string user_;
std::string createTime_;
int count_;
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetPhotoProcessTaskRequest : public RpcServiceRequest
{
public:
GetPhotoProcessTaskRequest();
~GetPhotoProcessTaskRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string project_;
std::string accessKeyId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_

View File

@@ -1,71 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetPhotoProcessTaskResult : public ServiceResult
{
public:
GetPhotoProcessTaskResult();
explicit GetPhotoProcessTaskResult(const std::string &payload);
~GetPhotoProcessTaskResult();
std::string getStatus()const;
std::string getNotifyEndpoint()const;
std::string getTaskId()const;
std::string getTgtUri()const;
std::string getFinishTime()const;
int getPercent()const;
std::string getExternalID()const;
std::string getCreateTime()const;
std::string getStyle()const;
std::string getNotifyTopicName()const;
std::string getSrcUri()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string notifyEndpoint_;
std::string taskId_;
std::string tgtUri_;
std::string finishTime_;
int percent_;
std::string externalID_;
std::string createTime_;
std::string style_;
std::string notifyTopicName_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetPornBatchDetectJobRequest : public RpcServiceRequest
{
public:
GetPornBatchDetectJobRequest();
~GetPornBatchDetectJobRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
private:
std::string project_;
std::string accessKeyId_;
std::string jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetPornBatchDetectJobResult : public ServiceResult
{
public:
GetPornBatchDetectJobResult();
explicit GetPornBatchDetectJobResult(const std::string &payload);
~GetPornBatchDetectJobResult();
std::string getStatus()const;
std::string getNotifyEndpoint()const;
std::string getTgtUri()const;
std::string getFinishTime()const;
int getPercent()const;
std::string getExternalID()const;
std::string getCreateTime()const;
std::string getNotifyTopicName()const;
std::string getJobId()const;
std::string getSrcUri()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string notifyEndpoint_;
std::string tgtUri_;
std::string finishTime_;
int percent_;
std::string externalID_;
std::string createTime_;
std::string notifyTopicName_;
std::string jobId_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetTagJobRequest : public RpcServiceRequest
{
public:
GetTagJobRequest();
~GetTagJobRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
private:
std::string project_;
std::string accessKeyId_;
std::string jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETTAGJOBRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETTAGJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetTagJobResult : public ServiceResult
{
public:
GetTagJobResult();
explicit GetTagJobResult(const std::string &payload);
~GetTagJobResult();
std::string getStatus()const;
std::string getFinishTime()const;
int getPercent()const;
std::string getCreateTime()const;
std::string getSetId()const;
std::string getJobId()const;
std::string getSrcUri()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string finishTime_;
int percent_;
std::string createTime_;
std::string setId_;
std::string jobId_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETTAGJOBRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETTAGSETREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETTAGSETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetTagSetRequest : public RpcServiceRequest
{
public:
GetTagSetRequest();
~GetTagSetRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSetId()const;
void setSetId(const std::string& setId);
private:
std::string project_;
std::string accessKeyId_;
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETTAGSETREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETTAGSETRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETTAGSETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetTagSetResult : public ServiceResult
{
public:
GetTagSetResult();
explicit GetTagSetResult(const std::string &payload);
~GetTagSetResult();
std::string getStatus()const;
long getPhotos()const;
std::string getModifyTime()const;
std::string getCreateTime()const;
std::string getSetId()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
long photos_;
std::string modifyTime_;
std::string createTime_;
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETTAGSETRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_INDEXTAGREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_INDEXTAGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT IndexTagRequest : public RpcServiceRequest
{
public:
IndexTagRequest();
~IndexTagRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getModelId()const;
void setModelId(const std::string& modelId);
std::string getSrcUris()const;
void setSrcUris(const std::string& srcUris);
std::string getSetId()const;
void setSetId(const std::string& setId);
std::string getForce()const;
void setForce(const std::string& force);
private:
std::string project_;
std::string accessKeyId_;
std::string modelId_;
std::string srcUris_;
std::string setId_;
std::string force_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_INDEXTAGREQUEST_H_

View File

@@ -1,76 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_INDEXTAGRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_INDEXTAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT IndexTagResult : public ServiceResult
{
public:
struct FailDetailsItem
{
std::string reason;
std::string srcUri;
};
struct SuccessDetailsItem
{
struct TagsItem
{
std::string parentTagId;
std::string tagName;
std::string tagId;
std::string tagScore;
std::string tagLevel;
std::string parentTagName;
};
std::vector<SuccessDetailsItem::TagsItem> tags;
std::string srcUri;
};
IndexTagResult();
explicit IndexTagResult(const std::string &payload);
~IndexTagResult();
std::vector<SuccessDetailsItem> getSuccessDetails()const;
std::string getSuccessIndexNum()const;
std::vector<FailDetailsItem> getFailDetails()const;
std::string getSetId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SuccessDetailsItem> successDetails_;
std::string successIndexNum_;
std::vector<FailDetailsItem> failDetails_;
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_INDEXTAGRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupImagesRequest : public RpcServiceRequest
{
public:
ListFaceSearchGroupImagesRequest();
~ListFaceSearchGroupImagesRequest();
int getMaxKeys()const;
void setMaxKeys(int maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getMarker()const;
void setMarker(const std::string& marker);
std::string getUser()const;
void setUser(const std::string& user);
private:
int maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string groupName_;
std::string marker_;
std::string user_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_

View File

@@ -1,74 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupImagesResult : public ServiceResult
{
public:
struct ImagesItem
{
std::string faceId;
std::string user;
std::string gender;
std::string imageUri;
float yaw;
float quality;
std::string imageId;
int glasses;
float pitch;
int hat;
float roll;
std::string imageMd5;
int age;
std::vector<std::string> axis;
};
ListFaceSearchGroupImagesResult();
explicit ListFaceSearchGroupImagesResult(const std::string &payload);
~ListFaceSearchGroupImagesResult();
std::string getGroupName()const;
std::vector<ImagesItem> getImages()const;
std::string getNextMarker()const;
std::string getGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
std::vector<ImagesItem> images_;
std::string nextMarker_;
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupUsersRequest : public RpcServiceRequest
{
public:
ListFaceSearchGroupUsersRequest();
~ListFaceSearchGroupUsersRequest();
int getMaxKeys()const;
void setMaxKeys(int maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getMarker()const;
void setMarker(const std::string& marker);
private:
int maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string groupName_;
std::string marker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupUsersResult : public ServiceResult
{
public:
struct UsersItem
{
std::string status;
std::string modifyTime;
std::string user;
std::string createTime;
std::string count;
};
ListFaceSearchGroupUsersResult();
explicit ListFaceSearchGroupUsersResult(const std::string &payload);
~ListFaceSearchGroupUsersResult();
std::string getGroupName()const;
std::vector<UsersItem> getUsers()const;
std::string getNextMarker()const;
std::string getGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
std::vector<UsersItem> users_;
std::string nextMarker_;
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupsRequest : public RpcServiceRequest
{
public:
ListFaceSearchGroupsRequest();
~ListFaceSearchGroupsRequest();
int getMaxKeys()const;
void setMaxKeys(int maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMarker()const;
void setMarker(const std::string& marker);
private:
int maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string marker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListPhotoProcessTasksRequest : public RpcServiceRequest
{
public:
ListPhotoProcessTasksRequest();
~ListPhotoProcessTasksRequest();
int getMaxKeys()const;
void setMaxKeys(int maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMarker()const;
void setMarker(const std::string& marker);
private:
int maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string marker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_

View File

@@ -1,67 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListPhotoProcessTasksResult : public ServiceResult
{
public:
struct TasksItem
{
std::string status;
std::string notifyEndpoint;
std::string taskId;
std::string tgtUri;
std::string finishTime;
int percent;
std::string externalID;
std::string createTime;
std::string style;
std::string notifyTopicName;
std::string srcUri;
};
ListPhotoProcessTasksResult();
explicit ListPhotoProcessTasksResult(const std::string &payload);
~ListPhotoProcessTasksResult();
std::vector<TasksItem> getTasks()const;
std::string getNextMarker()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TasksItem> tasks_;
std::string nextMarker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListPornBatchDetectJobsRequest : public RpcServiceRequest
{
public:
ListPornBatchDetectJobsRequest();
~ListPornBatchDetectJobsRequest();
int getMaxKeys()const;
void setMaxKeys(int maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMarker()const;
void setMarker(const std::string& marker);
private:
int maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string marker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListPornBatchDetectJobsResult : public ServiceResult
{
public:
struct JobsItem
{
std::string status;
std::string notifyEndpoint;
std::string tgtUri;
std::string finishTime;
int percent;
std::string externalID;
std::string createTime;
int notifyTopicName;
std::string jobId;
std::string srcUri;
};
ListPornBatchDetectJobsResult();
explicit ListPornBatchDetectJobsResult(const std::string &payload);
~ListPornBatchDetectJobsResult();
std::vector<JobsItem> getJobs()const;
std::string getNextMarker()const;
protected:
void parse(const std::string &payload);
private:
std::vector<JobsItem> jobs_;
std::string nextMarker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListTagJobsRequest : public RpcServiceRequest
{
public:
ListTagJobsRequest();
~ListTagJobsRequest();
int getMaxKeys()const;
void setMaxKeys(int maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCondition()const;
void setCondition(const std::string& condition);
std::string getMarker()const;
void setMarker(const std::string& marker);
private:
int maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string condition_;
std::string marker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListTagJobsResult : public ServiceResult
{
public:
struct JobsItem
{
std::string status;
std::string finishTime;
int percent;
std::string createTime;
std::string setId;
std::string jobId;
std::string srcUri;
};
ListTagJobsResult();
explicit ListTagJobsResult(const std::string &payload);
~ListTagJobsResult();
std::vector<JobsItem> getJobs()const;
std::string getNextMarker()const;
protected:
void parse(const std::string &payload);
private:
std::vector<JobsItem> jobs_;
std::string nextMarker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListTagPhotosRequest : public RpcServiceRequest
{
public:
ListTagPhotosRequest();
~ListTagPhotosRequest();
std::string getMaxKeys()const;
void setMaxKeys(const std::string& maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTagName()const;
void setTagName(const std::string& tagName);
std::string getMarker()const;
void setMarker(const std::string& marker);
std::string getSetId()const;
void setSetId(const std::string& setId);
private:
std::string maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string tagName_;
std::string marker_;
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTTAGSETSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTTAGSETSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ListTagSetsRequest : public RpcServiceRequest
{
public:
ListTagSetsRequest();
~ListTagSetsRequest();
int getMaxKeys()const;
void setMaxKeys(int maxKeys);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMarker()const;
void setMarker(const std::string& marker);
private:
int maxKeys_;
std::string project_;
std::string accessKeyId_;
std::string marker_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGSETSREQUEST_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT PhotoProcessRequest : public RpcServiceRequest
{
public:
PhotoProcessRequest();
~PhotoProcessRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getExternalID()const;
void setExternalID(const std::string& externalID);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNotifyEndpoint()const;
void setNotifyEndpoint(const std::string& notifyEndpoint);
std::string getNotifyTopicName()const;
void setNotifyTopicName(const std::string& notifyTopicName);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
std::string getStyle()const;
void setStyle(const std::string& style);
std::string getTgtUri()const;
void setTgtUri(const std::string& tgtUri);
private:
std::string project_;
std::string externalID_;
std::string accessKeyId_;
std::string notifyEndpoint_;
std::string notifyTopicName_;
std::string srcUri_;
std::string style_;
std::string tgtUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSREQUEST_H_

View File

@@ -1,59 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT PhotoProcessResult : public ServiceResult
{
public:
PhotoProcessResult();
explicit PhotoProcessResult(const std::string &payload);
~PhotoProcessResult();
std::string getStatus()const;
std::string getTaskId()const;
int getPercent()const;
std::string getTgtLoc()const;
std::string getCreateTime()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string taskId_;
int percent_;
std::string tgtLoc_;
std::string createTime_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSRESULT_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_REGISTFACEREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_REGISTFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT RegistFaceRequest : public RpcServiceRequest
{
public:
RegistFaceRequest();
~RegistFaceRequest();
bool getChooseBiggestFace()const;
void setChooseBiggestFace(bool chooseBiggestFace);
bool getIsQualityLimit()const;
void setIsQualityLimit(bool isQualityLimit);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
std::string getRegisterCheckLevel()const;
void setRegisterCheckLevel(const std::string& registerCheckLevel);
std::string getUser()const;
void setUser(const std::string& user);
private:
bool chooseBiggestFace_;
bool isQualityLimit_;
std::string project_;
std::string accessKeyId_;
std::string groupName_;
std::string srcUri_;
std::string registerCheckLevel_;
std::string user_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_REGISTFACEREQUEST_H_

View File

@@ -1,81 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_REGISTFACERESULT_H_
#define ALIBABACLOUD_IMM_MODEL_REGISTFACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT RegistFaceResult : public ServiceResult
{
public:
RegistFaceResult();
explicit RegistFaceResult(const std::string &payload);
~RegistFaceResult();
std::string getGroupName()const;
std::string getFaceId()const;
std::string getUser()const;
std::string getGender()const;
std::string getImageUri()const;
float getYaw()const;
std::string getGroupId()const;
float getQuality()const;
std::string getImageId()const;
int getGlasses()const;
float getPitch()const;
int getHat()const;
float getRoll()const;
std::vector<std::string> getAxis()const;
std::string getImageMd5()const;
int getAge()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
std::string faceId_;
std::string user_;
std::string gender_;
std::string imageUri_;
float yaw_;
std::string groupId_;
float quality_;
std::string imageId_;
int glasses_;
float pitch_;
int hat_;
float roll_;
std::vector<std::string> axis_;
std::string imageMd5_;
int age_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_REGISTFACERESULT_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_SEARCHFACEREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_SEARCHFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT SearchFaceRequest : public RpcServiceRequest
{
public:
SearchFaceRequest();
~SearchFaceRequest();
int getResultNum()const;
void setResultNum(int resultNum);
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSearchThresholdLevel()const;
void setSearchThresholdLevel(const std::string& searchThresholdLevel);
bool getIsThreshold()const;
void setIsThreshold(bool isThreshold);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getSrcUri()const;
void setSrcUri(const std::string& srcUri);
private:
int resultNum_;
std::string project_;
std::string accessKeyId_;
std::string searchThresholdLevel_;
bool isThreshold_;
std::string groupName_;
std::string srcUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_SEARCHFACEREQUEST_H_

View File

@@ -1,74 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_SEARCHFACERESULT_H_
#define ALIBABACLOUD_IMM_MODEL_SEARCHFACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT SearchFaceResult : public ServiceResult
{
public:
struct ResultFacesItem
{
float score;
std::string user;
std::string imageId;
int glasses;
int hat;
std::string imageUri;
std::vector<std::string> axis1;
std::string groupId;
};
SearchFaceResult();
explicit SearchFaceResult(const std::string &payload);
~SearchFaceResult();
std::string getGroupName()const;
float getScore()const;
std::vector<ResultFacesItem> getResultFaces()const;
int getGlasses()const;
int getHat()const;
std::string getImageUri()const;
std::vector<std::string> getAxis()const;
protected:
void parse(const std::string &payload);
private:
std::string groupName_;
float score_;
std::vector<ResultFacesItem> resultFaces_;
int glasses_;
int hat_;
std::string imageUri_;
std::vector<std::string> axis_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_SEARCHFACERESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/CreateFaceSetRequest.h>
using AlibabaCloud::Imm::Model::CreateFaceSetRequest;
CreateFaceSetRequest::CreateFaceSetRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateFaceSet")
{}
CreateFaceSetRequest::~CreateFaceSetRequest()
{}
std::string CreateFaceSetRequest::getProject()const
{
return project_;
}
void CreateFaceSetRequest::setProject(const std::string& project)
{
project_ = project;
setCoreParameter("Project", project);
}
std::string CreateFaceSetRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateFaceSetRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,86 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/CreateFaceSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateFaceSetResult::CreateFaceSetResult() :
ServiceResult()
{}
CreateFaceSetResult::CreateFaceSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateFaceSetResult::~CreateFaceSetResult()
{}
void CreateFaceSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["SetId"].isNull())
setId_ = value["SetId"].asString();
if(!value["Status"].isNull())
status_ = value["Status"].asString();
if(!value["Photos"].isNull())
photos_ = std::stol(value["Photos"].asString());
if(!value["CreateTime"].isNull())
createTime_ = value["CreateTime"].asString();
if(!value["ModifyTime"].isNull())
modifyTime_ = value["ModifyTime"].asString();
if(!value["Faces"].isNull())
faces_ = std::stol(value["Faces"].asString());
}
std::string CreateFaceSetResult::getStatus()const
{
return status_;
}
long CreateFaceSetResult::getPhotos()const
{
return photos_;
}
std::string CreateFaceSetResult::getModifyTime()const
{
return modifyTime_;
}
std::string CreateFaceSetResult::getCreateTime()const
{
return createTime_;
}
std::string CreateFaceSetResult::getSetId()const
{
return setId_;
}
long CreateFaceSetResult::getFaces()const
{
return faces_;
}

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