Support parameter APIs.

This commit is contained in:
sdk-team
2020-09-07 11:13:16 +00:00
parent 05e5980ef3
commit d3ce4be157
52 changed files with 4033 additions and 3 deletions

View File

@@ -24,10 +24,18 @@
#include "OosExport.h"
#include "model/CancelExecutionRequest.h"
#include "model/CancelExecutionResult.h"
#include "model/CreateParameterRequest.h"
#include "model/CreateParameterResult.h"
#include "model/CreateSecretParameterRequest.h"
#include "model/CreateSecretParameterResult.h"
#include "model/CreateTemplateRequest.h"
#include "model/CreateTemplateResult.h"
#include "model/DeleteExecutionsRequest.h"
#include "model/DeleteExecutionsResult.h"
#include "model/DeleteParameterRequest.h"
#include "model/DeleteParameterResult.h"
#include "model/DeleteSecretParameterRequest.h"
#include "model/DeleteSecretParameterResult.h"
#include "model/DeleteTemplateRequest.h"
#include "model/DeleteTemplateResult.h"
#include "model/DeleteTemplatesRequest.h"
@@ -38,6 +46,10 @@
#include "model/GenerateExecutionPolicyResult.h"
#include "model/GetExecutionTemplateRequest.h"
#include "model/GetExecutionTemplateResult.h"
#include "model/GetParameterRequest.h"
#include "model/GetParameterResult.h"
#include "model/GetSecretParameterRequest.h"
#include "model/GetSecretParameterResult.h"
#include "model/GetTemplateRequest.h"
#include "model/GetTemplateResult.h"
#include "model/ListActionsRequest.h"
@@ -48,8 +60,16 @@
#include "model/ListExecutionRiskyTasksResult.h"
#include "model/ListExecutionsRequest.h"
#include "model/ListExecutionsResult.h"
#include "model/ListParameterVersionsRequest.h"
#include "model/ListParameterVersionsResult.h"
#include "model/ListParametersRequest.h"
#include "model/ListParametersResult.h"
#include "model/ListResourceExecutionStatusRequest.h"
#include "model/ListResourceExecutionStatusResult.h"
#include "model/ListSecretParameterVersionsRequest.h"
#include "model/ListSecretParameterVersionsResult.h"
#include "model/ListSecretParametersRequest.h"
#include "model/ListSecretParametersResult.h"
#include "model/ListTagKeysRequest.h"
#include "model/ListTagKeysResult.h"
#include "model/ListTagResourcesRequest.h"
@@ -72,6 +92,10 @@
#include "model/TriggerExecutionResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UpdateParameterRequest.h"
#include "model/UpdateParameterResult.h"
#include "model/UpdateSecretParameterRequest.h"
#include "model/UpdateSecretParameterResult.h"
#include "model/UpdateTemplateRequest.h"
#include "model/UpdateTemplateResult.h"
#include "model/ValidateTemplateContentRequest.h"
@@ -88,12 +112,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CancelExecutionResult> CancelExecutionOutcome;
typedef std::future<CancelExecutionOutcome> CancelExecutionOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::CancelExecutionRequest&, const CancelExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelExecutionAsyncHandler;
typedef Outcome<Error, Model::CreateParameterResult> CreateParameterOutcome;
typedef std::future<CreateParameterOutcome> CreateParameterOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::CreateParameterRequest&, const CreateParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateParameterAsyncHandler;
typedef Outcome<Error, Model::CreateSecretParameterResult> CreateSecretParameterOutcome;
typedef std::future<CreateSecretParameterOutcome> CreateSecretParameterOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::CreateSecretParameterRequest&, const CreateSecretParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSecretParameterAsyncHandler;
typedef Outcome<Error, Model::CreateTemplateResult> CreateTemplateOutcome;
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::CreateTemplateRequest&, const CreateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTemplateAsyncHandler;
typedef Outcome<Error, Model::DeleteExecutionsResult> DeleteExecutionsOutcome;
typedef std::future<DeleteExecutionsOutcome> DeleteExecutionsOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::DeleteExecutionsRequest&, const DeleteExecutionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteExecutionsAsyncHandler;
typedef Outcome<Error, Model::DeleteParameterResult> DeleteParameterOutcome;
typedef std::future<DeleteParameterOutcome> DeleteParameterOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::DeleteParameterRequest&, const DeleteParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteParameterAsyncHandler;
typedef Outcome<Error, Model::DeleteSecretParameterResult> DeleteSecretParameterOutcome;
typedef std::future<DeleteSecretParameterOutcome> DeleteSecretParameterOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::DeleteSecretParameterRequest&, const DeleteSecretParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSecretParameterAsyncHandler;
typedef Outcome<Error, Model::DeleteTemplateResult> DeleteTemplateOutcome;
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::DeleteTemplateRequest&, const DeleteTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTemplateAsyncHandler;
@@ -109,6 +145,12 @@ 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::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::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::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;
@@ -124,9 +166,21 @@ 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::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;
typedef Outcome<Error, Model::ListParametersResult> ListParametersOutcome;
typedef std::future<ListParametersOutcome> ListParametersOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::ListParametersRequest&, const ListParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListParametersAsyncHandler;
typedef Outcome<Error, Model::ListResourceExecutionStatusResult> ListResourceExecutionStatusOutcome;
typedef std::future<ListResourceExecutionStatusOutcome> ListResourceExecutionStatusOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::ListResourceExecutionStatusRequest&, const ListResourceExecutionStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceExecutionStatusAsyncHandler;
typedef Outcome<Error, Model::ListSecretParameterVersionsResult> ListSecretParameterVersionsOutcome;
typedef std::future<ListSecretParameterVersionsOutcome> ListSecretParameterVersionsOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::ListSecretParameterVersionsRequest&, const ListSecretParameterVersionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSecretParameterVersionsAsyncHandler;
typedef Outcome<Error, Model::ListSecretParametersResult> ListSecretParametersOutcome;
typedef std::future<ListSecretParametersOutcome> ListSecretParametersOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::ListSecretParametersRequest&, const ListSecretParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSecretParametersAsyncHandler;
typedef Outcome<Error, Model::ListTagKeysResult> ListTagKeysOutcome;
typedef std::future<ListTagKeysOutcome> ListTagKeysOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::ListTagKeysRequest&, const ListTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagKeysAsyncHandler;
@@ -160,6 +214,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::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;
typedef Outcome<Error, Model::UpdateSecretParameterResult> UpdateSecretParameterOutcome;
typedef std::future<UpdateSecretParameterOutcome> UpdateSecretParameterOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::UpdateSecretParameterRequest&, const UpdateSecretParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSecretParameterAsyncHandler;
typedef Outcome<Error, Model::UpdateTemplateResult> UpdateTemplateOutcome;
typedef std::future<UpdateTemplateOutcome> UpdateTemplateOutcomeCallable;
typedef std::function<void(const OosClient*, const Model::UpdateTemplateRequest&, const UpdateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTemplateAsyncHandler;
@@ -174,12 +234,24 @@ namespace AlibabaCloud
CancelExecutionOutcome cancelExecution(const Model::CancelExecutionRequest &request)const;
void cancelExecutionAsync(const Model::CancelExecutionRequest& request, const CancelExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelExecutionOutcomeCallable cancelExecutionCallable(const Model::CancelExecutionRequest& request) const;
CreateParameterOutcome createParameter(const Model::CreateParameterRequest &request)const;
void createParameterAsync(const Model::CreateParameterRequest& request, const CreateParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateParameterOutcomeCallable createParameterCallable(const Model::CreateParameterRequest& request) const;
CreateSecretParameterOutcome createSecretParameter(const Model::CreateSecretParameterRequest &request)const;
void createSecretParameterAsync(const Model::CreateSecretParameterRequest& request, const CreateSecretParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSecretParameterOutcomeCallable createSecretParameterCallable(const Model::CreateSecretParameterRequest& request) const;
CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const;
void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const;
DeleteExecutionsOutcome deleteExecutions(const Model::DeleteExecutionsRequest &request)const;
void deleteExecutionsAsync(const Model::DeleteExecutionsRequest& request, const DeleteExecutionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteExecutionsOutcomeCallable deleteExecutionsCallable(const Model::DeleteExecutionsRequest& request) const;
DeleteParameterOutcome deleteParameter(const Model::DeleteParameterRequest &request)const;
void deleteParameterAsync(const Model::DeleteParameterRequest& request, const DeleteParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteParameterOutcomeCallable deleteParameterCallable(const Model::DeleteParameterRequest& request) const;
DeleteSecretParameterOutcome deleteSecretParameter(const Model::DeleteSecretParameterRequest &request)const;
void deleteSecretParameterAsync(const Model::DeleteSecretParameterRequest& request, const DeleteSecretParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSecretParameterOutcomeCallable deleteSecretParameterCallable(const Model::DeleteSecretParameterRequest& request) const;
DeleteTemplateOutcome deleteTemplate(const Model::DeleteTemplateRequest &request)const;
void deleteTemplateAsync(const Model::DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTemplateOutcomeCallable deleteTemplateCallable(const Model::DeleteTemplateRequest& request) const;
@@ -195,6 +267,12 @@ 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;
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;
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;
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;
@@ -210,9 +288,21 @@ 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;
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;
ListParametersOutcome listParameters(const Model::ListParametersRequest &request)const;
void listParametersAsync(const Model::ListParametersRequest& request, const ListParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListParametersOutcomeCallable listParametersCallable(const Model::ListParametersRequest& request) const;
ListResourceExecutionStatusOutcome listResourceExecutionStatus(const Model::ListResourceExecutionStatusRequest &request)const;
void listResourceExecutionStatusAsync(const Model::ListResourceExecutionStatusRequest& request, const ListResourceExecutionStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListResourceExecutionStatusOutcomeCallable listResourceExecutionStatusCallable(const Model::ListResourceExecutionStatusRequest& request) const;
ListSecretParameterVersionsOutcome listSecretParameterVersions(const Model::ListSecretParameterVersionsRequest &request)const;
void listSecretParameterVersionsAsync(const Model::ListSecretParameterVersionsRequest& request, const ListSecretParameterVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSecretParameterVersionsOutcomeCallable listSecretParameterVersionsCallable(const Model::ListSecretParameterVersionsRequest& request) const;
ListSecretParametersOutcome listSecretParameters(const Model::ListSecretParametersRequest &request)const;
void listSecretParametersAsync(const Model::ListSecretParametersRequest& request, const ListSecretParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSecretParametersOutcomeCallable listSecretParametersCallable(const Model::ListSecretParametersRequest& request) const;
ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const;
void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const;
@@ -246,6 +336,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;
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;
UpdateSecretParameterOutcome updateSecretParameter(const Model::UpdateSecretParameterRequest &request)const;
void updateSecretParameterAsync(const Model::UpdateSecretParameterRequest& request, const UpdateSecretParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSecretParameterOutcomeCallable updateSecretParameterCallable(const Model::UpdateSecretParameterRequest& request) const;
UpdateTemplateOutcome updateTemplate(const Model::UpdateTemplateRequest &request)const;
void updateTemplateAsync(const Model::UpdateTemplateRequest& request, const UpdateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTemplateOutcomeCallable updateTemplateCallable(const Model::UpdateTemplateRequest& request) const;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_CREATEPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_CREATEPARAMETERREQUEST_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 CreateParameterRequest : public RpcServiceRequest
{
public:
CreateParameterRequest();
~CreateParameterRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getValue()const;
void setValue(const std::string& value);
private:
std::string clientToken_;
std::string description_;
std::string type_;
std::string regionId_;
std::string name_;
std::string value_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_CREATEPARAMETERREQUEST_H_

View File

@@ -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_CREATEPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_CREATEPARAMETERRESULT_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 CreateParameterResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
int parameterVersion;
std::string createdDate;
std::string id;
std::string name;
std::string shareType;
};
CreateParameterResult();
explicit CreateParameterResult(const std::string &payload);
~CreateParameterResult();
_Parameter get_Parameter()const;
protected:
void parse(const std::string &payload);
private:
_Parameter _parameter_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_CREATEPARAMETERRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_CREATESECRETPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_CREATESECRETPARAMETERREQUEST_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 CreateSecretParameterRequest : public RpcServiceRequest
{
public:
CreateSecretParameterRequest();
~CreateSecretParameterRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getKeyId()const;
void setKeyId(const std::string& keyId);
std::string getType()const;
void setType(const std::string& type);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getValue()const;
void setValue(const std::string& value);
private:
std::string clientToken_;
std::string description_;
std::string keyId_;
std::string type_;
std::string regionId_;
std::string name_;
std::string value_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_CREATESECRETPARAMETERREQUEST_H_

View File

@@ -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_CREATESECRETPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_CREATESECRETPARAMETERRESULT_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 CreateSecretParameterResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
int parameterVersion;
std::string createdDate;
std::string id;
std::string name;
std::string shareType;
};
CreateSecretParameterResult();
explicit CreateSecretParameterResult(const std::string &payload);
~CreateSecretParameterResult();
_Parameter get_Parameter()const;
protected:
void parse(const std::string &payload);
private:
_Parameter _parameter_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_CREATESECRETPARAMETERRESULT_H_

View 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_DELETEPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_DELETEPARAMETERREQUEST_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 DeleteParameterRequest : public RpcServiceRequest
{
public:
DeleteParameterRequest();
~DeleteParameterRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string regionId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_DELETEPARAMETERREQUEST_H_

View 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_DELETEPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_DELETEPARAMETERRESULT_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 DeleteParameterResult : public ServiceResult
{
public:
DeleteParameterResult();
explicit DeleteParameterResult(const std::string &payload);
~DeleteParameterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_DELETEPARAMETERRESULT_H_

View 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_DELETESECRETPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_DELETESECRETPARAMETERREQUEST_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 DeleteSecretParameterRequest : public RpcServiceRequest
{
public:
DeleteSecretParameterRequest();
~DeleteSecretParameterRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string regionId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_DELETESECRETPARAMETERREQUEST_H_

View 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_DELETESECRETPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_DELETESECRETPARAMETERRESULT_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 DeleteSecretParameterResult : public ServiceResult
{
public:
DeleteSecretParameterResult();
explicit DeleteSecretParameterResult(const std::string &payload);
~DeleteSecretParameterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_DELETESECRETPARAMETERRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_GETPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_GETPARAMETERREQUEST_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 GetParameterRequest : public RpcServiceRequest
{
public:
GetParameterRequest();
~GetParameterRequest();
int getParameterVersion()const;
void setParameterVersion(int parameterVersion);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
private:
int parameterVersion_;
std::string regionId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_GETPARAMETERREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_GETPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_GETPARAMETERRESULT_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 GetParameterResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
int parameterVersion;
std::string createdDate;
std::string value;
std::string id;
std::string name;
std::string shareType;
};
GetParameterResult();
explicit GetParameterResult(const std::string &payload);
~GetParameterResult();
_Parameter get_Parameter()const;
protected:
void parse(const std::string &payload);
private:
_Parameter _parameter_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_GETPARAMETERRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERREQUEST_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 GetSecretParameterRequest : public RpcServiceRequest
{
public:
GetSecretParameterRequest();
~GetSecretParameterRequest();
bool getWithDecryption()const;
void setWithDecryption(bool withDecryption);
int getParameterVersion()const;
void setParameterVersion(int parameterVersion);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
private:
bool withDecryption_;
int parameterVersion_;
std::string regionId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERRESULT_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 GetSecretParameterResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
int parameterVersion;
std::string createdDate;
std::string value;
std::string id;
std::string name;
std::string shareType;
};
GetSecretParameterResult();
explicit GetSecretParameterResult(const std::string &payload);
~GetSecretParameterResult();
_Parameter get_Parameter()const;
protected:
void parse(const std::string &payload);
private:
_Parameter _parameter_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_GETSECRETPARAMETERRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTPARAMETERVERSIONSREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_LISTPARAMETERVERSIONSREQUEST_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 ListParameterVersionsRequest : public RpcServiceRequest
{
public:
ListParameterVersionsRequest();
~ListParameterVersionsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getName()const;
void setName(const std::string& name);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getShareType()const;
void setShareType(const std::string& shareType);
private:
std::string regionId_;
std::string nextToken_;
std::string name_;
int maxResults_;
std::string shareType_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_LISTPARAMETERVERSIONSREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTPARAMETERVERSIONSRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_LISTPARAMETERVERSIONSRESULT_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 ListParameterVersionsResult : public ServiceResult
{
public:
struct ParameterVersion
{
std::string updatedBy;
std::string updatedDate;
int parameterVersion;
std::string value;
};
ListParameterVersionsResult();
explicit ListParameterVersionsResult(const std::string &payload);
~ListParameterVersionsResult();
std::vector<ParameterVersion> getParameterVersions()const;
int getTotalCount()const;
std::string getType()const;
std::string getDescription()const;
std::string getCreatedBy()const;
std::string getNextToken()const;
int getMaxResults()const;
std::string getCreatedDate()const;
std::string getId()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ParameterVersion> parameterVersions_;
int totalCount_;
std::string type_;
std::string description_;
std::string createdBy_;
std::string nextToken_;
int maxResults_;
std::string createdDate_;
std::string id_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_LISTPARAMETERVERSIONSRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTPARAMETERSREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_LISTPARAMETERSREQUEST_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 ListParametersRequest : public RpcServiceRequest
{
public:
ListParametersRequest();
~ListParametersRequest();
std::string getType()const;
void setType(const std::string& type);
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);
std::string getName()const;
void setName(const std::string& name);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getSortOrder()const;
void setSortOrder(const std::string& sortOrder);
std::string getSortField()const;
void setSortField(const std::string& sortField);
private:
std::string type_;
bool recursive_;
std::string path_;
std::string regionId_;
std::string nextToken_;
std::string name_;
int maxResults_;
std::string sortOrder_;
std::string sortField_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_LISTPARAMETERSREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTPARAMETERSRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_LISTPARAMETERSRESULT_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 ListParametersResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
std::string parameterVersion;
std::string createdDate;
std::string id;
std::string name;
std::string shareType;
};
ListParametersResult();
explicit ListParametersResult(const std::string &payload);
~ListParametersResult();
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_LISTPARAMETERSRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERVERSIONSREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERVERSIONSREQUEST_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 ListSecretParameterVersionsRequest : public RpcServiceRequest
{
public:
ListSecretParameterVersionsRequest();
~ListSecretParameterVersionsRequest();
bool getWithDecryption()const;
void setWithDecryption(bool withDecryption);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getName()const;
void setName(const std::string& name);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getShareType()const;
void setShareType(const std::string& shareType);
private:
bool withDecryption_;
std::string regionId_;
std::string nextToken_;
std::string name_;
int maxResults_;
std::string shareType_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERVERSIONSREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERVERSIONSRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERVERSIONSRESULT_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 ListSecretParameterVersionsResult : public ServiceResult
{
public:
struct ParameterVersion
{
std::string updatedBy;
std::string updatedDate;
int parameterVersion;
std::string value;
};
ListSecretParameterVersionsResult();
explicit ListSecretParameterVersionsResult(const std::string &payload);
~ListSecretParameterVersionsResult();
std::vector<ParameterVersion> getParameterVersions()const;
int getTotalCount()const;
std::string getType()const;
std::string getDescription()const;
std::string getCreatedBy()const;
std::string getNextToken()const;
int getMaxResults()const;
std::string getCreatedDate()const;
std::string getId()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ParameterVersion> parameterVersions_;
int totalCount_;
std::string type_;
std::string description_;
std::string createdBy_;
std::string nextToken_;
int maxResults_;
std::string createdDate_;
std::string id_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERVERSIONSRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERSREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERSREQUEST_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 ListSecretParametersRequest : public RpcServiceRequest
{
public:
ListSecretParametersRequest();
~ListSecretParametersRequest();
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);
std::string getName()const;
void setName(const std::string& name);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getSortOrder()const;
void setSortOrder(const std::string& sortOrder);
std::string getSortField()const;
void setSortField(const std::string& sortField);
private:
bool recursive_;
std::string path_;
std::string regionId_;
std::string nextToken_;
std::string name_;
int maxResults_;
std::string sortOrder_;
std::string sortField_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERSRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERSRESULT_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 ListSecretParametersResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
std::string parameterVersion;
std::string createdDate;
std::string id;
std::string name;
std::string shareType;
};
ListSecretParametersResult();
explicit ListSecretParametersResult(const std::string &payload);
~ListSecretParametersResult();
std::vector<_Parameter> getParameters()const;
std::string getNextToken()const;
int getMaxResults()const;
protected:
void parse(const std::string &payload);
private:
std::vector<_Parameter> parameters_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_LISTSECRETPARAMETERSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_UPDATEPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_UPDATEPARAMETERREQUEST_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 UpdateParameterRequest : public RpcServiceRequest
{
public:
UpdateParameterRequest();
~UpdateParameterRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getValue()const;
void setValue(const std::string& value);
private:
std::string description_;
std::string regionId_;
std::string name_;
std::string value_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEPARAMETERREQUEST_H_

View File

@@ -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_UPDATEPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_UPDATEPARAMETERRESULT_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 UpdateParameterResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
int parameterVersion;
std::string createdDate;
std::string id;
std::string name;
std::string shareType;
};
UpdateParameterResult();
explicit UpdateParameterResult(const std::string &payload);
~UpdateParameterResult();
_Parameter get_Parameter()const;
protected:
void parse(const std::string &payload);
private:
_Parameter _parameter_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEPARAMETERRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OOS_MODEL_UPDATESECRETPARAMETERREQUEST_H_
#define ALIBABACLOUD_OOS_MODEL_UPDATESECRETPARAMETERREQUEST_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 UpdateSecretParameterRequest : public RpcServiceRequest
{
public:
UpdateSecretParameterRequest();
~UpdateSecretParameterRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getValue()const;
void setValue(const std::string& value);
private:
std::string description_;
std::string regionId_;
std::string name_;
std::string value_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATESECRETPARAMETERREQUEST_H_

View File

@@ -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_UPDATESECRETPARAMETERRESULT_H_
#define ALIBABACLOUD_OOS_MODEL_UPDATESECRETPARAMETERRESULT_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 UpdateSecretParameterResult : public ServiceResult
{
public:
struct _Parameter
{
std::string updatedBy;
std::string type;
std::string createdBy;
std::string description;
std::string updatedDate;
int parameterVersion;
std::string createdDate;
std::string id;
std::string name;
std::string shareType;
};
UpdateSecretParameterResult();
explicit UpdateSecretParameterResult(const std::string &payload);
~UpdateSecretParameterResult();
_Parameter get_Parameter()const;
protected:
void parse(const std::string &payload);
private:
_Parameter _parameter_;
};
}
}
}
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATESECRETPARAMETERRESULT_H_