Support TemplateContent.
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
#include "model/GetSecretParametersResult.h"
|
||||
#include "model/GetSecretParametersByPathRequest.h"
|
||||
#include "model/GetSecretParametersByPathResult.h"
|
||||
#include "model/GetServiceSettingsRequest.h"
|
||||
#include "model/GetServiceSettingsResult.h"
|
||||
#include "model/GetTemplateRequest.h"
|
||||
#include "model/GetTemplateResult.h"
|
||||
#include "model/ListActionsRequest.h"
|
||||
@@ -98,6 +100,8 @@
|
||||
#include "model/NotifyExecutionResult.h"
|
||||
#include "model/SearchInventoryRequest.h"
|
||||
#include "model/SearchInventoryResult.h"
|
||||
#include "model/SetServiceSettingsRequest.h"
|
||||
#include "model/SetServiceSettingsResult.h"
|
||||
#include "model/StartExecutionRequest.h"
|
||||
#include "model/StartExecutionResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
@@ -184,6 +188,9 @@ namespace AlibabaCloud
|
||||
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::GetServiceSettingsResult> GetServiceSettingsOutcome;
|
||||
typedef std::future<GetServiceSettingsOutcome> GetServiceSettingsOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetServiceSettingsRequest&, const GetServiceSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceSettingsAsyncHandler;
|
||||
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;
|
||||
@@ -241,6 +248,9 @@ namespace AlibabaCloud
|
||||
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::SetServiceSettingsResult> SetServiceSettingsOutcome;
|
||||
typedef std::future<SetServiceSettingsOutcome> SetServiceSettingsOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::SetServiceSettingsRequest&, const SetServiceSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetServiceSettingsAsyncHandler;
|
||||
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;
|
||||
@@ -333,6 +343,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
GetServiceSettingsOutcome getServiceSettings(const Model::GetServiceSettingsRequest &request)const;
|
||||
void getServiceSettingsAsync(const Model::GetServiceSettingsRequest& request, const GetServiceSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceSettingsOutcomeCallable getServiceSettingsCallable(const Model::GetServiceSettingsRequest& 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;
|
||||
@@ -390,6 +403,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
SetServiceSettingsOutcome setServiceSettings(const Model::SetServiceSettingsRequest &request)const;
|
||||
void setServiceSettingsAsync(const Model::SetServiceSettingsRequest& request, const SetServiceSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetServiceSettingsOutcomeCallable setServiceSettingsCallable(const Model::SetServiceSettingsRequest& 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;
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_GETSERVICESETTINGSREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETSERVICESETTINGSREQUEST_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 GetServiceSettingsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetServiceSettingsRequest();
|
||||
~GetServiceSettingsRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETSERVICESETTINGSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_GETSERVICESETTINGSRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETSERVICESETTINGSRESULT_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 GetServiceSettingsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceSetting
|
||||
{
|
||||
bool deliverySlsEnabled;
|
||||
std::string deliveryOssKeyPrefix;
|
||||
bool deliveryOssEnabled;
|
||||
std::string deliveryOssBucketName;
|
||||
std::string deliverySlsProjectName;
|
||||
};
|
||||
|
||||
|
||||
GetServiceSettingsResult();
|
||||
explicit GetServiceSettingsResult(const std::string &payload);
|
||||
~GetServiceSettingsResult();
|
||||
std::vector<ServiceSetting> getServiceSettings()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ServiceSetting> serviceSettings_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETSERVICESETTINGSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_SETSERVICESETTINGSREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_SETSERVICESETTINGSREQUEST_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 SetServiceSettingsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetServiceSettingsRequest();
|
||||
~SetServiceSettingsRequest();
|
||||
|
||||
bool getDeliverySlsEnabled()const;
|
||||
void setDeliverySlsEnabled(bool deliverySlsEnabled);
|
||||
std::string getDeliveryOssKeyPrefix()const;
|
||||
void setDeliveryOssKeyPrefix(const std::string& deliveryOssKeyPrefix);
|
||||
bool getDeliveryOssEnabled()const;
|
||||
void setDeliveryOssEnabled(bool deliveryOssEnabled);
|
||||
std::string getDeliverySlsProjectName()const;
|
||||
void setDeliverySlsProjectName(const std::string& deliverySlsProjectName);
|
||||
std::string getDeliveryOssBucketName()const;
|
||||
void setDeliveryOssBucketName(const std::string& deliveryOssBucketName);
|
||||
|
||||
private:
|
||||
bool deliverySlsEnabled_;
|
||||
std::string deliveryOssKeyPrefix_;
|
||||
bool deliveryOssEnabled_;
|
||||
std::string deliverySlsProjectName_;
|
||||
std::string deliveryOssBucketName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_SETSERVICESETTINGSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_SETSERVICESETTINGSRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_SETSERVICESETTINGSRESULT_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 SetServiceSettingsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceSetting
|
||||
{
|
||||
bool deliverySlsEnabled;
|
||||
std::string deliveryOssKeyPrefix;
|
||||
bool deliveryOssEnabled;
|
||||
std::string deliveryOssBucketName;
|
||||
std::string deliverySlsProjectName;
|
||||
};
|
||||
|
||||
|
||||
SetServiceSettingsResult();
|
||||
explicit SetServiceSettingsResult(const std::string &payload);
|
||||
~SetServiceSettingsResult();
|
||||
std::vector<ServiceSetting> getServiceSettings()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ServiceSetting> serviceSettings_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_SETSERVICESETTINGSRESULT_H_
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setSafetyCheck(const std::string& safetyCheck);
|
||||
std::map<std::string, std::string> getTags()const;
|
||||
void setTags(const std::map<std::string, std::string>& tags);
|
||||
std::string getTemplateContent()const;
|
||||
void setTemplateContent(const std::string& templateContent);
|
||||
std::string getParentExecutionId()const;
|
||||
void setParentExecutionId(const std::string& parentExecutionId);
|
||||
std::string getParameters()const;
|
||||
@@ -68,6 +70,7 @@ namespace AlibabaCloud
|
||||
std::string loopMode_;
|
||||
std::string safetyCheck_;
|
||||
std::map<std::string, std::string> tags_;
|
||||
std::string templateContent_;
|
||||
std::string parentExecutionId_;
|
||||
std::string parameters_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user