Support GetParameters, GetParametersByPath, GetSecretParameters, GetSecretParametersByPath.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-10-28 Version: patch
|
||||
- Support GetParameters, GetParametersByPath, GetSecretParameters, GetSecretParametersByPath.
|
||||
|
||||
2020-10-28 Version: patch
|
||||
- Supported all language sdk.
|
||||
- Fixed some bugs for polardbx.
|
||||
|
||||
@@ -45,10 +45,20 @@ set(oos_public_header_model
|
||||
include/alibabacloud/oos/model/GenerateExecutionPolicyResult.h
|
||||
include/alibabacloud/oos/model/GetExecutionTemplateRequest.h
|
||||
include/alibabacloud/oos/model/GetExecutionTemplateResult.h
|
||||
include/alibabacloud/oos/model/GetInventorySchemaRequest.h
|
||||
include/alibabacloud/oos/model/GetInventorySchemaResult.h
|
||||
include/alibabacloud/oos/model/GetParameterRequest.h
|
||||
include/alibabacloud/oos/model/GetParameterResult.h
|
||||
include/alibabacloud/oos/model/GetParametersRequest.h
|
||||
include/alibabacloud/oos/model/GetParametersResult.h
|
||||
include/alibabacloud/oos/model/GetParametersByPathRequest.h
|
||||
include/alibabacloud/oos/model/GetParametersByPathResult.h
|
||||
include/alibabacloud/oos/model/GetSecretParameterRequest.h
|
||||
include/alibabacloud/oos/model/GetSecretParameterResult.h
|
||||
include/alibabacloud/oos/model/GetSecretParametersRequest.h
|
||||
include/alibabacloud/oos/model/GetSecretParametersResult.h
|
||||
include/alibabacloud/oos/model/GetSecretParametersByPathRequest.h
|
||||
include/alibabacloud/oos/model/GetSecretParametersByPathResult.h
|
||||
include/alibabacloud/oos/model/GetTemplateRequest.h
|
||||
include/alibabacloud/oos/model/GetTemplateResult.h
|
||||
include/alibabacloud/oos/model/ListActionsRequest.h
|
||||
@@ -59,6 +69,8 @@ set(oos_public_header_model
|
||||
include/alibabacloud/oos/model/ListExecutionRiskyTasksResult.h
|
||||
include/alibabacloud/oos/model/ListExecutionsRequest.h
|
||||
include/alibabacloud/oos/model/ListExecutionsResult.h
|
||||
include/alibabacloud/oos/model/ListInventoryEntriesRequest.h
|
||||
include/alibabacloud/oos/model/ListInventoryEntriesResult.h
|
||||
include/alibabacloud/oos/model/ListParameterVersionsRequest.h
|
||||
include/alibabacloud/oos/model/ListParameterVersionsResult.h
|
||||
include/alibabacloud/oos/model/ListParametersRequest.h
|
||||
@@ -83,6 +95,8 @@ set(oos_public_header_model
|
||||
include/alibabacloud/oos/model/ListTemplatesResult.h
|
||||
include/alibabacloud/oos/model/NotifyExecutionRequest.h
|
||||
include/alibabacloud/oos/model/NotifyExecutionResult.h
|
||||
include/alibabacloud/oos/model/SearchInventoryRequest.h
|
||||
include/alibabacloud/oos/model/SearchInventoryResult.h
|
||||
include/alibabacloud/oos/model/StartExecutionRequest.h
|
||||
include/alibabacloud/oos/model/StartExecutionResult.h
|
||||
include/alibabacloud/oos/model/TagResourcesRequest.h
|
||||
@@ -91,6 +105,10 @@ set(oos_public_header_model
|
||||
include/alibabacloud/oos/model/TriggerExecutionResult.h
|
||||
include/alibabacloud/oos/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/oos/model/UntagResourcesResult.h
|
||||
include/alibabacloud/oos/model/UpdateExecutionRequest.h
|
||||
include/alibabacloud/oos/model/UpdateExecutionResult.h
|
||||
include/alibabacloud/oos/model/UpdateInstanceInformationRequest.h
|
||||
include/alibabacloud/oos/model/UpdateInstanceInformationResult.h
|
||||
include/alibabacloud/oos/model/UpdateParameterRequest.h
|
||||
include/alibabacloud/oos/model/UpdateParameterResult.h
|
||||
include/alibabacloud/oos/model/UpdateSecretParameterRequest.h
|
||||
@@ -126,10 +144,20 @@ set(oos_src
|
||||
src/model/GenerateExecutionPolicyResult.cc
|
||||
src/model/GetExecutionTemplateRequest.cc
|
||||
src/model/GetExecutionTemplateResult.cc
|
||||
src/model/GetInventorySchemaRequest.cc
|
||||
src/model/GetInventorySchemaResult.cc
|
||||
src/model/GetParameterRequest.cc
|
||||
src/model/GetParameterResult.cc
|
||||
src/model/GetParametersRequest.cc
|
||||
src/model/GetParametersResult.cc
|
||||
src/model/GetParametersByPathRequest.cc
|
||||
src/model/GetParametersByPathResult.cc
|
||||
src/model/GetSecretParameterRequest.cc
|
||||
src/model/GetSecretParameterResult.cc
|
||||
src/model/GetSecretParametersRequest.cc
|
||||
src/model/GetSecretParametersResult.cc
|
||||
src/model/GetSecretParametersByPathRequest.cc
|
||||
src/model/GetSecretParametersByPathResult.cc
|
||||
src/model/GetTemplateRequest.cc
|
||||
src/model/GetTemplateResult.cc
|
||||
src/model/ListActionsRequest.cc
|
||||
@@ -140,6 +168,8 @@ set(oos_src
|
||||
src/model/ListExecutionRiskyTasksResult.cc
|
||||
src/model/ListExecutionsRequest.cc
|
||||
src/model/ListExecutionsResult.cc
|
||||
src/model/ListInventoryEntriesRequest.cc
|
||||
src/model/ListInventoryEntriesResult.cc
|
||||
src/model/ListParameterVersionsRequest.cc
|
||||
src/model/ListParameterVersionsResult.cc
|
||||
src/model/ListParametersRequest.cc
|
||||
@@ -164,6 +194,8 @@ set(oos_src
|
||||
src/model/ListTemplatesResult.cc
|
||||
src/model/NotifyExecutionRequest.cc
|
||||
src/model/NotifyExecutionResult.cc
|
||||
src/model/SearchInventoryRequest.cc
|
||||
src/model/SearchInventoryResult.cc
|
||||
src/model/StartExecutionRequest.cc
|
||||
src/model/StartExecutionResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
@@ -172,6 +204,10 @@ set(oos_src
|
||||
src/model/TriggerExecutionResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpdateExecutionRequest.cc
|
||||
src/model/UpdateExecutionResult.cc
|
||||
src/model/UpdateInstanceInformationRequest.cc
|
||||
src/model/UpdateInstanceInformationResult.cc
|
||||
src/model/UpdateParameterRequest.cc
|
||||
src/model/UpdateParameterResult.cc
|
||||
src/model/UpdateSecretParameterRequest.cc
|
||||
|
||||
@@ -46,10 +46,20 @@
|
||||
#include "model/GenerateExecutionPolicyResult.h"
|
||||
#include "model/GetExecutionTemplateRequest.h"
|
||||
#include "model/GetExecutionTemplateResult.h"
|
||||
#include "model/GetInventorySchemaRequest.h"
|
||||
#include "model/GetInventorySchemaResult.h"
|
||||
#include "model/GetParameterRequest.h"
|
||||
#include "model/GetParameterResult.h"
|
||||
#include "model/GetParametersRequest.h"
|
||||
#include "model/GetParametersResult.h"
|
||||
#include "model/GetParametersByPathRequest.h"
|
||||
#include "model/GetParametersByPathResult.h"
|
||||
#include "model/GetSecretParameterRequest.h"
|
||||
#include "model/GetSecretParameterResult.h"
|
||||
#include "model/GetSecretParametersRequest.h"
|
||||
#include "model/GetSecretParametersResult.h"
|
||||
#include "model/GetSecretParametersByPathRequest.h"
|
||||
#include "model/GetSecretParametersByPathResult.h"
|
||||
#include "model/GetTemplateRequest.h"
|
||||
#include "model/GetTemplateResult.h"
|
||||
#include "model/ListActionsRequest.h"
|
||||
@@ -60,6 +70,8 @@
|
||||
#include "model/ListExecutionRiskyTasksResult.h"
|
||||
#include "model/ListExecutionsRequest.h"
|
||||
#include "model/ListExecutionsResult.h"
|
||||
#include "model/ListInventoryEntriesRequest.h"
|
||||
#include "model/ListInventoryEntriesResult.h"
|
||||
#include "model/ListParameterVersionsRequest.h"
|
||||
#include "model/ListParameterVersionsResult.h"
|
||||
#include "model/ListParametersRequest.h"
|
||||
@@ -84,6 +96,8 @@
|
||||
#include "model/ListTemplatesResult.h"
|
||||
#include "model/NotifyExecutionRequest.h"
|
||||
#include "model/NotifyExecutionResult.h"
|
||||
#include "model/SearchInventoryRequest.h"
|
||||
#include "model/SearchInventoryResult.h"
|
||||
#include "model/StartExecutionRequest.h"
|
||||
#include "model/StartExecutionResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
@@ -92,6 +106,10 @@
|
||||
#include "model/TriggerExecutionResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpdateExecutionRequest.h"
|
||||
#include "model/UpdateExecutionResult.h"
|
||||
#include "model/UpdateInstanceInformationRequest.h"
|
||||
#include "model/UpdateInstanceInformationResult.h"
|
||||
#include "model/UpdateParameterRequest.h"
|
||||
#include "model/UpdateParameterResult.h"
|
||||
#include "model/UpdateSecretParameterRequest.h"
|
||||
@@ -145,12 +163,27 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetExecutionTemplateResult> GetExecutionTemplateOutcome;
|
||||
typedef std::future<GetExecutionTemplateOutcome> GetExecutionTemplateOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetExecutionTemplateRequest&, const GetExecutionTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExecutionTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInventorySchemaResult> GetInventorySchemaOutcome;
|
||||
typedef std::future<GetInventorySchemaOutcome> GetInventorySchemaOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetInventorySchemaRequest&, const GetInventorySchemaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInventorySchemaAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetParameterResult> GetParameterOutcome;
|
||||
typedef std::future<GetParameterOutcome> GetParameterOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetParameterRequest&, const GetParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetParameterAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetParametersResult> GetParametersOutcome;
|
||||
typedef std::future<GetParametersOutcome> GetParametersOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetParametersRequest&, const GetParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetParametersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetParametersByPathResult> GetParametersByPathOutcome;
|
||||
typedef std::future<GetParametersByPathOutcome> GetParametersByPathOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetParametersByPathRequest&, const GetParametersByPathOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetParametersByPathAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSecretParameterResult> GetSecretParameterOutcome;
|
||||
typedef std::future<GetSecretParameterOutcome> GetSecretParameterOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetSecretParameterRequest&, const GetSecretParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSecretParameterAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSecretParametersResult> GetSecretParametersOutcome;
|
||||
typedef std::future<GetSecretParametersOutcome> GetSecretParametersOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetSecretParametersRequest&, const GetSecretParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSecretParametersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSecretParametersByPathResult> GetSecretParametersByPathOutcome;
|
||||
typedef std::future<GetSecretParametersByPathOutcome> GetSecretParametersByPathOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetSecretParametersByPathRequest&, const GetSecretParametersByPathOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSecretParametersByPathAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTemplateResult> GetTemplateOutcome;
|
||||
typedef std::future<GetTemplateOutcome> GetTemplateOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetTemplateRequest&, const GetTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTemplateAsyncHandler;
|
||||
@@ -166,6 +199,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListExecutionsResult> ListExecutionsOutcome;
|
||||
typedef std::future<ListExecutionsOutcome> ListExecutionsOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::ListExecutionsRequest&, const ListExecutionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExecutionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListInventoryEntriesResult> ListInventoryEntriesOutcome;
|
||||
typedef std::future<ListInventoryEntriesOutcome> ListInventoryEntriesOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::ListInventoryEntriesRequest&, const ListInventoryEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInventoryEntriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListParameterVersionsResult> ListParameterVersionsOutcome;
|
||||
typedef std::future<ListParameterVersionsOutcome> ListParameterVersionsOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::ListParameterVersionsRequest&, const ListParameterVersionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListParameterVersionsAsyncHandler;
|
||||
@@ -202,6 +238,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::NotifyExecutionResult> NotifyExecutionOutcome;
|
||||
typedef std::future<NotifyExecutionOutcome> NotifyExecutionOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::NotifyExecutionRequest&, const NotifyExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NotifyExecutionAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchInventoryResult> SearchInventoryOutcome;
|
||||
typedef std::future<SearchInventoryOutcome> SearchInventoryOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::SearchInventoryRequest&, const SearchInventoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchInventoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartExecutionResult> StartExecutionOutcome;
|
||||
typedef std::future<StartExecutionOutcome> StartExecutionOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::StartExecutionRequest&, const StartExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartExecutionAsyncHandler;
|
||||
@@ -214,6 +253,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateExecutionResult> UpdateExecutionOutcome;
|
||||
typedef std::future<UpdateExecutionOutcome> UpdateExecutionOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::UpdateExecutionRequest&, const UpdateExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateExecutionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateInstanceInformationResult> UpdateInstanceInformationOutcome;
|
||||
typedef std::future<UpdateInstanceInformationOutcome> UpdateInstanceInformationOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::UpdateInstanceInformationRequest&, const UpdateInstanceInformationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateInstanceInformationAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateParameterResult> UpdateParameterOutcome;
|
||||
typedef std::future<UpdateParameterOutcome> UpdateParameterOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::UpdateParameterRequest&, const UpdateParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateParameterAsyncHandler;
|
||||
@@ -267,12 +312,27 @@ namespace AlibabaCloud
|
||||
GetExecutionTemplateOutcome getExecutionTemplate(const Model::GetExecutionTemplateRequest &request)const;
|
||||
void getExecutionTemplateAsync(const Model::GetExecutionTemplateRequest& request, const GetExecutionTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetExecutionTemplateOutcomeCallable getExecutionTemplateCallable(const Model::GetExecutionTemplateRequest& request) const;
|
||||
GetInventorySchemaOutcome getInventorySchema(const Model::GetInventorySchemaRequest &request)const;
|
||||
void getInventorySchemaAsync(const Model::GetInventorySchemaRequest& request, const GetInventorySchemaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInventorySchemaOutcomeCallable getInventorySchemaCallable(const Model::GetInventorySchemaRequest& request) const;
|
||||
GetParameterOutcome getParameter(const Model::GetParameterRequest &request)const;
|
||||
void getParameterAsync(const Model::GetParameterRequest& request, const GetParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetParameterOutcomeCallable getParameterCallable(const Model::GetParameterRequest& request) const;
|
||||
GetParametersOutcome getParameters(const Model::GetParametersRequest &request)const;
|
||||
void getParametersAsync(const Model::GetParametersRequest& request, const GetParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetParametersOutcomeCallable getParametersCallable(const Model::GetParametersRequest& request) const;
|
||||
GetParametersByPathOutcome getParametersByPath(const Model::GetParametersByPathRequest &request)const;
|
||||
void getParametersByPathAsync(const Model::GetParametersByPathRequest& request, const GetParametersByPathAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetParametersByPathOutcomeCallable getParametersByPathCallable(const Model::GetParametersByPathRequest& request) const;
|
||||
GetSecretParameterOutcome getSecretParameter(const Model::GetSecretParameterRequest &request)const;
|
||||
void getSecretParameterAsync(const Model::GetSecretParameterRequest& request, const GetSecretParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSecretParameterOutcomeCallable getSecretParameterCallable(const Model::GetSecretParameterRequest& request) const;
|
||||
GetSecretParametersOutcome getSecretParameters(const Model::GetSecretParametersRequest &request)const;
|
||||
void getSecretParametersAsync(const Model::GetSecretParametersRequest& request, const GetSecretParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSecretParametersOutcomeCallable getSecretParametersCallable(const Model::GetSecretParametersRequest& request) const;
|
||||
GetSecretParametersByPathOutcome getSecretParametersByPath(const Model::GetSecretParametersByPathRequest &request)const;
|
||||
void getSecretParametersByPathAsync(const Model::GetSecretParametersByPathRequest& request, const GetSecretParametersByPathAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSecretParametersByPathOutcomeCallable getSecretParametersByPathCallable(const Model::GetSecretParametersByPathRequest& request) const;
|
||||
GetTemplateOutcome getTemplate(const Model::GetTemplateRequest &request)const;
|
||||
void getTemplateAsync(const Model::GetTemplateRequest& request, const GetTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTemplateOutcomeCallable getTemplateCallable(const Model::GetTemplateRequest& request) const;
|
||||
@@ -288,6 +348,9 @@ namespace AlibabaCloud
|
||||
ListExecutionsOutcome listExecutions(const Model::ListExecutionsRequest &request)const;
|
||||
void listExecutionsAsync(const Model::ListExecutionsRequest& request, const ListExecutionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListExecutionsOutcomeCallable listExecutionsCallable(const Model::ListExecutionsRequest& request) const;
|
||||
ListInventoryEntriesOutcome listInventoryEntries(const Model::ListInventoryEntriesRequest &request)const;
|
||||
void listInventoryEntriesAsync(const Model::ListInventoryEntriesRequest& request, const ListInventoryEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListInventoryEntriesOutcomeCallable listInventoryEntriesCallable(const Model::ListInventoryEntriesRequest& request) const;
|
||||
ListParameterVersionsOutcome listParameterVersions(const Model::ListParameterVersionsRequest &request)const;
|
||||
void listParameterVersionsAsync(const Model::ListParameterVersionsRequest& request, const ListParameterVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListParameterVersionsOutcomeCallable listParameterVersionsCallable(const Model::ListParameterVersionsRequest& request) const;
|
||||
@@ -324,6 +387,9 @@ namespace AlibabaCloud
|
||||
NotifyExecutionOutcome notifyExecution(const Model::NotifyExecutionRequest &request)const;
|
||||
void notifyExecutionAsync(const Model::NotifyExecutionRequest& request, const NotifyExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NotifyExecutionOutcomeCallable notifyExecutionCallable(const Model::NotifyExecutionRequest& request) const;
|
||||
SearchInventoryOutcome searchInventory(const Model::SearchInventoryRequest &request)const;
|
||||
void searchInventoryAsync(const Model::SearchInventoryRequest& request, const SearchInventoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchInventoryOutcomeCallable searchInventoryCallable(const Model::SearchInventoryRequest& request) const;
|
||||
StartExecutionOutcome startExecution(const Model::StartExecutionRequest &request)const;
|
||||
void startExecutionAsync(const Model::StartExecutionRequest& request, const StartExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartExecutionOutcomeCallable startExecutionCallable(const Model::StartExecutionRequest& request) const;
|
||||
@@ -336,6 +402,12 @@ namespace AlibabaCloud
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpdateExecutionOutcome updateExecution(const Model::UpdateExecutionRequest &request)const;
|
||||
void updateExecutionAsync(const Model::UpdateExecutionRequest& request, const UpdateExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateExecutionOutcomeCallable updateExecutionCallable(const Model::UpdateExecutionRequest& request) const;
|
||||
UpdateInstanceInformationOutcome updateInstanceInformation(const Model::UpdateInstanceInformationRequest &request)const;
|
||||
void updateInstanceInformationAsync(const Model::UpdateInstanceInformationRequest& request, const UpdateInstanceInformationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateInstanceInformationOutcomeCallable updateInstanceInformationCallable(const Model::UpdateInstanceInformationRequest& request) const;
|
||||
UpdateParameterOutcome updateParameter(const Model::UpdateParameterRequest &request)const;
|
||||
void updateParameterAsync(const Model::UpdateParameterRequest& request, const UpdateParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateParameterOutcomeCallable updateParameterCallable(const Model::UpdateParameterRequest& request) const;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setDescription(const std::string& description);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getConstraints()const;
|
||||
void setConstraints(const std::string& constraints);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getName()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string type_;
|
||||
std::string constraints_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
std::string value_;
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string constraints;
|
||||
std::string updatedDate;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setKeyId(const std::string& keyId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getConstraints()const;
|
||||
void setConstraints(const std::string& constraints);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getName()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
std::string description_;
|
||||
std::string keyId_;
|
||||
std::string type_;
|
||||
std::string constraints_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
std::string value_;
|
||||
|
||||
@@ -38,9 +38,11 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string constraints;
|
||||
std::string updatedDate;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string keyId;
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
|
||||
@@ -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_OOS_MODEL_GETINVENTORYSCHEMAREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETINVENTORYSCHEMAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetInventorySchemaRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInventorySchemaRequest();
|
||||
~GetInventorySchemaRequest();
|
||||
|
||||
bool getAggregator()const;
|
||||
void setAggregator(bool aggregator);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getTypeName()const;
|
||||
void setTypeName(const std::string& typeName);
|
||||
|
||||
private:
|
||||
bool aggregator_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
std::string typeName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETINVENTORYSCHEMAREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_GETINVENTORYSCHEMARESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETINVENTORYSCHEMARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetInventorySchemaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Schema
|
||||
{
|
||||
struct Attribute
|
||||
{
|
||||
std::string dataType;
|
||||
std::string name;
|
||||
};
|
||||
std::string typeName;
|
||||
std::string version;
|
||||
std::vector<Schema::Attribute> attributes;
|
||||
};
|
||||
|
||||
|
||||
GetInventorySchemaResult();
|
||||
explicit GetInventorySchemaResult(const std::string &payload);
|
||||
~GetInventorySchemaResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<Schema> getSchemas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<Schema> schemas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETINVENTORYSCHEMARESULT_H_
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string constraints;
|
||||
std::string updatedDate;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
|
||||
@@ -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_OOS_MODEL_GETPARAMETERSBYPATHREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETPARAMETERSBYPATHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetParametersByPathRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetParametersByPathRequest();
|
||||
~GetParametersByPathRequest();
|
||||
|
||||
bool getRecursive()const;
|
||||
void setRecursive(bool recursive);
|
||||
std::string getPath()const;
|
||||
void setPath(const std::string& path);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
bool recursive_;
|
||||
std::string path_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETPARAMETERSBYPATHREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_GETPARAMETERSBYPATHRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETPARAMETERSBYPATHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetParametersByPathResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Parameter
|
||||
{
|
||||
std::string updatedBy;
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string constraints;
|
||||
std::string updatedDate;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string value;
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
GetParametersByPathResult();
|
||||
explicit GetParametersByPathResult(const std::string &payload);
|
||||
~GetParametersByPathResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<_Parameter> getParameters()const;
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<_Parameter> parameters_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETPARAMETERSBYPATHRESULT_H_
|
||||
51
oos/include/alibabacloud/oos/model/GetParametersRequest.h
Normal file
51
oos/include/alibabacloud/oos/model/GetParametersRequest.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_OOS_MODEL_GETPARAMETERSREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETPARAMETERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetParametersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetParametersRequest();
|
||||
~GetParametersRequest();
|
||||
|
||||
std::string getNames()const;
|
||||
void setNames(const std::string& names);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string names_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETPARAMETERSREQUEST_H_
|
||||
68
oos/include/alibabacloud/oos/model/GetParametersResult.h
Normal file
68
oos/include/alibabacloud/oos/model/GetParametersResult.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_GETPARAMETERSRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETPARAMETERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetParametersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Parameter
|
||||
{
|
||||
std::string updatedBy;
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string constraints;
|
||||
std::string updatedDate;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string value;
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
GetParametersResult();
|
||||
explicit GetParametersResult(const std::string &payload);
|
||||
~GetParametersResult();
|
||||
std::vector<_Parameter> getParameters()const;
|
||||
std::vector<std::string> getInvalidParameters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<_Parameter> parameters_;
|
||||
std::vector<std::string> invalidParameters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETPARAMETERSRESULT_H_
|
||||
@@ -34,16 +34,18 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct _Parameter
|
||||
{
|
||||
std::string updatedBy;
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string updatedDate;
|
||||
std::string keyId;
|
||||
std::string name;
|
||||
std::string updatedBy;
|
||||
std::string type;
|
||||
std::string constraints;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string value;
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
@@ -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_OOS_MODEL_GETSECRETPARAMETERSBYPATHREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSBYPATHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetSecretParametersByPathRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSecretParametersByPathRequest();
|
||||
~GetSecretParametersByPathRequest();
|
||||
|
||||
bool getWithDecryption()const;
|
||||
void setWithDecryption(bool withDecryption);
|
||||
bool getRecursive()const;
|
||||
void setRecursive(bool recursive);
|
||||
std::string getPath()const;
|
||||
void setPath(const std::string& path);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
bool withDecryption_;
|
||||
bool recursive_;
|
||||
std::string path_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSBYPATHREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSBYPATHRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSBYPATHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetSecretParametersByPathResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Parameter
|
||||
{
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string updatedDate;
|
||||
std::string keyId;
|
||||
std::string name;
|
||||
std::string updatedBy;
|
||||
std::string type;
|
||||
std::string constraints;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string value;
|
||||
std::string id;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
GetSecretParametersByPathResult();
|
||||
explicit GetSecretParametersByPathResult(const std::string &payload);
|
||||
~GetSecretParametersByPathResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<_Parameter> getParameters()const;
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<_Parameter> parameters_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSBYPATHRESULT_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_OOS_MODEL_GETSECRETPARAMETERSREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetSecretParametersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSecretParametersRequest();
|
||||
~GetSecretParametersRequest();
|
||||
|
||||
bool getWithDecryption()const;
|
||||
void setWithDecryption(bool withDecryption);
|
||||
std::string getNames()const;
|
||||
void setNames(const std::string& names);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
bool withDecryption_;
|
||||
std::string names_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT GetSecretParametersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Parameter
|
||||
{
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string updatedDate;
|
||||
std::string keyId;
|
||||
std::string name;
|
||||
std::string updatedBy;
|
||||
std::string type;
|
||||
std::string constraints;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string value;
|
||||
std::string id;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
GetSecretParametersResult();
|
||||
explicit GetSecretParametersResult(const std::string &payload);
|
||||
~GetSecretParametersResult();
|
||||
std::vector<_Parameter> getParameters()const;
|
||||
std::vector<std::string> getInvalidParameters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<_Parameter> parameters_;
|
||||
std::vector<std::string> invalidParameters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERSRESULT_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_LISTINVENTORYENTRIESREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_LISTINVENTORYENTRIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT ListInventoryEntriesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::string name;
|
||||
std::vector<std::string> value;
|
||||
std::string _operator;
|
||||
};
|
||||
|
||||
public:
|
||||
ListInventoryEntriesRequest();
|
||||
~ListInventoryEntriesRequest();
|
||||
|
||||
std::vector<Filter> getFilter()const;
|
||||
void setFilter(const std::vector<Filter>& filter);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getTypeName()const;
|
||||
void setTypeName(const std::string& typeName);
|
||||
|
||||
private:
|
||||
std::vector<Filter> filter_;
|
||||
std::string instanceId_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
std::string typeName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_LISTINVENTORYENTRIESREQUEST_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_OOS_MODEL_LISTINVENTORYENTRIESRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_LISTINVENTORYENTRIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT ListInventoryEntriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListInventoryEntriesResult();
|
||||
explicit ListInventoryEntriesResult(const std::string &payload);
|
||||
~ListInventoryEntriesResult();
|
||||
std::string getTypeName()const;
|
||||
std::string getCaptureTime()const;
|
||||
std::string getNextToken()const;
|
||||
std::string getSchemaVersion()const;
|
||||
std::string getInstanceId()const;
|
||||
int getMaxResults()const;
|
||||
std::vector<std::string> getEntries()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string typeName_;
|
||||
std::string captureTime_;
|
||||
std::string nextToken_;
|
||||
std::string schemaVersion_;
|
||||
std::string instanceId_;
|
||||
int maxResults_;
|
||||
std::vector<std::string> entries_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_LISTINVENTORYENTRIESRESULT_H_
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
std::string updatedDate;
|
||||
std::string parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string keyId;
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
|
||||
67
oos/include/alibabacloud/oos/model/SearchInventoryRequest.h
Normal file
67
oos/include/alibabacloud/oos/model/SearchInventoryRequest.h
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_SEARCHINVENTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_SEARCHINVENTORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT SearchInventoryRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::string name;
|
||||
std::vector<std::string> value;
|
||||
std::string _operator;
|
||||
};
|
||||
|
||||
public:
|
||||
SearchInventoryRequest();
|
||||
~SearchInventoryRequest();
|
||||
|
||||
std::vector<std::string> getAggregator()const;
|
||||
void setAggregator(const std::vector<std::string>& aggregator);
|
||||
std::vector<Filter> getFilter()const;
|
||||
void setFilter(const std::vector<Filter>& filter);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::vector<std::string> aggregator_;
|
||||
std::vector<Filter> filter_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_SEARCHINVENTORYREQUEST_H_
|
||||
55
oos/include/alibabacloud/oos/model/SearchInventoryResult.h
Normal file
55
oos/include/alibabacloud/oos/model/SearchInventoryResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_SEARCHINVENTORYRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_SEARCHINVENTORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT SearchInventoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SearchInventoryResult();
|
||||
explicit SearchInventoryResult(const std::string &payload);
|
||||
~SearchInventoryResult();
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
std::vector<std::string> getEntities()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
std::vector<std::string> entities_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_SEARCHINVENTORYRESULT_H_
|
||||
57
oos/include/alibabacloud/oos/model/UpdateExecutionRequest.h
Normal file
57
oos/include/alibabacloud/oos/model/UpdateExecutionRequest.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_OOS_MODEL_UPDATEEXECUTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_UPDATEEXECUTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT UpdateExecutionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateExecutionRequest();
|
||||
~UpdateExecutionRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getExecutionId()const;
|
||||
void setExecutionId(const std::string& executionId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getParameters()const;
|
||||
void setParameters(const std::string& parameters);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string executionId_;
|
||||
std::string regionId_;
|
||||
std::string parameters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEEXECUTIONREQUEST_H_
|
||||
49
oos/include/alibabacloud/oos/model/UpdateExecutionResult.h
Normal file
49
oos/include/alibabacloud/oos/model/UpdateExecutionResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_UPDATEEXECUTIONRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_UPDATEEXECUTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT UpdateExecutionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateExecutionResult();
|
||||
explicit UpdateExecutionResult(const std::string &payload);
|
||||
~UpdateExecutionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEEXECUTIONRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_UPDATEINSTANCEINFORMATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_UPDATEINSTANCEINFORMATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT UpdateInstanceInformationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateInstanceInformationRequest();
|
||||
~UpdateInstanceInformationRequest();
|
||||
|
||||
std::string getAgentVersion()const;
|
||||
void setAgentVersion(const std::string& agentVersion);
|
||||
std::string getIpAddress()const;
|
||||
void setIpAddress(const std::string& ipAddress);
|
||||
std::string getComputerName()const;
|
||||
void setComputerName(const std::string& computerName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPlatformName()const;
|
||||
void setPlatformName(const std::string& platformName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAgentName()const;
|
||||
void setAgentName(const std::string& agentName);
|
||||
std::string getPlatformType()const;
|
||||
void setPlatformType(const std::string& platformType);
|
||||
std::string getPlatformVersion()const;
|
||||
void setPlatformVersion(const std::string& platformVersion);
|
||||
|
||||
private:
|
||||
std::string agentVersion_;
|
||||
std::string ipAddress_;
|
||||
std::string computerName_;
|
||||
std::string regionId_;
|
||||
std::string platformName_;
|
||||
std::string instanceId_;
|
||||
std::string agentName_;
|
||||
std::string platformType_;
|
||||
std::string platformVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEINSTANCEINFORMATIONREQUEST_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_OOS_MODEL_UPDATEINSTANCEINFORMATIONRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_UPDATEINSTANCEINFORMATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Oos
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OOS_EXPORT UpdateInstanceInformationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateInstanceInformationResult();
|
||||
explicit UpdateInstanceInformationResult(const std::string &payload);
|
||||
~UpdateInstanceInformationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEINSTANCEINFORMATIONRESULT_H_
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string constraints;
|
||||
std::string updatedDate;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
|
||||
@@ -38,9 +38,11 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::string createdBy;
|
||||
std::string description;
|
||||
std::string constraints;
|
||||
std::string updatedDate;
|
||||
int parameterVersion;
|
||||
std::string createdDate;
|
||||
std::string keyId;
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
|
||||
@@ -483,6 +483,42 @@ OosClient::GetExecutionTemplateOutcomeCallable OosClient::getExecutionTemplateCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetInventorySchemaOutcome OosClient::getInventorySchema(const GetInventorySchemaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetInventorySchemaOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetInventorySchemaOutcome(GetInventorySchemaResult(outcome.result()));
|
||||
else
|
||||
return GetInventorySchemaOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::getInventorySchemaAsync(const GetInventorySchemaRequest& request, const GetInventorySchemaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getInventorySchema(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::GetInventorySchemaOutcomeCallable OosClient::getInventorySchemaCallable(const GetInventorySchemaRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetInventorySchemaOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getInventorySchema(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetParameterOutcome OosClient::getParameter(const GetParameterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +555,78 @@ OosClient::GetParameterOutcomeCallable OosClient::getParameterCallable(const Get
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetParametersOutcome OosClient::getParameters(const GetParametersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetParametersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetParametersOutcome(GetParametersResult(outcome.result()));
|
||||
else
|
||||
return GetParametersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::getParametersAsync(const GetParametersRequest& request, const GetParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getParameters(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::GetParametersOutcomeCallable OosClient::getParametersCallable(const GetParametersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetParametersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getParameters(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetParametersByPathOutcome OosClient::getParametersByPath(const GetParametersByPathRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetParametersByPathOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetParametersByPathOutcome(GetParametersByPathResult(outcome.result()));
|
||||
else
|
||||
return GetParametersByPathOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::getParametersByPathAsync(const GetParametersByPathRequest& request, const GetParametersByPathAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getParametersByPath(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::GetParametersByPathOutcomeCallable OosClient::getParametersByPathCallable(const GetParametersByPathRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetParametersByPathOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getParametersByPath(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetSecretParameterOutcome OosClient::getSecretParameter(const GetSecretParameterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +663,78 @@ OosClient::GetSecretParameterOutcomeCallable OosClient::getSecretParameterCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetSecretParametersOutcome OosClient::getSecretParameters(const GetSecretParametersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSecretParametersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSecretParametersOutcome(GetSecretParametersResult(outcome.result()));
|
||||
else
|
||||
return GetSecretParametersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::getSecretParametersAsync(const GetSecretParametersRequest& request, const GetSecretParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSecretParameters(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::GetSecretParametersOutcomeCallable OosClient::getSecretParametersCallable(const GetSecretParametersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSecretParametersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSecretParameters(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetSecretParametersByPathOutcome OosClient::getSecretParametersByPath(const GetSecretParametersByPathRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSecretParametersByPathOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSecretParametersByPathOutcome(GetSecretParametersByPathResult(outcome.result()));
|
||||
else
|
||||
return GetSecretParametersByPathOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::getSecretParametersByPathAsync(const GetSecretParametersByPathRequest& request, const GetSecretParametersByPathAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSecretParametersByPath(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::GetSecretParametersByPathOutcomeCallable OosClient::getSecretParametersByPathCallable(const GetSecretParametersByPathRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSecretParametersByPathOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSecretParametersByPath(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::GetTemplateOutcome OosClient::getTemplate(const GetTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +915,42 @@ OosClient::ListExecutionsOutcomeCallable OosClient::listExecutionsCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::ListInventoryEntriesOutcome OosClient::listInventoryEntries(const ListInventoryEntriesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListInventoryEntriesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListInventoryEntriesOutcome(ListInventoryEntriesResult(outcome.result()));
|
||||
else
|
||||
return ListInventoryEntriesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::listInventoryEntriesAsync(const ListInventoryEntriesRequest& request, const ListInventoryEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listInventoryEntries(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::ListInventoryEntriesOutcomeCallable OosClient::listInventoryEntriesCallable(const ListInventoryEntriesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListInventoryEntriesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listInventoryEntries(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::ListParameterVersionsOutcome OosClient::listParameterVersions(const ListParameterVersionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1167,6 +1383,42 @@ OosClient::NotifyExecutionOutcomeCallable OosClient::notifyExecutionCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::SearchInventoryOutcome OosClient::searchInventory(const SearchInventoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SearchInventoryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SearchInventoryOutcome(SearchInventoryResult(outcome.result()));
|
||||
else
|
||||
return SearchInventoryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::searchInventoryAsync(const SearchInventoryRequest& request, const SearchInventoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, searchInventory(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::SearchInventoryOutcomeCallable OosClient::searchInventoryCallable(const SearchInventoryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SearchInventoryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->searchInventory(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::StartExecutionOutcome OosClient::startExecution(const StartExecutionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1563,78 @@ OosClient::UntagResourcesOutcomeCallable OosClient::untagResourcesCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::UpdateExecutionOutcome OosClient::updateExecution(const UpdateExecutionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateExecutionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateExecutionOutcome(UpdateExecutionResult(outcome.result()));
|
||||
else
|
||||
return UpdateExecutionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::updateExecutionAsync(const UpdateExecutionRequest& request, const UpdateExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateExecution(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::UpdateExecutionOutcomeCallable OosClient::updateExecutionCallable(const UpdateExecutionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateExecutionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateExecution(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::UpdateInstanceInformationOutcome OosClient::updateInstanceInformation(const UpdateInstanceInformationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateInstanceInformationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateInstanceInformationOutcome(UpdateInstanceInformationResult(outcome.result()));
|
||||
else
|
||||
return UpdateInstanceInformationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OosClient::updateInstanceInformationAsync(const UpdateInstanceInformationRequest& request, const UpdateInstanceInformationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateInstanceInformation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OosClient::UpdateInstanceInformationOutcomeCallable OosClient::updateInstanceInformationCallable(const UpdateInstanceInformationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateInstanceInformationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateInstanceInformation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OosClient::UpdateParameterOutcome OosClient::updateParameter(const UpdateParameterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -60,6 +60,17 @@ void CreateParameterRequest::setType(const std::string& type)
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string CreateParameterRequest::getConstraints()const
|
||||
{
|
||||
return constraints_;
|
||||
}
|
||||
|
||||
void CreateParameterRequest::setConstraints(const std::string& constraints)
|
||||
{
|
||||
constraints_ = constraints;
|
||||
setParameter("Constraints", constraints);
|
||||
}
|
||||
|
||||
std::string CreateParameterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -60,6 +60,8 @@ void CreateParameterResult::parse(const std::string &payload)
|
||||
_parameter_.parameterVersion = std::stoi(_parameterNode["ParameterVersion"].asString());
|
||||
if(!_parameterNode["Type"].isNull())
|
||||
_parameter_.type = _parameterNode["Type"].asString();
|
||||
if(!_parameterNode["Constraints"].isNull())
|
||||
_parameter_.constraints = _parameterNode["Constraints"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -71,6 +71,17 @@ void CreateSecretParameterRequest::setType(const std::string& type)
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string CreateSecretParameterRequest::getConstraints()const
|
||||
{
|
||||
return constraints_;
|
||||
}
|
||||
|
||||
void CreateSecretParameterRequest::setConstraints(const std::string& constraints)
|
||||
{
|
||||
constraints_ = constraints;
|
||||
setParameter("Constraints", constraints);
|
||||
}
|
||||
|
||||
std::string CreateSecretParameterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -60,6 +60,10 @@ void CreateSecretParameterResult::parse(const std::string &payload)
|
||||
_parameter_.parameterVersion = std::stoi(_parameterNode["ParameterVersion"].asString());
|
||||
if(!_parameterNode["Type"].isNull())
|
||||
_parameter_.type = _parameterNode["Type"].asString();
|
||||
if(!_parameterNode["Constraints"].isNull())
|
||||
_parameter_.constraints = _parameterNode["Constraints"].asString();
|
||||
if(!_parameterNode["KeyId"].isNull())
|
||||
_parameter_.keyId = _parameterNode["KeyId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
84
oos/src/model/GetInventorySchemaRequest.cc
Normal file
84
oos/src/model/GetInventorySchemaRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/GetInventorySchemaRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::GetInventorySchemaRequest;
|
||||
|
||||
GetInventorySchemaRequest::GetInventorySchemaRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "GetInventorySchema")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetInventorySchemaRequest::~GetInventorySchemaRequest()
|
||||
{}
|
||||
|
||||
bool GetInventorySchemaRequest::getAggregator()const
|
||||
{
|
||||
return aggregator_;
|
||||
}
|
||||
|
||||
void GetInventorySchemaRequest::setAggregator(bool aggregator)
|
||||
{
|
||||
aggregator_ = aggregator;
|
||||
setParameter("Aggregator", aggregator ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetInventorySchemaRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetInventorySchemaRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetInventorySchemaRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void GetInventorySchemaRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int GetInventorySchemaRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void GetInventorySchemaRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
std::string GetInventorySchemaRequest::getTypeName()const
|
||||
{
|
||||
return typeName_;
|
||||
}
|
||||
|
||||
void GetInventorySchemaRequest::setTypeName(const std::string& typeName)
|
||||
{
|
||||
typeName_ = typeName;
|
||||
setParameter("TypeName", typeName);
|
||||
}
|
||||
|
||||
76
oos/src/model/GetInventorySchemaResult.cc
Normal file
76
oos/src/model/GetInventorySchemaResult.cc
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/GetInventorySchemaResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
GetInventorySchemaResult::GetInventorySchemaResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetInventorySchemaResult::GetInventorySchemaResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetInventorySchemaResult::~GetInventorySchemaResult()
|
||||
{}
|
||||
|
||||
void GetInventorySchemaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSchemasNode = value["Schemas"]["Schema"];
|
||||
for (auto valueSchemasSchema : allSchemasNode)
|
||||
{
|
||||
Schema schemasObject;
|
||||
if(!valueSchemasSchema["TypeName"].isNull())
|
||||
schemasObject.typeName = valueSchemasSchema["TypeName"].asString();
|
||||
if(!valueSchemasSchema["Version"].isNull())
|
||||
schemasObject.version = valueSchemasSchema["Version"].asString();
|
||||
auto allAttributesNode = allSchemasNode["Attributes"]["Attribute"];
|
||||
for (auto allSchemasNodeAttributesAttribute : allAttributesNode)
|
||||
{
|
||||
Schema::Attribute attributesObject;
|
||||
if(!allSchemasNodeAttributesAttribute["Name"].isNull())
|
||||
attributesObject.name = allSchemasNodeAttributesAttribute["Name"].asString();
|
||||
if(!allSchemasNodeAttributesAttribute["DataType"].isNull())
|
||||
attributesObject.dataType = allSchemasNodeAttributesAttribute["DataType"].asString();
|
||||
schemasObject.attributes.push_back(attributesObject);
|
||||
}
|
||||
schemas_.push_back(schemasObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetInventorySchemaResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<GetInventorySchemaResult::Schema> GetInventorySchemaResult::getSchemas()const
|
||||
{
|
||||
return schemas_;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,8 @@ void GetParameterResult::parse(const std::string &payload)
|
||||
_parameter_.type = _parameterNode["Type"].asString();
|
||||
if(!_parameterNode["Value"].isNull())
|
||||
_parameter_.value = _parameterNode["Value"].asString();
|
||||
if(!_parameterNode["Constraints"].isNull())
|
||||
_parameter_.constraints = _parameterNode["Constraints"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
84
oos/src/model/GetParametersByPathRequest.cc
Normal file
84
oos/src/model/GetParametersByPathRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/GetParametersByPathRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::GetParametersByPathRequest;
|
||||
|
||||
GetParametersByPathRequest::GetParametersByPathRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "GetParametersByPath")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetParametersByPathRequest::~GetParametersByPathRequest()
|
||||
{}
|
||||
|
||||
bool GetParametersByPathRequest::getRecursive()const
|
||||
{
|
||||
return recursive_;
|
||||
}
|
||||
|
||||
void GetParametersByPathRequest::setRecursive(bool recursive)
|
||||
{
|
||||
recursive_ = recursive;
|
||||
setParameter("Recursive", recursive ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetParametersByPathRequest::getPath()const
|
||||
{
|
||||
return path_;
|
||||
}
|
||||
|
||||
void GetParametersByPathRequest::setPath(const std::string& path)
|
||||
{
|
||||
path_ = path;
|
||||
setParameter("Path", path);
|
||||
}
|
||||
|
||||
std::string GetParametersByPathRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetParametersByPathRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetParametersByPathRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void GetParametersByPathRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int GetParametersByPathRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void GetParametersByPathRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
100
oos/src/model/GetParametersByPathResult.cc
Normal file
100
oos/src/model/GetParametersByPathResult.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/oos/model/GetParametersByPathResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
GetParametersByPathResult::GetParametersByPathResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetParametersByPathResult::GetParametersByPathResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetParametersByPathResult::~GetParametersByPathResult()
|
||||
{}
|
||||
|
||||
void GetParametersByPathResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParametersNode = value["Parameters"]["Parameter"];
|
||||
for (auto valueParametersParameter : allParametersNode)
|
||||
{
|
||||
_Parameter parametersObject;
|
||||
if(!valueParametersParameter["Id"].isNull())
|
||||
parametersObject.id = valueParametersParameter["Id"].asString();
|
||||
if(!valueParametersParameter["Name"].isNull())
|
||||
parametersObject.name = valueParametersParameter["Name"].asString();
|
||||
if(!valueParametersParameter["CreatedDate"].isNull())
|
||||
parametersObject.createdDate = valueParametersParameter["CreatedDate"].asString();
|
||||
if(!valueParametersParameter["CreatedBy"].isNull())
|
||||
parametersObject.createdBy = valueParametersParameter["CreatedBy"].asString();
|
||||
if(!valueParametersParameter["UpdatedDate"].isNull())
|
||||
parametersObject.updatedDate = valueParametersParameter["UpdatedDate"].asString();
|
||||
if(!valueParametersParameter["UpdatedBy"].isNull())
|
||||
parametersObject.updatedBy = valueParametersParameter["UpdatedBy"].asString();
|
||||
if(!valueParametersParameter["Description"].isNull())
|
||||
parametersObject.description = valueParametersParameter["Description"].asString();
|
||||
if(!valueParametersParameter["ShareType"].isNull())
|
||||
parametersObject.shareType = valueParametersParameter["ShareType"].asString();
|
||||
if(!valueParametersParameter["ParameterVersion"].isNull())
|
||||
parametersObject.parameterVersion = std::stoi(valueParametersParameter["ParameterVersion"].asString());
|
||||
if(!valueParametersParameter["Type"].isNull())
|
||||
parametersObject.type = valueParametersParameter["Type"].asString();
|
||||
if(!valueParametersParameter["Value"].isNull())
|
||||
parametersObject.value = valueParametersParameter["Value"].asString();
|
||||
if(!valueParametersParameter["Constraints"].isNull())
|
||||
parametersObject.constraints = valueParametersParameter["Constraints"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stoi(value["MaxResults"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetParametersByPathResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<GetParametersByPathResult::_Parameter> GetParametersByPathResult::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
std::string GetParametersByPathResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
int GetParametersByPathResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
51
oos/src/model/GetParametersRequest.cc
Normal file
51
oos/src/model/GetParametersRequest.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/GetParametersRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::GetParametersRequest;
|
||||
|
||||
GetParametersRequest::GetParametersRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "GetParameters")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetParametersRequest::~GetParametersRequest()
|
||||
{}
|
||||
|
||||
std::string GetParametersRequest::getNames()const
|
||||
{
|
||||
return names_;
|
||||
}
|
||||
|
||||
void GetParametersRequest::setNames(const std::string& names)
|
||||
{
|
||||
names_ = names;
|
||||
setParameter("Names", names);
|
||||
}
|
||||
|
||||
std::string GetParametersRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetParametersRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
87
oos/src/model/GetParametersResult.cc
Normal file
87
oos/src/model/GetParametersResult.cc
Normal file
@@ -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/oos/model/GetParametersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
GetParametersResult::GetParametersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetParametersResult::GetParametersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetParametersResult::~GetParametersResult()
|
||||
{}
|
||||
|
||||
void GetParametersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParametersNode = value["Parameters"]["Parameter"];
|
||||
for (auto valueParametersParameter : allParametersNode)
|
||||
{
|
||||
_Parameter parametersObject;
|
||||
if(!valueParametersParameter["Id"].isNull())
|
||||
parametersObject.id = valueParametersParameter["Id"].asString();
|
||||
if(!valueParametersParameter["Name"].isNull())
|
||||
parametersObject.name = valueParametersParameter["Name"].asString();
|
||||
if(!valueParametersParameter["CreatedDate"].isNull())
|
||||
parametersObject.createdDate = valueParametersParameter["CreatedDate"].asString();
|
||||
if(!valueParametersParameter["CreatedBy"].isNull())
|
||||
parametersObject.createdBy = valueParametersParameter["CreatedBy"].asString();
|
||||
if(!valueParametersParameter["UpdatedDate"].isNull())
|
||||
parametersObject.updatedDate = valueParametersParameter["UpdatedDate"].asString();
|
||||
if(!valueParametersParameter["UpdatedBy"].isNull())
|
||||
parametersObject.updatedBy = valueParametersParameter["UpdatedBy"].asString();
|
||||
if(!valueParametersParameter["Description"].isNull())
|
||||
parametersObject.description = valueParametersParameter["Description"].asString();
|
||||
if(!valueParametersParameter["ShareType"].isNull())
|
||||
parametersObject.shareType = valueParametersParameter["ShareType"].asString();
|
||||
if(!valueParametersParameter["ParameterVersion"].isNull())
|
||||
parametersObject.parameterVersion = std::stoi(valueParametersParameter["ParameterVersion"].asString());
|
||||
if(!valueParametersParameter["Type"].isNull())
|
||||
parametersObject.type = valueParametersParameter["Type"].asString();
|
||||
if(!valueParametersParameter["Value"].isNull())
|
||||
parametersObject.value = valueParametersParameter["Value"].asString();
|
||||
if(!valueParametersParameter["Constraints"].isNull())
|
||||
parametersObject.constraints = valueParametersParameter["Constraints"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
auto allInvalidParameters = value["InvalidParameters"]["InvalidParameter"];
|
||||
for (const auto &item : allInvalidParameters)
|
||||
invalidParameters_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetParametersResult::_Parameter> GetParametersResult::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
std::vector<std::string> GetParametersResult::getInvalidParameters()const
|
||||
{
|
||||
return invalidParameters_;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,10 @@ void GetSecretParameterResult::parse(const std::string &payload)
|
||||
_parameter_.type = _parameterNode["Type"].asString();
|
||||
if(!_parameterNode["Value"].isNull())
|
||||
_parameter_.value = _parameterNode["Value"].asString();
|
||||
if(!_parameterNode["Constraints"].isNull())
|
||||
_parameter_.constraints = _parameterNode["Constraints"].asString();
|
||||
if(!_parameterNode["KeyId"].isNull())
|
||||
_parameter_.keyId = _parameterNode["KeyId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
95
oos/src/model/GetSecretParametersByPathRequest.cc
Normal file
95
oos/src/model/GetSecretParametersByPathRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/oos/model/GetSecretParametersByPathRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::GetSecretParametersByPathRequest;
|
||||
|
||||
GetSecretParametersByPathRequest::GetSecretParametersByPathRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "GetSecretParametersByPath")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSecretParametersByPathRequest::~GetSecretParametersByPathRequest()
|
||||
{}
|
||||
|
||||
bool GetSecretParametersByPathRequest::getWithDecryption()const
|
||||
{
|
||||
return withDecryption_;
|
||||
}
|
||||
|
||||
void GetSecretParametersByPathRequest::setWithDecryption(bool withDecryption)
|
||||
{
|
||||
withDecryption_ = withDecryption;
|
||||
setParameter("WithDecryption", withDecryption ? "true" : "false");
|
||||
}
|
||||
|
||||
bool GetSecretParametersByPathRequest::getRecursive()const
|
||||
{
|
||||
return recursive_;
|
||||
}
|
||||
|
||||
void GetSecretParametersByPathRequest::setRecursive(bool recursive)
|
||||
{
|
||||
recursive_ = recursive;
|
||||
setParameter("Recursive", recursive ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetSecretParametersByPathRequest::getPath()const
|
||||
{
|
||||
return path_;
|
||||
}
|
||||
|
||||
void GetSecretParametersByPathRequest::setPath(const std::string& path)
|
||||
{
|
||||
path_ = path;
|
||||
setParameter("Path", path);
|
||||
}
|
||||
|
||||
std::string GetSecretParametersByPathRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetSecretParametersByPathRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetSecretParametersByPathRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void GetSecretParametersByPathRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int GetSecretParametersByPathRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void GetSecretParametersByPathRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
102
oos/src/model/GetSecretParametersByPathResult.cc
Normal file
102
oos/src/model/GetSecretParametersByPathResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/GetSecretParametersByPathResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
GetSecretParametersByPathResult::GetSecretParametersByPathResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSecretParametersByPathResult::GetSecretParametersByPathResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSecretParametersByPathResult::~GetSecretParametersByPathResult()
|
||||
{}
|
||||
|
||||
void GetSecretParametersByPathResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParametersNode = value["Parameters"]["Parameter"];
|
||||
for (auto valueParametersParameter : allParametersNode)
|
||||
{
|
||||
_Parameter parametersObject;
|
||||
if(!valueParametersParameter["Id"].isNull())
|
||||
parametersObject.id = valueParametersParameter["Id"].asString();
|
||||
if(!valueParametersParameter["Name"].isNull())
|
||||
parametersObject.name = valueParametersParameter["Name"].asString();
|
||||
if(!valueParametersParameter["CreatedDate"].isNull())
|
||||
parametersObject.createdDate = valueParametersParameter["CreatedDate"].asString();
|
||||
if(!valueParametersParameter["CreatedBy"].isNull())
|
||||
parametersObject.createdBy = valueParametersParameter["CreatedBy"].asString();
|
||||
if(!valueParametersParameter["UpdatedDate"].isNull())
|
||||
parametersObject.updatedDate = valueParametersParameter["UpdatedDate"].asString();
|
||||
if(!valueParametersParameter["UpdatedBy"].isNull())
|
||||
parametersObject.updatedBy = valueParametersParameter["UpdatedBy"].asString();
|
||||
if(!valueParametersParameter["Description"].isNull())
|
||||
parametersObject.description = valueParametersParameter["Description"].asString();
|
||||
if(!valueParametersParameter["ShareType"].isNull())
|
||||
parametersObject.shareType = valueParametersParameter["ShareType"].asString();
|
||||
if(!valueParametersParameter["ParameterVersion"].isNull())
|
||||
parametersObject.parameterVersion = std::stoi(valueParametersParameter["ParameterVersion"].asString());
|
||||
if(!valueParametersParameter["Type"].isNull())
|
||||
parametersObject.type = valueParametersParameter["Type"].asString();
|
||||
if(!valueParametersParameter["Value"].isNull())
|
||||
parametersObject.value = valueParametersParameter["Value"].asString();
|
||||
if(!valueParametersParameter["Constraints"].isNull())
|
||||
parametersObject.constraints = valueParametersParameter["Constraints"].asString();
|
||||
if(!valueParametersParameter["KeyId"].isNull())
|
||||
parametersObject.keyId = valueParametersParameter["KeyId"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stoi(value["MaxResults"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetSecretParametersByPathResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<GetSecretParametersByPathResult::_Parameter> GetSecretParametersByPathResult::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
std::string GetSecretParametersByPathResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
int GetSecretParametersByPathResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
62
oos/src/model/GetSecretParametersRequest.cc
Normal file
62
oos/src/model/GetSecretParametersRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/GetSecretParametersRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::GetSecretParametersRequest;
|
||||
|
||||
GetSecretParametersRequest::GetSecretParametersRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "GetSecretParameters")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSecretParametersRequest::~GetSecretParametersRequest()
|
||||
{}
|
||||
|
||||
bool GetSecretParametersRequest::getWithDecryption()const
|
||||
{
|
||||
return withDecryption_;
|
||||
}
|
||||
|
||||
void GetSecretParametersRequest::setWithDecryption(bool withDecryption)
|
||||
{
|
||||
withDecryption_ = withDecryption;
|
||||
setParameter("WithDecryption", withDecryption ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetSecretParametersRequest::getNames()const
|
||||
{
|
||||
return names_;
|
||||
}
|
||||
|
||||
void GetSecretParametersRequest::setNames(const std::string& names)
|
||||
{
|
||||
names_ = names;
|
||||
setParameter("Names", names);
|
||||
}
|
||||
|
||||
std::string GetSecretParametersRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetSecretParametersRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
89
oos/src/model/GetSecretParametersResult.cc
Normal file
89
oos/src/model/GetSecretParametersResult.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/GetSecretParametersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
GetSecretParametersResult::GetSecretParametersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSecretParametersResult::GetSecretParametersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSecretParametersResult::~GetSecretParametersResult()
|
||||
{}
|
||||
|
||||
void GetSecretParametersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParametersNode = value["Parameters"]["Parameter"];
|
||||
for (auto valueParametersParameter : allParametersNode)
|
||||
{
|
||||
_Parameter parametersObject;
|
||||
if(!valueParametersParameter["Id"].isNull())
|
||||
parametersObject.id = valueParametersParameter["Id"].asString();
|
||||
if(!valueParametersParameter["Name"].isNull())
|
||||
parametersObject.name = valueParametersParameter["Name"].asString();
|
||||
if(!valueParametersParameter["CreatedDate"].isNull())
|
||||
parametersObject.createdDate = valueParametersParameter["CreatedDate"].asString();
|
||||
if(!valueParametersParameter["CreatedBy"].isNull())
|
||||
parametersObject.createdBy = valueParametersParameter["CreatedBy"].asString();
|
||||
if(!valueParametersParameter["UpdatedDate"].isNull())
|
||||
parametersObject.updatedDate = valueParametersParameter["UpdatedDate"].asString();
|
||||
if(!valueParametersParameter["UpdatedBy"].isNull())
|
||||
parametersObject.updatedBy = valueParametersParameter["UpdatedBy"].asString();
|
||||
if(!valueParametersParameter["Description"].isNull())
|
||||
parametersObject.description = valueParametersParameter["Description"].asString();
|
||||
if(!valueParametersParameter["ShareType"].isNull())
|
||||
parametersObject.shareType = valueParametersParameter["ShareType"].asString();
|
||||
if(!valueParametersParameter["ParameterVersion"].isNull())
|
||||
parametersObject.parameterVersion = std::stoi(valueParametersParameter["ParameterVersion"].asString());
|
||||
if(!valueParametersParameter["Type"].isNull())
|
||||
parametersObject.type = valueParametersParameter["Type"].asString();
|
||||
if(!valueParametersParameter["Value"].isNull())
|
||||
parametersObject.value = valueParametersParameter["Value"].asString();
|
||||
if(!valueParametersParameter["Constraints"].isNull())
|
||||
parametersObject.constraints = valueParametersParameter["Constraints"].asString();
|
||||
if(!valueParametersParameter["KeyId"].isNull())
|
||||
parametersObject.keyId = valueParametersParameter["KeyId"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
auto allInvalidParameters = value["InvalidParameters"]["InvalidParameter"];
|
||||
for (const auto &item : allInvalidParameters)
|
||||
invalidParameters_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetSecretParametersResult::_Parameter> GetSecretParametersResult::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
std::vector<std::string> GetSecretParametersResult::getInvalidParameters()const
|
||||
{
|
||||
return invalidParameters_;
|
||||
}
|
||||
|
||||
92
oos/src/model/ListInventoryEntriesRequest.cc
Normal file
92
oos/src/model/ListInventoryEntriesRequest.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/oos/model/ListInventoryEntriesRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::ListInventoryEntriesRequest;
|
||||
|
||||
ListInventoryEntriesRequest::ListInventoryEntriesRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "ListInventoryEntries")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListInventoryEntriesRequest::~ListInventoryEntriesRequest()
|
||||
{}
|
||||
|
||||
std::vector<ListInventoryEntriesRequest::Filter> ListInventoryEntriesRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void ListInventoryEntriesRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
for(int dep1 = 0; dep1!= filter.size(); dep1++) {
|
||||
auto filterObj = filter.at(dep1);
|
||||
std::string filterObjStr = "Filter." + std::to_string(dep1 + 1);
|
||||
setParameter(filterObjStr + ".Name", filterObj.name);
|
||||
for(int dep2 = 0; dep2!= filterObj.value.size(); dep2++) {
|
||||
setParameter(filterObjStr + ".Value."+ std::to_string(dep2), filterObj.value.at(dep2));
|
||||
}
|
||||
setParameter(filterObjStr + "._Operator", filterObj._operator);
|
||||
}
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListInventoryEntriesRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListInventoryEntriesRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int ListInventoryEntriesRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void ListInventoryEntriesRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesRequest::getTypeName()const
|
||||
{
|
||||
return typeName_;
|
||||
}
|
||||
|
||||
void ListInventoryEntriesRequest::setTypeName(const std::string& typeName)
|
||||
{
|
||||
typeName_ = typeName;
|
||||
setParameter("TypeName", typeName);
|
||||
}
|
||||
|
||||
94
oos/src/model/ListInventoryEntriesResult.cc
Normal file
94
oos/src/model/ListInventoryEntriesResult.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/ListInventoryEntriesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
ListInventoryEntriesResult::ListInventoryEntriesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListInventoryEntriesResult::ListInventoryEntriesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListInventoryEntriesResult::~ListInventoryEntriesResult()
|
||||
{}
|
||||
|
||||
void ListInventoryEntriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEntries = value["Entries"]["Entries"];
|
||||
for (const auto &item : allEntries)
|
||||
entries_.push_back(item.asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["CaptureTime"].isNull())
|
||||
captureTime_ = value["CaptureTime"].asString();
|
||||
if(!value["TypeName"].isNull())
|
||||
typeName_ = value["TypeName"].asString();
|
||||
if(!value["SchemaVersion"].isNull())
|
||||
schemaVersion_ = value["SchemaVersion"].asString();
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stoi(value["MaxResults"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesResult::getTypeName()const
|
||||
{
|
||||
return typeName_;
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesResult::getCaptureTime()const
|
||||
{
|
||||
return captureTime_;
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesResult::getSchemaVersion()const
|
||||
{
|
||||
return schemaVersion_;
|
||||
}
|
||||
|
||||
std::string ListInventoryEntriesResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
int ListInventoryEntriesResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
std::vector<std::string> ListInventoryEntriesResult::getEntries()const
|
||||
{
|
||||
return entries_;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ void ListSecretParametersResult::parse(const std::string &payload)
|
||||
parametersObject.parameterVersion = valueParametersParameter["ParameterVersion"].asString();
|
||||
if(!valueParametersParameter["Type"].isNull())
|
||||
parametersObject.type = valueParametersParameter["Type"].asString();
|
||||
if(!valueParametersParameter["KeyId"].isNull())
|
||||
parametersObject.keyId = valueParametersParameter["KeyId"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
if(!value["MaxResults"].isNull())
|
||||
|
||||
94
oos/src/model/SearchInventoryRequest.cc
Normal file
94
oos/src/model/SearchInventoryRequest.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/SearchInventoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::SearchInventoryRequest;
|
||||
|
||||
SearchInventoryRequest::SearchInventoryRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "SearchInventory")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SearchInventoryRequest::~SearchInventoryRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> SearchInventoryRequest::getAggregator()const
|
||||
{
|
||||
return aggregator_;
|
||||
}
|
||||
|
||||
void SearchInventoryRequest::setAggregator(const std::vector<std::string>& aggregator)
|
||||
{
|
||||
aggregator_ = aggregator;
|
||||
for(int dep1 = 0; dep1!= aggregator.size(); dep1++) {
|
||||
setParameter("Aggregator."+ std::to_string(dep1), aggregator.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<SearchInventoryRequest::Filter> SearchInventoryRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void SearchInventoryRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
for(int dep1 = 0; dep1!= filter.size(); dep1++) {
|
||||
auto filterObj = filter.at(dep1);
|
||||
std::string filterObjStr = "Filter." + std::to_string(dep1 + 1);
|
||||
setParameter(filterObjStr + ".Name", filterObj.name);
|
||||
for(int dep2 = 0; dep2!= filterObj.value.size(); dep2++) {
|
||||
setParameter(filterObjStr + ".Value."+ std::to_string(dep2), filterObj.value.at(dep2));
|
||||
}
|
||||
setParameter(filterObjStr + "._Operator", filterObj._operator);
|
||||
}
|
||||
}
|
||||
|
||||
std::string SearchInventoryRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void SearchInventoryRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string SearchInventoryRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void SearchInventoryRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int SearchInventoryRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void SearchInventoryRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
66
oos/src/model/SearchInventoryResult.cc
Normal file
66
oos/src/model/SearchInventoryResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/SearchInventoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
SearchInventoryResult::SearchInventoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SearchInventoryResult::SearchInventoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SearchInventoryResult::~SearchInventoryResult()
|
||||
{}
|
||||
|
||||
void SearchInventoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEntities = value["Entities"]["Entity"];
|
||||
for (const auto &item : allEntities)
|
||||
entities_.push_back(item.asString());
|
||||
if(!value["MaxResults"].isNull())
|
||||
maxResults_ = std::stoi(value["MaxResults"].asString());
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SearchInventoryResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
int SearchInventoryResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
std::vector<std::string> SearchInventoryResult::getEntities()const
|
||||
{
|
||||
return entities_;
|
||||
}
|
||||
|
||||
73
oos/src/model/UpdateExecutionRequest.cc
Normal file
73
oos/src/model/UpdateExecutionRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/oos/model/UpdateExecutionRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::UpdateExecutionRequest;
|
||||
|
||||
UpdateExecutionRequest::UpdateExecutionRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "UpdateExecution")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateExecutionRequest::~UpdateExecutionRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateExecutionRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void UpdateExecutionRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string UpdateExecutionRequest::getExecutionId()const
|
||||
{
|
||||
return executionId_;
|
||||
}
|
||||
|
||||
void UpdateExecutionRequest::setExecutionId(const std::string& executionId)
|
||||
{
|
||||
executionId_ = executionId;
|
||||
setParameter("ExecutionId", executionId);
|
||||
}
|
||||
|
||||
std::string UpdateExecutionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void UpdateExecutionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string UpdateExecutionRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void UpdateExecutionRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setParameter("Parameters", parameters);
|
||||
}
|
||||
|
||||
44
oos/src/model/UpdateExecutionResult.cc
Normal file
44
oos/src/model/UpdateExecutionResult.cc
Normal file
@@ -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/oos/model/UpdateExecutionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
UpdateExecutionResult::UpdateExecutionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateExecutionResult::UpdateExecutionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateExecutionResult::~UpdateExecutionResult()
|
||||
{}
|
||||
|
||||
void UpdateExecutionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
128
oos/src/model/UpdateInstanceInformationRequest.cc
Normal file
128
oos/src/model/UpdateInstanceInformationRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/oos/model/UpdateInstanceInformationRequest.h>
|
||||
|
||||
using AlibabaCloud::Oos::Model::UpdateInstanceInformationRequest;
|
||||
|
||||
UpdateInstanceInformationRequest::UpdateInstanceInformationRequest() :
|
||||
RpcServiceRequest("oos", "2019-06-01", "UpdateInstanceInformation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateInstanceInformationRequest::~UpdateInstanceInformationRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getAgentVersion()const
|
||||
{
|
||||
return agentVersion_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setAgentVersion(const std::string& agentVersion)
|
||||
{
|
||||
agentVersion_ = agentVersion;
|
||||
setParameter("AgentVersion", agentVersion);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getIpAddress()const
|
||||
{
|
||||
return ipAddress_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setIpAddress(const std::string& ipAddress)
|
||||
{
|
||||
ipAddress_ = ipAddress;
|
||||
setParameter("IpAddress", ipAddress);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getComputerName()const
|
||||
{
|
||||
return computerName_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setComputerName(const std::string& computerName)
|
||||
{
|
||||
computerName_ = computerName;
|
||||
setParameter("ComputerName", computerName);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getPlatformName()const
|
||||
{
|
||||
return platformName_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setPlatformName(const std::string& platformName)
|
||||
{
|
||||
platformName_ = platformName;
|
||||
setParameter("PlatformName", platformName);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getAgentName()const
|
||||
{
|
||||
return agentName_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setAgentName(const std::string& agentName)
|
||||
{
|
||||
agentName_ = agentName;
|
||||
setParameter("AgentName", agentName);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getPlatformType()const
|
||||
{
|
||||
return platformType_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setPlatformType(const std::string& platformType)
|
||||
{
|
||||
platformType_ = platformType;
|
||||
setParameter("PlatformType", platformType);
|
||||
}
|
||||
|
||||
std::string UpdateInstanceInformationRequest::getPlatformVersion()const
|
||||
{
|
||||
return platformVersion_;
|
||||
}
|
||||
|
||||
void UpdateInstanceInformationRequest::setPlatformVersion(const std::string& platformVersion)
|
||||
{
|
||||
platformVersion_ = platformVersion;
|
||||
setParameter("PlatformVersion", platformVersion);
|
||||
}
|
||||
|
||||
44
oos/src/model/UpdateInstanceInformationResult.cc
Normal file
44
oos/src/model/UpdateInstanceInformationResult.cc
Normal file
@@ -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/oos/model/UpdateInstanceInformationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Oos;
|
||||
using namespace AlibabaCloud::Oos::Model;
|
||||
|
||||
UpdateInstanceInformationResult::UpdateInstanceInformationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateInstanceInformationResult::UpdateInstanceInformationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateInstanceInformationResult::~UpdateInstanceInformationResult()
|
||||
{}
|
||||
|
||||
void UpdateInstanceInformationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -60,6 +60,8 @@ void UpdateParameterResult::parse(const std::string &payload)
|
||||
_parameter_.parameterVersion = std::stoi(_parameterNode["ParameterVersion"].asString());
|
||||
if(!_parameterNode["Type"].isNull())
|
||||
_parameter_.type = _parameterNode["Type"].asString();
|
||||
if(!_parameterNode["Constraints"].isNull())
|
||||
_parameter_.constraints = _parameterNode["Constraints"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,10 @@ void UpdateSecretParameterResult::parse(const std::string &payload)
|
||||
_parameter_.parameterVersion = std::stoi(_parameterNode["ParameterVersion"].asString());
|
||||
if(!_parameterNode["Type"].isNull())
|
||||
_parameter_.type = _parameterNode["Type"].asString();
|
||||
if(!_parameterNode["Constraints"].isNull())
|
||||
_parameter_.constraints = _parameterNode["Constraints"].asString();
|
||||
if(!_parameterNode["KeyId"].isNull())
|
||||
_parameter_.keyId = _parameterNode["KeyId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user