Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c522fc5468 | ||
|
|
f1948842ea | ||
|
|
208c428cfc | ||
|
|
21d175fb29 | ||
|
|
25bddc9e7a | ||
|
|
5d1aad0c37 | ||
|
|
28c7a67d80 | ||
|
|
b4c6fc0aeb | ||
|
|
ea81585f2e |
43
CHANGELOG
43
CHANGELOG
@@ -1,3 +1,46 @@
|
||||
2019-03-27 Version: 1.34.66
|
||||
1, Add Project interface.
|
||||
2, Add Tag interface.
|
||||
3, Add TrainData interface.
|
||||
4, Add Train interface.
|
||||
5, Add Iteration interface.
|
||||
6, Add Predict interface.
|
||||
7, Add PredictData interface.
|
||||
|
||||
2019-03-27 Version: 1.34.65
|
||||
1, Add Project interface.
|
||||
2, Add Tag interface.
|
||||
3, Add TrainData interface.
|
||||
4, Add Train interface.
|
||||
5, Add Iteration interface.
|
||||
6, Add Predict interface.
|
||||
7, Add PredictData interface.
|
||||
|
||||
2019-03-27 Version: 1.34.64
|
||||
1, Add DLQ message openAPI.
|
||||
2, Add Query the subscription relational openAPI.
|
||||
3, Remove white list restrictions.
|
||||
|
||||
2019-03-27 Version: 1.34.63
|
||||
1, Add DLQ message openAPI.
|
||||
2, Add Query the subscription relational openAPI.
|
||||
3, Remove white list restrictions.
|
||||
|
||||
2019-03-27 Version: 1.34.62
|
||||
1, release dysmsapi
|
||||
|
||||
2019-03-25 Version: 1.34.61
|
||||
1, cms fix duplicated struct definition
|
||||
|
||||
2019-03-25 Version: 1.34.60
|
||||
1, mts fix duplication struct definition
|
||||
|
||||
2019-03-25 Version: 1.34.59
|
||||
1, jarvis-pulic fix product code with dash
|
||||
|
||||
2019-03-25 Version: 1.34.58
|
||||
1, sas-api, fix product code with dash
|
||||
|
||||
2019-03-21 Version: 1.34.57
|
||||
1, Update Dependency
|
||||
|
||||
|
||||
@@ -109,4 +109,10 @@ add_subdirectory(alidns)
|
||||
add_subdirectory(httpdns)
|
||||
|
||||
add_subdirectory(crm)
|
||||
add_subdirectory(kms)
|
||||
add_subdirectory(kms)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(jarvis-public)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(dysmsapi)
|
||||
add_subdirectory(ons)
|
||||
add_subdirectory(ivision)
|
||||
@@ -34,15 +34,6 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string displayName;
|
||||
int code;
|
||||
bool success;
|
||||
long groupId;
|
||||
std::string name;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
|
||||
94
dysmsapi/CMakeLists.txt
Normal file
94
dysmsapi/CMakeLists.txt
Normal file
@@ -0,0 +1,94 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(dysmsapi_public_header
|
||||
include/alibabacloud/dysmsapi/DysmsapiClient.h
|
||||
include/alibabacloud/dysmsapi/DysmsapiExport.h )
|
||||
|
||||
set(dysmsapi_public_header_model
|
||||
include/alibabacloud/dysmsapi/model/SendSmsRequest.h
|
||||
include/alibabacloud/dysmsapi/model/SendSmsResult.h
|
||||
include/alibabacloud/dysmsapi/model/SendBatchSmsRequest.h
|
||||
include/alibabacloud/dysmsapi/model/SendBatchSmsResult.h
|
||||
include/alibabacloud/dysmsapi/model/QuerySendDetailsRequest.h
|
||||
include/alibabacloud/dysmsapi/model/QuerySendDetailsResult.h )
|
||||
|
||||
set(dysmsapi_src
|
||||
src/DysmsapiClient.cc
|
||||
src/model/SendSmsRequest.cc
|
||||
src/model/SendSmsResult.cc
|
||||
src/model/SendBatchSmsRequest.cc
|
||||
src/model/SendBatchSmsResult.cc
|
||||
src/model/QuerySendDetailsRequest.cc
|
||||
src/model/QuerySendDetailsResult.cc )
|
||||
|
||||
add_library(dysmsapi ${LIB_TYPE}
|
||||
${dysmsapi_public_header}
|
||||
${dysmsapi_public_header_model}
|
||||
${dysmsapi_src})
|
||||
|
||||
set_target_properties(dysmsapi
|
||||
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}dysmsapi
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(dysmsapi
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_DYSMSAPI_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(dysmsapi
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(dysmsapi
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(dysmsapi
|
||||
jsoncpp)
|
||||
target_include_directories(dysmsapi
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(dysmsapi
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(dysmsapi
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(dysmsapi
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(dysmsapi
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${dysmsapi_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dysmsapi)
|
||||
install(FILES ${dysmsapi_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dysmsapi/model)
|
||||
install(TARGETS dysmsapi
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
70
dysmsapi/include/alibabacloud/dysmsapi/DysmsapiClient.h
Normal file
70
dysmsapi/include/alibabacloud/dysmsapi/DysmsapiClient.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_DYSMSAPICLIENT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_DYSMSAPICLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DysmsapiExport.h"
|
||||
#include "model/SendSmsRequest.h"
|
||||
#include "model/SendSmsResult.h"
|
||||
#include "model/SendBatchSmsRequest.h"
|
||||
#include "model/SendBatchSmsResult.h"
|
||||
#include "model/QuerySendDetailsRequest.h"
|
||||
#include "model/QuerySendDetailsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT DysmsapiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::SendSmsResult> SendSmsOutcome;
|
||||
typedef std::future<SendSmsOutcome> SendSmsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::SendSmsRequest&, const SendSmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendSmsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendBatchSmsResult> SendBatchSmsOutcome;
|
||||
typedef std::future<SendBatchSmsOutcome> SendBatchSmsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::SendBatchSmsRequest&, const SendBatchSmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendBatchSmsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySendDetailsResult> QuerySendDetailsOutcome;
|
||||
typedef std::future<QuerySendDetailsOutcome> QuerySendDetailsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::QuerySendDetailsRequest&, const QuerySendDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySendDetailsAsyncHandler;
|
||||
|
||||
DysmsapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DysmsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DysmsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DysmsapiClient();
|
||||
SendSmsOutcome sendSms(const Model::SendSmsRequest &request)const;
|
||||
void sendSmsAsync(const Model::SendSmsRequest& request, const SendSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendSmsOutcomeCallable sendSmsCallable(const Model::SendSmsRequest& request) const;
|
||||
SendBatchSmsOutcome sendBatchSms(const Model::SendBatchSmsRequest &request)const;
|
||||
void sendBatchSmsAsync(const Model::SendBatchSmsRequest& request, const SendBatchSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendBatchSmsOutcomeCallable sendBatchSmsCallable(const Model::SendBatchSmsRequest& request) const;
|
||||
QuerySendDetailsOutcome querySendDetails(const Model::QuerySendDetailsRequest &request)const;
|
||||
void querySendDetailsAsync(const Model::QuerySendDetailsRequest& request, const QuerySendDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySendDetailsOutcomeCallable querySendDetailsCallable(const Model::QuerySendDetailsRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_DYSMSAPICLIENT_H_
|
||||
32
dysmsapi/include/alibabacloud/dysmsapi/DysmsapiExport.h
Normal file
32
dysmsapi/include/alibabacloud/dysmsapi/DysmsapiExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_DYSMSAPIEXPORT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_DYSMSAPIEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_DYSMSAPI_LIBRARY)
|
||||
# define ALIBABACLOUD_DYSMSAPI_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_DYSMSAPI_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_DYSMSAPI_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_DYSMSAPIEXPORT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSENDDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSENDDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT QuerySendDetailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySendDetailsRequest();
|
||||
~QuerySendDetailsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getSendDate()const;
|
||||
void setSendDate(const std::string& sendDate);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string sendDate_;
|
||||
std::string phoneNumber_;
|
||||
std::string bizId_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSENDDETAILSREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSENDDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSENDDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT QuerySendDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SmsSendDetailDTO
|
||||
{
|
||||
std::string templateCode;
|
||||
std::string receiveDate;
|
||||
std::string phoneNum;
|
||||
std::string content;
|
||||
long sendStatus;
|
||||
std::string outId;
|
||||
std::string sendDate;
|
||||
std::string errCode;
|
||||
};
|
||||
|
||||
|
||||
QuerySendDetailsResult();
|
||||
explicit QuerySendDetailsResult(const std::string &payload);
|
||||
~QuerySendDetailsResult();
|
||||
std::string getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<SmsSendDetailDTO> getSmsSendDetailDTOs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string totalCount_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<SmsSendDetailDTO> smsSendDetailDTOs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSENDDETAILSRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_MODEL_SENDBATCHSMSREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_SENDBATCHSMSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT SendBatchSmsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendBatchSmsRequest();
|
||||
~SendBatchSmsRequest();
|
||||
|
||||
std::string getTemplateParamJson()const;
|
||||
void setTemplateParamJson(const std::string& templateParamJson);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getSmsUpExtendCodeJson()const;
|
||||
void setSmsUpExtendCodeJson(const std::string& smsUpExtendCodeJson);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSignNameJson()const;
|
||||
void setSignNameJson(const std::string& signNameJson);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
std::string getPhoneNumberJson()const;
|
||||
void setPhoneNumberJson(const std::string& phoneNumberJson);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string templateParamJson_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string smsUpExtendCodeJson_;
|
||||
long ownerId_;
|
||||
std::string signNameJson_;
|
||||
std::string templateCode_;
|
||||
std::string phoneNumberJson_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_SENDBATCHSMSREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_MODEL_SENDBATCHSMSRESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_SENDBATCHSMSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT SendBatchSmsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SendBatchSmsResult();
|
||||
explicit SendBatchSmsResult(const std::string &payload);
|
||||
~SendBatchSmsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getBizId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string bizId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_SENDBATCHSMSRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_MODEL_SENDSMSREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_SENDSMSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT SendSmsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendSmsRequest();
|
||||
~SendSmsRequest();
|
||||
|
||||
std::string getSmsUpExtendCode()const;
|
||||
void setSmsUpExtendCode(const std::string& smsUpExtendCode);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSignName()const;
|
||||
void setSignName(const std::string& signName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPhoneNumbers()const;
|
||||
void setPhoneNumbers(const std::string& phoneNumbers);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTemplateParam()const;
|
||||
void setTemplateParam(const std::string& templateParam);
|
||||
|
||||
private:
|
||||
std::string smsUpExtendCode_;
|
||||
long resourceOwnerId_;
|
||||
std::string signName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string phoneNumbers_;
|
||||
std::string outId_;
|
||||
long ownerId_;
|
||||
std::string templateCode_;
|
||||
std::string accessKeyId_;
|
||||
std::string templateParam_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_SENDSMSREQUEST_H_
|
||||
55
dysmsapi/include/alibabacloud/dysmsapi/model/SendSmsResult.h
Normal file
55
dysmsapi/include/alibabacloud/dysmsapi/model/SendSmsResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_MODEL_SENDSMSRESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_SENDSMSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT SendSmsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SendSmsResult();
|
||||
explicit SendSmsResult(const std::string &payload);
|
||||
~SendSmsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getBizId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string bizId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_SENDSMSRESULT_H_
|
||||
161
dysmsapi/src/DysmsapiClient.cc
Normal file
161
dysmsapi/src/DysmsapiClient.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/dysmsapi/DysmsapiClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Dysmsapi;
|
||||
using namespace AlibabaCloud::Dysmsapi::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "Dysmsapi";
|
||||
}
|
||||
|
||||
DysmsapiClient::DysmsapiClient(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, "dysmsapi");
|
||||
}
|
||||
|
||||
DysmsapiClient::DysmsapiClient(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, "dysmsapi");
|
||||
}
|
||||
|
||||
DysmsapiClient::DysmsapiClient(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, "dysmsapi");
|
||||
}
|
||||
|
||||
DysmsapiClient::~DysmsapiClient()
|
||||
{}
|
||||
|
||||
DysmsapiClient::SendSmsOutcome DysmsapiClient::sendSms(const SendSmsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendSmsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendSmsOutcome(SendSmsResult(outcome.result()));
|
||||
else
|
||||
return SendSmsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DysmsapiClient::sendSmsAsync(const SendSmsRequest& request, const SendSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendSms(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DysmsapiClient::SendSmsOutcomeCallable DysmsapiClient::sendSmsCallable(const SendSmsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendSmsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendSms(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DysmsapiClient::SendBatchSmsOutcome DysmsapiClient::sendBatchSms(const SendBatchSmsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendBatchSmsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendBatchSmsOutcome(SendBatchSmsResult(outcome.result()));
|
||||
else
|
||||
return SendBatchSmsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DysmsapiClient::sendBatchSmsAsync(const SendBatchSmsRequest& request, const SendBatchSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendBatchSms(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DysmsapiClient::SendBatchSmsOutcomeCallable DysmsapiClient::sendBatchSmsCallable(const SendBatchSmsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendBatchSmsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendBatchSms(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DysmsapiClient::QuerySendDetailsOutcome DysmsapiClient::querySendDetails(const QuerySendDetailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QuerySendDetailsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QuerySendDetailsOutcome(QuerySendDetailsResult(outcome.result()));
|
||||
else
|
||||
return QuerySendDetailsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DysmsapiClient::querySendDetailsAsync(const QuerySendDetailsRequest& request, const QuerySendDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, querySendDetails(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DysmsapiClient::QuerySendDetailsOutcomeCallable DysmsapiClient::querySendDetailsCallable(const QuerySendDetailsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QuerySendDetailsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->querySendDetails(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
126
dysmsapi/src/model/QuerySendDetailsRequest.cc
Normal file
126
dysmsapi/src/model/QuerySendDetailsRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dysmsapi/model/QuerySendDetailsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dysmsapi::Model::QuerySendDetailsRequest;
|
||||
|
||||
QuerySendDetailsRequest::QuerySendDetailsRequest() :
|
||||
RpcServiceRequest("dysmsapi", "2017-05-25", "QuerySendDetails")
|
||||
{}
|
||||
|
||||
QuerySendDetailsRequest::~QuerySendDetailsRequest()
|
||||
{}
|
||||
|
||||
long QuerySendDetailsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsRequest::getSendDate()const
|
||||
{
|
||||
return sendDate_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setSendDate(const std::string& sendDate)
|
||||
{
|
||||
sendDate_ = sendDate;
|
||||
setParameter("SendDate", sendDate);
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsRequest::getPhoneNumber()const
|
||||
{
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
long QuerySendDetailsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long QuerySendDetailsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long QuerySendDetailsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QuerySendDetailsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
93
dysmsapi/src/model/QuerySendDetailsResult.cc
Normal file
93
dysmsapi/src/model/QuerySendDetailsResult.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dysmsapi/model/QuerySendDetailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dysmsapi;
|
||||
using namespace AlibabaCloud::Dysmsapi::Model;
|
||||
|
||||
QuerySendDetailsResult::QuerySendDetailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QuerySendDetailsResult::QuerySendDetailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QuerySendDetailsResult::~QuerySendDetailsResult()
|
||||
{}
|
||||
|
||||
void QuerySendDetailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSmsSendDetailDTOs = value["SmsSendDetailDTOs"]["SmsSendDetailDTO"];
|
||||
for (auto value : allSmsSendDetailDTOs)
|
||||
{
|
||||
SmsSendDetailDTO smsSendDetailDTOsObject;
|
||||
if(!value["PhoneNum"].isNull())
|
||||
smsSendDetailDTOsObject.phoneNum = value["PhoneNum"].asString();
|
||||
if(!value["SendStatus"].isNull())
|
||||
smsSendDetailDTOsObject.sendStatus = std::stol(value["SendStatus"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
smsSendDetailDTOsObject.errCode = value["ErrCode"].asString();
|
||||
if(!value["TemplateCode"].isNull())
|
||||
smsSendDetailDTOsObject.templateCode = value["TemplateCode"].asString();
|
||||
if(!value["Content"].isNull())
|
||||
smsSendDetailDTOsObject.content = value["Content"].asString();
|
||||
if(!value["SendDate"].isNull())
|
||||
smsSendDetailDTOsObject.sendDate = value["SendDate"].asString();
|
||||
if(!value["ReceiveDate"].isNull())
|
||||
smsSendDetailDTOsObject.receiveDate = value["ReceiveDate"].asString();
|
||||
if(!value["OutId"].isNull())
|
||||
smsSendDetailDTOsObject.outId = value["OutId"].asString();
|
||||
smsSendDetailDTOs_.push_back(smsSendDetailDTOsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = value["TotalCount"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QuerySendDetailsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::vector<QuerySendDetailsResult::SmsSendDetailDTO> QuerySendDetailsResult::getSmsSendDetailDTOs()const
|
||||
{
|
||||
return smsSendDetailDTOs_;
|
||||
}
|
||||
|
||||
126
dysmsapi/src/model/SendBatchSmsRequest.cc
Normal file
126
dysmsapi/src/model/SendBatchSmsRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dysmsapi/model/SendBatchSmsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dysmsapi::Model::SendBatchSmsRequest;
|
||||
|
||||
SendBatchSmsRequest::SendBatchSmsRequest() :
|
||||
RpcServiceRequest("dysmsapi", "2017-05-25", "SendBatchSms")
|
||||
{}
|
||||
|
||||
SendBatchSmsRequest::~SendBatchSmsRequest()
|
||||
{}
|
||||
|
||||
std::string SendBatchSmsRequest::getTemplateParamJson()const
|
||||
{
|
||||
return templateParamJson_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setTemplateParamJson(const std::string& templateParamJson)
|
||||
{
|
||||
templateParamJson_ = templateParamJson;
|
||||
setParameter("TemplateParamJson", templateParamJson);
|
||||
}
|
||||
|
||||
long SendBatchSmsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SendBatchSmsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SendBatchSmsRequest::getSmsUpExtendCodeJson()const
|
||||
{
|
||||
return smsUpExtendCodeJson_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setSmsUpExtendCodeJson(const std::string& smsUpExtendCodeJson)
|
||||
{
|
||||
smsUpExtendCodeJson_ = smsUpExtendCodeJson;
|
||||
setParameter("SmsUpExtendCodeJson", smsUpExtendCodeJson);
|
||||
}
|
||||
|
||||
long SendBatchSmsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SendBatchSmsRequest::getSignNameJson()const
|
||||
{
|
||||
return signNameJson_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setSignNameJson(const std::string& signNameJson)
|
||||
{
|
||||
signNameJson_ = signNameJson;
|
||||
setParameter("SignNameJson", signNameJson);
|
||||
}
|
||||
|
||||
std::string SendBatchSmsRequest::getTemplateCode()const
|
||||
{
|
||||
return templateCode_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setTemplateCode(const std::string& templateCode)
|
||||
{
|
||||
templateCode_ = templateCode;
|
||||
setParameter("TemplateCode", templateCode);
|
||||
}
|
||||
|
||||
std::string SendBatchSmsRequest::getPhoneNumberJson()const
|
||||
{
|
||||
return phoneNumberJson_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setPhoneNumberJson(const std::string& phoneNumberJson)
|
||||
{
|
||||
phoneNumberJson_ = phoneNumberJson;
|
||||
setParameter("PhoneNumberJson", phoneNumberJson);
|
||||
}
|
||||
|
||||
std::string SendBatchSmsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SendBatchSmsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
66
dysmsapi/src/model/SendBatchSmsResult.cc
Normal file
66
dysmsapi/src/model/SendBatchSmsResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dysmsapi/model/SendBatchSmsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dysmsapi;
|
||||
using namespace AlibabaCloud::Dysmsapi::Model;
|
||||
|
||||
SendBatchSmsResult::SendBatchSmsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendBatchSmsResult::SendBatchSmsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendBatchSmsResult::~SendBatchSmsResult()
|
||||
{}
|
||||
|
||||
void SendBatchSmsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizId"].isNull())
|
||||
bizId_ = value["BizId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SendBatchSmsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string SendBatchSmsResult::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
std::string SendBatchSmsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
137
dysmsapi/src/model/SendSmsRequest.cc
Normal file
137
dysmsapi/src/model/SendSmsRequest.cc
Normal 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/dysmsapi/model/SendSmsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dysmsapi::Model::SendSmsRequest;
|
||||
|
||||
SendSmsRequest::SendSmsRequest() :
|
||||
RpcServiceRequest("dysmsapi", "2017-05-25", "SendSms")
|
||||
{}
|
||||
|
||||
SendSmsRequest::~SendSmsRequest()
|
||||
{}
|
||||
|
||||
std::string SendSmsRequest::getSmsUpExtendCode()const
|
||||
{
|
||||
return smsUpExtendCode_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setSmsUpExtendCode(const std::string& smsUpExtendCode)
|
||||
{
|
||||
smsUpExtendCode_ = smsUpExtendCode;
|
||||
setParameter("SmsUpExtendCode", smsUpExtendCode);
|
||||
}
|
||||
|
||||
long SendSmsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SendSmsRequest::getSignName()const
|
||||
{
|
||||
return signName_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setSignName(const std::string& signName)
|
||||
{
|
||||
signName_ = signName;
|
||||
setParameter("SignName", signName);
|
||||
}
|
||||
|
||||
std::string SendSmsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string SendSmsRequest::getPhoneNumbers()const
|
||||
{
|
||||
return phoneNumbers_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setPhoneNumbers(const std::string& phoneNumbers)
|
||||
{
|
||||
phoneNumbers_ = phoneNumbers;
|
||||
setParameter("PhoneNumbers", phoneNumbers);
|
||||
}
|
||||
|
||||
std::string SendSmsRequest::getOutId()const
|
||||
{
|
||||
return outId_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setOutId(const std::string& outId)
|
||||
{
|
||||
outId_ = outId;
|
||||
setParameter("OutId", outId);
|
||||
}
|
||||
|
||||
long SendSmsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SendSmsRequest::getTemplateCode()const
|
||||
{
|
||||
return templateCode_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setTemplateCode(const std::string& templateCode)
|
||||
{
|
||||
templateCode_ = templateCode;
|
||||
setParameter("TemplateCode", templateCode);
|
||||
}
|
||||
|
||||
std::string SendSmsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SendSmsRequest::getTemplateParam()const
|
||||
{
|
||||
return templateParam_;
|
||||
}
|
||||
|
||||
void SendSmsRequest::setTemplateParam(const std::string& templateParam)
|
||||
{
|
||||
templateParam_ = templateParam;
|
||||
setParameter("TemplateParam", templateParam);
|
||||
}
|
||||
|
||||
66
dysmsapi/src/model/SendSmsResult.cc
Normal file
66
dysmsapi/src/model/SendSmsResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dysmsapi/model/SendSmsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dysmsapi;
|
||||
using namespace AlibabaCloud::Dysmsapi::Model;
|
||||
|
||||
SendSmsResult::SendSmsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendSmsResult::SendSmsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendSmsResult::~SendSmsResult()
|
||||
{}
|
||||
|
||||
void SendSmsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizId"].isNull())
|
||||
bizId_ = value["BizId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SendSmsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string SendSmsResult::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
std::string SendSmsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
214
ivision/CMakeLists.txt
Normal file
214
ivision/CMakeLists.txt
Normal file
@@ -0,0 +1,214 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(ivision_public_header
|
||||
include/alibabacloud/ivision/IvisionClient.h
|
||||
include/alibabacloud/ivision/IvisionExport.h )
|
||||
|
||||
set(ivision_public_header_model
|
||||
include/alibabacloud/ivision/model/TrainProjectRequest.h
|
||||
include/alibabacloud/ivision/model/TrainProjectResult.h
|
||||
include/alibabacloud/ivision/model/CreateTagRequest.h
|
||||
include/alibabacloud/ivision/model/CreateTagResult.h
|
||||
include/alibabacloud/ivision/model/DescribeTrainResultRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeTrainResultResult.h
|
||||
include/alibabacloud/ivision/model/StartStreamPredictRequest.h
|
||||
include/alibabacloud/ivision/model/StartStreamPredictResult.h
|
||||
include/alibabacloud/ivision/model/CreateProjectRequest.h
|
||||
include/alibabacloud/ivision/model/CreateProjectResult.h
|
||||
include/alibabacloud/ivision/model/DescribeIterationsRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeIterationsResult.h
|
||||
include/alibabacloud/ivision/model/DescribeTrainDatasByIdsRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeTrainDatasByIdsResult.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDataRegionTagRequest.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDataRegionTagResult.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDatasFromPredictionRequest.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDatasFromPredictionResult.h
|
||||
include/alibabacloud/ivision/model/ModifyTagAttributeRequest.h
|
||||
include/alibabacloud/ivision/model/ModifyTagAttributeResult.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDataTagRequest.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDataTagResult.h
|
||||
include/alibabacloud/ivision/model/StopStreamPredictRequest.h
|
||||
include/alibabacloud/ivision/model/StopStreamPredictResult.h
|
||||
include/alibabacloud/ivision/model/DeleteTagRequest.h
|
||||
include/alibabacloud/ivision/model/DeleteTagResult.h
|
||||
include/alibabacloud/ivision/model/DescribeStreamPredictsRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeStreamPredictsResult.h
|
||||
include/alibabacloud/ivision/model/ModifyTrainDataTagAttributeRequest.h
|
||||
include/alibabacloud/ivision/model/ModifyTrainDataTagAttributeResult.h
|
||||
include/alibabacloud/ivision/model/ModifyTrainDataRegionTagAttributeRequest.h
|
||||
include/alibabacloud/ivision/model/ModifyTrainDataRegionTagAttributeResult.h
|
||||
include/alibabacloud/ivision/model/DescribeTagsRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeTagsResult.h
|
||||
include/alibabacloud/ivision/model/DescribeStreamPredictResultRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeStreamPredictResultResult.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDatasTagRequest.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDatasTagResult.h
|
||||
include/alibabacloud/ivision/model/DeleteIterationRequest.h
|
||||
include/alibabacloud/ivision/model/DeleteIterationResult.h
|
||||
include/alibabacloud/ivision/model/DeleteTrainDatasTagRequest.h
|
||||
include/alibabacloud/ivision/model/DeleteTrainDatasTagResult.h
|
||||
include/alibabacloud/ivision/model/CreateStreamPredictRequest.h
|
||||
include/alibabacloud/ivision/model/CreateStreamPredictResult.h
|
||||
include/alibabacloud/ivision/model/DeleteStreamPredictRequest.h
|
||||
include/alibabacloud/ivision/model/DeleteStreamPredictResult.h
|
||||
include/alibabacloud/ivision/model/ModifyProjectAttributeRequest.h
|
||||
include/alibabacloud/ivision/model/ModifyProjectAttributeResult.h
|
||||
include/alibabacloud/ivision/model/DeleteTrainDatasRequest.h
|
||||
include/alibabacloud/ivision/model/DeleteTrainDatasResult.h
|
||||
include/alibabacloud/ivision/model/DescribeProjectsRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeProjectsResult.h
|
||||
include/alibabacloud/ivision/model/DeleteProjectRequest.h
|
||||
include/alibabacloud/ivision/model/DeleteProjectResult.h
|
||||
include/alibabacloud/ivision/model/DescribePredictDatasRequest.h
|
||||
include/alibabacloud/ivision/model/DescribePredictDatasResult.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDatasFromUrlsRequest.h
|
||||
include/alibabacloud/ivision/model/CreateTrainDatasFromUrlsResult.h
|
||||
include/alibabacloud/ivision/model/DeletePredictDatasRequest.h
|
||||
include/alibabacloud/ivision/model/DeletePredictDatasResult.h
|
||||
include/alibabacloud/ivision/model/DescribeTrainDatasRequest.h
|
||||
include/alibabacloud/ivision/model/DescribeTrainDatasResult.h
|
||||
include/alibabacloud/ivision/model/CreateUploadTokenRequest.h
|
||||
include/alibabacloud/ivision/model/CreateUploadTokenResult.h
|
||||
include/alibabacloud/ivision/model/PredictImageRequest.h
|
||||
include/alibabacloud/ivision/model/PredictImageResult.h )
|
||||
|
||||
set(ivision_src
|
||||
src/IvisionClient.cc
|
||||
src/model/TrainProjectRequest.cc
|
||||
src/model/TrainProjectResult.cc
|
||||
src/model/CreateTagRequest.cc
|
||||
src/model/CreateTagResult.cc
|
||||
src/model/DescribeTrainResultRequest.cc
|
||||
src/model/DescribeTrainResultResult.cc
|
||||
src/model/StartStreamPredictRequest.cc
|
||||
src/model/StartStreamPredictResult.cc
|
||||
src/model/CreateProjectRequest.cc
|
||||
src/model/CreateProjectResult.cc
|
||||
src/model/DescribeIterationsRequest.cc
|
||||
src/model/DescribeIterationsResult.cc
|
||||
src/model/DescribeTrainDatasByIdsRequest.cc
|
||||
src/model/DescribeTrainDatasByIdsResult.cc
|
||||
src/model/CreateTrainDataRegionTagRequest.cc
|
||||
src/model/CreateTrainDataRegionTagResult.cc
|
||||
src/model/CreateTrainDatasFromPredictionRequest.cc
|
||||
src/model/CreateTrainDatasFromPredictionResult.cc
|
||||
src/model/ModifyTagAttributeRequest.cc
|
||||
src/model/ModifyTagAttributeResult.cc
|
||||
src/model/CreateTrainDataTagRequest.cc
|
||||
src/model/CreateTrainDataTagResult.cc
|
||||
src/model/StopStreamPredictRequest.cc
|
||||
src/model/StopStreamPredictResult.cc
|
||||
src/model/DeleteTagRequest.cc
|
||||
src/model/DeleteTagResult.cc
|
||||
src/model/DescribeStreamPredictsRequest.cc
|
||||
src/model/DescribeStreamPredictsResult.cc
|
||||
src/model/ModifyTrainDataTagAttributeRequest.cc
|
||||
src/model/ModifyTrainDataTagAttributeResult.cc
|
||||
src/model/ModifyTrainDataRegionTagAttributeRequest.cc
|
||||
src/model/ModifyTrainDataRegionTagAttributeResult.cc
|
||||
src/model/DescribeTagsRequest.cc
|
||||
src/model/DescribeTagsResult.cc
|
||||
src/model/DescribeStreamPredictResultRequest.cc
|
||||
src/model/DescribeStreamPredictResultResult.cc
|
||||
src/model/CreateTrainDatasTagRequest.cc
|
||||
src/model/CreateTrainDatasTagResult.cc
|
||||
src/model/DeleteIterationRequest.cc
|
||||
src/model/DeleteIterationResult.cc
|
||||
src/model/DeleteTrainDatasTagRequest.cc
|
||||
src/model/DeleteTrainDatasTagResult.cc
|
||||
src/model/CreateStreamPredictRequest.cc
|
||||
src/model/CreateStreamPredictResult.cc
|
||||
src/model/DeleteStreamPredictRequest.cc
|
||||
src/model/DeleteStreamPredictResult.cc
|
||||
src/model/ModifyProjectAttributeRequest.cc
|
||||
src/model/ModifyProjectAttributeResult.cc
|
||||
src/model/DeleteTrainDatasRequest.cc
|
||||
src/model/DeleteTrainDatasResult.cc
|
||||
src/model/DescribeProjectsRequest.cc
|
||||
src/model/DescribeProjectsResult.cc
|
||||
src/model/DeleteProjectRequest.cc
|
||||
src/model/DeleteProjectResult.cc
|
||||
src/model/DescribePredictDatasRequest.cc
|
||||
src/model/DescribePredictDatasResult.cc
|
||||
src/model/CreateTrainDatasFromUrlsRequest.cc
|
||||
src/model/CreateTrainDatasFromUrlsResult.cc
|
||||
src/model/DeletePredictDatasRequest.cc
|
||||
src/model/DeletePredictDatasResult.cc
|
||||
src/model/DescribeTrainDatasRequest.cc
|
||||
src/model/DescribeTrainDatasResult.cc
|
||||
src/model/CreateUploadTokenRequest.cc
|
||||
src/model/CreateUploadTokenResult.cc
|
||||
src/model/PredictImageRequest.cc
|
||||
src/model/PredictImageResult.cc )
|
||||
|
||||
add_library(ivision ${LIB_TYPE}
|
||||
${ivision_public_header}
|
||||
${ivision_public_header_model}
|
||||
${ivision_src})
|
||||
|
||||
set_target_properties(ivision
|
||||
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}ivision
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(ivision
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_IVISION_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(ivision
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(ivision
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(ivision
|
||||
jsoncpp)
|
||||
target_include_directories(ivision
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(ivision
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(ivision
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(ivision
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(ivision
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${ivision_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ivision)
|
||||
install(FILES ${ivision_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ivision/model)
|
||||
install(TARGETS ivision
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
310
ivision/include/alibabacloud/ivision/IvisionClient.h
Normal file
310
ivision/include/alibabacloud/ivision/IvisionClient.h
Normal file
@@ -0,0 +1,310 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_IVISIONCLIENT_H_
|
||||
#define ALIBABACLOUD_IVISION_IVISIONCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "IvisionExport.h"
|
||||
#include "model/TrainProjectRequest.h"
|
||||
#include "model/TrainProjectResult.h"
|
||||
#include "model/CreateTagRequest.h"
|
||||
#include "model/CreateTagResult.h"
|
||||
#include "model/DescribeTrainResultRequest.h"
|
||||
#include "model/DescribeTrainResultResult.h"
|
||||
#include "model/StartStreamPredictRequest.h"
|
||||
#include "model/StartStreamPredictResult.h"
|
||||
#include "model/CreateProjectRequest.h"
|
||||
#include "model/CreateProjectResult.h"
|
||||
#include "model/DescribeIterationsRequest.h"
|
||||
#include "model/DescribeIterationsResult.h"
|
||||
#include "model/DescribeTrainDatasByIdsRequest.h"
|
||||
#include "model/DescribeTrainDatasByIdsResult.h"
|
||||
#include "model/CreateTrainDataRegionTagRequest.h"
|
||||
#include "model/CreateTrainDataRegionTagResult.h"
|
||||
#include "model/CreateTrainDatasFromPredictionRequest.h"
|
||||
#include "model/CreateTrainDatasFromPredictionResult.h"
|
||||
#include "model/ModifyTagAttributeRequest.h"
|
||||
#include "model/ModifyTagAttributeResult.h"
|
||||
#include "model/CreateTrainDataTagRequest.h"
|
||||
#include "model/CreateTrainDataTagResult.h"
|
||||
#include "model/StopStreamPredictRequest.h"
|
||||
#include "model/StopStreamPredictResult.h"
|
||||
#include "model/DeleteTagRequest.h"
|
||||
#include "model/DeleteTagResult.h"
|
||||
#include "model/DescribeStreamPredictsRequest.h"
|
||||
#include "model/DescribeStreamPredictsResult.h"
|
||||
#include "model/ModifyTrainDataTagAttributeRequest.h"
|
||||
#include "model/ModifyTrainDataTagAttributeResult.h"
|
||||
#include "model/ModifyTrainDataRegionTagAttributeRequest.h"
|
||||
#include "model/ModifyTrainDataRegionTagAttributeResult.h"
|
||||
#include "model/DescribeTagsRequest.h"
|
||||
#include "model/DescribeTagsResult.h"
|
||||
#include "model/DescribeStreamPredictResultRequest.h"
|
||||
#include "model/DescribeStreamPredictResultResult.h"
|
||||
#include "model/CreateTrainDatasTagRequest.h"
|
||||
#include "model/CreateTrainDatasTagResult.h"
|
||||
#include "model/DeleteIterationRequest.h"
|
||||
#include "model/DeleteIterationResult.h"
|
||||
#include "model/DeleteTrainDatasTagRequest.h"
|
||||
#include "model/DeleteTrainDatasTagResult.h"
|
||||
#include "model/CreateStreamPredictRequest.h"
|
||||
#include "model/CreateStreamPredictResult.h"
|
||||
#include "model/DeleteStreamPredictRequest.h"
|
||||
#include "model/DeleteStreamPredictResult.h"
|
||||
#include "model/ModifyProjectAttributeRequest.h"
|
||||
#include "model/ModifyProjectAttributeResult.h"
|
||||
#include "model/DeleteTrainDatasRequest.h"
|
||||
#include "model/DeleteTrainDatasResult.h"
|
||||
#include "model/DescribeProjectsRequest.h"
|
||||
#include "model/DescribeProjectsResult.h"
|
||||
#include "model/DeleteProjectRequest.h"
|
||||
#include "model/DeleteProjectResult.h"
|
||||
#include "model/DescribePredictDatasRequest.h"
|
||||
#include "model/DescribePredictDatasResult.h"
|
||||
#include "model/CreateTrainDatasFromUrlsRequest.h"
|
||||
#include "model/CreateTrainDatasFromUrlsResult.h"
|
||||
#include "model/DeletePredictDatasRequest.h"
|
||||
#include "model/DeletePredictDatasResult.h"
|
||||
#include "model/DescribeTrainDatasRequest.h"
|
||||
#include "model/DescribeTrainDatasResult.h"
|
||||
#include "model/CreateUploadTokenRequest.h"
|
||||
#include "model/CreateUploadTokenResult.h"
|
||||
#include "model/PredictImageRequest.h"
|
||||
#include "model/PredictImageResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT IvisionClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::TrainProjectResult> TrainProjectOutcome;
|
||||
typedef std::future<TrainProjectOutcome> TrainProjectOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::TrainProjectRequest&, const TrainProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TrainProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTagResult> CreateTagOutcome;
|
||||
typedef std::future<CreateTagOutcome> CreateTagOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateTagRequest&, const CreateTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTrainResultResult> DescribeTrainResultOutcome;
|
||||
typedef std::future<DescribeTrainResultOutcome> DescribeTrainResultOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeTrainResultRequest&, const DescribeTrainResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrainResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartStreamPredictResult> StartStreamPredictOutcome;
|
||||
typedef std::future<StartStreamPredictOutcome> StartStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::StartStreamPredictRequest&, const StartStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
|
||||
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIterationsResult> DescribeIterationsOutcome;
|
||||
typedef std::future<DescribeIterationsOutcome> DescribeIterationsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeIterationsRequest&, const DescribeIterationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIterationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTrainDatasByIdsResult> DescribeTrainDatasByIdsOutcome;
|
||||
typedef std::future<DescribeTrainDatasByIdsOutcome> DescribeTrainDatasByIdsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeTrainDatasByIdsRequest&, const DescribeTrainDatasByIdsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrainDatasByIdsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrainDataRegionTagResult> CreateTrainDataRegionTagOutcome;
|
||||
typedef std::future<CreateTrainDataRegionTagOutcome> CreateTrainDataRegionTagOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateTrainDataRegionTagRequest&, const CreateTrainDataRegionTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrainDataRegionTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrainDatasFromPredictionResult> CreateTrainDatasFromPredictionOutcome;
|
||||
typedef std::future<CreateTrainDatasFromPredictionOutcome> CreateTrainDatasFromPredictionOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateTrainDatasFromPredictionRequest&, const CreateTrainDatasFromPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrainDatasFromPredictionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyTagAttributeResult> ModifyTagAttributeOutcome;
|
||||
typedef std::future<ModifyTagAttributeOutcome> ModifyTagAttributeOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::ModifyTagAttributeRequest&, const ModifyTagAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyTagAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrainDataTagResult> CreateTrainDataTagOutcome;
|
||||
typedef std::future<CreateTrainDataTagOutcome> CreateTrainDataTagOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateTrainDataTagRequest&, const CreateTrainDataTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrainDataTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopStreamPredictResult> StopStreamPredictOutcome;
|
||||
typedef std::future<StopStreamPredictOutcome> StopStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::StopStreamPredictRequest&, const StopStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTagResult> DeleteTagOutcome;
|
||||
typedef std::future<DeleteTagOutcome> DeleteTagOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteTagRequest&, const DeleteTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStreamPredictsResult> DescribeStreamPredictsOutcome;
|
||||
typedef std::future<DescribeStreamPredictsOutcome> DescribeStreamPredictsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeStreamPredictsRequest&, const DescribeStreamPredictsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStreamPredictsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyTrainDataTagAttributeResult> ModifyTrainDataTagAttributeOutcome;
|
||||
typedef std::future<ModifyTrainDataTagAttributeOutcome> ModifyTrainDataTagAttributeOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::ModifyTrainDataTagAttributeRequest&, const ModifyTrainDataTagAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyTrainDataTagAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyTrainDataRegionTagAttributeResult> ModifyTrainDataRegionTagAttributeOutcome;
|
||||
typedef std::future<ModifyTrainDataRegionTagAttributeOutcome> ModifyTrainDataRegionTagAttributeOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::ModifyTrainDataRegionTagAttributeRequest&, const ModifyTrainDataRegionTagAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyTrainDataRegionTagAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTagsResult> DescribeTagsOutcome;
|
||||
typedef std::future<DescribeTagsOutcome> DescribeTagsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeTagsRequest&, const DescribeTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStreamPredictResultResult> DescribeStreamPredictResultOutcome;
|
||||
typedef std::future<DescribeStreamPredictResultOutcome> DescribeStreamPredictResultOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeStreamPredictResultRequest&, const DescribeStreamPredictResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStreamPredictResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrainDatasTagResult> CreateTrainDatasTagOutcome;
|
||||
typedef std::future<CreateTrainDatasTagOutcome> CreateTrainDatasTagOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateTrainDatasTagRequest&, const CreateTrainDatasTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrainDatasTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteIterationResult> DeleteIterationOutcome;
|
||||
typedef std::future<DeleteIterationOutcome> DeleteIterationOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteIterationRequest&, const DeleteIterationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteIterationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTrainDatasTagResult> DeleteTrainDatasTagOutcome;
|
||||
typedef std::future<DeleteTrainDatasTagOutcome> DeleteTrainDatasTagOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteTrainDatasTagRequest&, const DeleteTrainDatasTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrainDatasTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateStreamPredictResult> CreateStreamPredictOutcome;
|
||||
typedef std::future<CreateStreamPredictOutcome> CreateStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateStreamPredictRequest&, const CreateStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteStreamPredictResult> DeleteStreamPredictOutcome;
|
||||
typedef std::future<DeleteStreamPredictOutcome> DeleteStreamPredictOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteStreamPredictRequest&, const DeleteStreamPredictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStreamPredictAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyProjectAttributeResult> ModifyProjectAttributeOutcome;
|
||||
typedef std::future<ModifyProjectAttributeOutcome> ModifyProjectAttributeOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::ModifyProjectAttributeRequest&, const ModifyProjectAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyProjectAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTrainDatasResult> DeleteTrainDatasOutcome;
|
||||
typedef std::future<DeleteTrainDatasOutcome> DeleteTrainDatasOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteTrainDatasRequest&, const DeleteTrainDatasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrainDatasAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeProjectsResult> DescribeProjectsOutcome;
|
||||
typedef std::future<DescribeProjectsOutcome> DescribeProjectsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeProjectsRequest&, const DescribeProjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProjectsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
|
||||
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePredictDatasResult> DescribePredictDatasOutcome;
|
||||
typedef std::future<DescribePredictDatasOutcome> DescribePredictDatasOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribePredictDatasRequest&, const DescribePredictDatasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePredictDatasAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTrainDatasFromUrlsResult> CreateTrainDatasFromUrlsOutcome;
|
||||
typedef std::future<CreateTrainDatasFromUrlsOutcome> CreateTrainDatasFromUrlsOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateTrainDatasFromUrlsRequest&, const CreateTrainDatasFromUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrainDatasFromUrlsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePredictDatasResult> DeletePredictDatasOutcome;
|
||||
typedef std::future<DeletePredictDatasOutcome> DeletePredictDatasOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DeletePredictDatasRequest&, const DeletePredictDatasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePredictDatasAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTrainDatasResult> DescribeTrainDatasOutcome;
|
||||
typedef std::future<DescribeTrainDatasOutcome> DescribeTrainDatasOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::DescribeTrainDatasRequest&, const DescribeTrainDatasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrainDatasAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUploadTokenResult> CreateUploadTokenOutcome;
|
||||
typedef std::future<CreateUploadTokenOutcome> CreateUploadTokenOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::CreateUploadTokenRequest&, const CreateUploadTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUploadTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::PredictImageResult> PredictImageOutcome;
|
||||
typedef std::future<PredictImageOutcome> PredictImageOutcomeCallable;
|
||||
typedef std::function<void(const IvisionClient*, const Model::PredictImageRequest&, const PredictImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictImageAsyncHandler;
|
||||
|
||||
IvisionClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
IvisionClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
IvisionClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~IvisionClient();
|
||||
TrainProjectOutcome trainProject(const Model::TrainProjectRequest &request)const;
|
||||
void trainProjectAsync(const Model::TrainProjectRequest& request, const TrainProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TrainProjectOutcomeCallable trainProjectCallable(const Model::TrainProjectRequest& request) const;
|
||||
CreateTagOutcome createTag(const Model::CreateTagRequest &request)const;
|
||||
void createTagAsync(const Model::CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTagOutcomeCallable createTagCallable(const Model::CreateTagRequest& request) const;
|
||||
DescribeTrainResultOutcome describeTrainResult(const Model::DescribeTrainResultRequest &request)const;
|
||||
void describeTrainResultAsync(const Model::DescribeTrainResultRequest& request, const DescribeTrainResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTrainResultOutcomeCallable describeTrainResultCallable(const Model::DescribeTrainResultRequest& request) const;
|
||||
StartStreamPredictOutcome startStreamPredict(const Model::StartStreamPredictRequest &request)const;
|
||||
void startStreamPredictAsync(const Model::StartStreamPredictRequest& request, const StartStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartStreamPredictOutcomeCallable startStreamPredictCallable(const Model::StartStreamPredictRequest& request) const;
|
||||
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
|
||||
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
|
||||
DescribeIterationsOutcome describeIterations(const Model::DescribeIterationsRequest &request)const;
|
||||
void describeIterationsAsync(const Model::DescribeIterationsRequest& request, const DescribeIterationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIterationsOutcomeCallable describeIterationsCallable(const Model::DescribeIterationsRequest& request) const;
|
||||
DescribeTrainDatasByIdsOutcome describeTrainDatasByIds(const Model::DescribeTrainDatasByIdsRequest &request)const;
|
||||
void describeTrainDatasByIdsAsync(const Model::DescribeTrainDatasByIdsRequest& request, const DescribeTrainDatasByIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTrainDatasByIdsOutcomeCallable describeTrainDatasByIdsCallable(const Model::DescribeTrainDatasByIdsRequest& request) const;
|
||||
CreateTrainDataRegionTagOutcome createTrainDataRegionTag(const Model::CreateTrainDataRegionTagRequest &request)const;
|
||||
void createTrainDataRegionTagAsync(const Model::CreateTrainDataRegionTagRequest& request, const CreateTrainDataRegionTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrainDataRegionTagOutcomeCallable createTrainDataRegionTagCallable(const Model::CreateTrainDataRegionTagRequest& request) const;
|
||||
CreateTrainDatasFromPredictionOutcome createTrainDatasFromPrediction(const Model::CreateTrainDatasFromPredictionRequest &request)const;
|
||||
void createTrainDatasFromPredictionAsync(const Model::CreateTrainDatasFromPredictionRequest& request, const CreateTrainDatasFromPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrainDatasFromPredictionOutcomeCallable createTrainDatasFromPredictionCallable(const Model::CreateTrainDatasFromPredictionRequest& request) const;
|
||||
ModifyTagAttributeOutcome modifyTagAttribute(const Model::ModifyTagAttributeRequest &request)const;
|
||||
void modifyTagAttributeAsync(const Model::ModifyTagAttributeRequest& request, const ModifyTagAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyTagAttributeOutcomeCallable modifyTagAttributeCallable(const Model::ModifyTagAttributeRequest& request) const;
|
||||
CreateTrainDataTagOutcome createTrainDataTag(const Model::CreateTrainDataTagRequest &request)const;
|
||||
void createTrainDataTagAsync(const Model::CreateTrainDataTagRequest& request, const CreateTrainDataTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrainDataTagOutcomeCallable createTrainDataTagCallable(const Model::CreateTrainDataTagRequest& request) const;
|
||||
StopStreamPredictOutcome stopStreamPredict(const Model::StopStreamPredictRequest &request)const;
|
||||
void stopStreamPredictAsync(const Model::StopStreamPredictRequest& request, const StopStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopStreamPredictOutcomeCallable stopStreamPredictCallable(const Model::StopStreamPredictRequest& request) const;
|
||||
DeleteTagOutcome deleteTag(const Model::DeleteTagRequest &request)const;
|
||||
void deleteTagAsync(const Model::DeleteTagRequest& request, const DeleteTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTagOutcomeCallable deleteTagCallable(const Model::DeleteTagRequest& request) const;
|
||||
DescribeStreamPredictsOutcome describeStreamPredicts(const Model::DescribeStreamPredictsRequest &request)const;
|
||||
void describeStreamPredictsAsync(const Model::DescribeStreamPredictsRequest& request, const DescribeStreamPredictsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStreamPredictsOutcomeCallable describeStreamPredictsCallable(const Model::DescribeStreamPredictsRequest& request) const;
|
||||
ModifyTrainDataTagAttributeOutcome modifyTrainDataTagAttribute(const Model::ModifyTrainDataTagAttributeRequest &request)const;
|
||||
void modifyTrainDataTagAttributeAsync(const Model::ModifyTrainDataTagAttributeRequest& request, const ModifyTrainDataTagAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyTrainDataTagAttributeOutcomeCallable modifyTrainDataTagAttributeCallable(const Model::ModifyTrainDataTagAttributeRequest& request) const;
|
||||
ModifyTrainDataRegionTagAttributeOutcome modifyTrainDataRegionTagAttribute(const Model::ModifyTrainDataRegionTagAttributeRequest &request)const;
|
||||
void modifyTrainDataRegionTagAttributeAsync(const Model::ModifyTrainDataRegionTagAttributeRequest& request, const ModifyTrainDataRegionTagAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyTrainDataRegionTagAttributeOutcomeCallable modifyTrainDataRegionTagAttributeCallable(const Model::ModifyTrainDataRegionTagAttributeRequest& request) const;
|
||||
DescribeTagsOutcome describeTags(const Model::DescribeTagsRequest &request)const;
|
||||
void describeTagsAsync(const Model::DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTagsOutcomeCallable describeTagsCallable(const Model::DescribeTagsRequest& request) const;
|
||||
DescribeStreamPredictResultOutcome describeStreamPredictResult(const Model::DescribeStreamPredictResultRequest &request)const;
|
||||
void describeStreamPredictResultAsync(const Model::DescribeStreamPredictResultRequest& request, const DescribeStreamPredictResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStreamPredictResultOutcomeCallable describeStreamPredictResultCallable(const Model::DescribeStreamPredictResultRequest& request) const;
|
||||
CreateTrainDatasTagOutcome createTrainDatasTag(const Model::CreateTrainDatasTagRequest &request)const;
|
||||
void createTrainDatasTagAsync(const Model::CreateTrainDatasTagRequest& request, const CreateTrainDatasTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrainDatasTagOutcomeCallable createTrainDatasTagCallable(const Model::CreateTrainDatasTagRequest& request) const;
|
||||
DeleteIterationOutcome deleteIteration(const Model::DeleteIterationRequest &request)const;
|
||||
void deleteIterationAsync(const Model::DeleteIterationRequest& request, const DeleteIterationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteIterationOutcomeCallable deleteIterationCallable(const Model::DeleteIterationRequest& request) const;
|
||||
DeleteTrainDatasTagOutcome deleteTrainDatasTag(const Model::DeleteTrainDatasTagRequest &request)const;
|
||||
void deleteTrainDatasTagAsync(const Model::DeleteTrainDatasTagRequest& request, const DeleteTrainDatasTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTrainDatasTagOutcomeCallable deleteTrainDatasTagCallable(const Model::DeleteTrainDatasTagRequest& request) const;
|
||||
CreateStreamPredictOutcome createStreamPredict(const Model::CreateStreamPredictRequest &request)const;
|
||||
void createStreamPredictAsync(const Model::CreateStreamPredictRequest& request, const CreateStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateStreamPredictOutcomeCallable createStreamPredictCallable(const Model::CreateStreamPredictRequest& request) const;
|
||||
DeleteStreamPredictOutcome deleteStreamPredict(const Model::DeleteStreamPredictRequest &request)const;
|
||||
void deleteStreamPredictAsync(const Model::DeleteStreamPredictRequest& request, const DeleteStreamPredictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteStreamPredictOutcomeCallable deleteStreamPredictCallable(const Model::DeleteStreamPredictRequest& request) const;
|
||||
ModifyProjectAttributeOutcome modifyProjectAttribute(const Model::ModifyProjectAttributeRequest &request)const;
|
||||
void modifyProjectAttributeAsync(const Model::ModifyProjectAttributeRequest& request, const ModifyProjectAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyProjectAttributeOutcomeCallable modifyProjectAttributeCallable(const Model::ModifyProjectAttributeRequest& request) const;
|
||||
DeleteTrainDatasOutcome deleteTrainDatas(const Model::DeleteTrainDatasRequest &request)const;
|
||||
void deleteTrainDatasAsync(const Model::DeleteTrainDatasRequest& request, const DeleteTrainDatasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTrainDatasOutcomeCallable deleteTrainDatasCallable(const Model::DeleteTrainDatasRequest& request) const;
|
||||
DescribeProjectsOutcome describeProjects(const Model::DescribeProjectsRequest &request)const;
|
||||
void describeProjectsAsync(const Model::DescribeProjectsRequest& request, const DescribeProjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeProjectsOutcomeCallable describeProjectsCallable(const Model::DescribeProjectsRequest& 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;
|
||||
DescribePredictDatasOutcome describePredictDatas(const Model::DescribePredictDatasRequest &request)const;
|
||||
void describePredictDatasAsync(const Model::DescribePredictDatasRequest& request, const DescribePredictDatasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePredictDatasOutcomeCallable describePredictDatasCallable(const Model::DescribePredictDatasRequest& request) const;
|
||||
CreateTrainDatasFromUrlsOutcome createTrainDatasFromUrls(const Model::CreateTrainDatasFromUrlsRequest &request)const;
|
||||
void createTrainDatasFromUrlsAsync(const Model::CreateTrainDatasFromUrlsRequest& request, const CreateTrainDatasFromUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTrainDatasFromUrlsOutcomeCallable createTrainDatasFromUrlsCallable(const Model::CreateTrainDatasFromUrlsRequest& request) const;
|
||||
DeletePredictDatasOutcome deletePredictDatas(const Model::DeletePredictDatasRequest &request)const;
|
||||
void deletePredictDatasAsync(const Model::DeletePredictDatasRequest& request, const DeletePredictDatasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePredictDatasOutcomeCallable deletePredictDatasCallable(const Model::DeletePredictDatasRequest& request) const;
|
||||
DescribeTrainDatasOutcome describeTrainDatas(const Model::DescribeTrainDatasRequest &request)const;
|
||||
void describeTrainDatasAsync(const Model::DescribeTrainDatasRequest& request, const DescribeTrainDatasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTrainDatasOutcomeCallable describeTrainDatasCallable(const Model::DescribeTrainDatasRequest& request) const;
|
||||
CreateUploadTokenOutcome createUploadToken(const Model::CreateUploadTokenRequest &request)const;
|
||||
void createUploadTokenAsync(const Model::CreateUploadTokenRequest& request, const CreateUploadTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUploadTokenOutcomeCallable createUploadTokenCallable(const Model::CreateUploadTokenRequest& request) const;
|
||||
PredictImageOutcome predictImage(const Model::PredictImageRequest &request)const;
|
||||
void predictImageAsync(const Model::PredictImageRequest& request, const PredictImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PredictImageOutcomeCallable predictImageCallable(const Model::PredictImageRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_IVISION_IVISIONCLIENT_H_
|
||||
@@ -14,19 +14,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS-API_SAS-APIEXPORT_H_
|
||||
#define ALIBABACLOUD_SAS-API_SAS-APIEXPORT_H_
|
||||
#ifndef ALIBABACLOUD_IVISION_IVISIONEXPORT_H_
|
||||
#define ALIBABACLOUD_IVISION_IVISIONEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_SAS-API_LIBRARY)
|
||||
# define ALIBABACLOUD_SAS-API_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# if defined(ALIBABACLOUD_IVISION_LIBRARY)
|
||||
# define ALIBABACLOUD_IVISION_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_SAS-API_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# define ALIBABACLOUD_IVISION_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_SAS-API_EXPORT
|
||||
# define ALIBABACLOUD_IVISION_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_SAS-API_SAS-APIEXPORT_H_
|
||||
#endif // !ALIBABACLOUD_IVISION_IVISIONEXPORT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateProjectRequest();
|
||||
~CreateProjectRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getProType()const;
|
||||
void setProType(const std::string& proType);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string description_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string proType_;
|
||||
std::string requestId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATEPROJECTREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Project
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string projectId;
|
||||
std::string proType;
|
||||
std::string creationTime;
|
||||
int iterCount;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
CreateProjectResult();
|
||||
explicit CreateProjectResult(const std::string &payload);
|
||||
~CreateProjectResult();
|
||||
Project getProject()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Project project_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATEPROJECTRESULT_H_
|
||||
@@ -0,0 +1,138 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATESTREAMPREDICTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATESTREAMPREDICTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateStreamPredictRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateStreamPredictRequest();
|
||||
~CreateStreamPredictRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getAutoStart()const;
|
||||
void setAutoStart(const std::string& autoStart);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getNotify()const;
|
||||
void setNotify(const std::string& notify);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getOutput()const;
|
||||
void setOutput(const std::string& output);
|
||||
std::string getUserData()const;
|
||||
void setUserData(const std::string& userData);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getStreamType()const;
|
||||
void setStreamType(const std::string& streamType);
|
||||
std::string getStreamId()const;
|
||||
void setStreamId(const std::string& streamId);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getProbabilityThresholds()const;
|
||||
void setProbabilityThresholds(const std::string& probabilityThresholds);
|
||||
std::string getModelIds()const;
|
||||
void setModelIds(const std::string& modelIds);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string autoStart_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string notify_;
|
||||
std::string accessKeyId_;
|
||||
std::string output_;
|
||||
std::string userData_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string streamType_;
|
||||
std::string streamId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string probabilityThresholds_;
|
||||
std::string modelIds_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATESTREAMPREDICTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATESTREAMPREDICTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATESTREAMPREDICTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateStreamPredictResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateStreamPredictResult();
|
||||
explicit CreateStreamPredictResult(const std::string &payload);
|
||||
~CreateStreamPredictResult();
|
||||
std::string getPredictId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string predictId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATESTREAMPREDICTRESULT_H_
|
||||
123
ivision/include/alibabacloud/ivision/model/CreateTagRequest.h
Normal file
123
ivision/include/alibabacloud/ivision/model/CreateTagRequest.h
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETAGREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTagRequest();
|
||||
~CreateTagRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string description_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETAGREQUEST_H_
|
||||
60
ivision/include/alibabacloud/ivision/model/CreateTagResult.h
Normal file
60
ivision/include/alibabacloud/ivision/model/CreateTagResult.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETAGRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string description;
|
||||
std::string tagName;
|
||||
std::string projectId;
|
||||
std::string tagId;
|
||||
std::string creationTime;
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
CreateTagResult();
|
||||
explicit CreateTagResult(const std::string &payload);
|
||||
~CreateTagResult();
|
||||
Tag getTag()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Tag tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETAGRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATAREGIONTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATAREGIONTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDataRegionTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTrainDataRegionTagRequest();
|
||||
~CreateTrainDataRegionTagRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagItems()const;
|
||||
void setTagItems(const std::string& tagItems);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getDataId()const;
|
||||
void setDataId(const std::string& dataId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagItems_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string dataId_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATAREGIONTAGREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATAREGIONTAGRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATAREGIONTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDataRegionTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
CreateTrainDataRegionTagResult();
|
||||
explicit CreateTrainDataRegionTagResult(const std::string &payload);
|
||||
~CreateTrainDataRegionTagResult();
|
||||
TrainData getTrainData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TrainData trainData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATAREGIONTAGRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATATAGREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATATAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDataTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTrainDataTagRequest();
|
||||
~CreateTrainDataTagRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagItems()const;
|
||||
void setTagItems(const std::string& tagItems);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getDataId()const;
|
||||
void setDataId(const std::string& dataId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagItems_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string dataId_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATATAGREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATATAGRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATATAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDataTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
CreateTrainDataTagResult();
|
||||
explicit CreateTrainDataTagResult(const std::string &payload);
|
||||
~CreateTrainDataTagResult();
|
||||
TrainData getTrainData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TrainData trainData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATATAGRESULT_H_
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMPREDICTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMPREDICTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDatasFromPredictionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTrainDatasFromPredictionRequest();
|
||||
~CreateTrainDatasFromPredictionRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDataIds()const;
|
||||
void setDataIds(const std::string& dataIds);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string dataIds_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMPREDICTIONREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMPREDICTIONRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMPREDICTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDatasFromPredictionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TrainData::TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
CreateTrainDatasFromPredictionResult();
|
||||
explicit CreateTrainDatasFromPredictionResult(const std::string &payload);
|
||||
~CreateTrainDatasFromPredictionResult();
|
||||
std::vector<TrainData> getTrainDatas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TrainData> trainDatas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMPREDICTIONRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMURLSREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMURLSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDatasFromUrlsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTrainDatasFromUrlsRequest();
|
||||
~CreateTrainDatasFromUrlsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUrls()const;
|
||||
void setUrls(const std::string& urls);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string urls_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMURLSREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMURLSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMURLSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDatasFromUrlsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TrainData::TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
CreateTrainDatasFromUrlsResult();
|
||||
explicit CreateTrainDatasFromUrlsResult(const std::string &payload);
|
||||
~CreateTrainDatasFromUrlsResult();
|
||||
std::vector<TrainData> getTrainDatas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TrainData> trainDatas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASFROMURLSRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDatasTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTrainDatasTagRequest();
|
||||
~CreateTrainDatasTagRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDataIds()const;
|
||||
void setDataIds(const std::string& dataIds);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string dataIds_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASTAGREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASTAGRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateTrainDatasTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
CreateTrainDatasTagResult();
|
||||
explicit CreateTrainDatasTagResult(const std::string &payload);
|
||||
~CreateTrainDatasTagResult();
|
||||
TrainData getTrainData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TrainData trainData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATETRAINDATASTAGRESULT_H_
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATEUPLOADTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATEUPLOADTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateUploadTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUploadTokenRequest();
|
||||
~CreateUploadTokenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string fileName_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATEUPLOADTOKENREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_CREATEUPLOADTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_CREATEUPLOADTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT CreateUploadTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UploadToken
|
||||
{
|
||||
std::string securityToken;
|
||||
std::string endpoint;
|
||||
std::string bucket;
|
||||
std::string accessKeyId;
|
||||
std::string accessKeySecret;
|
||||
std::string expiration;
|
||||
std::string object;
|
||||
std::string url;
|
||||
};
|
||||
|
||||
|
||||
CreateUploadTokenResult();
|
||||
explicit CreateUploadTokenResult(const std::string &payload);
|
||||
~CreateUploadTokenResult();
|
||||
UploadToken getUploadToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
UploadToken uploadToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_CREATEUPLOADTOKENRESULT_H_
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEITERATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEITERATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteIterationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteIterationRequest();
|
||||
~DeleteIterationRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEITERATIONREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEITERATIONRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEITERATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteIterationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteIterationResult();
|
||||
explicit DeleteIterationResult(const std::string &payload);
|
||||
~DeleteIterationResult();
|
||||
std::string getIterationId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEITERATIONRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTDATASREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTDATASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeletePredictDatasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePredictDatasRequest();
|
||||
~DeletePredictDatasRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDataIds()const;
|
||||
void setDataIds(const std::string& dataIds);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string dataIds_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTDATASREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTDATASRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTDATASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeletePredictDatasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePredictDatasResult();
|
||||
explicit DeletePredictDatasResult(const std::string &payload);
|
||||
~DeletePredictDatasResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTDATASRESULT_H_
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectRequest();
|
||||
~DeleteProjectRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEPROJECTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectResult();
|
||||
explicit DeleteProjectResult(const std::string &payload);
|
||||
~DeleteProjectResult();
|
||||
std::string getProjectId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEPROJECTRESULT_H_
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETESTREAMPREDICTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETESTREAMPREDICTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteStreamPredictRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteStreamPredictRequest();
|
||||
~DeleteStreamPredictRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string predictId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETESTREAMPREDICTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETESTREAMPREDICTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETESTREAMPREDICTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteStreamPredictResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteStreamPredictResult();
|
||||
explicit DeleteStreamPredictResult(const std::string &payload);
|
||||
~DeleteStreamPredictResult();
|
||||
std::string getPredictId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string predictId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETESTREAMPREDICTRESULT_H_
|
||||
120
ivision/include/alibabacloud/ivision/model/DeleteTagRequest.h
Normal file
120
ivision/include/alibabacloud/ivision/model/DeleteTagRequest.h
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETAGREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTagRequest();
|
||||
~DeleteTagRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETAGREQUEST_H_
|
||||
51
ivision/include/alibabacloud/ivision/model/DeleteTagResult.h
Normal file
51
ivision/include/alibabacloud/ivision/model/DeleteTagResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETAGRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTagResult();
|
||||
explicit DeleteTagResult(const std::string &payload);
|
||||
~DeleteTagResult();
|
||||
std::string getTagId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string tagId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETAGRESULT_H_
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTrainDatasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTrainDatasRequest();
|
||||
~DeleteTrainDatasRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDataIds()const;
|
||||
void setDataIds(const std::string& dataIds);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string dataIds_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTrainDatasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTrainDatasResult();
|
||||
explicit DeleteTrainDatasResult(const std::string &payload);
|
||||
~DeleteTrainDatasResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTrainDatasTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTrainDatasTagRequest();
|
||||
~DeleteTrainDatasTagRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDataIds()const;
|
||||
void setDataIds(const std::string& dataIds);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string dataIds_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASTAGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASTAGRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTrainDatasTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTrainDatasTagResult();
|
||||
explicit DeleteTrainDatasTagResult(const std::string &payload);
|
||||
~DeleteTrainDatasTagResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASTAGRESULT_H_
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBEITERATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBEITERATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeIterationsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeIterationsRequest();
|
||||
~DescribeIterationsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getThreshold()const;
|
||||
void setThreshold(const std::string& threshold);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getIterationIds()const;
|
||||
void setIterationIds(const std::string& iterationIds);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string threshold_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string iterationIds_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBEITERATIONSREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBEITERATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBEITERATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeIterationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Iteration
|
||||
{
|
||||
std::string status;
|
||||
std::string iterationName;
|
||||
std::string finishTime;
|
||||
std::string precision;
|
||||
std::string iterationId;
|
||||
std::string projectId;
|
||||
std::string creationTime;
|
||||
std::string recall;
|
||||
std::string mAP;
|
||||
std::string modelId;
|
||||
};
|
||||
|
||||
|
||||
DescribeIterationsResult();
|
||||
explicit DescribeIterationsResult(const std::string &payload);
|
||||
~DescribeIterationsResult();
|
||||
long getTotalNum()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<Iteration> getIterations()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
std::vector<Iteration> iterations_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBEITERATIONSRESULT_H_
|
||||
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBEPREDICTDATASREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBEPREDICTDATASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribePredictDatasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePredictDatasRequest();
|
||||
~DescribePredictDatasRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProbabilityThreshold()const;
|
||||
void setProbabilityThreshold(const std::string& probabilityThreshold);
|
||||
std::string getOverlapThreshold()const;
|
||||
void setOverlapThreshold(const std::string& overlapThreshold);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getModelId()const;
|
||||
void setModelId(const std::string& modelId);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextPageToken_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string probabilityThreshold_;
|
||||
std::string overlapThreshold_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string modelId_;
|
||||
std::string tagId_;
|
||||
long currentPage_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBEPREDICTDATASREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBEPREDICTDATASRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBEPREDICTDATASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribePredictDatasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PredictData
|
||||
{
|
||||
struct PredictionResult
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagName;
|
||||
std::string tagId;
|
||||
std::string probability;
|
||||
Region region;
|
||||
std::string overlap;
|
||||
std::string properties;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::vector<PredictData::PredictionResult> predictionResults;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::string errorCode;
|
||||
std::string errorMessage;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
DescribePredictDatasResult();
|
||||
explicit DescribePredictDatasResult(const std::string &payload);
|
||||
~DescribePredictDatasResult();
|
||||
std::vector<PredictData> getPredictDatas()const;
|
||||
long getTotalNum()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PredictData> predictDatas_;
|
||||
long totalNum_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBEPREDICTDATASRESULT_H_
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBEPROJECTSREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBEPROJECTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeProjectsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeProjectsRequest();
|
||||
~DescribeProjectsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
std::string getProjectIds()const;
|
||||
void setProjectIds(const std::string& projectIds);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextPageToken_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long currentPage_;
|
||||
std::string callerBid_;
|
||||
std::string projectIds_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBEPROJECTSREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBEPROJECTSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBEPROJECTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeProjectsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Project
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string projectId;
|
||||
std::string proType;
|
||||
std::string creationTime;
|
||||
int iterCount;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeProjectsResult();
|
||||
explicit DescribeProjectsResult(const std::string &payload);
|
||||
~DescribeProjectsResult();
|
||||
long getTotalNum()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<Project> getProjects()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
std::vector<Project> projects_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBEPROJECTSRESULT_H_
|
||||
@@ -0,0 +1,138 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeStreamPredictResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeStreamPredictResultRequest();
|
||||
~DescribeStreamPredictResultRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProbabilityThreshold()const;
|
||||
void setProbabilityThreshold(const std::string& probabilityThreshold);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getModelId()const;
|
||||
void setModelId(const std::string& modelId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextPageToken_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string predictId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string probabilityThreshold_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string modelId_;
|
||||
std::string endTime_;
|
||||
long currentPage_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTRESULTREQUEST_H_
|
||||
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTRESULTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTRESULTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeStreamPredictResultResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StreamPredictData
|
||||
{
|
||||
struct ResultStatisticsItem
|
||||
{
|
||||
std::string tagName;
|
||||
std::string tagId;
|
||||
long count;
|
||||
};
|
||||
struct PredictionResult
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
struct Properties
|
||||
{
|
||||
std::string withGlovesProbability;
|
||||
std::string withGloves;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagName;
|
||||
std::string tagId;
|
||||
std::string probability;
|
||||
Region region;
|
||||
std::string overlap;
|
||||
Properties properties;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<StreamPredictData::PredictionResult> predictionResults;
|
||||
std::string dataUrl;
|
||||
std::string streamTimestamp;
|
||||
std::string predictTime;
|
||||
std::string predictId;
|
||||
std::vector<StreamPredictData::ResultStatisticsItem> resultStatistics;
|
||||
std::string modelId;
|
||||
};
|
||||
|
||||
|
||||
DescribeStreamPredictResultResult();
|
||||
explicit DescribeStreamPredictResultResult(const std::string &payload);
|
||||
~DescribeStreamPredictResultResult();
|
||||
std::vector<StreamPredictData> getStreamPredictDatas()const;
|
||||
long getTotalNum()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<StreamPredictData> streamPredictDatas_;
|
||||
long totalNum_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTRESULTRESULT_H_
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTSREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeStreamPredictsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeStreamPredictsRequest();
|
||||
~DescribeStreamPredictsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
std::string getPredictIds()const;
|
||||
void setPredictIds(const std::string& predictIds);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextPageToken_;
|
||||
long callerParentId_;
|
||||
std::string predictIds_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
long currentPage_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTSREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeStreamPredictsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StreamPredict
|
||||
{
|
||||
std::string status;
|
||||
std::string streamType;
|
||||
std::string probabilityThresholds;
|
||||
std::string streamId;
|
||||
std::string notify;
|
||||
std::string userData;
|
||||
std::string output;
|
||||
std::string creationTime;
|
||||
std::string modelIds;
|
||||
std::string predictId;
|
||||
};
|
||||
|
||||
|
||||
DescribeStreamPredictsResult();
|
||||
explicit DescribeStreamPredictsResult(const std::string &payload);
|
||||
~DescribeStreamPredictsResult();
|
||||
long getTotalNum()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<StreamPredict> getStreamPredicts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
std::vector<StreamPredict> streamPredicts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBESTREAMPREDICTSRESULT_H_
|
||||
132
ivision/include/alibabacloud/ivision/model/DescribeTagsRequest.h
Normal file
132
ivision/include/alibabacloud/ivision/model/DescribeTagsRequest.h
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTagsRequest();
|
||||
~DescribeTagsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagIds()const;
|
||||
void setTagIds(const std::string& tagIds);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextPageToken_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagIds_;
|
||||
long currentPage_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string description;
|
||||
std::string tagName;
|
||||
std::string projectId;
|
||||
std::string tagId;
|
||||
std::string creationTime;
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
DescribeTagsResult();
|
||||
explicit DescribeTagsResult(const std::string &payload);
|
||||
~DescribeTagsResult();
|
||||
long getTotalNum()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASBYIDSREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASBYIDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTrainDatasByIdsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTrainDatasByIdsRequest();
|
||||
~DescribeTrainDatasByIdsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDataIds()const;
|
||||
void setDataIds(const std::string& dataIds);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string dataIds_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASBYIDSREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASBYIDSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASBYIDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTrainDatasByIdsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TrainData::TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
DescribeTrainDatasByIdsResult();
|
||||
explicit DescribeTrainDatasByIdsResult(const std::string &payload);
|
||||
~DescribeTrainDatasByIdsResult();
|
||||
std::vector<TrainData> getTrainDatas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TrainData> trainDatas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASBYIDSRESULT_H_
|
||||
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTrainDatasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTrainDatasRequest();
|
||||
~DescribeTrainDatasRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTagStatus()const;
|
||||
void setTagStatus(const std::string& tagStatus);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nextPageToken_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string tagStatus_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagId_;
|
||||
long currentPage_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASREQUEST_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTrainDatasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TrainData::TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
DescribeTrainDatasResult();
|
||||
explicit DescribeTrainDatasResult(const std::string &payload);
|
||||
~DescribeTrainDatasResult();
|
||||
long getTotalNum()const;
|
||||
long getPageSize()const;
|
||||
std::vector<TrainData> getTrainDatas()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long pageSize_;
|
||||
std::vector<TrainData> trainDatas_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINDATASRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTrainResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTrainResultRequest();
|
||||
~DescribeTrainResultRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getThreshold()const;
|
||||
void setThreshold(const std::string& threshold);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string threshold_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINRESULTREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINRESULTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINRESULTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTrainResultResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainResult
|
||||
{
|
||||
struct TagResult
|
||||
{
|
||||
std::string tagName;
|
||||
std::string precision;
|
||||
std::string tagId;
|
||||
std::string recall;
|
||||
std::string aP;
|
||||
};
|
||||
std::string status;
|
||||
std::string iterationName;
|
||||
std::string endTime;
|
||||
std::string projectId;
|
||||
std::string startTime;
|
||||
std::string precision;
|
||||
std::string iterationId;
|
||||
std::vector<TagResult> tagResults;
|
||||
std::string recall;
|
||||
std::string errorCode;
|
||||
std::string errorMessage;
|
||||
std::string mAP;
|
||||
std::string threshold;
|
||||
};
|
||||
|
||||
|
||||
DescribeTrainResultResult();
|
||||
explicit DescribeTrainResultResult(const std::string &payload);
|
||||
~DescribeTrainResultResult();
|
||||
TrainResult getTrainResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TrainResult trainResult_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETRAINRESULTRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYPROJECTATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYPROJECTATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyProjectAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyProjectAttributeRequest();
|
||||
~ModifyProjectAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string description_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYPROJECTATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYPROJECTATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYPROJECTATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyProjectAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Project
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string projectId;
|
||||
std::string proType;
|
||||
std::string creationTime;
|
||||
int iterCount;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ModifyProjectAttributeResult();
|
||||
explicit ModifyProjectAttributeResult(const std::string &payload);
|
||||
~ModifyProjectAttributeResult();
|
||||
Project getProject()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Project project_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYPROJECTATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYTAGATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYTAGATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyTagAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyTagAttributeRequest();
|
||||
~ModifyTagAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagId()const;
|
||||
void setTagId(const std::string& tagId);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string description_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYTAGATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYTAGATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYTAGATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyTagAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string tagName;
|
||||
std::string projectId;
|
||||
std::string tagId;
|
||||
std::string creationTime;
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
ModifyTagAttributeResult();
|
||||
explicit ModifyTagAttributeResult(const std::string &payload);
|
||||
~ModifyTagAttributeResult();
|
||||
Tag getTag()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Tag tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYTAGATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATAREGIONTAGATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATAREGIONTAGATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyTrainDataRegionTagAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyTrainDataRegionTagAttributeRequest();
|
||||
~ModifyTrainDataRegionTagAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagItems()const;
|
||||
void setTagItems(const std::string& tagItems);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getDataId()const;
|
||||
void setDataId(const std::string& dataId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagItems_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string dataId_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATAREGIONTAGATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATAREGIONTAGATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATAREGIONTAGATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyTrainDataRegionTagAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
ModifyTrainDataRegionTagAttributeResult();
|
||||
explicit ModifyTrainDataRegionTagAttributeResult(const std::string &payload);
|
||||
~ModifyTrainDataRegionTagAttributeResult();
|
||||
TrainData getTrainData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TrainData trainData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATAREGIONTAGATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATATAGATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATATAGATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyTrainDataTagAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyTrainDataTagAttributeRequest();
|
||||
~ModifyTrainDataTagAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getTagItems()const;
|
||||
void setTagItems(const std::string& tagItems);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getDataId()const;
|
||||
void setDataId(const std::string& dataId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string tagItems_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string dataId_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATATAGATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATATAGATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATATAGATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT ModifyTrainDataTagAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrainData
|
||||
{
|
||||
struct TagItem
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagId;
|
||||
Region region;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::string tagStatus;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::vector<TagItem> tagItems;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
ModifyTrainDataTagAttributeResult();
|
||||
explicit ModifyTrainDataTagAttributeResult(const std::string &payload);
|
||||
~ModifyTrainDataTagAttributeResult();
|
||||
TrainData getTrainData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TrainData trainData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_MODIFYTRAINDATATAGATTRIBUTERESULT_H_
|
||||
123
ivision/include/alibabacloud/ivision/model/PredictImageRequest.h
Normal file
123
ivision/include/alibabacloud/ivision/model/PredictImageRequest.h
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_PREDICTIMAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_PREDICTIMAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT PredictImageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PredictImageRequest();
|
||||
~PredictImageRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIterationId()const;
|
||||
void setIterationId(const std::string& iterationId);
|
||||
std::string getDataUrls()const;
|
||||
void setDataUrls(const std::string& dataUrls);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string iterationId_;
|
||||
std::string dataUrls_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_PREDICTIMAGEREQUEST_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_PREDICTIMAGERESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_PREDICTIMAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT PredictImageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PredictData
|
||||
{
|
||||
struct PredictionResult
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string left;
|
||||
std::string top;
|
||||
std::string height;
|
||||
std::string width;
|
||||
};
|
||||
std::string regionType;
|
||||
std::string tagName;
|
||||
std::string tagId;
|
||||
std::string probability;
|
||||
Region region;
|
||||
std::string overlap;
|
||||
std::string properties;
|
||||
};
|
||||
std::string status;
|
||||
std::string dataId;
|
||||
std::string iterationId;
|
||||
std::vector<PredictData::PredictionResult> predictionResults;
|
||||
std::string projectId;
|
||||
std::string dataUrl;
|
||||
std::string creationTime;
|
||||
std::string errorCode;
|
||||
std::string errorMessage;
|
||||
std::string dataName;
|
||||
};
|
||||
|
||||
|
||||
PredictImageResult();
|
||||
explicit PredictImageResult(const std::string &payload);
|
||||
~PredictImageResult();
|
||||
std::vector<PredictData> getPredictDatas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PredictData> predictDatas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_PREDICTIMAGERESULT_H_
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_STARTSTREAMPREDICTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_STARTSTREAMPREDICTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT StartStreamPredictRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartStreamPredictRequest();
|
||||
~StartStreamPredictRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string predictId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_STARTSTREAMPREDICTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_STARTSTREAMPREDICTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_STARTSTREAMPREDICTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT StartStreamPredictResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartStreamPredictResult();
|
||||
explicit StartStreamPredictResult(const std::string &payload);
|
||||
~StartStreamPredictResult();
|
||||
std::string getPredictId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string predictId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_STARTSTREAMPREDICTRESULT_H_
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_STOPSTREAMPREDICTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_STOPSTREAMPREDICTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT StopStreamPredictRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopStreamPredictRequest();
|
||||
~StopStreamPredictRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPredictId()const;
|
||||
void setPredictId(const std::string& predictId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string predictId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_STOPSTREAMPREDICTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_STOPSTREAMPREDICTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_STOPSTREAMPREDICTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT StopStreamPredictResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopStreamPredictResult();
|
||||
explicit StopStreamPredictResult(const std::string &payload);
|
||||
~StopStreamPredictResult();
|
||||
std::string getPredictId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string predictId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_STOPSTREAMPREDICTRESULT_H_
|
||||
117
ivision/include/alibabacloud/ivision/model/TrainProjectRequest.h
Normal file
117
ivision/include/alibabacloud/ivision/model/TrainProjectRequest.h
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_TRAINPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_TRAINPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT TrainProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TrainProjectRequest();
|
||||
~TrainProjectRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string projectId_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string showLog_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_TRAINPROJECTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_TRAINPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_TRAINPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ivision/IvisionExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT TrainProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TrainProjectResult();
|
||||
explicit TrainProjectResult(const std::string &payload);
|
||||
~TrainProjectResult();
|
||||
std::string getIterationId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string iterationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_TRAINPROJECTRESULT_H_
|
||||
1241
ivision/src/IvisionClient.cc
Normal file
1241
ivision/src/IvisionClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
313
ivision/src/model/CreateProjectRequest.cc
Normal file
313
ivision/src/model/CreateProjectRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreateProjectRequest;
|
||||
|
||||
CreateProjectRequest::CreateProjectRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateProject")
|
||||
{}
|
||||
|
||||
CreateProjectRequest::~CreateProjectRequest()
|
||||
{}
|
||||
|
||||
long CreateProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateProjectRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateProjectRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getProType()const
|
||||
{
|
||||
return proType_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setProType(const std::string& proType)
|
||||
{
|
||||
proType_ = proType;
|
||||
setParameter("ProType", proType);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
65
ivision/src/model/CreateProjectResult.cc
Normal file
65
ivision/src/model/CreateProjectResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateProjectResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreateProjectResult::CreateProjectResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateProjectResult::CreateProjectResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateProjectResult::~CreateProjectResult()
|
||||
{}
|
||||
|
||||
void CreateProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto projectNode = value["Project"];
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
project_.projectId = projectNode["ProjectId"].asString();
|
||||
if(!projectNode["Name"].isNull())
|
||||
project_.name = projectNode["Name"].asString();
|
||||
if(!projectNode["Description"].isNull())
|
||||
project_.description = projectNode["Description"].asString();
|
||||
if(!projectNode["ProType"].isNull())
|
||||
project_.proType = projectNode["ProType"].asString();
|
||||
if(!projectNode["IterCount"].isNull())
|
||||
project_.iterCount = std::stoi(projectNode["IterCount"].asString());
|
||||
if(!projectNode["CreationTime"].isNull())
|
||||
project_.creationTime = projectNode["CreationTime"].asString();
|
||||
if(!projectNode["Status"].isNull())
|
||||
project_.status = projectNode["Status"].asString();
|
||||
|
||||
}
|
||||
|
||||
CreateProjectResult::Project CreateProjectResult::getProject()const
|
||||
{
|
||||
return project_;
|
||||
}
|
||||
|
||||
368
ivision/src/model/CreateStreamPredictRequest.cc
Normal file
368
ivision/src/model/CreateStreamPredictRequest.cc
Normal file
@@ -0,0 +1,368 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/ivision/model/CreateStreamPredictRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreateStreamPredictRequest;
|
||||
|
||||
CreateStreamPredictRequest::CreateStreamPredictRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateStreamPredict")
|
||||
{}
|
||||
|
||||
CreateStreamPredictRequest::~CreateStreamPredictRequest()
|
||||
{}
|
||||
|
||||
long CreateStreamPredictRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateStreamPredictRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getAutoStart()const
|
||||
{
|
||||
return autoStart_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setAutoStart(const std::string& autoStart)
|
||||
{
|
||||
autoStart_ = autoStart;
|
||||
setParameter("AutoStart", autoStart);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getNotify()const
|
||||
{
|
||||
return notify_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setNotify(const std::string& notify)
|
||||
{
|
||||
notify_ = notify;
|
||||
setParameter("Notify", notify);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getOutput()const
|
||||
{
|
||||
return output_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOutput(const std::string& output)
|
||||
{
|
||||
output_ = output;
|
||||
setParameter("Output", output);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setParameter("UserData", userData);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateStreamPredictRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getStreamType()const
|
||||
{
|
||||
return streamType_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setStreamType(const std::string& streamType)
|
||||
{
|
||||
streamType_ = streamType;
|
||||
setParameter("StreamType", streamType);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getStreamId()const
|
||||
{
|
||||
return streamId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setStreamId(const std::string& streamId)
|
||||
{
|
||||
streamId_ = streamId;
|
||||
setParameter("StreamId", streamId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getProbabilityThresholds()const
|
||||
{
|
||||
return probabilityThresholds_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProbabilityThresholds(const std::string& probabilityThresholds)
|
||||
{
|
||||
probabilityThresholds_ = probabilityThresholds;
|
||||
setParameter("ProbabilityThresholds", probabilityThresholds);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getModelIds()const
|
||||
{
|
||||
return modelIds_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setModelIds(const std::string& modelIds)
|
||||
{
|
||||
modelIds_ = modelIds;
|
||||
setParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
52
ivision/src/model/CreateStreamPredictResult.cc
Normal file
52
ivision/src/model/CreateStreamPredictResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateStreamPredictResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreateStreamPredictResult::CreateStreamPredictResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateStreamPredictResult::CreateStreamPredictResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateStreamPredictResult::~CreateStreamPredictResult()
|
||||
{}
|
||||
|
||||
void CreateStreamPredictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PredictId"].isNull())
|
||||
predictId_ = value["PredictId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictResult::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
}
|
||||
|
||||
313
ivision/src/model/CreateTagRequest.cc
Normal file
313
ivision/src/model/CreateTagRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreateTagRequest;
|
||||
|
||||
CreateTagRequest::CreateTagRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateTag")
|
||||
{}
|
||||
|
||||
CreateTagRequest::~CreateTagRequest()
|
||||
{}
|
||||
|
||||
long CreateTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
63
ivision/src/model/CreateTagResult.cc
Normal file
63
ivision/src/model/CreateTagResult.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateTagResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreateTagResult::CreateTagResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTagResult::CreateTagResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTagResult::~CreateTagResult()
|
||||
{}
|
||||
|
||||
void CreateTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto tagNode = value["Tag"];
|
||||
if(!tagNode["ProjectId"].isNull())
|
||||
tag_.projectId = tagNode["ProjectId"].asString();
|
||||
if(!tagNode["TagId"].isNull())
|
||||
tag_.tagId = tagNode["TagId"].asString();
|
||||
if(!tagNode["TagName"].isNull())
|
||||
tag_.tagName = tagNode["TagName"].asString();
|
||||
if(!tagNode["Description"].isNull())
|
||||
tag_.description = tagNode["Description"].asString();
|
||||
if(!tagNode["Count"].isNull())
|
||||
tag_.count = std::stoi(tagNode["Count"].asString());
|
||||
if(!tagNode["CreationTime"].isNull())
|
||||
tag_.creationTime = tagNode["CreationTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
CreateTagResult::Tag CreateTagResult::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
313
ivision/src/model/CreateTrainDataRegionTagRequest.cc
Normal file
313
ivision/src/model/CreateTrainDataRegionTagRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateTrainDataRegionTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreateTrainDataRegionTagRequest;
|
||||
|
||||
CreateTrainDataRegionTagRequest::CreateTrainDataRegionTagRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateTrainDataRegionTag")
|
||||
{}
|
||||
|
||||
CreateTrainDataRegionTagRequest::~CreateTrainDataRegionTagRequest()
|
||||
{}
|
||||
|
||||
long CreateTrainDataRegionTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTrainDataRegionTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTrainDataRegionTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTrainDataRegionTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getTagItems()const
|
||||
{
|
||||
return tagItems_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setTagItems(const std::string& tagItems)
|
||||
{
|
||||
tagItems_ = tagItems;
|
||||
setParameter("TagItems", tagItems);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTrainDataRegionTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTrainDataRegionTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDataRegionTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDataRegionTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getDataId()const
|
||||
{
|
||||
return dataId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setDataId(const std::string& dataId)
|
||||
{
|
||||
dataId_ = dataId;
|
||||
setParameter("DataId", dataId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataRegionTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataRegionTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
86
ivision/src/model/CreateTrainDataRegionTagResult.cc
Normal file
86
ivision/src/model/CreateTrainDataRegionTagResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateTrainDataRegionTagResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreateTrainDataRegionTagResult::CreateTrainDataRegionTagResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTrainDataRegionTagResult::CreateTrainDataRegionTagResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTrainDataRegionTagResult::~CreateTrainDataRegionTagResult()
|
||||
{}
|
||||
|
||||
void CreateTrainDataRegionTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto trainDataNode = value["TrainData"];
|
||||
if(!trainDataNode["ProjectId"].isNull())
|
||||
trainData_.projectId = trainDataNode["ProjectId"].asString();
|
||||
if(!trainDataNode["IterationId"].isNull())
|
||||
trainData_.iterationId = trainDataNode["IterationId"].asString();
|
||||
if(!trainDataNode["DataId"].isNull())
|
||||
trainData_.dataId = trainDataNode["DataId"].asString();
|
||||
if(!trainDataNode["DataName"].isNull())
|
||||
trainData_.dataName = trainDataNode["DataName"].asString();
|
||||
if(!trainDataNode["DataUrl"].isNull())
|
||||
trainData_.dataUrl = trainDataNode["DataUrl"].asString();
|
||||
if(!trainDataNode["CreationTime"].isNull())
|
||||
trainData_.creationTime = trainDataNode["CreationTime"].asString();
|
||||
if(!trainDataNode["Status"].isNull())
|
||||
trainData_.status = trainDataNode["Status"].asString();
|
||||
if(!trainDataNode["TagStatus"].isNull())
|
||||
trainData_.tagStatus = trainDataNode["TagStatus"].asString();
|
||||
auto allTagItems = value["TagItems"]["TagItem"];
|
||||
for (auto value : allTagItems)
|
||||
{
|
||||
TrainData::TagItem tagItemObject;
|
||||
if(!value["TagId"].isNull())
|
||||
tagItemObject.tagId = value["TagId"].asString();
|
||||
if(!value["RegionType"].isNull())
|
||||
tagItemObject.regionType = value["RegionType"].asString();
|
||||
auto regionNode = value["Region"];
|
||||
if(!regionNode["Left"].isNull())
|
||||
tagItemObject.region.left = regionNode["Left"].asString();
|
||||
if(!regionNode["Top"].isNull())
|
||||
tagItemObject.region.top = regionNode["Top"].asString();
|
||||
if(!regionNode["Width"].isNull())
|
||||
tagItemObject.region.width = regionNode["Width"].asString();
|
||||
if(!regionNode["Height"].isNull())
|
||||
tagItemObject.region.height = regionNode["Height"].asString();
|
||||
trainData_.tagItems.push_back(tagItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
CreateTrainDataRegionTagResult::TrainData CreateTrainDataRegionTagResult::getTrainData()const
|
||||
{
|
||||
return trainData_;
|
||||
}
|
||||
|
||||
313
ivision/src/model/CreateTrainDataTagRequest.cc
Normal file
313
ivision/src/model/CreateTrainDataTagRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateTrainDataTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreateTrainDataTagRequest;
|
||||
|
||||
CreateTrainDataTagRequest::CreateTrainDataTagRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateTrainDataTag")
|
||||
{}
|
||||
|
||||
CreateTrainDataTagRequest::~CreateTrainDataTagRequest()
|
||||
{}
|
||||
|
||||
long CreateTrainDataTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTrainDataTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTrainDataTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getTagItems()const
|
||||
{
|
||||
return tagItems_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setTagItems(const std::string& tagItems)
|
||||
{
|
||||
tagItems_ = tagItems;
|
||||
setParameter("TagItems", tagItems);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTrainDataTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getDataId()const
|
||||
{
|
||||
return dataId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setDataId(const std::string& dataId)
|
||||
{
|
||||
dataId_ = dataId;
|
||||
setParameter("DataId", dataId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
86
ivision/src/model/CreateTrainDataTagResult.cc
Normal file
86
ivision/src/model/CreateTrainDataTagResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateTrainDataTagResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreateTrainDataTagResult::CreateTrainDataTagResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTrainDataTagResult::CreateTrainDataTagResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTrainDataTagResult::~CreateTrainDataTagResult()
|
||||
{}
|
||||
|
||||
void CreateTrainDataTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto trainDataNode = value["TrainData"];
|
||||
if(!trainDataNode["ProjectId"].isNull())
|
||||
trainData_.projectId = trainDataNode["ProjectId"].asString();
|
||||
if(!trainDataNode["IterationId"].isNull())
|
||||
trainData_.iterationId = trainDataNode["IterationId"].asString();
|
||||
if(!trainDataNode["DataId"].isNull())
|
||||
trainData_.dataId = trainDataNode["DataId"].asString();
|
||||
if(!trainDataNode["DataName"].isNull())
|
||||
trainData_.dataName = trainDataNode["DataName"].asString();
|
||||
if(!trainDataNode["DataUrl"].isNull())
|
||||
trainData_.dataUrl = trainDataNode["DataUrl"].asString();
|
||||
if(!trainDataNode["CreationTime"].isNull())
|
||||
trainData_.creationTime = trainDataNode["CreationTime"].asString();
|
||||
if(!trainDataNode["Status"].isNull())
|
||||
trainData_.status = trainDataNode["Status"].asString();
|
||||
if(!trainDataNode["TagStatus"].isNull())
|
||||
trainData_.tagStatus = trainDataNode["TagStatus"].asString();
|
||||
auto allTagItems = value["TagItems"]["TagItem"];
|
||||
for (auto value : allTagItems)
|
||||
{
|
||||
TrainData::TagItem tagItemObject;
|
||||
if(!value["TagId"].isNull())
|
||||
tagItemObject.tagId = value["TagId"].asString();
|
||||
if(!value["RegionType"].isNull())
|
||||
tagItemObject.regionType = value["RegionType"].asString();
|
||||
auto regionNode = value["Region"];
|
||||
if(!regionNode["Left"].isNull())
|
||||
tagItemObject.region.left = regionNode["Left"].asString();
|
||||
if(!regionNode["Top"].isNull())
|
||||
tagItemObject.region.top = regionNode["Top"].asString();
|
||||
if(!regionNode["Width"].isNull())
|
||||
tagItemObject.region.width = regionNode["Width"].asString();
|
||||
if(!regionNode["Height"].isNull())
|
||||
tagItemObject.region.height = regionNode["Height"].asString();
|
||||
trainData_.tagItems.push_back(tagItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
CreateTrainDataTagResult::TrainData CreateTrainDataTagResult::getTrainData()const
|
||||
{
|
||||
return trainData_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user