Compare commits
87 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5edf5643a2 | ||
|
|
5cdab50afe | ||
|
|
cb3e058f3f | ||
|
|
e2c46d1143 | ||
|
|
3b852794f3 | ||
|
|
16d6566bf7 | ||
|
|
2758ad51c0 | ||
|
|
51939b77c4 | ||
|
|
3f0e3c3e9a | ||
|
|
c13c576175 | ||
|
|
ef4cdc8756 | ||
|
|
61a4b220eb | ||
|
|
183190fd14 | ||
|
|
a7841818f4 | ||
|
|
9c795d127b | ||
|
|
52c309ecd7 | ||
|
|
d00f8d0fb2 | ||
|
|
4393e6e44f | ||
|
|
e676e2e38f | ||
|
|
429d57cff4 | ||
|
|
179314c9fe | ||
|
|
f0133be6a9 | ||
|
|
bb7cab374e | ||
|
|
66cb681daa | ||
|
|
e2d298dba8 | ||
|
|
ce74411ad3 | ||
|
|
bb1c3193e8 | ||
|
|
ed4f7ee25b | ||
|
|
351c9e254f | ||
|
|
cfd6b2d640 | ||
|
|
ba5ab1093f | ||
|
|
4b90751575 | ||
|
|
a6e6fc3981 | ||
|
|
ac4e846136 | ||
|
|
b88765a938 | ||
|
|
776d68f0aa | ||
|
|
1f76e81f67 | ||
|
|
1c261b822a | ||
|
|
23eaeedb69 | ||
|
|
87f3f72876 | ||
|
|
44c9ab5768 | ||
|
|
ff4508956b | ||
|
|
0329dcee47 | ||
|
|
8f4a119a7e | ||
|
|
63bf0ee442 | ||
|
|
47cb3f0fcb | ||
|
|
776a55cf64 | ||
|
|
5fcbeb4782 | ||
|
|
ea1c1ae17e | ||
|
|
b91b263fdd | ||
|
|
e532f5fe74 | ||
|
|
c1c37ba49a | ||
|
|
7d74c183f6 | ||
|
|
1b9c5d6a42 | ||
|
|
e762c1d057 | ||
|
|
16843433e4 | ||
|
|
f80621c4a4 | ||
|
|
4985a32853 | ||
|
|
7f6b7dbfba | ||
|
|
18b7bafcd0 | ||
|
|
4b9242545b | ||
|
|
b3758c1857 | ||
|
|
40e28f2005 | ||
|
|
2e0f1478c6 | ||
|
|
8c7efaba0f | ||
|
|
fd5e85ebf9 | ||
|
|
ef538b5d54 | ||
|
|
4e92d5b648 | ||
|
|
befcff9add | ||
|
|
78426b2c35 | ||
|
|
1c37d47f07 | ||
|
|
afc1ac57c3 | ||
|
|
7ad42a297f | ||
|
|
b2cade322d | ||
|
|
5d8d514785 | ||
|
|
d4d30d5bb7 | ||
|
|
8c606d0357 | ||
|
|
4a7816979a | ||
|
|
ca3378ac03 | ||
|
|
0859b911b2 | ||
|
|
29b4bc0ce3 | ||
|
|
d37523f568 | ||
|
|
928fc975b9 | ||
|
|
6365b9f02d | ||
|
|
fbc3817ea1 | ||
|
|
db6a17b08c | ||
|
|
d80ca0d7e2 |
102
accountlabel/CMakeLists.txt
Normal file
102
accountlabel/CMakeLists.txt
Normal file
@@ -0,0 +1,102 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(accountlabel_public_header
|
||||
include/alibabacloud/accountlabel/AccountLabelClient.h
|
||||
include/alibabacloud/accountlabel/AccountLabelExport.h )
|
||||
|
||||
set(accountlabel_public_header_model
|
||||
include/alibabacloud/accountlabel/model/AddCustomerLabelRequest.h
|
||||
include/alibabacloud/accountlabel/model/AddCustomerLabelResult.h
|
||||
include/alibabacloud/accountlabel/model/BatchFetchAccountLabelRequest.h
|
||||
include/alibabacloud/accountlabel/model/BatchFetchAccountLabelResult.h
|
||||
include/alibabacloud/accountlabel/model/DeleteCustomerLabelRequest.h
|
||||
include/alibabacloud/accountlabel/model/DeleteCustomerLabelResult.h
|
||||
include/alibabacloud/accountlabel/model/QueryCustomerLabelRequest.h
|
||||
include/alibabacloud/accountlabel/model/QueryCustomerLabelResult.h
|
||||
include/alibabacloud/accountlabel/model/QueryCustomerLabelByConfigGroupRequest.h
|
||||
include/alibabacloud/accountlabel/model/QueryCustomerLabelByConfigGroupResult.h )
|
||||
|
||||
set(accountlabel_src
|
||||
src/AccountLabelClient.cc
|
||||
src/model/AddCustomerLabelRequest.cc
|
||||
src/model/AddCustomerLabelResult.cc
|
||||
src/model/BatchFetchAccountLabelRequest.cc
|
||||
src/model/BatchFetchAccountLabelResult.cc
|
||||
src/model/DeleteCustomerLabelRequest.cc
|
||||
src/model/DeleteCustomerLabelResult.cc
|
||||
src/model/QueryCustomerLabelRequest.cc
|
||||
src/model/QueryCustomerLabelResult.cc
|
||||
src/model/QueryCustomerLabelByConfigGroupRequest.cc
|
||||
src/model/QueryCustomerLabelByConfigGroupResult.cc )
|
||||
|
||||
add_library(accountlabel ${LIB_TYPE}
|
||||
${accountlabel_public_header}
|
||||
${accountlabel_public_header_model}
|
||||
${accountlabel_src})
|
||||
|
||||
set_target_properties(accountlabel
|
||||
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}accountlabel
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(accountlabel
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ACCOUNTLABEL_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(accountlabel
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(accountlabel
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(accountlabel
|
||||
jsoncpp)
|
||||
target_include_directories(accountlabel
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(accountlabel
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(accountlabel
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(accountlabel
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(accountlabel
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${accountlabel_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/accountlabel)
|
||||
install(FILES ${accountlabel_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/accountlabel/model)
|
||||
install(TARGETS accountlabel
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELCLIENT_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AccountLabelExport.h"
|
||||
#include "model/AddCustomerLabelRequest.h"
|
||||
#include "model/AddCustomerLabelResult.h"
|
||||
#include "model/BatchFetchAccountLabelRequest.h"
|
||||
#include "model/BatchFetchAccountLabelResult.h"
|
||||
#include "model/DeleteCustomerLabelRequest.h"
|
||||
#include "model/DeleteCustomerLabelResult.h"
|
||||
#include "model/QueryCustomerLabelRequest.h"
|
||||
#include "model/QueryCustomerLabelResult.h"
|
||||
#include "model/QueryCustomerLabelByConfigGroupRequest.h"
|
||||
#include "model/QueryCustomerLabelByConfigGroupResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AccountLabel
|
||||
{
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT AccountLabelClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddCustomerLabelResult> AddCustomerLabelOutcome;
|
||||
typedef std::future<AddCustomerLabelOutcome> AddCustomerLabelOutcomeCallable;
|
||||
typedef std::function<void(const AccountLabelClient*, const Model::AddCustomerLabelRequest&, const AddCustomerLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomerLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchFetchAccountLabelResult> BatchFetchAccountLabelOutcome;
|
||||
typedef std::future<BatchFetchAccountLabelOutcome> BatchFetchAccountLabelOutcomeCallable;
|
||||
typedef std::function<void(const AccountLabelClient*, const Model::BatchFetchAccountLabelRequest&, const BatchFetchAccountLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchFetchAccountLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCustomerLabelResult> DeleteCustomerLabelOutcome;
|
||||
typedef std::future<DeleteCustomerLabelOutcome> DeleteCustomerLabelOutcomeCallable;
|
||||
typedef std::function<void(const AccountLabelClient*, const Model::DeleteCustomerLabelRequest&, const DeleteCustomerLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomerLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomerLabelResult> QueryCustomerLabelOutcome;
|
||||
typedef std::future<QueryCustomerLabelOutcome> QueryCustomerLabelOutcomeCallable;
|
||||
typedef std::function<void(const AccountLabelClient*, const Model::QueryCustomerLabelRequest&, const QueryCustomerLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomerLabelByConfigGroupResult> QueryCustomerLabelByConfigGroupOutcome;
|
||||
typedef std::future<QueryCustomerLabelByConfigGroupOutcome> QueryCustomerLabelByConfigGroupOutcomeCallable;
|
||||
typedef std::function<void(const AccountLabelClient*, const Model::QueryCustomerLabelByConfigGroupRequest&, const QueryCustomerLabelByConfigGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerLabelByConfigGroupAsyncHandler;
|
||||
|
||||
AccountLabelClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AccountLabelClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AccountLabelClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AccountLabelClient();
|
||||
AddCustomerLabelOutcome addCustomerLabel(const Model::AddCustomerLabelRequest &request)const;
|
||||
void addCustomerLabelAsync(const Model::AddCustomerLabelRequest& request, const AddCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddCustomerLabelOutcomeCallable addCustomerLabelCallable(const Model::AddCustomerLabelRequest& request) const;
|
||||
BatchFetchAccountLabelOutcome batchFetchAccountLabel(const Model::BatchFetchAccountLabelRequest &request)const;
|
||||
void batchFetchAccountLabelAsync(const Model::BatchFetchAccountLabelRequest& request, const BatchFetchAccountLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchFetchAccountLabelOutcomeCallable batchFetchAccountLabelCallable(const Model::BatchFetchAccountLabelRequest& request) const;
|
||||
DeleteCustomerLabelOutcome deleteCustomerLabel(const Model::DeleteCustomerLabelRequest &request)const;
|
||||
void deleteCustomerLabelAsync(const Model::DeleteCustomerLabelRequest& request, const DeleteCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomerLabelOutcomeCallable deleteCustomerLabelCallable(const Model::DeleteCustomerLabelRequest& request) const;
|
||||
QueryCustomerLabelOutcome queryCustomerLabel(const Model::QueryCustomerLabelRequest &request)const;
|
||||
void queryCustomerLabelAsync(const Model::QueryCustomerLabelRequest& request, const QueryCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomerLabelOutcomeCallable queryCustomerLabelCallable(const Model::QueryCustomerLabelRequest& request) const;
|
||||
QueryCustomerLabelByConfigGroupOutcome queryCustomerLabelByConfigGroup(const Model::QueryCustomerLabelByConfigGroupRequest &request)const;
|
||||
void queryCustomerLabelByConfigGroupAsync(const Model::QueryCustomerLabelByConfigGroupRequest& request, const QueryCustomerLabelByConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomerLabelByConfigGroupOutcomeCallable queryCustomerLabelByConfigGroupCallable(const Model::QueryCustomerLabelByConfigGroupRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELEXPORT_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ACCOUNTLABEL_LIBRARY)
|
||||
# define ALIBABACLOUD_ACCOUNTLABEL_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ACCOUNTLABEL_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ACCOUNTLABEL_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_ACCOUNTLABELEXPORT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELREQUEST_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELREQUEST_H_
|
||||
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AccountLabel {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT AddCustomerLabelRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddCustomerLabelRequest();
|
||||
~AddCustomerLabelRequest();
|
||||
std::string getLabelSeries() const;
|
||||
void setLabelSeries(const std::string &labelSeries);
|
||||
std::string getOrganization() const;
|
||||
void setOrganization(const std::string &organization);
|
||||
std::string getEndtime() const;
|
||||
void setEndtime(const std::string &endtime);
|
||||
long getPK() const;
|
||||
void setPK(long pK);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::vector<std::string> getLabelTypes() const;
|
||||
void setLabelTypes(const std::vector<std::string> &labelTypes);
|
||||
std::string getUserName() const;
|
||||
void setUserName(const std::string &userName);
|
||||
std::string getToken() const;
|
||||
void setToken(const std::string &token);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string organization_;
|
||||
std::string endtime_;
|
||||
long pK_;
|
||||
std::string startTime_;
|
||||
std::vector<std::string> labelTypes_;
|
||||
std::string userName_;
|
||||
std::string token_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AccountLabel
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELREQUEST_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_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELRESULT_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AccountLabel
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT AddCustomerLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddCustomerLabelResult();
|
||||
explicit AddCustomerLabelResult(const std::string &payload);
|
||||
~AddCustomerLabelResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_ADDCUSTOMERLABELRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELREQUEST_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELREQUEST_H_
|
||||
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AccountLabel {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT BatchFetchAccountLabelRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BatchFetchAccountLabelRequest();
|
||||
~BatchFetchAccountLabelRequest();
|
||||
std::string getOrganization() const;
|
||||
void setOrganization(const std::string &organization);
|
||||
long getPk() const;
|
||||
void setPk(long pk);
|
||||
std::string getUserName() const;
|
||||
void setUserName(const std::string &userName);
|
||||
bool getInstant() const;
|
||||
void setInstant(bool instant);
|
||||
std::string getToken() const;
|
||||
void setToken(const std::string &token);
|
||||
std::vector<std::string> getLabelSeriesList() const;
|
||||
void setLabelSeriesList(const std::vector<std::string> &labelSeriesList);
|
||||
|
||||
private:
|
||||
std::string organization_;
|
||||
long pk_;
|
||||
std::string userName_;
|
||||
bool instant_;
|
||||
std::string token_;
|
||||
std::vector<std::string> labelSeriesList_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AccountLabel
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELRESULT_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AccountLabel
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT BatchFetchAccountLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccountLabelInfoDto
|
||||
{
|
||||
std::string labelSeries;
|
||||
long endTime;
|
||||
long kp;
|
||||
long gmtModified;
|
||||
std::string label;
|
||||
long startTime;
|
||||
std::string creator;
|
||||
long gmtCreated;
|
||||
};
|
||||
|
||||
|
||||
BatchFetchAccountLabelResult();
|
||||
explicit BatchFetchAccountLabelResult(const std::string &payload);
|
||||
~BatchFetchAccountLabelResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<AccountLabelInfoDto> getData()const;
|
||||
long getCount()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<AccountLabelInfoDto> data_;
|
||||
long count_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_BATCHFETCHACCOUNTLABELRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELREQUEST_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELREQUEST_H_
|
||||
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AccountLabel {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT DeleteCustomerLabelRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteCustomerLabelRequest();
|
||||
~DeleteCustomerLabelRequest();
|
||||
std::string getLabelSeries() const;
|
||||
void setLabelSeries(const std::string &labelSeries);
|
||||
std::string getOrganization() const;
|
||||
void setOrganization(const std::string &organization);
|
||||
long getPK() const;
|
||||
void setPK(long pK);
|
||||
std::vector<std::string> getLabelTypes() const;
|
||||
void setLabelTypes(const std::vector<std::string> &labelTypes);
|
||||
std::string getUserName() const;
|
||||
void setUserName(const std::string &userName);
|
||||
std::string getToken() const;
|
||||
void setToken(const std::string &token);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string organization_;
|
||||
long pK_;
|
||||
std::vector<std::string> labelTypes_;
|
||||
std::string userName_;
|
||||
std::string token_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AccountLabel
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELREQUEST_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_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELRESULT_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AccountLabel
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT DeleteCustomerLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCustomerLabelResult();
|
||||
explicit DeleteCustomerLabelResult(const std::string &payload);
|
||||
~DeleteCustomerLabelResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_DELETECUSTOMERLABELRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AccountLabel {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT QueryCustomerLabelByConfigGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryCustomerLabelByConfigGroupRequest();
|
||||
~QueryCustomerLabelByConfigGroupRequest();
|
||||
std::string getGroupType() const;
|
||||
void setGroupType(const std::string &groupType);
|
||||
long getPK() const;
|
||||
void setPK(long pK);
|
||||
std::string getToken() const;
|
||||
void setToken(const std::string &token);
|
||||
|
||||
private:
|
||||
std::string groupType_;
|
||||
long pK_;
|
||||
std::string token_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AccountLabel
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPREQUEST_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_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AccountLabel
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT QueryCustomerLabelByConfigGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomerLabel
|
||||
{
|
||||
std::string labelSeries;
|
||||
std::string label;
|
||||
};
|
||||
|
||||
|
||||
QueryCustomerLabelByConfigGroupResult();
|
||||
explicit QueryCustomerLabelByConfigGroupResult(const std::string &payload);
|
||||
~QueryCustomerLabelByConfigGroupResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<CustomerLabel> getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<CustomerLabel> data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELBYCONFIGGROUPRESULT_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_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELREQUEST_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELREQUEST_H_
|
||||
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AccountLabel {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT QueryCustomerLabelRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryCustomerLabelRequest();
|
||||
~QueryCustomerLabelRequest();
|
||||
std::string getLabelSeries() const;
|
||||
void setLabelSeries(const std::string &labelSeries);
|
||||
long getPK() const;
|
||||
void setPK(long pK);
|
||||
std::string getToken() const;
|
||||
void setToken(const std::string &token);
|
||||
bool getInstant() const;
|
||||
void setInstant(bool instant);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
long pK_;
|
||||
std::string token_;
|
||||
bool instant_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AccountLabel
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELREQUEST_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_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELRESULT_H_
|
||||
#define ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/accountlabel/AccountLabelExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AccountLabel
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ACCOUNTLABEL_EXPORT QueryCustomerLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomerLabel
|
||||
{
|
||||
std::string labelSeries;
|
||||
std::string label;
|
||||
};
|
||||
|
||||
|
||||
QueryCustomerLabelResult();
|
||||
explicit QueryCustomerLabelResult(const std::string &payload);
|
||||
~QueryCustomerLabelResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<CustomerLabel> getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<CustomerLabel> data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ACCOUNTLABEL_MODEL_QUERYCUSTOMERLABELRESULT_H_
|
||||
233
accountlabel/src/AccountLabelClient.cc
Normal file
233
accountlabel/src/AccountLabelClient.cc
Normal file
@@ -0,0 +1,233 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/accountlabel/AccountLabelClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::AccountLabel;
|
||||
using namespace AlibabaCloud::AccountLabel::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "AccountLabel";
|
||||
}
|
||||
|
||||
AccountLabelClient::AccountLabelClient(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, "");
|
||||
}
|
||||
|
||||
AccountLabelClient::AccountLabelClient(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, "");
|
||||
}
|
||||
|
||||
AccountLabelClient::AccountLabelClient(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, "");
|
||||
}
|
||||
|
||||
AccountLabelClient::~AccountLabelClient()
|
||||
{}
|
||||
|
||||
AccountLabelClient::AddCustomerLabelOutcome AccountLabelClient::addCustomerLabel(const AddCustomerLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddCustomerLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddCustomerLabelOutcome(AddCustomerLabelResult(outcome.result()));
|
||||
else
|
||||
return AddCustomerLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AccountLabelClient::addCustomerLabelAsync(const AddCustomerLabelRequest& request, const AddCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addCustomerLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AccountLabelClient::AddCustomerLabelOutcomeCallable AccountLabelClient::addCustomerLabelCallable(const AddCustomerLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddCustomerLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addCustomerLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AccountLabelClient::BatchFetchAccountLabelOutcome AccountLabelClient::batchFetchAccountLabel(const BatchFetchAccountLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchFetchAccountLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchFetchAccountLabelOutcome(BatchFetchAccountLabelResult(outcome.result()));
|
||||
else
|
||||
return BatchFetchAccountLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AccountLabelClient::batchFetchAccountLabelAsync(const BatchFetchAccountLabelRequest& request, const BatchFetchAccountLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchFetchAccountLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AccountLabelClient::BatchFetchAccountLabelOutcomeCallable AccountLabelClient::batchFetchAccountLabelCallable(const BatchFetchAccountLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchFetchAccountLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchFetchAccountLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AccountLabelClient::DeleteCustomerLabelOutcome AccountLabelClient::deleteCustomerLabel(const DeleteCustomerLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCustomerLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCustomerLabelOutcome(DeleteCustomerLabelResult(outcome.result()));
|
||||
else
|
||||
return DeleteCustomerLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AccountLabelClient::deleteCustomerLabelAsync(const DeleteCustomerLabelRequest& request, const DeleteCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCustomerLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AccountLabelClient::DeleteCustomerLabelOutcomeCallable AccountLabelClient::deleteCustomerLabelCallable(const DeleteCustomerLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCustomerLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCustomerLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AccountLabelClient::QueryCustomerLabelOutcome AccountLabelClient::queryCustomerLabel(const QueryCustomerLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryCustomerLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryCustomerLabelOutcome(QueryCustomerLabelResult(outcome.result()));
|
||||
else
|
||||
return QueryCustomerLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AccountLabelClient::queryCustomerLabelAsync(const QueryCustomerLabelRequest& request, const QueryCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryCustomerLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AccountLabelClient::QueryCustomerLabelOutcomeCallable AccountLabelClient::queryCustomerLabelCallable(const QueryCustomerLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryCustomerLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryCustomerLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AccountLabelClient::QueryCustomerLabelByConfigGroupOutcome AccountLabelClient::queryCustomerLabelByConfigGroup(const QueryCustomerLabelByConfigGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryCustomerLabelByConfigGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryCustomerLabelByConfigGroupOutcome(QueryCustomerLabelByConfigGroupResult(outcome.result()));
|
||||
else
|
||||
return QueryCustomerLabelByConfigGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AccountLabelClient::queryCustomerLabelByConfigGroupAsync(const QueryCustomerLabelByConfigGroupRequest& request, const QueryCustomerLabelByConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryCustomerLabelByConfigGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AccountLabelClient::QueryCustomerLabelByConfigGroupOutcomeCallable AccountLabelClient::queryCustomerLabelByConfigGroupCallable(const QueryCustomerLabelByConfigGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryCustomerLabelByConfigGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryCustomerLabelByConfigGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
98
accountlabel/src/model/AddCustomerLabelRequest.cc
Normal file
98
accountlabel/src/model/AddCustomerLabelRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/accountlabel/model/AddCustomerLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::AccountLabel::Model::AddCustomerLabelRequest;
|
||||
|
||||
AddCustomerLabelRequest::AddCustomerLabelRequest()
|
||||
: RpcServiceRequest("accountlabel", "2020-03-15", "AddCustomerLabel") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCustomerLabelRequest::~AddCustomerLabelRequest() {}
|
||||
|
||||
std::string AddCustomerLabelRequest::getLabelSeries() const {
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setLabelSeries(const std::string &labelSeries) {
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter(std::string("LabelSeries"), labelSeries);
|
||||
}
|
||||
|
||||
std::string AddCustomerLabelRequest::getOrganization() const {
|
||||
return organization_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setOrganization(const std::string &organization) {
|
||||
organization_ = organization;
|
||||
setParameter(std::string("Organization"), organization);
|
||||
}
|
||||
|
||||
std::string AddCustomerLabelRequest::getEndtime() const {
|
||||
return endtime_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setEndtime(const std::string &endtime) {
|
||||
endtime_ = endtime;
|
||||
setParameter(std::string("Endtime"), endtime);
|
||||
}
|
||||
|
||||
long AddCustomerLabelRequest::getPK() const {
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setPK(long pK) {
|
||||
pK_ = pK;
|
||||
setParameter(std::string("PK"), std::to_string(pK));
|
||||
}
|
||||
|
||||
std::string AddCustomerLabelRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
std::vector<std::string> AddCustomerLabelRequest::getLabelTypes() const {
|
||||
return labelTypes_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setLabelTypes(const std::vector<std::string> &labelTypes) {
|
||||
labelTypes_ = labelTypes;
|
||||
}
|
||||
|
||||
std::string AddCustomerLabelRequest::getUserName() const {
|
||||
return userName_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setUserName(const std::string &userName) {
|
||||
userName_ = userName;
|
||||
setParameter(std::string("UserName"), userName);
|
||||
}
|
||||
|
||||
std::string AddCustomerLabelRequest::getToken() const {
|
||||
return token_;
|
||||
}
|
||||
|
||||
void AddCustomerLabelRequest::setToken(const std::string &token) {
|
||||
token_ = token;
|
||||
setParameter(std::string("Token"), token);
|
||||
}
|
||||
|
||||
65
accountlabel/src/model/AddCustomerLabelResult.cc
Normal file
65
accountlabel/src/model/AddCustomerLabelResult.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/accountlabel/model/AddCustomerLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AccountLabel;
|
||||
using namespace AlibabaCloud::AccountLabel::Model;
|
||||
|
||||
AddCustomerLabelResult::AddCustomerLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCustomerLabelResult::AddCustomerLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCustomerLabelResult::~AddCustomerLabelResult()
|
||||
{}
|
||||
|
||||
void AddCustomerLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string AddCustomerLabelResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddCustomerLabelResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddCustomerLabelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
83
accountlabel/src/model/BatchFetchAccountLabelRequest.cc
Normal file
83
accountlabel/src/model/BatchFetchAccountLabelRequest.cc
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/accountlabel/model/BatchFetchAccountLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::AccountLabel::Model::BatchFetchAccountLabelRequest;
|
||||
|
||||
BatchFetchAccountLabelRequest::BatchFetchAccountLabelRequest()
|
||||
: RpcServiceRequest("accountlabel", "2020-03-15", "BatchFetchAccountLabel") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchFetchAccountLabelRequest::~BatchFetchAccountLabelRequest() {}
|
||||
|
||||
std::string BatchFetchAccountLabelRequest::getOrganization() const {
|
||||
return organization_;
|
||||
}
|
||||
|
||||
void BatchFetchAccountLabelRequest::setOrganization(const std::string &organization) {
|
||||
organization_ = organization;
|
||||
setParameter(std::string("Organization"), organization);
|
||||
}
|
||||
|
||||
long BatchFetchAccountLabelRequest::getPk() const {
|
||||
return pk_;
|
||||
}
|
||||
|
||||
void BatchFetchAccountLabelRequest::setPk(long pk) {
|
||||
pk_ = pk;
|
||||
setParameter(std::string("Pk"), std::to_string(pk));
|
||||
}
|
||||
|
||||
std::string BatchFetchAccountLabelRequest::getUserName() const {
|
||||
return userName_;
|
||||
}
|
||||
|
||||
void BatchFetchAccountLabelRequest::setUserName(const std::string &userName) {
|
||||
userName_ = userName;
|
||||
setParameter(std::string("UserName"), userName);
|
||||
}
|
||||
|
||||
bool BatchFetchAccountLabelRequest::getInstant() const {
|
||||
return instant_;
|
||||
}
|
||||
|
||||
void BatchFetchAccountLabelRequest::setInstant(bool instant) {
|
||||
instant_ = instant;
|
||||
setParameter(std::string("Instant"), instant ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BatchFetchAccountLabelRequest::getToken() const {
|
||||
return token_;
|
||||
}
|
||||
|
||||
void BatchFetchAccountLabelRequest::setToken(const std::string &token) {
|
||||
token_ = token;
|
||||
setParameter(std::string("Token"), token);
|
||||
}
|
||||
|
||||
std::vector<BatchFetchAccountLabelRequest::std::string> BatchFetchAccountLabelRequest::getLabelSeriesList() const {
|
||||
return labelSeriesList_;
|
||||
}
|
||||
|
||||
void BatchFetchAccountLabelRequest::setLabelSeriesList(const std::vector<BatchFetchAccountLabelRequest::std::string> &labelSeriesList) {
|
||||
labelSeriesList_ = labelSeriesList;
|
||||
for(int dep1 = 0; dep1 != labelSeriesList.size(); dep1++) {
|
||||
setParameter(std::string("LabelSeriesList") + "." + std::to_string(dep1 + 1), labelSeriesList[dep1]);
|
||||
}
|
||||
}
|
||||
|
||||
99
accountlabel/src/model/BatchFetchAccountLabelResult.cc
Normal file
99
accountlabel/src/model/BatchFetchAccountLabelResult.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/accountlabel/model/BatchFetchAccountLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AccountLabel;
|
||||
using namespace AlibabaCloud::AccountLabel::Model;
|
||||
|
||||
BatchFetchAccountLabelResult::BatchFetchAccountLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchFetchAccountLabelResult::BatchFetchAccountLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchFetchAccountLabelResult::~BatchFetchAccountLabelResult()
|
||||
{}
|
||||
|
||||
void BatchFetchAccountLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["AccountLabelInfoDto"];
|
||||
for (auto valueDataAccountLabelInfoDto : allDataNode)
|
||||
{
|
||||
AccountLabelInfoDto dataObject;
|
||||
if(!valueDataAccountLabelInfoDto["Creator"].isNull())
|
||||
dataObject.creator = valueDataAccountLabelInfoDto["Creator"].asString();
|
||||
if(!valueDataAccountLabelInfoDto["EndTime"].isNull())
|
||||
dataObject.endTime = std::stol(valueDataAccountLabelInfoDto["EndTime"].asString());
|
||||
if(!valueDataAccountLabelInfoDto["GmtCreated"].isNull())
|
||||
dataObject.gmtCreated = std::stol(valueDataAccountLabelInfoDto["GmtCreated"].asString());
|
||||
if(!valueDataAccountLabelInfoDto["GmtModified"].isNull())
|
||||
dataObject.gmtModified = std::stol(valueDataAccountLabelInfoDto["GmtModified"].asString());
|
||||
if(!valueDataAccountLabelInfoDto["Kp"].isNull())
|
||||
dataObject.kp = std::stol(valueDataAccountLabelInfoDto["Kp"].asString());
|
||||
if(!valueDataAccountLabelInfoDto["Label"].isNull())
|
||||
dataObject.label = valueDataAccountLabelInfoDto["Label"].asString();
|
||||
if(!valueDataAccountLabelInfoDto["LabelSeries"].isNull())
|
||||
dataObject.labelSeries = valueDataAccountLabelInfoDto["LabelSeries"].asString();
|
||||
if(!valueDataAccountLabelInfoDto["StartTime"].isNull())
|
||||
dataObject.startTime = std::stol(valueDataAccountLabelInfoDto["StartTime"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Count"].isNull())
|
||||
count_ = std::stol(value["Count"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchFetchAccountLabelResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<BatchFetchAccountLabelResult::AccountLabelInfoDto> BatchFetchAccountLabelResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
long BatchFetchAccountLabelResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
std::string BatchFetchAccountLabelResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool BatchFetchAccountLabelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
80
accountlabel/src/model/DeleteCustomerLabelRequest.cc
Normal file
80
accountlabel/src/model/DeleteCustomerLabelRequest.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/accountlabel/model/DeleteCustomerLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::AccountLabel::Model::DeleteCustomerLabelRequest;
|
||||
|
||||
DeleteCustomerLabelRequest::DeleteCustomerLabelRequest()
|
||||
: RpcServiceRequest("accountlabel", "2020-03-15", "DeleteCustomerLabel") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCustomerLabelRequest::~DeleteCustomerLabelRequest() {}
|
||||
|
||||
std::string DeleteCustomerLabelRequest::getLabelSeries() const {
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void DeleteCustomerLabelRequest::setLabelSeries(const std::string &labelSeries) {
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter(std::string("LabelSeries"), labelSeries);
|
||||
}
|
||||
|
||||
std::string DeleteCustomerLabelRequest::getOrganization() const {
|
||||
return organization_;
|
||||
}
|
||||
|
||||
void DeleteCustomerLabelRequest::setOrganization(const std::string &organization) {
|
||||
organization_ = organization;
|
||||
setParameter(std::string("Organization"), organization);
|
||||
}
|
||||
|
||||
long DeleteCustomerLabelRequest::getPK() const {
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void DeleteCustomerLabelRequest::setPK(long pK) {
|
||||
pK_ = pK;
|
||||
setParameter(std::string("PK"), std::to_string(pK));
|
||||
}
|
||||
|
||||
std::vector<std::string> DeleteCustomerLabelRequest::getLabelTypes() const {
|
||||
return labelTypes_;
|
||||
}
|
||||
|
||||
void DeleteCustomerLabelRequest::setLabelTypes(const std::vector<std::string> &labelTypes) {
|
||||
labelTypes_ = labelTypes;
|
||||
}
|
||||
|
||||
std::string DeleteCustomerLabelRequest::getUserName() const {
|
||||
return userName_;
|
||||
}
|
||||
|
||||
void DeleteCustomerLabelRequest::setUserName(const std::string &userName) {
|
||||
userName_ = userName;
|
||||
setParameter(std::string("UserName"), userName);
|
||||
}
|
||||
|
||||
std::string DeleteCustomerLabelRequest::getToken() const {
|
||||
return token_;
|
||||
}
|
||||
|
||||
void DeleteCustomerLabelRequest::setToken(const std::string &token) {
|
||||
token_ = token;
|
||||
setParameter(std::string("Token"), token);
|
||||
}
|
||||
|
||||
65
accountlabel/src/model/DeleteCustomerLabelResult.cc
Normal file
65
accountlabel/src/model/DeleteCustomerLabelResult.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/accountlabel/model/DeleteCustomerLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AccountLabel;
|
||||
using namespace AlibabaCloud::AccountLabel::Model;
|
||||
|
||||
DeleteCustomerLabelResult::DeleteCustomerLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCustomerLabelResult::DeleteCustomerLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCustomerLabelResult::~DeleteCustomerLabelResult()
|
||||
{}
|
||||
|
||||
void DeleteCustomerLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteCustomerLabelResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeleteCustomerLabelResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DeleteCustomerLabelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/accountlabel/model/QueryCustomerLabelByConfigGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::AccountLabel::Model::QueryCustomerLabelByConfigGroupRequest;
|
||||
|
||||
QueryCustomerLabelByConfigGroupRequest::QueryCustomerLabelByConfigGroupRequest()
|
||||
: RpcServiceRequest("accountlabel", "2020-03-15", "QueryCustomerLabelByConfigGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryCustomerLabelByConfigGroupRequest::~QueryCustomerLabelByConfigGroupRequest() {}
|
||||
|
||||
std::string QueryCustomerLabelByConfigGroupRequest::getGroupType() const {
|
||||
return groupType_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelByConfigGroupRequest::setGroupType(const std::string &groupType) {
|
||||
groupType_ = groupType;
|
||||
setParameter(std::string("GroupType"), groupType);
|
||||
}
|
||||
|
||||
long QueryCustomerLabelByConfigGroupRequest::getPK() const {
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelByConfigGroupRequest::setPK(long pK) {
|
||||
pK_ = pK;
|
||||
setParameter(std::string("PK"), std::to_string(pK));
|
||||
}
|
||||
|
||||
std::string QueryCustomerLabelByConfigGroupRequest::getToken() const {
|
||||
return token_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelByConfigGroupRequest::setToken(const std::string &token) {
|
||||
token_ = token;
|
||||
setParameter(std::string("Token"), token);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/accountlabel/model/QueryCustomerLabelByConfigGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AccountLabel;
|
||||
using namespace AlibabaCloud::AccountLabel::Model;
|
||||
|
||||
QueryCustomerLabelByConfigGroupResult::QueryCustomerLabelByConfigGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryCustomerLabelByConfigGroupResult::QueryCustomerLabelByConfigGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryCustomerLabelByConfigGroupResult::~QueryCustomerLabelByConfigGroupResult()
|
||||
{}
|
||||
|
||||
void QueryCustomerLabelByConfigGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["CustomerLabel"];
|
||||
for (auto valueDataCustomerLabel : allDataNode)
|
||||
{
|
||||
CustomerLabel dataObject;
|
||||
if(!valueDataCustomerLabel["Label"].isNull())
|
||||
dataObject.label = valueDataCustomerLabel["Label"].asString();
|
||||
if(!valueDataCustomerLabel["LabelSeries"].isNull())
|
||||
dataObject.labelSeries = valueDataCustomerLabel["LabelSeries"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string QueryCustomerLabelByConfigGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<QueryCustomerLabelByConfigGroupResult::CustomerLabel> QueryCustomerLabelByConfigGroupResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryCustomerLabelByConfigGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryCustomerLabelByConfigGroupResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
63
accountlabel/src/model/QueryCustomerLabelRequest.cc
Normal file
63
accountlabel/src/model/QueryCustomerLabelRequest.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/accountlabel/model/QueryCustomerLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::AccountLabel::Model::QueryCustomerLabelRequest;
|
||||
|
||||
QueryCustomerLabelRequest::QueryCustomerLabelRequest()
|
||||
: RpcServiceRequest("accountlabel", "2020-03-15", "QueryCustomerLabel") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryCustomerLabelRequest::~QueryCustomerLabelRequest() {}
|
||||
|
||||
std::string QueryCustomerLabelRequest::getLabelSeries() const {
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelRequest::setLabelSeries(const std::string &labelSeries) {
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter(std::string("LabelSeries"), labelSeries);
|
||||
}
|
||||
|
||||
long QueryCustomerLabelRequest::getPK() const {
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelRequest::setPK(long pK) {
|
||||
pK_ = pK;
|
||||
setParameter(std::string("PK"), std::to_string(pK));
|
||||
}
|
||||
|
||||
std::string QueryCustomerLabelRequest::getToken() const {
|
||||
return token_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelRequest::setToken(const std::string &token) {
|
||||
token_ = token;
|
||||
setParameter(std::string("Token"), token);
|
||||
}
|
||||
|
||||
bool QueryCustomerLabelRequest::getInstant() const {
|
||||
return instant_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelRequest::setInstant(bool instant) {
|
||||
instant_ = instant;
|
||||
setParameter(std::string("Instant"), instant ? "true" : "false");
|
||||
}
|
||||
|
||||
80
accountlabel/src/model/QueryCustomerLabelResult.cc
Normal file
80
accountlabel/src/model/QueryCustomerLabelResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/accountlabel/model/QueryCustomerLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AccountLabel;
|
||||
using namespace AlibabaCloud::AccountLabel::Model;
|
||||
|
||||
QueryCustomerLabelResult::QueryCustomerLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryCustomerLabelResult::QueryCustomerLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryCustomerLabelResult::~QueryCustomerLabelResult()
|
||||
{}
|
||||
|
||||
void QueryCustomerLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["CustomerLabel"];
|
||||
for (auto valueDataCustomerLabel : allDataNode)
|
||||
{
|
||||
CustomerLabel dataObject;
|
||||
if(!valueDataCustomerLabel["Label"].isNull())
|
||||
dataObject.label = valueDataCustomerLabel["Label"].asString();
|
||||
if(!valueDataCustomerLabel["LabelSeries"].isNull())
|
||||
dataObject.labelSeries = valueDataCustomerLabel["LabelSeries"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string QueryCustomerLabelResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<QueryCustomerLabelResult::CustomerLabel> QueryCustomerLabelResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryCustomerLabelResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryCustomerLabelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
110
aicontent/CMakeLists.txt
Normal file
110
aicontent/CMakeLists.txt
Normal file
@@ -0,0 +1,110 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(aicontent_public_header
|
||||
include/alibabacloud/aicontent/AiContentClient.h
|
||||
include/alibabacloud/aicontent/AiContentExport.h )
|
||||
|
||||
set(aicontent_public_header_model
|
||||
include/alibabacloud/aicontent/model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest.h
|
||||
include/alibabacloud/aicontent/model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgAddInferenceJobRequest.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgAddInferenceJobResult.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgAddModelTrainJobRequest.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgAddModelTrainJobResult.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryImageAssetRequest.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryImageAssetResult.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryInferenceJobInfoRequest.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryInferenceJobInfoResult.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryModelTrainJobListRequest.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryModelTrainJobListResult.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryModelTrainStatusRequest.h
|
||||
include/alibabacloud/aicontent/model/Personalizedtxt2imgQueryModelTrainStatusResult.h )
|
||||
|
||||
set(aicontent_src
|
||||
src/AiContentClient.cc
|
||||
src/model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest.cc
|
||||
src/model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult.cc
|
||||
src/model/Personalizedtxt2imgAddInferenceJobRequest.cc
|
||||
src/model/Personalizedtxt2imgAddInferenceJobResult.cc
|
||||
src/model/Personalizedtxt2imgAddModelTrainJobRequest.cc
|
||||
src/model/Personalizedtxt2imgAddModelTrainJobResult.cc
|
||||
src/model/Personalizedtxt2imgQueryImageAssetRequest.cc
|
||||
src/model/Personalizedtxt2imgQueryImageAssetResult.cc
|
||||
src/model/Personalizedtxt2imgQueryInferenceJobInfoRequest.cc
|
||||
src/model/Personalizedtxt2imgQueryInferenceJobInfoResult.cc
|
||||
src/model/Personalizedtxt2imgQueryModelTrainJobListRequest.cc
|
||||
src/model/Personalizedtxt2imgQueryModelTrainJobListResult.cc
|
||||
src/model/Personalizedtxt2imgQueryModelTrainStatusRequest.cc
|
||||
src/model/Personalizedtxt2imgQueryModelTrainStatusResult.cc )
|
||||
|
||||
add_library(aicontent ${LIB_TYPE}
|
||||
${aicontent_public_header}
|
||||
${aicontent_public_header_model}
|
||||
${aicontent_src})
|
||||
|
||||
set_target_properties(aicontent
|
||||
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}aicontent
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(aicontent
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_AICONTENT_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(aicontent
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(aicontent
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(aicontent
|
||||
jsoncpp)
|
||||
target_include_directories(aicontent
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(aicontent
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(aicontent
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(aicontent
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(aicontent
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${aicontent_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/aicontent)
|
||||
install(FILES ${aicontent_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/aicontent/model)
|
||||
install(TARGETS aicontent
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
102
aicontent/include/alibabacloud/aicontent/AiContentClient.h
Normal file
102
aicontent/include/alibabacloud/aicontent/AiContentClient.h
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_AICONTENTCLIENT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_AICONTENTCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RoaServiceClient.h>
|
||||
#include "AiContentExport.h"
|
||||
#include "model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest.h"
|
||||
#include "model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult.h"
|
||||
#include "model/Personalizedtxt2imgAddInferenceJobRequest.h"
|
||||
#include "model/Personalizedtxt2imgAddInferenceJobResult.h"
|
||||
#include "model/Personalizedtxt2imgAddModelTrainJobRequest.h"
|
||||
#include "model/Personalizedtxt2imgAddModelTrainJobResult.h"
|
||||
#include "model/Personalizedtxt2imgQueryImageAssetRequest.h"
|
||||
#include "model/Personalizedtxt2imgQueryImageAssetResult.h"
|
||||
#include "model/Personalizedtxt2imgQueryInferenceJobInfoRequest.h"
|
||||
#include "model/Personalizedtxt2imgQueryInferenceJobInfoResult.h"
|
||||
#include "model/Personalizedtxt2imgQueryModelTrainJobListRequest.h"
|
||||
#include "model/Personalizedtxt2imgQueryModelTrainJobListResult.h"
|
||||
#include "model/Personalizedtxt2imgQueryModelTrainStatusRequest.h"
|
||||
#include "model/Personalizedtxt2imgQueryModelTrainStatusResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT AiContentClient : public RoaServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult> AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome;
|
||||
typedef std::future<AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome> AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcomeCallable;
|
||||
typedef std::function<void(const AiContentClient*, const Model::AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest&, const AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AliyunConsoleOpenApiQueryAliyunConsoleServcieListAsyncHandler;
|
||||
typedef Outcome<Error, Model::Personalizedtxt2imgAddInferenceJobResult> Personalizedtxt2imgAddInferenceJobOutcome;
|
||||
typedef std::future<Personalizedtxt2imgAddInferenceJobOutcome> Personalizedtxt2imgAddInferenceJobOutcomeCallable;
|
||||
typedef std::function<void(const AiContentClient*, const Model::Personalizedtxt2imgAddInferenceJobRequest&, const Personalizedtxt2imgAddInferenceJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Personalizedtxt2imgAddInferenceJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::Personalizedtxt2imgAddModelTrainJobResult> Personalizedtxt2imgAddModelTrainJobOutcome;
|
||||
typedef std::future<Personalizedtxt2imgAddModelTrainJobOutcome> Personalizedtxt2imgAddModelTrainJobOutcomeCallable;
|
||||
typedef std::function<void(const AiContentClient*, const Model::Personalizedtxt2imgAddModelTrainJobRequest&, const Personalizedtxt2imgAddModelTrainJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Personalizedtxt2imgAddModelTrainJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::Personalizedtxt2imgQueryImageAssetResult> Personalizedtxt2imgQueryImageAssetOutcome;
|
||||
typedef std::future<Personalizedtxt2imgQueryImageAssetOutcome> Personalizedtxt2imgQueryImageAssetOutcomeCallable;
|
||||
typedef std::function<void(const AiContentClient*, const Model::Personalizedtxt2imgQueryImageAssetRequest&, const Personalizedtxt2imgQueryImageAssetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Personalizedtxt2imgQueryImageAssetAsyncHandler;
|
||||
typedef Outcome<Error, Model::Personalizedtxt2imgQueryInferenceJobInfoResult> Personalizedtxt2imgQueryInferenceJobInfoOutcome;
|
||||
typedef std::future<Personalizedtxt2imgQueryInferenceJobInfoOutcome> Personalizedtxt2imgQueryInferenceJobInfoOutcomeCallable;
|
||||
typedef std::function<void(const AiContentClient*, const Model::Personalizedtxt2imgQueryInferenceJobInfoRequest&, const Personalizedtxt2imgQueryInferenceJobInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Personalizedtxt2imgQueryInferenceJobInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::Personalizedtxt2imgQueryModelTrainJobListResult> Personalizedtxt2imgQueryModelTrainJobListOutcome;
|
||||
typedef std::future<Personalizedtxt2imgQueryModelTrainJobListOutcome> Personalizedtxt2imgQueryModelTrainJobListOutcomeCallable;
|
||||
typedef std::function<void(const AiContentClient*, const Model::Personalizedtxt2imgQueryModelTrainJobListRequest&, const Personalizedtxt2imgQueryModelTrainJobListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Personalizedtxt2imgQueryModelTrainJobListAsyncHandler;
|
||||
typedef Outcome<Error, Model::Personalizedtxt2imgQueryModelTrainStatusResult> Personalizedtxt2imgQueryModelTrainStatusOutcome;
|
||||
typedef std::future<Personalizedtxt2imgQueryModelTrainStatusOutcome> Personalizedtxt2imgQueryModelTrainStatusOutcomeCallable;
|
||||
typedef std::function<void(const AiContentClient*, const Model::Personalizedtxt2imgQueryModelTrainStatusRequest&, const Personalizedtxt2imgQueryModelTrainStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> Personalizedtxt2imgQueryModelTrainStatusAsyncHandler;
|
||||
|
||||
AiContentClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AiContentClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AiContentClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AiContentClient();
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome aliyunConsoleOpenApiQueryAliyunConsoleServcieList(const Model::AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest &request)const;
|
||||
void aliyunConsoleOpenApiQueryAliyunConsoleServcieListAsync(const Model::AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest& request, const AliyunConsoleOpenApiQueryAliyunConsoleServcieListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcomeCallable aliyunConsoleOpenApiQueryAliyunConsoleServcieListCallable(const Model::AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest& request) const;
|
||||
Personalizedtxt2imgAddInferenceJobOutcome personalizedtxt2imgAddInferenceJob(const Model::Personalizedtxt2imgAddInferenceJobRequest &request)const;
|
||||
void personalizedtxt2imgAddInferenceJobAsync(const Model::Personalizedtxt2imgAddInferenceJobRequest& request, const Personalizedtxt2imgAddInferenceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
Personalizedtxt2imgAddInferenceJobOutcomeCallable personalizedtxt2imgAddInferenceJobCallable(const Model::Personalizedtxt2imgAddInferenceJobRequest& request) const;
|
||||
Personalizedtxt2imgAddModelTrainJobOutcome personalizedtxt2imgAddModelTrainJob(const Model::Personalizedtxt2imgAddModelTrainJobRequest &request)const;
|
||||
void personalizedtxt2imgAddModelTrainJobAsync(const Model::Personalizedtxt2imgAddModelTrainJobRequest& request, const Personalizedtxt2imgAddModelTrainJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
Personalizedtxt2imgAddModelTrainJobOutcomeCallable personalizedtxt2imgAddModelTrainJobCallable(const Model::Personalizedtxt2imgAddModelTrainJobRequest& request) const;
|
||||
Personalizedtxt2imgQueryImageAssetOutcome personalizedtxt2imgQueryImageAsset(const Model::Personalizedtxt2imgQueryImageAssetRequest &request)const;
|
||||
void personalizedtxt2imgQueryImageAssetAsync(const Model::Personalizedtxt2imgQueryImageAssetRequest& request, const Personalizedtxt2imgQueryImageAssetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
Personalizedtxt2imgQueryImageAssetOutcomeCallable personalizedtxt2imgQueryImageAssetCallable(const Model::Personalizedtxt2imgQueryImageAssetRequest& request) const;
|
||||
Personalizedtxt2imgQueryInferenceJobInfoOutcome personalizedtxt2imgQueryInferenceJobInfo(const Model::Personalizedtxt2imgQueryInferenceJobInfoRequest &request)const;
|
||||
void personalizedtxt2imgQueryInferenceJobInfoAsync(const Model::Personalizedtxt2imgQueryInferenceJobInfoRequest& request, const Personalizedtxt2imgQueryInferenceJobInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
Personalizedtxt2imgQueryInferenceJobInfoOutcomeCallable personalizedtxt2imgQueryInferenceJobInfoCallable(const Model::Personalizedtxt2imgQueryInferenceJobInfoRequest& request) const;
|
||||
Personalizedtxt2imgQueryModelTrainJobListOutcome personalizedtxt2imgQueryModelTrainJobList(const Model::Personalizedtxt2imgQueryModelTrainJobListRequest &request)const;
|
||||
void personalizedtxt2imgQueryModelTrainJobListAsync(const Model::Personalizedtxt2imgQueryModelTrainJobListRequest& request, const Personalizedtxt2imgQueryModelTrainJobListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
Personalizedtxt2imgQueryModelTrainJobListOutcomeCallable personalizedtxt2imgQueryModelTrainJobListCallable(const Model::Personalizedtxt2imgQueryModelTrainJobListRequest& request) const;
|
||||
Personalizedtxt2imgQueryModelTrainStatusOutcome personalizedtxt2imgQueryModelTrainStatus(const Model::Personalizedtxt2imgQueryModelTrainStatusRequest &request)const;
|
||||
void personalizedtxt2imgQueryModelTrainStatusAsync(const Model::Personalizedtxt2imgQueryModelTrainStatusRequest& request, const Personalizedtxt2imgQueryModelTrainStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
Personalizedtxt2imgQueryModelTrainStatusOutcomeCallable personalizedtxt2imgQueryModelTrainStatusCallable(const Model::Personalizedtxt2imgQueryModelTrainStatusRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_AICONTENT_AICONTENTCLIENT_H_
|
||||
32
aicontent/include/alibabacloud/aicontent/AiContentExport.h
Normal file
32
aicontent/include/alibabacloud/aicontent/AiContentExport.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_AICONTENT_AICONTENTEXPORT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_AICONTENTEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_AICONTENT_LIBRARY)
|
||||
# define ALIBABACLOUD_AICONTENT_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_AICONTENT_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_AICONTENT_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_AICONTENT_AICONTENTEXPORT_H_
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_ALIYUNCONSOLEOPENAPIQUERYALIYUNCONSOLESERVCIELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_ALIYUNCONSOLEOPENAPIQUERYALIYUNCONSOLESERVCIELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AiContent {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest : public RoaServiceRequest {
|
||||
public:
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest();
|
||||
~AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AiContent
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_ALIYUNCONSOLEOPENAPIQUERYALIYUNCONSOLESERVCIELISTREQUEST_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_AICONTENT_MODEL_ALIYUNCONSOLEOPENAPIQUERYALIYUNCONSOLESERVCIELISTRESULT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_ALIYUNCONSOLEOPENAPIQUERYALIYUNCONSOLESERVCIELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
std::string serviceCode;
|
||||
std::string serviceName;
|
||||
int freeConcurrencyCount;
|
||||
int freeCount;
|
||||
};
|
||||
|
||||
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult();
|
||||
explicit AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult(const std::string &payload);
|
||||
~AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult();
|
||||
std::vector<DataItem> getdata()const;
|
||||
std::string getRequestId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataItem> data_;
|
||||
std::string requestId_;
|
||||
int httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_ALIYUNCONSOLEOPENAPIQUERYALIYUNCONSOLESERVCIELISTRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDINFERENCEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDINFERENCEJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AiContent {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgAddInferenceJobRequest : public RoaServiceRequest {
|
||||
public:
|
||||
Personalizedtxt2imgAddInferenceJobRequest();
|
||||
~Personalizedtxt2imgAddInferenceJobRequest();
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AiContent
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDINFERENCEJOBREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDINFERENCEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDINFERENCEJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgAddInferenceJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string jobStatus;
|
||||
double jobTrainProgress;
|
||||
std::string createTime;
|
||||
std::string id;
|
||||
std::vector<std::string> resultImageUrl;
|
||||
std::string promptId;
|
||||
std::string modelId;
|
||||
};
|
||||
|
||||
|
||||
Personalizedtxt2imgAddInferenceJobResult();
|
||||
explicit Personalizedtxt2imgAddInferenceJobResult(const std::string &payload);
|
||||
~Personalizedtxt2imgAddInferenceJobResult();
|
||||
std::string getRequestId()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDINFERENCEJOBRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDMODELTRAINJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDMODELTRAINJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AiContent {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgAddModelTrainJobRequest : public RoaServiceRequest {
|
||||
public:
|
||||
Personalizedtxt2imgAddModelTrainJobRequest();
|
||||
~Personalizedtxt2imgAddModelTrainJobRequest();
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AiContent
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDMODELTRAINJOBREQUEST_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_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDMODELTRAINJOBRESULT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDMODELTRAINJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgAddModelTrainJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct InferenceJobListItem
|
||||
{
|
||||
std::string jobStatus;
|
||||
double jobTrainProgress;
|
||||
std::string createTime;
|
||||
std::string id;
|
||||
std::vector<std::string> resultImageUrl;
|
||||
std::string promptId;
|
||||
std::string modelId;
|
||||
};
|
||||
std::string jobStatus;
|
||||
std::string objectType;
|
||||
double jobTrainProgress;
|
||||
std::string createTime;
|
||||
std::vector<std::string> imageUrl;
|
||||
std::string id;
|
||||
int inferenceImageCount;
|
||||
std::vector<InferenceJobListItem> inferenceJobList;
|
||||
std::string modelId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
Personalizedtxt2imgAddModelTrainJobResult();
|
||||
explicit Personalizedtxt2imgAddModelTrainJobResult(const std::string &payload);
|
||||
~Personalizedtxt2imgAddModelTrainJobResult();
|
||||
std::string getRequestId()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGADDMODELTRAINJOBRESULT_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_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYIMAGEASSETREQUEST_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYIMAGEASSETREQUEST_H_
|
||||
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AiContent {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryImageAssetRequest : public RoaServiceRequest {
|
||||
public:
|
||||
Personalizedtxt2imgQueryImageAssetRequest();
|
||||
~Personalizedtxt2imgQueryImageAssetRequest();
|
||||
std::string getImageId() const;
|
||||
void setImageId(const std::string &imageId);
|
||||
std::string getModelId() const;
|
||||
void setModelId(const std::string &modelId);
|
||||
std::string getEncodeFormat() const;
|
||||
void setEncodeFormat(const std::string &encodeFormat);
|
||||
std::string getPromptId() const;
|
||||
void setPromptId(const std::string &promptId);
|
||||
|
||||
private:
|
||||
std::string imageId_;
|
||||
std::string modelId_;
|
||||
std::string encodeFormat_;
|
||||
std::string promptId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AiContent
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYIMAGEASSETREQUEST_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_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYIMAGEASSETRESULT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYIMAGEASSETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryImageAssetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Personalizedtxt2imgQueryImageAssetResult();
|
||||
explicit Personalizedtxt2imgQueryImageAssetResult(const std::string &payload);
|
||||
~Personalizedtxt2imgQueryImageAssetResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYIMAGEASSETRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYINFERENCEJOBINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYINFERENCEJOBINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AiContent {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryInferenceJobInfoRequest : public RoaServiceRequest {
|
||||
public:
|
||||
Personalizedtxt2imgQueryInferenceJobInfoRequest();
|
||||
~Personalizedtxt2imgQueryInferenceJobInfoRequest();
|
||||
std::string getInferenceJobId() const;
|
||||
void setInferenceJobId(const std::string &inferenceJobId);
|
||||
|
||||
private:
|
||||
std::string inferenceJobId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AiContent
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYINFERENCEJOBINFOREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYINFERENCEJOBINFORESULT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYINFERENCEJOBINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryInferenceJobInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string jobStatus;
|
||||
double jobTrainProgress;
|
||||
std::string createTime;
|
||||
std::string id;
|
||||
std::vector<std::string> resultImageUrl;
|
||||
std::string promptId;
|
||||
std::string modelId;
|
||||
};
|
||||
|
||||
|
||||
Personalizedtxt2imgQueryInferenceJobInfoResult();
|
||||
explicit Personalizedtxt2imgQueryInferenceJobInfoResult(const std::string &payload);
|
||||
~Personalizedtxt2imgQueryInferenceJobInfoResult();
|
||||
std::string getRequestId()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYINFERENCEJOBINFORESULT_H_
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINJOBLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINJOBLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AiContent {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryModelTrainJobListRequest : public RoaServiceRequest {
|
||||
public:
|
||||
Personalizedtxt2imgQueryModelTrainJobListRequest();
|
||||
~Personalizedtxt2imgQueryModelTrainJobListRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AiContent
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINJOBLISTREQUEST_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_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINJOBLISTRESULT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINJOBLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryModelTrainJobListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
struct InferenceJobListItem
|
||||
{
|
||||
std::string jobStatus;
|
||||
double jobTrainProgress;
|
||||
std::string createTime;
|
||||
std::string id;
|
||||
std::vector<std::string> resultImageUrl;
|
||||
std::string promptId;
|
||||
std::string modelId;
|
||||
};
|
||||
std::string jobStatus;
|
||||
std::string objectType;
|
||||
double jobTrainProgress;
|
||||
std::string createTime;
|
||||
std::vector<std::string> imageUrl;
|
||||
std::string id;
|
||||
int inferenceImageCount;
|
||||
std::vector<DataItem::InferenceJobListItem> inferenceJobList;
|
||||
std::string modelId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainJobListResult();
|
||||
explicit Personalizedtxt2imgQueryModelTrainJobListResult(const std::string &payload);
|
||||
~Personalizedtxt2imgQueryModelTrainJobListResult();
|
||||
std::vector<DataItem> getdata()const;
|
||||
std::string getRequestId()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataItem> data_;
|
||||
std::string requestId_;
|
||||
int httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINJOBLISTRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AiContent {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryModelTrainStatusRequest : public RoaServiceRequest {
|
||||
public:
|
||||
Personalizedtxt2imgQueryModelTrainStatusRequest();
|
||||
~Personalizedtxt2imgQueryModelTrainStatusRequest();
|
||||
std::string getModelId() const;
|
||||
void setModelId(const std::string &modelId);
|
||||
|
||||
private:
|
||||
std::string modelId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AiContent
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aicontent/AiContentExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AiContent
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AICONTENT_EXPORT Personalizedtxt2imgQueryModelTrainStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string modelTrainStatus;
|
||||
};
|
||||
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainStatusResult();
|
||||
explicit Personalizedtxt2imgQueryModelTrainStatusResult(const std::string &payload);
|
||||
~Personalizedtxt2imgQueryModelTrainStatusResult();
|
||||
std::string getRequestId()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AICONTENT_MODEL_PERSONALIZEDTXT2IMGQUERYMODELTRAINSTATUSRESULT_H_
|
||||
305
aicontent/src/AiContentClient.cc
Normal file
305
aicontent/src/AiContentClient.cc
Normal file
@@ -0,0 +1,305 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/AiContentClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "AiContent";
|
||||
}
|
||||
|
||||
AiContentClient::AiContentClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RoaServiceClient(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, "");
|
||||
}
|
||||
|
||||
AiContentClient::AiContentClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RoaServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
AiContentClient::AiContentClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RoaServiceClient(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, "");
|
||||
}
|
||||
|
||||
AiContentClient::~AiContentClient()
|
||||
{}
|
||||
|
||||
AiContentClient::AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome AiContentClient::aliyunConsoleOpenApiQueryAliyunConsoleServcieList(const AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome(AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult(outcome.result()));
|
||||
else
|
||||
return AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AiContentClient::aliyunConsoleOpenApiQueryAliyunConsoleServcieListAsync(const AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest& request, const AliyunConsoleOpenApiQueryAliyunConsoleServcieListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, aliyunConsoleOpenApiQueryAliyunConsoleServcieList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AiContentClient::AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcomeCallable AiContentClient::aliyunConsoleOpenApiQueryAliyunConsoleServcieListCallable(const AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AliyunConsoleOpenApiQueryAliyunConsoleServcieListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->aliyunConsoleOpenApiQueryAliyunConsoleServcieList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgAddInferenceJobOutcome AiContentClient::personalizedtxt2imgAddInferenceJob(const Personalizedtxt2imgAddInferenceJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return Personalizedtxt2imgAddInferenceJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return Personalizedtxt2imgAddInferenceJobOutcome(Personalizedtxt2imgAddInferenceJobResult(outcome.result()));
|
||||
else
|
||||
return Personalizedtxt2imgAddInferenceJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AiContentClient::personalizedtxt2imgAddInferenceJobAsync(const Personalizedtxt2imgAddInferenceJobRequest& request, const Personalizedtxt2imgAddInferenceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, personalizedtxt2imgAddInferenceJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgAddInferenceJobOutcomeCallable AiContentClient::personalizedtxt2imgAddInferenceJobCallable(const Personalizedtxt2imgAddInferenceJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<Personalizedtxt2imgAddInferenceJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->personalizedtxt2imgAddInferenceJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgAddModelTrainJobOutcome AiContentClient::personalizedtxt2imgAddModelTrainJob(const Personalizedtxt2imgAddModelTrainJobRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return Personalizedtxt2imgAddModelTrainJobOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return Personalizedtxt2imgAddModelTrainJobOutcome(Personalizedtxt2imgAddModelTrainJobResult(outcome.result()));
|
||||
else
|
||||
return Personalizedtxt2imgAddModelTrainJobOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AiContentClient::personalizedtxt2imgAddModelTrainJobAsync(const Personalizedtxt2imgAddModelTrainJobRequest& request, const Personalizedtxt2imgAddModelTrainJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, personalizedtxt2imgAddModelTrainJob(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgAddModelTrainJobOutcomeCallable AiContentClient::personalizedtxt2imgAddModelTrainJobCallable(const Personalizedtxt2imgAddModelTrainJobRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<Personalizedtxt2imgAddModelTrainJobOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->personalizedtxt2imgAddModelTrainJob(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryImageAssetOutcome AiContentClient::personalizedtxt2imgQueryImageAsset(const Personalizedtxt2imgQueryImageAssetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryImageAssetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryImageAssetOutcome(Personalizedtxt2imgQueryImageAssetResult(outcome.result()));
|
||||
else
|
||||
return Personalizedtxt2imgQueryImageAssetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AiContentClient::personalizedtxt2imgQueryImageAssetAsync(const Personalizedtxt2imgQueryImageAssetRequest& request, const Personalizedtxt2imgQueryImageAssetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, personalizedtxt2imgQueryImageAsset(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryImageAssetOutcomeCallable AiContentClient::personalizedtxt2imgQueryImageAssetCallable(const Personalizedtxt2imgQueryImageAssetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<Personalizedtxt2imgQueryImageAssetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->personalizedtxt2imgQueryImageAsset(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryInferenceJobInfoOutcome AiContentClient::personalizedtxt2imgQueryInferenceJobInfo(const Personalizedtxt2imgQueryInferenceJobInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryInferenceJobInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryInferenceJobInfoOutcome(Personalizedtxt2imgQueryInferenceJobInfoResult(outcome.result()));
|
||||
else
|
||||
return Personalizedtxt2imgQueryInferenceJobInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AiContentClient::personalizedtxt2imgQueryInferenceJobInfoAsync(const Personalizedtxt2imgQueryInferenceJobInfoRequest& request, const Personalizedtxt2imgQueryInferenceJobInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, personalizedtxt2imgQueryInferenceJobInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryInferenceJobInfoOutcomeCallable AiContentClient::personalizedtxt2imgQueryInferenceJobInfoCallable(const Personalizedtxt2imgQueryInferenceJobInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<Personalizedtxt2imgQueryInferenceJobInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->personalizedtxt2imgQueryInferenceJobInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryModelTrainJobListOutcome AiContentClient::personalizedtxt2imgQueryModelTrainJobList(const Personalizedtxt2imgQueryModelTrainJobListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryModelTrainJobListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryModelTrainJobListOutcome(Personalizedtxt2imgQueryModelTrainJobListResult(outcome.result()));
|
||||
else
|
||||
return Personalizedtxt2imgQueryModelTrainJobListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AiContentClient::personalizedtxt2imgQueryModelTrainJobListAsync(const Personalizedtxt2imgQueryModelTrainJobListRequest& request, const Personalizedtxt2imgQueryModelTrainJobListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, personalizedtxt2imgQueryModelTrainJobList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryModelTrainJobListOutcomeCallable AiContentClient::personalizedtxt2imgQueryModelTrainJobListCallable(const Personalizedtxt2imgQueryModelTrainJobListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<Personalizedtxt2imgQueryModelTrainJobListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->personalizedtxt2imgQueryModelTrainJobList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryModelTrainStatusOutcome AiContentClient::personalizedtxt2imgQueryModelTrainStatus(const Personalizedtxt2imgQueryModelTrainStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryModelTrainStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return Personalizedtxt2imgQueryModelTrainStatusOutcome(Personalizedtxt2imgQueryModelTrainStatusResult(outcome.result()));
|
||||
else
|
||||
return Personalizedtxt2imgQueryModelTrainStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AiContentClient::personalizedtxt2imgQueryModelTrainStatusAsync(const Personalizedtxt2imgQueryModelTrainStatusRequest& request, const Personalizedtxt2imgQueryModelTrainStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, personalizedtxt2imgQueryModelTrainStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AiContentClient::Personalizedtxt2imgQueryModelTrainStatusOutcomeCallable AiContentClient::personalizedtxt2imgQueryModelTrainStatusCallable(const Personalizedtxt2imgQueryModelTrainStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<Personalizedtxt2imgQueryModelTrainStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->personalizedtxt2imgQueryModelTrainStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest.h>
|
||||
|
||||
using AlibabaCloud::AiContent::Model::AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest;
|
||||
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest::AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest()
|
||||
: RoaServiceRequest("aicontent", "20240611") {
|
||||
setResourcePath("/api/v1/aliyunconsole/queryAliyunConsoleServcieList"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest::~AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest() {}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aicontent/model/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::~AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult()
|
||||
{}
|
||||
|
||||
void AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto alldataNode = value["data"]["dataItem"];
|
||||
for (auto valuedatadataItem : alldataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valuedatadataItem["ServiceCode"].isNull())
|
||||
dataObject.serviceCode = valuedatadataItem["ServiceCode"].asString();
|
||||
if(!valuedatadataItem["ServiceName"].isNull())
|
||||
dataObject.serviceName = valuedatadataItem["ServiceName"].asString();
|
||||
if(!valuedatadataItem["FreeCount"].isNull())
|
||||
dataObject.freeCount = std::stoi(valuedatadataItem["FreeCount"].asString());
|
||||
if(!valuedatadataItem["FreeConcurrencyCount"].isNull())
|
||||
dataObject.freeConcurrencyCount = std::stoi(valuedatadataItem["FreeConcurrencyCount"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["errCode"].isNull())
|
||||
errCode_ = value["errCode"].asString();
|
||||
if(!value["errMessage"].isNull())
|
||||
errMessage_ = value["errMessage"].asString();
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["httpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::DataItem> AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::getdata()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
int AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string AliyunConsoleOpenApiQueryAliyunConsoleServcieListResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgAddInferenceJobRequest.h>
|
||||
|
||||
using AlibabaCloud::AiContent::Model::Personalizedtxt2imgAddInferenceJobRequest;
|
||||
|
||||
Personalizedtxt2imgAddInferenceJobRequest::Personalizedtxt2imgAddInferenceJobRequest()
|
||||
: RoaServiceRequest("aicontent", "20240611") {
|
||||
setResourcePath("/api/v1/personalizedtxt2img/addInferenceJob"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgAddInferenceJobRequest::~Personalizedtxt2imgAddInferenceJobRequest() {}
|
||||
|
||||
std::string Personalizedtxt2imgAddInferenceJobRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgAddInferenceJobRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setBodyParameter(std::string("body"), body);
|
||||
}
|
||||
|
||||
100
aicontent/src/model/Personalizedtxt2imgAddInferenceJobResult.cc
Normal file
100
aicontent/src/model/Personalizedtxt2imgAddInferenceJobResult.cc
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aicontent/model/Personalizedtxt2imgAddInferenceJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
Personalizedtxt2imgAddInferenceJobResult::Personalizedtxt2imgAddInferenceJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
Personalizedtxt2imgAddInferenceJobResult::Personalizedtxt2imgAddInferenceJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgAddInferenceJobResult::~Personalizedtxt2imgAddInferenceJobResult()
|
||||
{}
|
||||
|
||||
void Personalizedtxt2imgAddInferenceJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["data"];
|
||||
if(!dataNode["id"].isNull())
|
||||
data_.id = dataNode["id"].asString();
|
||||
if(!dataNode["promptId"].isNull())
|
||||
data_.promptId = dataNode["promptId"].asString();
|
||||
if(!dataNode["modelId"].isNull())
|
||||
data_.modelId = dataNode["modelId"].asString();
|
||||
if(!dataNode["jobStatus"].isNull())
|
||||
data_.jobStatus = dataNode["jobStatus"].asString();
|
||||
if(!dataNode["jobTrainProgress"].isNull())
|
||||
data_.jobTrainProgress = dataNode["jobTrainProgress"].asString();
|
||||
if(!dataNode["createTime"].isNull())
|
||||
data_.createTime = dataNode["createTime"].asString();
|
||||
auto allResultImageUrl = dataNode["resultImageUrl"]["resultImageUrl"];
|
||||
for (auto value : allResultImageUrl)
|
||||
data_.resultImageUrl.push_back(value.asString());
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["errCode"].isNull())
|
||||
errCode_ = value["errCode"].asString();
|
||||
if(!value["errMessage"].isNull())
|
||||
errMessage_ = value["errMessage"].asString();
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["httpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgAddInferenceJobResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
int Personalizedtxt2imgAddInferenceJobResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
Personalizedtxt2imgAddInferenceJobResult::Data Personalizedtxt2imgAddInferenceJobResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgAddInferenceJobResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool Personalizedtxt2imgAddInferenceJobResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgAddInferenceJobResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgAddModelTrainJobRequest.h>
|
||||
|
||||
using AlibabaCloud::AiContent::Model::Personalizedtxt2imgAddModelTrainJobRequest;
|
||||
|
||||
Personalizedtxt2imgAddModelTrainJobRequest::Personalizedtxt2imgAddModelTrainJobRequest()
|
||||
: RoaServiceRequest("aicontent", "20240611") {
|
||||
setResourcePath("/api/v1/personalizedtxt2img/addModelTrainJob"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgAddModelTrainJobRequest::~Personalizedtxt2imgAddModelTrainJobRequest() {}
|
||||
|
||||
std::string Personalizedtxt2imgAddModelTrainJobRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgAddModelTrainJobRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setBodyParameter(std::string("body"), body);
|
||||
}
|
||||
|
||||
125
aicontent/src/model/Personalizedtxt2imgAddModelTrainJobResult.cc
Normal file
125
aicontent/src/model/Personalizedtxt2imgAddModelTrainJobResult.cc
Normal file
@@ -0,0 +1,125 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgAddModelTrainJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
Personalizedtxt2imgAddModelTrainJobResult::Personalizedtxt2imgAddModelTrainJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
Personalizedtxt2imgAddModelTrainJobResult::Personalizedtxt2imgAddModelTrainJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgAddModelTrainJobResult::~Personalizedtxt2imgAddModelTrainJobResult()
|
||||
{}
|
||||
|
||||
void Personalizedtxt2imgAddModelTrainJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["data"];
|
||||
if(!dataNode["id"].isNull())
|
||||
data_.id = dataNode["id"].asString();
|
||||
if(!dataNode["modelId"].isNull())
|
||||
data_.modelId = dataNode["modelId"].asString();
|
||||
if(!dataNode["name"].isNull())
|
||||
data_.name = dataNode["name"].asString();
|
||||
if(!dataNode["objectType"].isNull())
|
||||
data_.objectType = dataNode["objectType"].asString();
|
||||
if(!dataNode["jobStatus"].isNull())
|
||||
data_.jobStatus = dataNode["jobStatus"].asString();
|
||||
if(!dataNode["jobTrainProgress"].isNull())
|
||||
data_.jobTrainProgress = dataNode["jobTrainProgress"].asString();
|
||||
if(!dataNode["inferenceImageCount"].isNull())
|
||||
data_.inferenceImageCount = std::stoi(dataNode["inferenceImageCount"].asString());
|
||||
if(!dataNode["createTime"].isNull())
|
||||
data_.createTime = dataNode["createTime"].asString();
|
||||
auto allinferenceJobListNode = dataNode["inferenceJobList"]["inferenceJobListItem"];
|
||||
for (auto dataNodeinferenceJobListinferenceJobListItem : allinferenceJobListNode)
|
||||
{
|
||||
Data::InferenceJobListItem inferenceJobListItemObject;
|
||||
if(!dataNodeinferenceJobListinferenceJobListItem["id"].isNull())
|
||||
inferenceJobListItemObject.id = dataNodeinferenceJobListinferenceJobListItem["id"].asString();
|
||||
if(!dataNodeinferenceJobListinferenceJobListItem["promptId"].isNull())
|
||||
inferenceJobListItemObject.promptId = dataNodeinferenceJobListinferenceJobListItem["promptId"].asString();
|
||||
if(!dataNodeinferenceJobListinferenceJobListItem["modelId"].isNull())
|
||||
inferenceJobListItemObject.modelId = dataNodeinferenceJobListinferenceJobListItem["modelId"].asString();
|
||||
if(!dataNodeinferenceJobListinferenceJobListItem["jobStatus"].isNull())
|
||||
inferenceJobListItemObject.jobStatus = dataNodeinferenceJobListinferenceJobListItem["jobStatus"].asString();
|
||||
if(!dataNodeinferenceJobListinferenceJobListItem["jobTrainProgress"].isNull())
|
||||
inferenceJobListItemObject.jobTrainProgress = dataNodeinferenceJobListinferenceJobListItem["jobTrainProgress"].asString();
|
||||
if(!dataNodeinferenceJobListinferenceJobListItem["createTime"].isNull())
|
||||
inferenceJobListItemObject.createTime = dataNodeinferenceJobListinferenceJobListItem["createTime"].asString();
|
||||
auto allResultImageUrl = value["resultImageUrl"]["resultImageUrl"];
|
||||
for (auto value : allResultImageUrl)
|
||||
inferenceJobListItemObject.resultImageUrl.push_back(value.asString());
|
||||
data_.inferenceJobList.push_back(inferenceJobListItemObject);
|
||||
}
|
||||
auto allImageUrl = dataNode["imageUrl"]["imageUrl"];
|
||||
for (auto value : allImageUrl)
|
||||
data_.imageUrl.push_back(value.asString());
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["errCode"].isNull())
|
||||
errCode_ = value["errCode"].asString();
|
||||
if(!value["errMessage"].isNull())
|
||||
errMessage_ = value["errMessage"].asString();
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["httpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgAddModelTrainJobResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
int Personalizedtxt2imgAddModelTrainJobResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
Personalizedtxt2imgAddModelTrainJobResult::Data Personalizedtxt2imgAddModelTrainJobResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgAddModelTrainJobResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool Personalizedtxt2imgAddModelTrainJobResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgAddModelTrainJobResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aicontent/model/Personalizedtxt2imgQueryImageAssetRequest.h>
|
||||
|
||||
using AlibabaCloud::AiContent::Model::Personalizedtxt2imgQueryImageAssetRequest;
|
||||
|
||||
Personalizedtxt2imgQueryImageAssetRequest::Personalizedtxt2imgQueryImageAssetRequest()
|
||||
: RoaServiceRequest("aicontent", "20240611") {
|
||||
setResourcePath("/api/v1/personalizedtxt2img/queryImageAsset"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryImageAssetRequest::~Personalizedtxt2imgQueryImageAssetRequest() {}
|
||||
|
||||
std::string Personalizedtxt2imgQueryImageAssetRequest::getImageId() const {
|
||||
return imageId_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgQueryImageAssetRequest::setImageId(const std::string &imageId) {
|
||||
imageId_ = imageId;
|
||||
setParameter(std::string("imageId"), imageId);
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryImageAssetRequest::getModelId() const {
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgQueryImageAssetRequest::setModelId(const std::string &modelId) {
|
||||
modelId_ = modelId;
|
||||
setParameter(std::string("modelId"), modelId);
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryImageAssetRequest::getEncodeFormat() const {
|
||||
return encodeFormat_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgQueryImageAssetRequest::setEncodeFormat(const std::string &encodeFormat) {
|
||||
encodeFormat_ = encodeFormat;
|
||||
setParameter(std::string("encodeFormat"), encodeFormat);
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryImageAssetRequest::getPromptId() const {
|
||||
return promptId_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgQueryImageAssetRequest::setPromptId(const std::string &promptId) {
|
||||
promptId_ = promptId;
|
||||
setParameter(std::string("promptId"), promptId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgQueryImageAssetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
Personalizedtxt2imgQueryImageAssetResult::Personalizedtxt2imgQueryImageAssetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
Personalizedtxt2imgQueryImageAssetResult::Personalizedtxt2imgQueryImageAssetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryImageAssetResult::~Personalizedtxt2imgQueryImageAssetResult()
|
||||
{}
|
||||
|
||||
void Personalizedtxt2imgQueryImageAssetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgQueryInferenceJobInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::AiContent::Model::Personalizedtxt2imgQueryInferenceJobInfoRequest;
|
||||
|
||||
Personalizedtxt2imgQueryInferenceJobInfoRequest::Personalizedtxt2imgQueryInferenceJobInfoRequest()
|
||||
: RoaServiceRequest("aicontent", "20240611") {
|
||||
setResourcePath("/api/v1/personalizedtxt2img/queryInferenceJobInfo"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryInferenceJobInfoRequest::~Personalizedtxt2imgQueryInferenceJobInfoRequest() {}
|
||||
|
||||
std::string Personalizedtxt2imgQueryInferenceJobInfoRequest::getInferenceJobId() const {
|
||||
return inferenceJobId_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgQueryInferenceJobInfoRequest::setInferenceJobId(const std::string &inferenceJobId) {
|
||||
inferenceJobId_ = inferenceJobId;
|
||||
setParameter(std::string("inferenceJobId"), inferenceJobId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aicontent/model/Personalizedtxt2imgQueryInferenceJobInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
Personalizedtxt2imgQueryInferenceJobInfoResult::Personalizedtxt2imgQueryInferenceJobInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
Personalizedtxt2imgQueryInferenceJobInfoResult::Personalizedtxt2imgQueryInferenceJobInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryInferenceJobInfoResult::~Personalizedtxt2imgQueryInferenceJobInfoResult()
|
||||
{}
|
||||
|
||||
void Personalizedtxt2imgQueryInferenceJobInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["data"];
|
||||
if(!dataNode["id"].isNull())
|
||||
data_.id = dataNode["id"].asString();
|
||||
if(!dataNode["promptId"].isNull())
|
||||
data_.promptId = dataNode["promptId"].asString();
|
||||
if(!dataNode["modelId"].isNull())
|
||||
data_.modelId = dataNode["modelId"].asString();
|
||||
if(!dataNode["jobStatus"].isNull())
|
||||
data_.jobStatus = dataNode["jobStatus"].asString();
|
||||
if(!dataNode["jobTrainProgress"].isNull())
|
||||
data_.jobTrainProgress = dataNode["jobTrainProgress"].asString();
|
||||
if(!dataNode["createTime"].isNull())
|
||||
data_.createTime = dataNode["createTime"].asString();
|
||||
auto allResultImageUrl = dataNode["resultImageUrl"]["resultImageUrl"];
|
||||
for (auto value : allResultImageUrl)
|
||||
data_.resultImageUrl.push_back(value.asString());
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["errCode"].isNull())
|
||||
errCode_ = value["errCode"].asString();
|
||||
if(!value["errMessage"].isNull())
|
||||
errMessage_ = value["errMessage"].asString();
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["httpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryInferenceJobInfoResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
int Personalizedtxt2imgQueryInferenceJobInfoResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryInferenceJobInfoResult::Data Personalizedtxt2imgQueryInferenceJobInfoResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryInferenceJobInfoResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool Personalizedtxt2imgQueryInferenceJobInfoResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryInferenceJobInfoResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgQueryModelTrainJobListRequest.h>
|
||||
|
||||
using AlibabaCloud::AiContent::Model::Personalizedtxt2imgQueryModelTrainJobListRequest;
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainJobListRequest::Personalizedtxt2imgQueryModelTrainJobListRequest()
|
||||
: RoaServiceRequest("aicontent", "20240611") {
|
||||
setResourcePath("/api/v1/personalizedtxt2img/queryModelTrainJobList"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainJobListRequest::~Personalizedtxt2imgQueryModelTrainJobListRequest() {}
|
||||
|
||||
@@ -0,0 +1,130 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgQueryModelTrainJobListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainJobListResult::Personalizedtxt2imgQueryModelTrainJobListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainJobListResult::Personalizedtxt2imgQueryModelTrainJobListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainJobListResult::~Personalizedtxt2imgQueryModelTrainJobListResult()
|
||||
{}
|
||||
|
||||
void Personalizedtxt2imgQueryModelTrainJobListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto alldataNode = value["data"]["dataItem"];
|
||||
for (auto valuedatadataItem : alldataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valuedatadataItem["id"].isNull())
|
||||
dataObject.id = valuedatadataItem["id"].asString();
|
||||
if(!valuedatadataItem["modelId"].isNull())
|
||||
dataObject.modelId = valuedatadataItem["modelId"].asString();
|
||||
if(!valuedatadataItem["name"].isNull())
|
||||
dataObject.name = valuedatadataItem["name"].asString();
|
||||
if(!valuedatadataItem["objectType"].isNull())
|
||||
dataObject.objectType = valuedatadataItem["objectType"].asString();
|
||||
if(!valuedatadataItem["jobStatus"].isNull())
|
||||
dataObject.jobStatus = valuedatadataItem["jobStatus"].asString();
|
||||
if(!valuedatadataItem["jobTrainProgress"].isNull())
|
||||
dataObject.jobTrainProgress = valuedatadataItem["jobTrainProgress"].asString();
|
||||
if(!valuedatadataItem["inferenceImageCount"].isNull())
|
||||
dataObject.inferenceImageCount = std::stoi(valuedatadataItem["inferenceImageCount"].asString());
|
||||
if(!valuedatadataItem["createTime"].isNull())
|
||||
dataObject.createTime = valuedatadataItem["createTime"].asString();
|
||||
auto allinferenceJobListNode = valuedatadataItem["inferenceJobList"]["inferenceJobListItem"];
|
||||
for (auto valuedatadataIteminferenceJobListinferenceJobListItem : allinferenceJobListNode)
|
||||
{
|
||||
DataItem::InferenceJobListItem inferenceJobListObject;
|
||||
if(!valuedatadataIteminferenceJobListinferenceJobListItem["id"].isNull())
|
||||
inferenceJobListObject.id = valuedatadataIteminferenceJobListinferenceJobListItem["id"].asString();
|
||||
if(!valuedatadataIteminferenceJobListinferenceJobListItem["promptId"].isNull())
|
||||
inferenceJobListObject.promptId = valuedatadataIteminferenceJobListinferenceJobListItem["promptId"].asString();
|
||||
if(!valuedatadataIteminferenceJobListinferenceJobListItem["modelId"].isNull())
|
||||
inferenceJobListObject.modelId = valuedatadataIteminferenceJobListinferenceJobListItem["modelId"].asString();
|
||||
if(!valuedatadataIteminferenceJobListinferenceJobListItem["jobStatus"].isNull())
|
||||
inferenceJobListObject.jobStatus = valuedatadataIteminferenceJobListinferenceJobListItem["jobStatus"].asString();
|
||||
if(!valuedatadataIteminferenceJobListinferenceJobListItem["jobTrainProgress"].isNull())
|
||||
inferenceJobListObject.jobTrainProgress = valuedatadataIteminferenceJobListinferenceJobListItem["jobTrainProgress"].asString();
|
||||
if(!valuedatadataIteminferenceJobListinferenceJobListItem["createTime"].isNull())
|
||||
inferenceJobListObject.createTime = valuedatadataIteminferenceJobListinferenceJobListItem["createTime"].asString();
|
||||
auto allResultImageUrl = value["resultImageUrl"]["resultImageUrl"];
|
||||
for (auto value : allResultImageUrl)
|
||||
inferenceJobListObject.resultImageUrl.push_back(value.asString());
|
||||
dataObject.inferenceJobList.push_back(inferenceJobListObject);
|
||||
}
|
||||
auto allImageUrl = value["imageUrl"]["imageUrl"];
|
||||
for (auto value : allImageUrl)
|
||||
dataObject.imageUrl.push_back(value.asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["errCode"].isNull())
|
||||
errCode_ = value["errCode"].asString();
|
||||
if(!value["errMessage"].isNull())
|
||||
errMessage_ = value["errMessage"].asString();
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["httpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<Personalizedtxt2imgQueryModelTrainJobListResult::DataItem> Personalizedtxt2imgQueryModelTrainJobListResult::getdata()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryModelTrainJobListResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
int Personalizedtxt2imgQueryModelTrainJobListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryModelTrainJobListResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool Personalizedtxt2imgQueryModelTrainJobListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryModelTrainJobListResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/aicontent/model/Personalizedtxt2imgQueryModelTrainStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::AiContent::Model::Personalizedtxt2imgQueryModelTrainStatusRequest;
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainStatusRequest::Personalizedtxt2imgQueryModelTrainStatusRequest()
|
||||
: RoaServiceRequest("aicontent", "20240611") {
|
||||
setResourcePath("/api/v1/personalizedtxt2img/queryModelTrainStatus"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainStatusRequest::~Personalizedtxt2imgQueryModelTrainStatusRequest() {}
|
||||
|
||||
std::string Personalizedtxt2imgQueryModelTrainStatusRequest::getModelId() const {
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void Personalizedtxt2imgQueryModelTrainStatusRequest::setModelId(const std::string &modelId) {
|
||||
modelId_ = modelId;
|
||||
setParameter(std::string("modelId"), modelId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aicontent/model/Personalizedtxt2imgQueryModelTrainStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AiContent;
|
||||
using namespace AlibabaCloud::AiContent::Model;
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainStatusResult::Personalizedtxt2imgQueryModelTrainStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainStatusResult::Personalizedtxt2imgQueryModelTrainStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainStatusResult::~Personalizedtxt2imgQueryModelTrainStatusResult()
|
||||
{}
|
||||
|
||||
void Personalizedtxt2imgQueryModelTrainStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["data"];
|
||||
if(!dataNode["modelTrainStatus"].isNull())
|
||||
data_.modelTrainStatus = dataNode["modelTrainStatus"].asString();
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["errCode"].isNull())
|
||||
errCode_ = value["errCode"].asString();
|
||||
if(!value["errMessage"].isNull())
|
||||
errMessage_ = value["errMessage"].asString();
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["httpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryModelTrainStatusResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
int Personalizedtxt2imgQueryModelTrainStatusResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
Personalizedtxt2imgQueryModelTrainStatusResult::Data Personalizedtxt2imgQueryModelTrainStatusResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryModelTrainStatusResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool Personalizedtxt2imgQueryModelTrainStatusResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string Personalizedtxt2imgQueryModelTrainStatusResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -33,14 +33,32 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/AddPrometheusGlobalViewByAliClusterIdsResult.h
|
||||
include/alibabacloud/arms/model/AddPrometheusInstanceRequest.h
|
||||
include/alibabacloud/arms/model/AddPrometheusInstanceResult.h
|
||||
include/alibabacloud/arms/model/AddPrometheusIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/AddPrometheusIntegrationResult.h
|
||||
include/alibabacloud/arms/model/AddRecordingRuleRequest.h
|
||||
include/alibabacloud/arms/model/AddRecordingRuleResult.h
|
||||
include/alibabacloud/arms/model/AddTagToFlinkClusterRequest.h
|
||||
include/alibabacloud/arms/model/AddTagToFlinkClusterResult.h
|
||||
include/alibabacloud/arms/model/AppendInstancesToPrometheusGlobalViewRequest.h
|
||||
include/alibabacloud/arms/model/AppendInstancesToPrometheusGlobalViewResult.h
|
||||
include/alibabacloud/arms/model/ApplyScenarioRequest.h
|
||||
include/alibabacloud/arms/model/ApplyScenarioResult.h
|
||||
include/alibabacloud/arms/model/BindPrometheusGrafanaInstanceRequest.h
|
||||
include/alibabacloud/arms/model/BindPrometheusGrafanaInstanceResult.h
|
||||
include/alibabacloud/arms/model/BlockAlarmNotificationRequest.h
|
||||
include/alibabacloud/arms/model/BlockAlarmNotificationResult.h
|
||||
include/alibabacloud/arms/model/ChangeAlarmSeverityRequest.h
|
||||
include/alibabacloud/arms/model/ChangeAlarmSeverityResult.h
|
||||
include/alibabacloud/arms/model/ChangeResourceGroupRequest.h
|
||||
include/alibabacloud/arms/model/ChangeResourceGroupResult.h
|
||||
include/alibabacloud/arms/model/CheckCommercialStatusRequest.h
|
||||
include/alibabacloud/arms/model/CheckCommercialStatusResult.h
|
||||
include/alibabacloud/arms/model/CheckServiceStatusRequest.h
|
||||
include/alibabacloud/arms/model/CheckServiceStatusResult.h
|
||||
include/alibabacloud/arms/model/ClaimAlarmRequest.h
|
||||
include/alibabacloud/arms/model/ClaimAlarmResult.h
|
||||
include/alibabacloud/arms/model/CloseAlarmRequest.h
|
||||
include/alibabacloud/arms/model/CloseAlarmResult.h
|
||||
include/alibabacloud/arms/model/ConfigAppRequest.h
|
||||
include/alibabacloud/arms/model/ConfigAppResult.h
|
||||
include/alibabacloud/arms/model/CreateAlertContactRequest.h
|
||||
@@ -49,6 +67,16 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/CreateAlertContactGroupResult.h
|
||||
include/alibabacloud/arms/model/CreateDispatchRuleRequest.h
|
||||
include/alibabacloud/arms/model/CreateDispatchRuleResult.h
|
||||
include/alibabacloud/arms/model/CreateEnvCustomJobRequest.h
|
||||
include/alibabacloud/arms/model/CreateEnvCustomJobResult.h
|
||||
include/alibabacloud/arms/model/CreateEnvPodMonitorRequest.h
|
||||
include/alibabacloud/arms/model/CreateEnvPodMonitorResult.h
|
||||
include/alibabacloud/arms/model/CreateEnvServiceMonitorRequest.h
|
||||
include/alibabacloud/arms/model/CreateEnvServiceMonitorResult.h
|
||||
include/alibabacloud/arms/model/CreateEnvironmentRequest.h
|
||||
include/alibabacloud/arms/model/CreateEnvironmentResult.h
|
||||
include/alibabacloud/arms/model/CreateGrafanaWorkspaceRequest.h
|
||||
include/alibabacloud/arms/model/CreateGrafanaWorkspaceResult.h
|
||||
include/alibabacloud/arms/model/CreateIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/CreateIntegrationResult.h
|
||||
include/alibabacloud/arms/model/CreateOrUpdateAlertRuleRequest.h
|
||||
@@ -69,14 +97,26 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/CreateOrUpdateWebhookContactResult.h
|
||||
include/alibabacloud/arms/model/CreatePrometheusAlertRuleRequest.h
|
||||
include/alibabacloud/arms/model/CreatePrometheusAlertRuleResult.h
|
||||
include/alibabacloud/arms/model/CreatePrometheusInstanceRequest.h
|
||||
include/alibabacloud/arms/model/CreatePrometheusInstanceResult.h
|
||||
include/alibabacloud/arms/model/CreatePrometheusMonitoringRequest.h
|
||||
include/alibabacloud/arms/model/CreatePrometheusMonitoringResult.h
|
||||
include/alibabacloud/arms/model/CreateRetcodeAppRequest.h
|
||||
include/alibabacloud/arms/model/CreateRetcodeAppResult.h
|
||||
include/alibabacloud/arms/model/CreateRumAppRequest.h
|
||||
include/alibabacloud/arms/model/CreateRumAppResult.h
|
||||
include/alibabacloud/arms/model/CreateRumUploadFileUrlRequest.h
|
||||
include/alibabacloud/arms/model/CreateRumUploadFileUrlResult.h
|
||||
include/alibabacloud/arms/model/CreateSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/CreateSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/CreateTimingSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/CreateTimingSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/CreateWebhookRequest.h
|
||||
include/alibabacloud/arms/model/CreateWebhookResult.h
|
||||
include/alibabacloud/arms/model/DelAuthTokenRequest.h
|
||||
include/alibabacloud/arms/model/DelAuthTokenResult.h
|
||||
include/alibabacloud/arms/model/DeleteAddonReleaseRequest.h
|
||||
include/alibabacloud/arms/model/DeleteAddonReleaseResult.h
|
||||
include/alibabacloud/arms/model/DeleteAlertContactRequest.h
|
||||
include/alibabacloud/arms/model/DeleteAlertContactResult.h
|
||||
include/alibabacloud/arms/model/DeleteAlertContactGroupRequest.h
|
||||
@@ -85,6 +125,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/DeleteAlertRuleResult.h
|
||||
include/alibabacloud/arms/model/DeleteAlertRulesRequest.h
|
||||
include/alibabacloud/arms/model/DeleteAlertRulesResult.h
|
||||
include/alibabacloud/arms/model/DeleteAppListRequest.h
|
||||
include/alibabacloud/arms/model/DeleteAppListResult.h
|
||||
include/alibabacloud/arms/model/DeleteCmsExporterRequest.h
|
||||
include/alibabacloud/arms/model/DeleteCmsExporterResult.h
|
||||
include/alibabacloud/arms/model/DeleteContactRequest.h
|
||||
@@ -93,10 +135,22 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/DeleteContactGroupResult.h
|
||||
include/alibabacloud/arms/model/DeleteDispatchRuleRequest.h
|
||||
include/alibabacloud/arms/model/DeleteDispatchRuleResult.h
|
||||
include/alibabacloud/arms/model/DeleteEnvCustomJobRequest.h
|
||||
include/alibabacloud/arms/model/DeleteEnvCustomJobResult.h
|
||||
include/alibabacloud/arms/model/DeleteEnvPodMonitorRequest.h
|
||||
include/alibabacloud/arms/model/DeleteEnvPodMonitorResult.h
|
||||
include/alibabacloud/arms/model/DeleteEnvServiceMonitorRequest.h
|
||||
include/alibabacloud/arms/model/DeleteEnvServiceMonitorResult.h
|
||||
include/alibabacloud/arms/model/DeleteEnvironmentRequest.h
|
||||
include/alibabacloud/arms/model/DeleteEnvironmentResult.h
|
||||
include/alibabacloud/arms/model/DeleteEnvironmentFeatureRequest.h
|
||||
include/alibabacloud/arms/model/DeleteEnvironmentFeatureResult.h
|
||||
include/alibabacloud/arms/model/DeleteEventBridgeIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/DeleteEventBridgeIntegrationResult.h
|
||||
include/alibabacloud/arms/model/DeleteGrafanaResourceRequest.h
|
||||
include/alibabacloud/arms/model/DeleteGrafanaResourceResult.h
|
||||
include/alibabacloud/arms/model/DeleteGrafanaWorkspaceRequest.h
|
||||
include/alibabacloud/arms/model/DeleteGrafanaWorkspaceResult.h
|
||||
include/alibabacloud/arms/model/DeleteIMRobotRequest.h
|
||||
include/alibabacloud/arms/model/DeleteIMRobotResult.h
|
||||
include/alibabacloud/arms/model/DeleteIntegrationRequest.h
|
||||
@@ -109,8 +163,16 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/DeletePrometheusAlertRuleResult.h
|
||||
include/alibabacloud/arms/model/DeletePrometheusGlobalViewRequest.h
|
||||
include/alibabacloud/arms/model/DeletePrometheusGlobalViewResult.h
|
||||
include/alibabacloud/arms/model/DeletePrometheusIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/DeletePrometheusIntegrationResult.h
|
||||
include/alibabacloud/arms/model/DeletePrometheusMonitoringRequest.h
|
||||
include/alibabacloud/arms/model/DeletePrometheusMonitoringResult.h
|
||||
include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h
|
||||
include/alibabacloud/arms/model/DeleteRetcodeAppResult.h
|
||||
include/alibabacloud/arms/model/DeleteRumAppRequest.h
|
||||
include/alibabacloud/arms/model/DeleteRumAppResult.h
|
||||
include/alibabacloud/arms/model/DeleteRumUploadFileRequest.h
|
||||
include/alibabacloud/arms/model/DeleteRumUploadFileResult.h
|
||||
include/alibabacloud/arms/model/DeleteScenarioRequest.h
|
||||
include/alibabacloud/arms/model/DeleteScenarioResult.h
|
||||
include/alibabacloud/arms/model/DeleteSilencePolicyRequest.h
|
||||
@@ -119,16 +181,30 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/DeleteSourceMapResult.h
|
||||
include/alibabacloud/arms/model/DeleteSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/DeleteSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/DeleteTimingSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/DeleteTimingSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/DeleteTraceAppRequest.h
|
||||
include/alibabacloud/arms/model/DeleteTraceAppResult.h
|
||||
include/alibabacloud/arms/model/DeleteWebhookContactRequest.h
|
||||
include/alibabacloud/arms/model/DeleteWebhookContactResult.h
|
||||
include/alibabacloud/arms/model/DescribeAddonReleaseRequest.h
|
||||
include/alibabacloud/arms/model/DescribeAddonReleaseResult.h
|
||||
include/alibabacloud/arms/model/DescribeContactGroupsRequest.h
|
||||
include/alibabacloud/arms/model/DescribeContactGroupsResult.h
|
||||
include/alibabacloud/arms/model/DescribeContactsRequest.h
|
||||
include/alibabacloud/arms/model/DescribeContactsResult.h
|
||||
include/alibabacloud/arms/model/DescribeDispatchRuleRequest.h
|
||||
include/alibabacloud/arms/model/DescribeDispatchRuleResult.h
|
||||
include/alibabacloud/arms/model/DescribeEnvCustomJobRequest.h
|
||||
include/alibabacloud/arms/model/DescribeEnvCustomJobResult.h
|
||||
include/alibabacloud/arms/model/DescribeEnvPodMonitorRequest.h
|
||||
include/alibabacloud/arms/model/DescribeEnvPodMonitorResult.h
|
||||
include/alibabacloud/arms/model/DescribeEnvServiceMonitorRequest.h
|
||||
include/alibabacloud/arms/model/DescribeEnvServiceMonitorResult.h
|
||||
include/alibabacloud/arms/model/DescribeEnvironmentRequest.h
|
||||
include/alibabacloud/arms/model/DescribeEnvironmentResult.h
|
||||
include/alibabacloud/arms/model/DescribeEnvironmentFeatureRequest.h
|
||||
include/alibabacloud/arms/model/DescribeEnvironmentFeatureResult.h
|
||||
include/alibabacloud/arms/model/DescribeIMRobotsRequest.h
|
||||
include/alibabacloud/arms/model/DescribeIMRobotsResult.h
|
||||
include/alibabacloud/arms/model/DescribePrometheusAlertRuleRequest.h
|
||||
@@ -137,18 +213,30 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/DescribeTraceLicenseKeyResult.h
|
||||
include/alibabacloud/arms/model/DescribeWebhookContactsRequest.h
|
||||
include/alibabacloud/arms/model/DescribeWebhookContactsResult.h
|
||||
include/alibabacloud/arms/model/DoInsightsActionRequest.h
|
||||
include/alibabacloud/arms/model/DoInsightsActionResult.h
|
||||
include/alibabacloud/arms/model/EnableMetricRequest.h
|
||||
include/alibabacloud/arms/model/EnableMetricResult.h
|
||||
include/alibabacloud/arms/model/GetAgentDownloadUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
|
||||
include/alibabacloud/arms/model/GetAlertRulesRequest.h
|
||||
include/alibabacloud/arms/model/GetAlertRulesResult.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageRequest.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageResult.h
|
||||
include/alibabacloud/arms/model/GetAppJVMConfigRequest.h
|
||||
include/alibabacloud/arms/model/GetAppJVMConfigResult.h
|
||||
include/alibabacloud/arms/model/GetAuthTokenRequest.h
|
||||
include/alibabacloud/arms/model/GetAuthTokenResult.h
|
||||
include/alibabacloud/arms/model/GetCloudClusterAllUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetCloudClusterAllUrlResult.h
|
||||
include/alibabacloud/arms/model/GetClusterAllUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetClusterAllUrlResult.h
|
||||
include/alibabacloud/arms/model/GetCommercialStatusRequest.h
|
||||
include/alibabacloud/arms/model/GetCommercialStatusResult.h
|
||||
include/alibabacloud/arms/model/GetExploreUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetExploreUrlResult.h
|
||||
include/alibabacloud/arms/model/GetGrafanaWorkspaceRequest.h
|
||||
include/alibabacloud/arms/model/GetGrafanaWorkspaceResult.h
|
||||
include/alibabacloud/arms/model/GetIntegrationStateRequest.h
|
||||
include/alibabacloud/arms/model/GetIntegrationStateResult.h
|
||||
include/alibabacloud/arms/model/GetManagedPrometheusStatusRequest.h
|
||||
@@ -161,32 +249,72 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/GetPrometheusApiTokenResult.h
|
||||
include/alibabacloud/arms/model/GetPrometheusGlobalViewRequest.h
|
||||
include/alibabacloud/arms/model/GetPrometheusGlobalViewResult.h
|
||||
include/alibabacloud/arms/model/GetPrometheusInstanceRequest.h
|
||||
include/alibabacloud/arms/model/GetPrometheusInstanceResult.h
|
||||
include/alibabacloud/arms/model/GetPrometheusIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/GetPrometheusIntegrationResult.h
|
||||
include/alibabacloud/arms/model/GetPrometheusMonitoringRequest.h
|
||||
include/alibabacloud/arms/model/GetPrometheusMonitoringResult.h
|
||||
include/alibabacloud/arms/model/GetRecordingRuleRequest.h
|
||||
include/alibabacloud/arms/model/GetRecordingRuleResult.h
|
||||
include/alibabacloud/arms/model/GetRetcodeAppByPidRequest.h
|
||||
include/alibabacloud/arms/model/GetRetcodeAppByPidResult.h
|
||||
include/alibabacloud/arms/model/GetRetcodeDataByQueryRequest.h
|
||||
include/alibabacloud/arms/model/GetRetcodeDataByQueryResult.h
|
||||
include/alibabacloud/arms/model/GetRetcodeLogstoreRequest.h
|
||||
include/alibabacloud/arms/model/GetRetcodeLogstoreResult.h
|
||||
include/alibabacloud/arms/model/GetRetcodeShareUrlRequest.h
|
||||
include/alibabacloud/arms/model/GetRetcodeShareUrlResult.h
|
||||
include/alibabacloud/arms/model/GetRumAppInfoRequest.h
|
||||
include/alibabacloud/arms/model/GetRumAppInfoResult.h
|
||||
include/alibabacloud/arms/model/GetRumAppsRequest.h
|
||||
include/alibabacloud/arms/model/GetRumAppsResult.h
|
||||
include/alibabacloud/arms/model/GetRumDataForPageRequest.h
|
||||
include/alibabacloud/arms/model/GetRumDataForPageResult.h
|
||||
include/alibabacloud/arms/model/GetRumExceptionStackRequest.h
|
||||
include/alibabacloud/arms/model/GetRumExceptionStackResult.h
|
||||
include/alibabacloud/arms/model/GetRumOcuStatisticDataRequest.h
|
||||
include/alibabacloud/arms/model/GetRumOcuStatisticDataResult.h
|
||||
include/alibabacloud/arms/model/GetRumUploadFilesRequest.h
|
||||
include/alibabacloud/arms/model/GetRumUploadFilesResult.h
|
||||
include/alibabacloud/arms/model/GetSourceMapInfoRequest.h
|
||||
include/alibabacloud/arms/model/GetSourceMapInfoResult.h
|
||||
include/alibabacloud/arms/model/GetStackRequest.h
|
||||
include/alibabacloud/arms/model/GetStackResult.h
|
||||
include/alibabacloud/arms/model/GetSyntheticMonitorsRequest.h
|
||||
include/alibabacloud/arms/model/GetSyntheticMonitorsResult.h
|
||||
include/alibabacloud/arms/model/GetSyntheticTaskDetailRequest.h
|
||||
include/alibabacloud/arms/model/GetSyntheticTaskDetailResult.h
|
||||
include/alibabacloud/arms/model/GetSyntheticTaskListRequest.h
|
||||
include/alibabacloud/arms/model/GetSyntheticTaskListResult.h
|
||||
include/alibabacloud/arms/model/GetSyntheticTaskMonitorsRequest.h
|
||||
include/alibabacloud/arms/model/GetSyntheticTaskMonitorsResult.h
|
||||
include/alibabacloud/arms/model/GetTimingSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/GetTimingSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/GetTraceRequest.h
|
||||
include/alibabacloud/arms/model/GetTraceResult.h
|
||||
include/alibabacloud/arms/model/GetTraceAppRequest.h
|
||||
include/alibabacloud/arms/model/GetTraceAppResult.h
|
||||
include/alibabacloud/arms/model/GetTraceAppConfigRequest.h
|
||||
include/alibabacloud/arms/model/GetTraceAppConfigResult.h
|
||||
include/alibabacloud/arms/model/ImportAppAlertRulesRequest.h
|
||||
include/alibabacloud/arms/model/ImportAppAlertRulesResult.h
|
||||
include/alibabacloud/arms/model/InitEnvironmentRequest.h
|
||||
include/alibabacloud/arms/model/InitEnvironmentResult.h
|
||||
include/alibabacloud/arms/model/InstallAddonRequest.h
|
||||
include/alibabacloud/arms/model/InstallAddonResult.h
|
||||
include/alibabacloud/arms/model/InstallCmsExporterRequest.h
|
||||
include/alibabacloud/arms/model/InstallCmsExporterResult.h
|
||||
include/alibabacloud/arms/model/InstallEnvironmentFeatureRequest.h
|
||||
include/alibabacloud/arms/model/InstallEnvironmentFeatureResult.h
|
||||
include/alibabacloud/arms/model/InstallManagedPrometheusRequest.h
|
||||
include/alibabacloud/arms/model/InstallManagedPrometheusResult.h
|
||||
include/alibabacloud/arms/model/ListActivatedAlertsRequest.h
|
||||
include/alibabacloud/arms/model/ListActivatedAlertsResult.h
|
||||
include/alibabacloud/arms/model/ListAddonReleasesRequest.h
|
||||
include/alibabacloud/arms/model/ListAddonReleasesResult.h
|
||||
include/alibabacloud/arms/model/ListAddonsRequest.h
|
||||
include/alibabacloud/arms/model/ListAddonsResult.h
|
||||
include/alibabacloud/arms/model/ListAlertEventsRequest.h
|
||||
include/alibabacloud/arms/model/ListAlertEventsResult.h
|
||||
include/alibabacloud/arms/model/ListAlertsRequest.h
|
||||
@@ -201,10 +329,24 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/ListDashboardsByNameResult.h
|
||||
include/alibabacloud/arms/model/ListDispatchRuleRequest.h
|
||||
include/alibabacloud/arms/model/ListDispatchRuleResult.h
|
||||
include/alibabacloud/arms/model/ListEnvCustomJobsRequest.h
|
||||
include/alibabacloud/arms/model/ListEnvCustomJobsResult.h
|
||||
include/alibabacloud/arms/model/ListEnvPodMonitorsRequest.h
|
||||
include/alibabacloud/arms/model/ListEnvPodMonitorsResult.h
|
||||
include/alibabacloud/arms/model/ListEnvServiceMonitorsRequest.h
|
||||
include/alibabacloud/arms/model/ListEnvServiceMonitorsResult.h
|
||||
include/alibabacloud/arms/model/ListEnvironmentDashboardsRequest.h
|
||||
include/alibabacloud/arms/model/ListEnvironmentDashboardsResult.h
|
||||
include/alibabacloud/arms/model/ListEnvironmentFeaturesRequest.h
|
||||
include/alibabacloud/arms/model/ListEnvironmentFeaturesResult.h
|
||||
include/alibabacloud/arms/model/ListEnvironmentsRequest.h
|
||||
include/alibabacloud/arms/model/ListEnvironmentsResult.h
|
||||
include/alibabacloud/arms/model/ListEscalationPoliciesRequest.h
|
||||
include/alibabacloud/arms/model/ListEscalationPoliciesResult.h
|
||||
include/alibabacloud/arms/model/ListEventBridgeIntegrationsRequest.h
|
||||
include/alibabacloud/arms/model/ListEventBridgeIntegrationsResult.h
|
||||
include/alibabacloud/arms/model/ListGrafanaWorkspaceRequest.h
|
||||
include/alibabacloud/arms/model/ListGrafanaWorkspaceResult.h
|
||||
include/alibabacloud/arms/model/ListInsightsEventsRequest.h
|
||||
include/alibabacloud/arms/model/ListInsightsEventsResult.h
|
||||
include/alibabacloud/arms/model/ListIntegrationRequest.h
|
||||
@@ -219,14 +361,24 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/ListPrometheusAlertTemplatesResult.h
|
||||
include/alibabacloud/arms/model/ListPrometheusGlobalViewRequest.h
|
||||
include/alibabacloud/arms/model/ListPrometheusGlobalViewResult.h
|
||||
include/alibabacloud/arms/model/ListPrometheusInstanceByTagAndResourceGroupIdRequest.h
|
||||
include/alibabacloud/arms/model/ListPrometheusInstanceByTagAndResourceGroupIdResult.h
|
||||
include/alibabacloud/arms/model/ListPrometheusInstancesRequest.h
|
||||
include/alibabacloud/arms/model/ListPrometheusInstancesResult.h
|
||||
include/alibabacloud/arms/model/ListPrometheusIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/ListPrometheusIntegrationResult.h
|
||||
include/alibabacloud/arms/model/ListPrometheusMonitoringRequest.h
|
||||
include/alibabacloud/arms/model/ListPrometheusMonitoringResult.h
|
||||
include/alibabacloud/arms/model/ListRetcodeAppsRequest.h
|
||||
include/alibabacloud/arms/model/ListRetcodeAppsResult.h
|
||||
include/alibabacloud/arms/model/ListScenarioRequest.h
|
||||
include/alibabacloud/arms/model/ListScenarioResult.h
|
||||
include/alibabacloud/arms/model/ListSilencePoliciesRequest.h
|
||||
include/alibabacloud/arms/model/ListSilencePoliciesResult.h
|
||||
include/alibabacloud/arms/model/ListSyntheticDetailRequest.h
|
||||
include/alibabacloud/arms/model/ListSyntheticDetailResult.h
|
||||
include/alibabacloud/arms/model/ListTimingSyntheticTasksRequest.h
|
||||
include/alibabacloud/arms/model/ListTimingSyntheticTasksResult.h
|
||||
include/alibabacloud/arms/model/ListTraceAppsRequest.h
|
||||
include/alibabacloud/arms/model/ListTraceAppsResult.h
|
||||
include/alibabacloud/arms/model/ManageGetRecordingRuleRequest.h
|
||||
@@ -241,6 +393,12 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/OpenVClusterResult.h
|
||||
include/alibabacloud/arms/model/OpenXtraceDefaultSLRRequest.h
|
||||
include/alibabacloud/arms/model/OpenXtraceDefaultSLRResult.h
|
||||
include/alibabacloud/arms/model/QueryAppMetadataRequest.h
|
||||
include/alibabacloud/arms/model/QueryAppMetadataResult.h
|
||||
include/alibabacloud/arms/model/QueryAppTopologyRequest.h
|
||||
include/alibabacloud/arms/model/QueryAppTopologyResult.h
|
||||
include/alibabacloud/arms/model/QueryCommercialUsageRequest.h
|
||||
include/alibabacloud/arms/model/QueryCommercialUsageResult.h
|
||||
include/alibabacloud/arms/model/QueryMetricByPageRequest.h
|
||||
include/alibabacloud/arms/model/QueryMetricByPageResult.h
|
||||
include/alibabacloud/arms/model/QueryPromInstallStatusRequest.h
|
||||
@@ -251,6 +409,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/RemoveAliClusterIdsFromPrometheusGlobalViewResult.h
|
||||
include/alibabacloud/arms/model/RemoveSourcesFromPrometheusGlobalViewRequest.h
|
||||
include/alibabacloud/arms/model/RemoveSourcesFromPrometheusGlobalViewResult.h
|
||||
include/alibabacloud/arms/model/RestartEnvironmentFeatureRequest.h
|
||||
include/alibabacloud/arms/model/RestartEnvironmentFeatureResult.h
|
||||
include/alibabacloud/arms/model/SaveTraceAppConfigRequest.h
|
||||
include/alibabacloud/arms/model/SaveTraceAppConfigResult.h
|
||||
include/alibabacloud/arms/model/SearchAlertContactRequest.h
|
||||
@@ -279,18 +439,24 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/SetRetcodeShareStatusResult.h
|
||||
include/alibabacloud/arms/model/StartAlertRequest.h
|
||||
include/alibabacloud/arms/model/StartAlertResult.h
|
||||
include/alibabacloud/arms/model/StartTimingSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/StartTimingSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/StopAlertRequest.h
|
||||
include/alibabacloud/arms/model/StopAlertResult.h
|
||||
include/alibabacloud/arms/model/StopTimingSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/StopTimingSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/SwitchSyntheticTaskStatusRequest.h
|
||||
include/alibabacloud/arms/model/SwitchSyntheticTaskStatusResult.h
|
||||
include/alibabacloud/arms/model/SyncRecordingRulesRequest.h
|
||||
include/alibabacloud/arms/model/SyncRecordingRulesResult.h
|
||||
include/alibabacloud/arms/model/TurnOnSecondSwitchRequest.h
|
||||
include/alibabacloud/arms/model/TurnOnSecondSwitchResult.h
|
||||
include/alibabacloud/arms/model/TagResourcesRequest.h
|
||||
include/alibabacloud/arms/model/TagResourcesResult.h
|
||||
include/alibabacloud/arms/model/UninstallManagedPrometheusRequest.h
|
||||
include/alibabacloud/arms/model/UninstallManagedPrometheusResult.h
|
||||
include/alibabacloud/arms/model/UninstallPromClusterRequest.h
|
||||
include/alibabacloud/arms/model/UninstallPromClusterResult.h
|
||||
include/alibabacloud/arms/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/arms/model/UntagResourcesResult.h
|
||||
include/alibabacloud/arms/model/UpdateAlertContactRequest.h
|
||||
include/alibabacloud/arms/model/UpdateAlertContactResult.h
|
||||
include/alibabacloud/arms/model/UpdateAlertContactGroupRequest.h
|
||||
@@ -299,12 +465,46 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/UpdateAlertRuleResult.h
|
||||
include/alibabacloud/arms/model/UpdateDispatchRuleRequest.h
|
||||
include/alibabacloud/arms/model/UpdateDispatchRuleResult.h
|
||||
include/alibabacloud/arms/model/UpdateEnvCustomJobRequest.h
|
||||
include/alibabacloud/arms/model/UpdateEnvCustomJobResult.h
|
||||
include/alibabacloud/arms/model/UpdateEnvPodMonitorRequest.h
|
||||
include/alibabacloud/arms/model/UpdateEnvPodMonitorResult.h
|
||||
include/alibabacloud/arms/model/UpdateEnvServiceMonitorRequest.h
|
||||
include/alibabacloud/arms/model/UpdateEnvServiceMonitorResult.h
|
||||
include/alibabacloud/arms/model/UpdateEnvironmentRequest.h
|
||||
include/alibabacloud/arms/model/UpdateEnvironmentResult.h
|
||||
include/alibabacloud/arms/model/UpdateGrafanaWorkspaceRequest.h
|
||||
include/alibabacloud/arms/model/UpdateGrafanaWorkspaceResult.h
|
||||
include/alibabacloud/arms/model/UpdateGrafanaWorkspaceVersionRequest.h
|
||||
include/alibabacloud/arms/model/UpdateGrafanaWorkspaceVersionResult.h
|
||||
include/alibabacloud/arms/model/UpdateIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/UpdateIntegrationResult.h
|
||||
include/alibabacloud/arms/model/UpdateMetricDropRequest.h
|
||||
include/alibabacloud/arms/model/UpdateMetricDropResult.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusAlertRuleRequest.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusAlertRuleResult.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusGlobalViewRequest.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusGlobalViewResult.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusInstanceRequest.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusInstanceResult.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusIntegrationRequest.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusIntegrationResult.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusMonitoringRequest.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusMonitoringResult.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusMonitoringStatusRequest.h
|
||||
include/alibabacloud/arms/model/UpdatePrometheusMonitoringStatusResult.h
|
||||
include/alibabacloud/arms/model/UpdateRumAppRequest.h
|
||||
include/alibabacloud/arms/model/UpdateRumAppResult.h
|
||||
include/alibabacloud/arms/model/UpdateRumFileStatusRequest.h
|
||||
include/alibabacloud/arms/model/UpdateRumFileStatusResult.h
|
||||
include/alibabacloud/arms/model/UpdateTimingSyntheticTaskRequest.h
|
||||
include/alibabacloud/arms/model/UpdateTimingSyntheticTaskResult.h
|
||||
include/alibabacloud/arms/model/UpdateWebhookRequest.h
|
||||
include/alibabacloud/arms/model/UpdateWebhookResult.h
|
||||
include/alibabacloud/arms/model/UpgradeAddonReleaseRequest.h
|
||||
include/alibabacloud/arms/model/UpgradeAddonReleaseResult.h
|
||||
include/alibabacloud/arms/model/UpgradeEnvironmentFeatureRequest.h
|
||||
include/alibabacloud/arms/model/UpgradeEnvironmentFeatureResult.h
|
||||
include/alibabacloud/arms/model/UploadRequest.h
|
||||
include/alibabacloud/arms/model/UploadResult.h )
|
||||
|
||||
@@ -322,14 +522,32 @@ set(arms_src
|
||||
src/model/AddPrometheusGlobalViewByAliClusterIdsResult.cc
|
||||
src/model/AddPrometheusInstanceRequest.cc
|
||||
src/model/AddPrometheusInstanceResult.cc
|
||||
src/model/AddPrometheusIntegrationRequest.cc
|
||||
src/model/AddPrometheusIntegrationResult.cc
|
||||
src/model/AddRecordingRuleRequest.cc
|
||||
src/model/AddRecordingRuleResult.cc
|
||||
src/model/AddTagToFlinkClusterRequest.cc
|
||||
src/model/AddTagToFlinkClusterResult.cc
|
||||
src/model/AppendInstancesToPrometheusGlobalViewRequest.cc
|
||||
src/model/AppendInstancesToPrometheusGlobalViewResult.cc
|
||||
src/model/ApplyScenarioRequest.cc
|
||||
src/model/ApplyScenarioResult.cc
|
||||
src/model/BindPrometheusGrafanaInstanceRequest.cc
|
||||
src/model/BindPrometheusGrafanaInstanceResult.cc
|
||||
src/model/BlockAlarmNotificationRequest.cc
|
||||
src/model/BlockAlarmNotificationResult.cc
|
||||
src/model/ChangeAlarmSeverityRequest.cc
|
||||
src/model/ChangeAlarmSeverityResult.cc
|
||||
src/model/ChangeResourceGroupRequest.cc
|
||||
src/model/ChangeResourceGroupResult.cc
|
||||
src/model/CheckCommercialStatusRequest.cc
|
||||
src/model/CheckCommercialStatusResult.cc
|
||||
src/model/CheckServiceStatusRequest.cc
|
||||
src/model/CheckServiceStatusResult.cc
|
||||
src/model/ClaimAlarmRequest.cc
|
||||
src/model/ClaimAlarmResult.cc
|
||||
src/model/CloseAlarmRequest.cc
|
||||
src/model/CloseAlarmResult.cc
|
||||
src/model/ConfigAppRequest.cc
|
||||
src/model/ConfigAppResult.cc
|
||||
src/model/CreateAlertContactRequest.cc
|
||||
@@ -338,6 +556,16 @@ set(arms_src
|
||||
src/model/CreateAlertContactGroupResult.cc
|
||||
src/model/CreateDispatchRuleRequest.cc
|
||||
src/model/CreateDispatchRuleResult.cc
|
||||
src/model/CreateEnvCustomJobRequest.cc
|
||||
src/model/CreateEnvCustomJobResult.cc
|
||||
src/model/CreateEnvPodMonitorRequest.cc
|
||||
src/model/CreateEnvPodMonitorResult.cc
|
||||
src/model/CreateEnvServiceMonitorRequest.cc
|
||||
src/model/CreateEnvServiceMonitorResult.cc
|
||||
src/model/CreateEnvironmentRequest.cc
|
||||
src/model/CreateEnvironmentResult.cc
|
||||
src/model/CreateGrafanaWorkspaceRequest.cc
|
||||
src/model/CreateGrafanaWorkspaceResult.cc
|
||||
src/model/CreateIntegrationRequest.cc
|
||||
src/model/CreateIntegrationResult.cc
|
||||
src/model/CreateOrUpdateAlertRuleRequest.cc
|
||||
@@ -358,14 +586,26 @@ set(arms_src
|
||||
src/model/CreateOrUpdateWebhookContactResult.cc
|
||||
src/model/CreatePrometheusAlertRuleRequest.cc
|
||||
src/model/CreatePrometheusAlertRuleResult.cc
|
||||
src/model/CreatePrometheusInstanceRequest.cc
|
||||
src/model/CreatePrometheusInstanceResult.cc
|
||||
src/model/CreatePrometheusMonitoringRequest.cc
|
||||
src/model/CreatePrometheusMonitoringResult.cc
|
||||
src/model/CreateRetcodeAppRequest.cc
|
||||
src/model/CreateRetcodeAppResult.cc
|
||||
src/model/CreateRumAppRequest.cc
|
||||
src/model/CreateRumAppResult.cc
|
||||
src/model/CreateRumUploadFileUrlRequest.cc
|
||||
src/model/CreateRumUploadFileUrlResult.cc
|
||||
src/model/CreateSyntheticTaskRequest.cc
|
||||
src/model/CreateSyntheticTaskResult.cc
|
||||
src/model/CreateTimingSyntheticTaskRequest.cc
|
||||
src/model/CreateTimingSyntheticTaskResult.cc
|
||||
src/model/CreateWebhookRequest.cc
|
||||
src/model/CreateWebhookResult.cc
|
||||
src/model/DelAuthTokenRequest.cc
|
||||
src/model/DelAuthTokenResult.cc
|
||||
src/model/DeleteAddonReleaseRequest.cc
|
||||
src/model/DeleteAddonReleaseResult.cc
|
||||
src/model/DeleteAlertContactRequest.cc
|
||||
src/model/DeleteAlertContactResult.cc
|
||||
src/model/DeleteAlertContactGroupRequest.cc
|
||||
@@ -374,6 +614,8 @@ set(arms_src
|
||||
src/model/DeleteAlertRuleResult.cc
|
||||
src/model/DeleteAlertRulesRequest.cc
|
||||
src/model/DeleteAlertRulesResult.cc
|
||||
src/model/DeleteAppListRequest.cc
|
||||
src/model/DeleteAppListResult.cc
|
||||
src/model/DeleteCmsExporterRequest.cc
|
||||
src/model/DeleteCmsExporterResult.cc
|
||||
src/model/DeleteContactRequest.cc
|
||||
@@ -382,10 +624,22 @@ set(arms_src
|
||||
src/model/DeleteContactGroupResult.cc
|
||||
src/model/DeleteDispatchRuleRequest.cc
|
||||
src/model/DeleteDispatchRuleResult.cc
|
||||
src/model/DeleteEnvCustomJobRequest.cc
|
||||
src/model/DeleteEnvCustomJobResult.cc
|
||||
src/model/DeleteEnvPodMonitorRequest.cc
|
||||
src/model/DeleteEnvPodMonitorResult.cc
|
||||
src/model/DeleteEnvServiceMonitorRequest.cc
|
||||
src/model/DeleteEnvServiceMonitorResult.cc
|
||||
src/model/DeleteEnvironmentRequest.cc
|
||||
src/model/DeleteEnvironmentResult.cc
|
||||
src/model/DeleteEnvironmentFeatureRequest.cc
|
||||
src/model/DeleteEnvironmentFeatureResult.cc
|
||||
src/model/DeleteEventBridgeIntegrationRequest.cc
|
||||
src/model/DeleteEventBridgeIntegrationResult.cc
|
||||
src/model/DeleteGrafanaResourceRequest.cc
|
||||
src/model/DeleteGrafanaResourceResult.cc
|
||||
src/model/DeleteGrafanaWorkspaceRequest.cc
|
||||
src/model/DeleteGrafanaWorkspaceResult.cc
|
||||
src/model/DeleteIMRobotRequest.cc
|
||||
src/model/DeleteIMRobotResult.cc
|
||||
src/model/DeleteIntegrationRequest.cc
|
||||
@@ -398,8 +652,16 @@ set(arms_src
|
||||
src/model/DeletePrometheusAlertRuleResult.cc
|
||||
src/model/DeletePrometheusGlobalViewRequest.cc
|
||||
src/model/DeletePrometheusGlobalViewResult.cc
|
||||
src/model/DeletePrometheusIntegrationRequest.cc
|
||||
src/model/DeletePrometheusIntegrationResult.cc
|
||||
src/model/DeletePrometheusMonitoringRequest.cc
|
||||
src/model/DeletePrometheusMonitoringResult.cc
|
||||
src/model/DeleteRetcodeAppRequest.cc
|
||||
src/model/DeleteRetcodeAppResult.cc
|
||||
src/model/DeleteRumAppRequest.cc
|
||||
src/model/DeleteRumAppResult.cc
|
||||
src/model/DeleteRumUploadFileRequest.cc
|
||||
src/model/DeleteRumUploadFileResult.cc
|
||||
src/model/DeleteScenarioRequest.cc
|
||||
src/model/DeleteScenarioResult.cc
|
||||
src/model/DeleteSilencePolicyRequest.cc
|
||||
@@ -408,16 +670,30 @@ set(arms_src
|
||||
src/model/DeleteSourceMapResult.cc
|
||||
src/model/DeleteSyntheticTaskRequest.cc
|
||||
src/model/DeleteSyntheticTaskResult.cc
|
||||
src/model/DeleteTimingSyntheticTaskRequest.cc
|
||||
src/model/DeleteTimingSyntheticTaskResult.cc
|
||||
src/model/DeleteTraceAppRequest.cc
|
||||
src/model/DeleteTraceAppResult.cc
|
||||
src/model/DeleteWebhookContactRequest.cc
|
||||
src/model/DeleteWebhookContactResult.cc
|
||||
src/model/DescribeAddonReleaseRequest.cc
|
||||
src/model/DescribeAddonReleaseResult.cc
|
||||
src/model/DescribeContactGroupsRequest.cc
|
||||
src/model/DescribeContactGroupsResult.cc
|
||||
src/model/DescribeContactsRequest.cc
|
||||
src/model/DescribeContactsResult.cc
|
||||
src/model/DescribeDispatchRuleRequest.cc
|
||||
src/model/DescribeDispatchRuleResult.cc
|
||||
src/model/DescribeEnvCustomJobRequest.cc
|
||||
src/model/DescribeEnvCustomJobResult.cc
|
||||
src/model/DescribeEnvPodMonitorRequest.cc
|
||||
src/model/DescribeEnvPodMonitorResult.cc
|
||||
src/model/DescribeEnvServiceMonitorRequest.cc
|
||||
src/model/DescribeEnvServiceMonitorResult.cc
|
||||
src/model/DescribeEnvironmentRequest.cc
|
||||
src/model/DescribeEnvironmentResult.cc
|
||||
src/model/DescribeEnvironmentFeatureRequest.cc
|
||||
src/model/DescribeEnvironmentFeatureResult.cc
|
||||
src/model/DescribeIMRobotsRequest.cc
|
||||
src/model/DescribeIMRobotsResult.cc
|
||||
src/model/DescribePrometheusAlertRuleRequest.cc
|
||||
@@ -426,18 +702,30 @@ set(arms_src
|
||||
src/model/DescribeTraceLicenseKeyResult.cc
|
||||
src/model/DescribeWebhookContactsRequest.cc
|
||||
src/model/DescribeWebhookContactsResult.cc
|
||||
src/model/DoInsightsActionRequest.cc
|
||||
src/model/DoInsightsActionResult.cc
|
||||
src/model/EnableMetricRequest.cc
|
||||
src/model/EnableMetricResult.cc
|
||||
src/model/GetAgentDownloadUrlRequest.cc
|
||||
src/model/GetAgentDownloadUrlResult.cc
|
||||
src/model/GetAlertRulesRequest.cc
|
||||
src/model/GetAlertRulesResult.cc
|
||||
src/model/GetAppApiByPageRequest.cc
|
||||
src/model/GetAppApiByPageResult.cc
|
||||
src/model/GetAppJVMConfigRequest.cc
|
||||
src/model/GetAppJVMConfigResult.cc
|
||||
src/model/GetAuthTokenRequest.cc
|
||||
src/model/GetAuthTokenResult.cc
|
||||
src/model/GetCloudClusterAllUrlRequest.cc
|
||||
src/model/GetCloudClusterAllUrlResult.cc
|
||||
src/model/GetClusterAllUrlRequest.cc
|
||||
src/model/GetClusterAllUrlResult.cc
|
||||
src/model/GetCommercialStatusRequest.cc
|
||||
src/model/GetCommercialStatusResult.cc
|
||||
src/model/GetExploreUrlRequest.cc
|
||||
src/model/GetExploreUrlResult.cc
|
||||
src/model/GetGrafanaWorkspaceRequest.cc
|
||||
src/model/GetGrafanaWorkspaceResult.cc
|
||||
src/model/GetIntegrationStateRequest.cc
|
||||
src/model/GetIntegrationStateResult.cc
|
||||
src/model/GetManagedPrometheusStatusRequest.cc
|
||||
@@ -450,32 +738,72 @@ set(arms_src
|
||||
src/model/GetPrometheusApiTokenResult.cc
|
||||
src/model/GetPrometheusGlobalViewRequest.cc
|
||||
src/model/GetPrometheusGlobalViewResult.cc
|
||||
src/model/GetPrometheusInstanceRequest.cc
|
||||
src/model/GetPrometheusInstanceResult.cc
|
||||
src/model/GetPrometheusIntegrationRequest.cc
|
||||
src/model/GetPrometheusIntegrationResult.cc
|
||||
src/model/GetPrometheusMonitoringRequest.cc
|
||||
src/model/GetPrometheusMonitoringResult.cc
|
||||
src/model/GetRecordingRuleRequest.cc
|
||||
src/model/GetRecordingRuleResult.cc
|
||||
src/model/GetRetcodeAppByPidRequest.cc
|
||||
src/model/GetRetcodeAppByPidResult.cc
|
||||
src/model/GetRetcodeDataByQueryRequest.cc
|
||||
src/model/GetRetcodeDataByQueryResult.cc
|
||||
src/model/GetRetcodeLogstoreRequest.cc
|
||||
src/model/GetRetcodeLogstoreResult.cc
|
||||
src/model/GetRetcodeShareUrlRequest.cc
|
||||
src/model/GetRetcodeShareUrlResult.cc
|
||||
src/model/GetRumAppInfoRequest.cc
|
||||
src/model/GetRumAppInfoResult.cc
|
||||
src/model/GetRumAppsRequest.cc
|
||||
src/model/GetRumAppsResult.cc
|
||||
src/model/GetRumDataForPageRequest.cc
|
||||
src/model/GetRumDataForPageResult.cc
|
||||
src/model/GetRumExceptionStackRequest.cc
|
||||
src/model/GetRumExceptionStackResult.cc
|
||||
src/model/GetRumOcuStatisticDataRequest.cc
|
||||
src/model/GetRumOcuStatisticDataResult.cc
|
||||
src/model/GetRumUploadFilesRequest.cc
|
||||
src/model/GetRumUploadFilesResult.cc
|
||||
src/model/GetSourceMapInfoRequest.cc
|
||||
src/model/GetSourceMapInfoResult.cc
|
||||
src/model/GetStackRequest.cc
|
||||
src/model/GetStackResult.cc
|
||||
src/model/GetSyntheticMonitorsRequest.cc
|
||||
src/model/GetSyntheticMonitorsResult.cc
|
||||
src/model/GetSyntheticTaskDetailRequest.cc
|
||||
src/model/GetSyntheticTaskDetailResult.cc
|
||||
src/model/GetSyntheticTaskListRequest.cc
|
||||
src/model/GetSyntheticTaskListResult.cc
|
||||
src/model/GetSyntheticTaskMonitorsRequest.cc
|
||||
src/model/GetSyntheticTaskMonitorsResult.cc
|
||||
src/model/GetTimingSyntheticTaskRequest.cc
|
||||
src/model/GetTimingSyntheticTaskResult.cc
|
||||
src/model/GetTraceRequest.cc
|
||||
src/model/GetTraceResult.cc
|
||||
src/model/GetTraceAppRequest.cc
|
||||
src/model/GetTraceAppResult.cc
|
||||
src/model/GetTraceAppConfigRequest.cc
|
||||
src/model/GetTraceAppConfigResult.cc
|
||||
src/model/ImportAppAlertRulesRequest.cc
|
||||
src/model/ImportAppAlertRulesResult.cc
|
||||
src/model/InitEnvironmentRequest.cc
|
||||
src/model/InitEnvironmentResult.cc
|
||||
src/model/InstallAddonRequest.cc
|
||||
src/model/InstallAddonResult.cc
|
||||
src/model/InstallCmsExporterRequest.cc
|
||||
src/model/InstallCmsExporterResult.cc
|
||||
src/model/InstallEnvironmentFeatureRequest.cc
|
||||
src/model/InstallEnvironmentFeatureResult.cc
|
||||
src/model/InstallManagedPrometheusRequest.cc
|
||||
src/model/InstallManagedPrometheusResult.cc
|
||||
src/model/ListActivatedAlertsRequest.cc
|
||||
src/model/ListActivatedAlertsResult.cc
|
||||
src/model/ListAddonReleasesRequest.cc
|
||||
src/model/ListAddonReleasesResult.cc
|
||||
src/model/ListAddonsRequest.cc
|
||||
src/model/ListAddonsResult.cc
|
||||
src/model/ListAlertEventsRequest.cc
|
||||
src/model/ListAlertEventsResult.cc
|
||||
src/model/ListAlertsRequest.cc
|
||||
@@ -490,10 +818,24 @@ set(arms_src
|
||||
src/model/ListDashboardsByNameResult.cc
|
||||
src/model/ListDispatchRuleRequest.cc
|
||||
src/model/ListDispatchRuleResult.cc
|
||||
src/model/ListEnvCustomJobsRequest.cc
|
||||
src/model/ListEnvCustomJobsResult.cc
|
||||
src/model/ListEnvPodMonitorsRequest.cc
|
||||
src/model/ListEnvPodMonitorsResult.cc
|
||||
src/model/ListEnvServiceMonitorsRequest.cc
|
||||
src/model/ListEnvServiceMonitorsResult.cc
|
||||
src/model/ListEnvironmentDashboardsRequest.cc
|
||||
src/model/ListEnvironmentDashboardsResult.cc
|
||||
src/model/ListEnvironmentFeaturesRequest.cc
|
||||
src/model/ListEnvironmentFeaturesResult.cc
|
||||
src/model/ListEnvironmentsRequest.cc
|
||||
src/model/ListEnvironmentsResult.cc
|
||||
src/model/ListEscalationPoliciesRequest.cc
|
||||
src/model/ListEscalationPoliciesResult.cc
|
||||
src/model/ListEventBridgeIntegrationsRequest.cc
|
||||
src/model/ListEventBridgeIntegrationsResult.cc
|
||||
src/model/ListGrafanaWorkspaceRequest.cc
|
||||
src/model/ListGrafanaWorkspaceResult.cc
|
||||
src/model/ListInsightsEventsRequest.cc
|
||||
src/model/ListInsightsEventsResult.cc
|
||||
src/model/ListIntegrationRequest.cc
|
||||
@@ -508,14 +850,24 @@ set(arms_src
|
||||
src/model/ListPrometheusAlertTemplatesResult.cc
|
||||
src/model/ListPrometheusGlobalViewRequest.cc
|
||||
src/model/ListPrometheusGlobalViewResult.cc
|
||||
src/model/ListPrometheusInstanceByTagAndResourceGroupIdRequest.cc
|
||||
src/model/ListPrometheusInstanceByTagAndResourceGroupIdResult.cc
|
||||
src/model/ListPrometheusInstancesRequest.cc
|
||||
src/model/ListPrometheusInstancesResult.cc
|
||||
src/model/ListPrometheusIntegrationRequest.cc
|
||||
src/model/ListPrometheusIntegrationResult.cc
|
||||
src/model/ListPrometheusMonitoringRequest.cc
|
||||
src/model/ListPrometheusMonitoringResult.cc
|
||||
src/model/ListRetcodeAppsRequest.cc
|
||||
src/model/ListRetcodeAppsResult.cc
|
||||
src/model/ListScenarioRequest.cc
|
||||
src/model/ListScenarioResult.cc
|
||||
src/model/ListSilencePoliciesRequest.cc
|
||||
src/model/ListSilencePoliciesResult.cc
|
||||
src/model/ListSyntheticDetailRequest.cc
|
||||
src/model/ListSyntheticDetailResult.cc
|
||||
src/model/ListTimingSyntheticTasksRequest.cc
|
||||
src/model/ListTimingSyntheticTasksResult.cc
|
||||
src/model/ListTraceAppsRequest.cc
|
||||
src/model/ListTraceAppsResult.cc
|
||||
src/model/ManageGetRecordingRuleRequest.cc
|
||||
@@ -530,6 +882,12 @@ set(arms_src
|
||||
src/model/OpenVClusterResult.cc
|
||||
src/model/OpenXtraceDefaultSLRRequest.cc
|
||||
src/model/OpenXtraceDefaultSLRResult.cc
|
||||
src/model/QueryAppMetadataRequest.cc
|
||||
src/model/QueryAppMetadataResult.cc
|
||||
src/model/QueryAppTopologyRequest.cc
|
||||
src/model/QueryAppTopologyResult.cc
|
||||
src/model/QueryCommercialUsageRequest.cc
|
||||
src/model/QueryCommercialUsageResult.cc
|
||||
src/model/QueryMetricByPageRequest.cc
|
||||
src/model/QueryMetricByPageResult.cc
|
||||
src/model/QueryPromInstallStatusRequest.cc
|
||||
@@ -540,6 +898,8 @@ set(arms_src
|
||||
src/model/RemoveAliClusterIdsFromPrometheusGlobalViewResult.cc
|
||||
src/model/RemoveSourcesFromPrometheusGlobalViewRequest.cc
|
||||
src/model/RemoveSourcesFromPrometheusGlobalViewResult.cc
|
||||
src/model/RestartEnvironmentFeatureRequest.cc
|
||||
src/model/RestartEnvironmentFeatureResult.cc
|
||||
src/model/SaveTraceAppConfigRequest.cc
|
||||
src/model/SaveTraceAppConfigResult.cc
|
||||
src/model/SearchAlertContactRequest.cc
|
||||
@@ -568,18 +928,24 @@ set(arms_src
|
||||
src/model/SetRetcodeShareStatusResult.cc
|
||||
src/model/StartAlertRequest.cc
|
||||
src/model/StartAlertResult.cc
|
||||
src/model/StartTimingSyntheticTaskRequest.cc
|
||||
src/model/StartTimingSyntheticTaskResult.cc
|
||||
src/model/StopAlertRequest.cc
|
||||
src/model/StopAlertResult.cc
|
||||
src/model/StopTimingSyntheticTaskRequest.cc
|
||||
src/model/StopTimingSyntheticTaskResult.cc
|
||||
src/model/SwitchSyntheticTaskStatusRequest.cc
|
||||
src/model/SwitchSyntheticTaskStatusResult.cc
|
||||
src/model/SyncRecordingRulesRequest.cc
|
||||
src/model/SyncRecordingRulesResult.cc
|
||||
src/model/TurnOnSecondSwitchRequest.cc
|
||||
src/model/TurnOnSecondSwitchResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UninstallManagedPrometheusRequest.cc
|
||||
src/model/UninstallManagedPrometheusResult.cc
|
||||
src/model/UninstallPromClusterRequest.cc
|
||||
src/model/UninstallPromClusterResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpdateAlertContactRequest.cc
|
||||
src/model/UpdateAlertContactResult.cc
|
||||
src/model/UpdateAlertContactGroupRequest.cc
|
||||
@@ -588,12 +954,46 @@ set(arms_src
|
||||
src/model/UpdateAlertRuleResult.cc
|
||||
src/model/UpdateDispatchRuleRequest.cc
|
||||
src/model/UpdateDispatchRuleResult.cc
|
||||
src/model/UpdateEnvCustomJobRequest.cc
|
||||
src/model/UpdateEnvCustomJobResult.cc
|
||||
src/model/UpdateEnvPodMonitorRequest.cc
|
||||
src/model/UpdateEnvPodMonitorResult.cc
|
||||
src/model/UpdateEnvServiceMonitorRequest.cc
|
||||
src/model/UpdateEnvServiceMonitorResult.cc
|
||||
src/model/UpdateEnvironmentRequest.cc
|
||||
src/model/UpdateEnvironmentResult.cc
|
||||
src/model/UpdateGrafanaWorkspaceRequest.cc
|
||||
src/model/UpdateGrafanaWorkspaceResult.cc
|
||||
src/model/UpdateGrafanaWorkspaceVersionRequest.cc
|
||||
src/model/UpdateGrafanaWorkspaceVersionResult.cc
|
||||
src/model/UpdateIntegrationRequest.cc
|
||||
src/model/UpdateIntegrationResult.cc
|
||||
src/model/UpdateMetricDropRequest.cc
|
||||
src/model/UpdateMetricDropResult.cc
|
||||
src/model/UpdatePrometheusAlertRuleRequest.cc
|
||||
src/model/UpdatePrometheusAlertRuleResult.cc
|
||||
src/model/UpdatePrometheusGlobalViewRequest.cc
|
||||
src/model/UpdatePrometheusGlobalViewResult.cc
|
||||
src/model/UpdatePrometheusInstanceRequest.cc
|
||||
src/model/UpdatePrometheusInstanceResult.cc
|
||||
src/model/UpdatePrometheusIntegrationRequest.cc
|
||||
src/model/UpdatePrometheusIntegrationResult.cc
|
||||
src/model/UpdatePrometheusMonitoringRequest.cc
|
||||
src/model/UpdatePrometheusMonitoringResult.cc
|
||||
src/model/UpdatePrometheusMonitoringStatusRequest.cc
|
||||
src/model/UpdatePrometheusMonitoringStatusResult.cc
|
||||
src/model/UpdateRumAppRequest.cc
|
||||
src/model/UpdateRumAppResult.cc
|
||||
src/model/UpdateRumFileStatusRequest.cc
|
||||
src/model/UpdateRumFileStatusResult.cc
|
||||
src/model/UpdateTimingSyntheticTaskRequest.cc
|
||||
src/model/UpdateTimingSyntheticTaskResult.cc
|
||||
src/model/UpdateWebhookRequest.cc
|
||||
src/model/UpdateWebhookResult.cc
|
||||
src/model/UpgradeAddonReleaseRequest.cc
|
||||
src/model/UpgradeAddonReleaseResult.cc
|
||||
src/model/UpgradeEnvironmentFeatureRequest.cc
|
||||
src/model/UpgradeEnvironmentFeatureResult.cc
|
||||
src/model/UploadRequest.cc
|
||||
src/model/UploadResult.cc )
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -43,12 +43,16 @@ namespace AlibabaCloud
|
||||
AddAliClusterIdsToPrometheusGlobalViewResult();
|
||||
explicit AddAliClusterIdsToPrometheusGlobalViewResult(const std::string &payload);
|
||||
~AddAliClusterIdsToPrometheusGlobalViewResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
AddIntegrationResult();
|
||||
explicit AddIntegrationResult(const std::string &payload);
|
||||
~AddIntegrationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,12 +43,16 @@ namespace AlibabaCloud
|
||||
AddPrometheusGlobalViewByAliClusterIdsResult();
|
||||
explicit AddPrometheusGlobalViewByAliClusterIdsResult(const std::string &payload);
|
||||
~AddPrometheusGlobalViewByAliClusterIdsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,17 +28,27 @@ namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddPrometheusGlobalViewRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
AddPrometheusGlobalViewRequest();
|
||||
~AddPrometheusGlobalViewRequest();
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getClusters() const;
|
||||
void setClusters(const std::string &clusters);
|
||||
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string groupName_;
|
||||
std::string clusters_;
|
||||
};
|
||||
|
||||
@@ -34,8 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Info
|
||||
{
|
||||
std::string failedInstances;
|
||||
std::string globalViewClusterId;
|
||||
std::string regionId;
|
||||
};
|
||||
std::string msg;
|
||||
std::string info;
|
||||
Info info;
|
||||
bool success;
|
||||
};
|
||||
|
||||
@@ -43,12 +49,16 @@ namespace AlibabaCloud
|
||||
AddPrometheusGlobalViewResult();
|
||||
explicit AddPrometheusGlobalViewResult(const std::string &payload);
|
||||
~AddPrometheusGlobalViewResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,18 @@ namespace AlibabaCloud
|
||||
AddPrometheusInstanceResult();
|
||||
explicit AddPrometheusInstanceResult(const std::string &payload);
|
||||
~AddPrometheusInstanceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddPrometheusIntegrationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddPrometheusIntegrationRequest();
|
||||
~AddPrometheusIntegrationRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getIntegrationType() const;
|
||||
void setIntegrationType(const std::string &integrationType);
|
||||
std::string getParam() const;
|
||||
void setParam(const std::string ¶m);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string integrationType_;
|
||||
std::string param_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddPrometheusIntegrationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string instanceName;
|
||||
long instanceId;
|
||||
};
|
||||
|
||||
|
||||
AddPrometheusIntegrationResult();
|
||||
explicit AddPrometheusIntegrationResult(const std::string &payload);
|
||||
~AddPrometheusIntegrationResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONRESULT_H_
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
AddRecordingRuleResult();
|
||||
explicit AddRecordingRuleResult(const std::string &payload);
|
||||
~AddRecordingRuleResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddTagToFlinkClusterRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddTagToFlinkClusterRequest();
|
||||
~AddTagToFlinkClusterRequest();
|
||||
std::string getFlinkWorkSpaceName() const;
|
||||
void setFlinkWorkSpaceName(const std::string &flinkWorkSpaceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getTargetUserId() const;
|
||||
void setTargetUserId(const std::string &targetUserId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getFlinkWorkSpaceId() const;
|
||||
void setFlinkWorkSpaceId(const std::string &flinkWorkSpaceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string flinkWorkSpaceName_;
|
||||
std::string clusterId_;
|
||||
std::string targetUserId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string flinkWorkSpaceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERREQUEST_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_ARMS_MODEL_ADDTAGTOFLINKCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddTagToFlinkClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddTagToFlinkClusterResult();
|
||||
explicit AddTagToFlinkClusterResult(const std::string &payload);
|
||||
~AddTagToFlinkClusterResult();
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERRESULT_H_
|
||||
@@ -43,12 +43,16 @@ namespace AlibabaCloud
|
||||
AppendInstancesToPrometheusGlobalViewResult();
|
||||
explicit AppendInstancesToPrometheusGlobalViewResult(const std::string &payload);
|
||||
~AppendInstancesToPrometheusGlobalViewResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT BindPrometheusGrafanaInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BindPrometheusGrafanaInstanceRequest();
|
||||
~BindPrometheusGrafanaInstanceRequest();
|
||||
std::string getGrafanaInstanceId() const;
|
||||
void setGrafanaInstanceId(const std::string &grafanaInstanceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string grafanaInstanceId_;
|
||||
std::string clusterId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCEREQUEST_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_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT BindPrometheusGrafanaInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindPrometheusGrafanaInstanceResult();
|
||||
explicit BindPrometheusGrafanaInstanceResult(const std::string &payload);
|
||||
~BindPrometheusGrafanaInstanceResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT BlockAlarmNotificationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BlockAlarmNotificationRequest();
|
||||
~BlockAlarmNotificationRequest();
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
long getTimeout() const;
|
||||
void setTimeout(long timeout);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string proxyUserId_;
|
||||
long timeout_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT BlockAlarmNotificationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BlockAlarmNotificationResult();
|
||||
explicit BlockAlarmNotificationResult(const std::string &payload);
|
||||
~BlockAlarmNotificationResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeAlarmSeverityRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ChangeAlarmSeverityRequest();
|
||||
~ChangeAlarmSeverityRequest();
|
||||
std::string getSeverity() const;
|
||||
void setSeverity(const std::string &severity);
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string severity_;
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeAlarmSeverityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangeAlarmSeverityResult();
|
||||
explicit ChangeAlarmSeverityResult(const std::string &payload);
|
||||
~ChangeAlarmSeverityResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYRESULT_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_ARMS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ChangeResourceGroupRequest();
|
||||
~ChangeResourceGroupRequest();
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getNewResourceGroupId() const;
|
||||
void setNewResourceGroupId(const std::string &newResourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string newResourceGroupId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeResourceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string resourceGroupId;
|
||||
std::string resourceId;
|
||||
};
|
||||
|
||||
|
||||
ChangeResourceGroupResult();
|
||||
explicit ChangeResourceGroupResult(const std::string &payload);
|
||||
~ChangeResourceGroupResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CheckCommercialStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CheckCommercialStatusRequest();
|
||||
~CheckCommercialStatusRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getService() const;
|
||||
void setService(const std::string &service);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string service_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSREQUEST_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_ARMS_MODEL_CHECKCOMMERCIALSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CheckCommercialStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckCommercialStatusResult();
|
||||
explicit CheckCommercialStatusResult(const std::string &payload);
|
||||
~CheckCommercialStatusResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSRESULT_H_
|
||||
51
arms/include/alibabacloud/arms/model/ClaimAlarmRequest.h
Normal file
51
arms/include/alibabacloud/arms/model/ClaimAlarmRequest.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_ARMS_MODEL_CLAIMALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLAIMALARMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT ClaimAlarmRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ClaimAlarmRequest();
|
||||
~ClaimAlarmRequest();
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLAIMALARMREQUEST_H_
|
||||
57
arms/include/alibabacloud/arms/model/ClaimAlarmResult.h
Normal file
57
arms/include/alibabacloud/arms/model/ClaimAlarmResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CLAIMALARMRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLAIMALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ClaimAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ClaimAlarmResult();
|
||||
explicit ClaimAlarmResult(const std::string &payload);
|
||||
~ClaimAlarmResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLAIMALARMRESULT_H_
|
||||
54
arms/include/alibabacloud/arms/model/CloseAlarmRequest.h
Normal file
54
arms/include/alibabacloud/arms/model/CloseAlarmRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CLOSEALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLOSEALARMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CloseAlarmRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CloseAlarmRequest();
|
||||
~CloseAlarmRequest();
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getSolution() const;
|
||||
void setSolution(const std::string &solution);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string proxyUserId_;
|
||||
std::string solution_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLOSEALARMREQUEST_H_
|
||||
57
arms/include/alibabacloud/arms/model/CloseAlarmResult.h
Normal file
57
arms/include/alibabacloud/arms/model/CloseAlarmResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CLOSEALARMRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLOSEALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CloseAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CloseAlarmResult();
|
||||
explicit CloseAlarmResult(const std::string &payload);
|
||||
~CloseAlarmResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLOSEALARMRESULT_H_
|
||||
@@ -36,11 +36,14 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEnable() const;
|
||||
void setEnable(const std::string &enable);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
|
||||
private:
|
||||
std::string appIds_;
|
||||
std::string regionId_;
|
||||
std::string enable_;
|
||||
std::string type_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getContactName() const;
|
||||
void setContactName(const std::string &contactName);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDingRobotWebhookUrl() const;
|
||||
@@ -49,6 +51,7 @@ private:
|
||||
std::string phoneNum_;
|
||||
std::string proxyUserId_;
|
||||
std::string contactName_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string dingRobotWebhookUrl_;
|
||||
std::string email_;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvCustomJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEnvCustomJobRequest();
|
||||
~CreateEnvCustomJobRequest();
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getConfigYaml() const;
|
||||
void setConfigYaml(const std::string &configYaml);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCustomJobName() const;
|
||||
void setCustomJobName(const std::string &customJobName);
|
||||
|
||||
private:
|
||||
std::string aliyunLang_;
|
||||
std::string configYaml_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
std::string customJobName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBREQUEST_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_ARMS_MODEL_CREATEENVCUSTOMJOBRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvCustomJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateEnvCustomJobResult();
|
||||
explicit CreateEnvCustomJobResult(const std::string &payload);
|
||||
~CreateEnvCustomJobResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvPodMonitorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEnvPodMonitorRequest();
|
||||
~CreateEnvPodMonitorRequest();
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getConfigYaml() const;
|
||||
void setConfigYaml(const std::string &configYaml);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
bool dryRun_;
|
||||
std::string aliyunLang_;
|
||||
std::string configYaml_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORREQUEST_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_ARMS_MODEL_CREATEENVPODMONITORRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvPodMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string podMonitorName;
|
||||
std::string matchedMsg;
|
||||
std::string matchedTargetCount;
|
||||
std::string _namespace;
|
||||
};
|
||||
|
||||
|
||||
CreateEnvPodMonitorResult();
|
||||
explicit CreateEnvPodMonitorResult(const std::string &payload);
|
||||
~CreateEnvPodMonitorResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvServiceMonitorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEnvServiceMonitorRequest();
|
||||
~CreateEnvServiceMonitorRequest();
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getConfigYaml() const;
|
||||
void setConfigYaml(const std::string &configYaml);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
bool dryRun_;
|
||||
std::string aliyunLang_;
|
||||
std::string configYaml_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORREQUEST_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_ARMS_MODEL_CREATEENVSERVICEMONITORRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvServiceMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string matchedMsg;
|
||||
int matchedTargetCount;
|
||||
std::string _namespace;
|
||||
std::string serviceMonitorName;
|
||||
};
|
||||
|
||||
|
||||
CreateEnvServiceMonitorResult();
|
||||
explicit CreateEnvServiceMonitorResult(const std::string &payload);
|
||||
~CreateEnvServiceMonitorResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORRESULT_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvironmentRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateEnvironmentRequest();
|
||||
~CreateEnvironmentRequest();
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getEnvironmentName() const;
|
||||
void setEnvironmentName(const std::string &environmentName);
|
||||
bool getInitEnvironment() const;
|
||||
void setInitEnvironment(bool initEnvironment);
|
||||
std::string getPrometheusInstanceId() const;
|
||||
void setPrometheusInstanceId(const std::string &prometheusInstanceId);
|
||||
std::string getEnvironmentSubType() const;
|
||||
void setEnvironmentSubType(const std::string &environmentSubType);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getGrafanaWorkspaceId() const;
|
||||
void setGrafanaWorkspaceId(const std::string &grafanaWorkspaceId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEnvironmentType() const;
|
||||
void setEnvironmentType(const std::string &environmentType);
|
||||
std::string getManagedType() const;
|
||||
void setManagedType(const std::string &managedType);
|
||||
std::string getBindResourceId() const;
|
||||
void setBindResourceId(const std::string &bindResourceId);
|
||||
std::string getFeePackage() const;
|
||||
void setFeePackage(const std::string &feePackage);
|
||||
|
||||
private:
|
||||
std::string aliyunLang_;
|
||||
std::string environmentName_;
|
||||
bool initEnvironment_;
|
||||
std::string prometheusInstanceId_;
|
||||
std::string environmentSubType_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string grafanaWorkspaceId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string environmentType_;
|
||||
std::string managedType_;
|
||||
std::string bindResourceId_;
|
||||
std::string feePackage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTREQUEST_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_ARMS_MODEL_CREATEENVIRONMENTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvironmentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateEnvironmentResult();
|
||||
explicit CreateEnvironmentResult(const std::string &payload);
|
||||
~CreateEnvironmentResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTRESULT_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateGrafanaWorkspaceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateGrafanaWorkspaceRequest();
|
||||
~CreateGrafanaWorkspaceRequest();
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getGrafanaWorkspaceName() const;
|
||||
void setGrafanaWorkspaceName(const std::string &grafanaWorkspaceName);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getGrafanaVersion() const;
|
||||
void setGrafanaVersion(const std::string &grafanaVersion);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getGrafanaWorkspaceEdition() const;
|
||||
void setGrafanaWorkspaceEdition(const std::string &grafanaWorkspaceEdition);
|
||||
|
||||
private:
|
||||
std::string aliyunLang_;
|
||||
std::string description_;
|
||||
std::string grafanaWorkspaceName_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string resourceGroupId_;
|
||||
std::string grafanaVersion_;
|
||||
std::string password_;
|
||||
std::string regionId_;
|
||||
std::string grafanaWorkspaceEdition_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACEREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateGrafanaWorkspaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string deployType;
|
||||
std::string personalDomainPrefix;
|
||||
std::string description;
|
||||
std::string ntmId;
|
||||
float endTime;
|
||||
std::string resourceGroupId;
|
||||
std::string grafanaVersion;
|
||||
std::string privateIp;
|
||||
std::string maxAccount;
|
||||
std::string protocol;
|
||||
bool shareSynced;
|
||||
std::string privateDomain;
|
||||
std::string status;
|
||||
std::string grafanaWorkspaceDomain;
|
||||
std::string personalDomain;
|
||||
std::string grafanaWorkspaceId;
|
||||
std::vector<std::string> upgradeVersion;
|
||||
std::string grafanaWorkspaceEdition;
|
||||
std::string snatIp;
|
||||
std::vector<TagsItem> tags;
|
||||
bool commercial;
|
||||
std::string grafanaWorkspaceIp;
|
||||
float gmtCreate;
|
||||
std::string userId;
|
||||
std::string grafanaWorkspaceDomainStatus;
|
||||
std::string grafanaWorkspaceName;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
CreateGrafanaWorkspaceResult();
|
||||
explicit CreateGrafanaWorkspaceResult(const std::string &payload);
|
||||
~CreateGrafanaWorkspaceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getTraceId()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string traceId_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACERESULT_H_
|
||||
@@ -30,22 +30,25 @@ class ALIBABACLOUD_ARMS_EXPORT CreateIntegrationRequest : public RpcServiceReque
|
||||
public:
|
||||
CreateIntegrationRequest();
|
||||
~CreateIntegrationRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
bool getAutoRecover() const;
|
||||
void setAutoRecover(bool autoRecover);
|
||||
long getRecoverTime() const;
|
||||
void setRecoverTime(long recoverTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getIntegrationName() const;
|
||||
void setIntegrationName(const std::string &integrationName);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getIntegrationProductType() const;
|
||||
void setIntegrationProductType(const std::string &integrationProductType);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
bool autoRecover_;
|
||||
long recoverTime_;
|
||||
std::string regionId_;
|
||||
std::string integrationName_;
|
||||
std::string description_;
|
||||
std::string integrationProductType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -28,6 +28,14 @@ namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateOrUpdateAlertRuleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct MarkTags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateOrUpdateAlertRuleRequest();
|
||||
~CreateOrUpdateAlertRuleRequest();
|
||||
long getAlertGroup() const;
|
||||
@@ -38,16 +46,28 @@ public:
|
||||
void setAlertStatus(const std::string &alertStatus);
|
||||
std::string getAnnotations() const;
|
||||
void setAnnotations(const std::string &annotations);
|
||||
std::string getDataConfig() const;
|
||||
void setDataConfig(const std::string &dataConfig);
|
||||
long getDuration() const;
|
||||
void setDuration(long duration);
|
||||
std::string getAutoAddTargetConfig() const;
|
||||
void setAutoAddTargetConfig(const std::string &autoAddTargetConfig);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getMetricsKey() const;
|
||||
void setMetricsKey(const std::string &metricsKey);
|
||||
std::string getAlertPiplines() const;
|
||||
void setAlertPiplines(const std::string &alertPiplines);
|
||||
std::vector<MarkTags> getMarkTags() const;
|
||||
void setMarkTags(const std::vector<MarkTags> &markTags);
|
||||
std::string getNotice() const;
|
||||
void setNotice(const std::string ¬ice);
|
||||
std::string getAlertRuleContent() const;
|
||||
void setAlertRuleContent(const std::string &alertRuleContent);
|
||||
std::string getPromQL() const;
|
||||
void setPromQL(const std::string &promQL);
|
||||
std::string getProduct() const;
|
||||
void setProduct(const std::string &product);
|
||||
std::string getLevel() const;
|
||||
void setLevel(const std::string &level);
|
||||
bool getAutoAddNewApplication() const;
|
||||
@@ -58,10 +78,18 @@ public:
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getMessage() const;
|
||||
void setMessage(const std::string &message);
|
||||
std::string getDurationCompareType() const;
|
||||
void setDurationCompareType(const std::string &durationCompareType);
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getNotifyStrategy() const;
|
||||
void setNotifyStrategy(const std::string ¬ifyStrategy);
|
||||
std::string getLabels() const;
|
||||
void setLabels(const std::string &labels);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getNotifyMode() const;
|
||||
void setNotifyMode(const std::string ¬ifyMode);
|
||||
std::string getAlertType() const;
|
||||
void setAlertType(const std::string &alertType);
|
||||
std::string getAlertCheckType() const;
|
||||
@@ -78,18 +106,28 @@ private:
|
||||
std::string alertName_;
|
||||
std::string alertStatus_;
|
||||
std::string annotations_;
|
||||
std::string dataConfig_;
|
||||
long duration_;
|
||||
std::string autoAddTargetConfig_;
|
||||
std::string regionId_;
|
||||
std::string metricsKey_;
|
||||
std::string alertPiplines_;
|
||||
std::vector<MarkTags> markTags_;
|
||||
std::string notice_;
|
||||
std::string alertRuleContent_;
|
||||
std::string promQL_;
|
||||
std::string product_;
|
||||
std::string level_;
|
||||
bool autoAddNewApplication_;
|
||||
std::string filters_;
|
||||
std::string clusterId_;
|
||||
std::string message_;
|
||||
std::string durationCompareType_;
|
||||
std::string proxyUserId_;
|
||||
std::string notifyStrategy_;
|
||||
std::string labels_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string notifyMode_;
|
||||
std::string alertType_;
|
||||
std::string alertCheckType_;
|
||||
std::string metricsType_;
|
||||
|
||||
@@ -78,30 +78,37 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
std::string alertName;
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
long createdTime;
|
||||
std::string message;
|
||||
std::string clusterId;
|
||||
std::string promQL;
|
||||
std::string alertCheckType;
|
||||
AlertRuleContent alertRuleContent;
|
||||
std::string notifyStrategy;
|
||||
std::vector<LabelsItem> labels;
|
||||
std::string duration;
|
||||
std::vector<std::string> pids;
|
||||
std::string alertType;
|
||||
Filters filters;
|
||||
float alertId;
|
||||
long alertGroup;
|
||||
std::vector<AnnotationsItem> annotations;
|
||||
std::string alertStatus;
|
||||
std::string metricsType;
|
||||
std::vector<Tag> tags;
|
||||
std::string alertName;
|
||||
std::string clusterId;
|
||||
std::string promQL;
|
||||
AlertRuleContent alertRuleContent;
|
||||
std::vector<LabelsItem> labels;
|
||||
std::string duration;
|
||||
float alertId;
|
||||
std::string notifyMode;
|
||||
std::string extend;
|
||||
std::string userId;
|
||||
std::string alertStatus;
|
||||
bool autoAddNewApplication;
|
||||
std::string level;
|
||||
std::string regionId;
|
||||
long updatedTime;
|
||||
std::string metricsType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user