Update StartExecution add Parameter TemplateURL.
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
#include "model/CreateApplicationResult.h"
|
||||
#include "model/CreateApplicationGroupRequest.h"
|
||||
#include "model/CreateApplicationGroupResult.h"
|
||||
#include "model/CreateOpsItemRequest.h"
|
||||
#include "model/CreateOpsItemResult.h"
|
||||
#include "model/CreateParameterRequest.h"
|
||||
#include "model/CreateParameterResult.h"
|
||||
#include "model/CreatePatchBaselineRequest.h"
|
||||
@@ -74,6 +76,8 @@
|
||||
#include "model/GetExecutionTemplateResult.h"
|
||||
#include "model/GetInventorySchemaRequest.h"
|
||||
#include "model/GetInventorySchemaResult.h"
|
||||
#include "model/GetOpsItemRequest.h"
|
||||
#include "model/GetOpsItemResult.h"
|
||||
#include "model/GetParameterRequest.h"
|
||||
#include "model/GetParameterResult.h"
|
||||
#include "model/GetParametersRequest.h"
|
||||
@@ -110,6 +114,8 @@
|
||||
#include "model/ListInstancePatchesResult.h"
|
||||
#include "model/ListInventoryEntriesRequest.h"
|
||||
#include "model/ListInventoryEntriesResult.h"
|
||||
#include "model/ListOpsItemsRequest.h"
|
||||
#include "model/ListOpsItemsResult.h"
|
||||
#include "model/ListParameterVersionsRequest.h"
|
||||
#include "model/ListParameterVersionsResult.h"
|
||||
#include "model/ListParametersRequest.h"
|
||||
@@ -158,6 +164,8 @@
|
||||
#include "model/UpdateApplicationGroupResult.h"
|
||||
#include "model/UpdateExecutionRequest.h"
|
||||
#include "model/UpdateExecutionResult.h"
|
||||
#include "model/UpdateOpsItemRequest.h"
|
||||
#include "model/UpdateOpsItemResult.h"
|
||||
#include "model/UpdateParameterRequest.h"
|
||||
#include "model/UpdateParameterResult.h"
|
||||
#include "model/UpdatePatchBaselineRequest.h"
|
||||
@@ -194,6 +202,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateApplicationGroupResult> CreateApplicationGroupOutcome;
|
||||
typedef std::future<CreateApplicationGroupOutcome> CreateApplicationGroupOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::CreateApplicationGroupRequest&, const CreateApplicationGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateApplicationGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOpsItemResult> CreateOpsItemOutcome;
|
||||
typedef std::future<CreateOpsItemOutcome> CreateOpsItemOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::CreateOpsItemRequest&, const CreateOpsItemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOpsItemAsyncHandler;
|
||||
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;
|
||||
@@ -257,6 +268,9 @@ namespace AlibabaCloud
|
||||
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::GetOpsItemResult> GetOpsItemOutcome;
|
||||
typedef std::future<GetOpsItemOutcome> GetOpsItemOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::GetOpsItemRequest&, const GetOpsItemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOpsItemAsyncHandler;
|
||||
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;
|
||||
@@ -311,6 +325,9 @@ namespace AlibabaCloud
|
||||
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::ListOpsItemsResult> ListOpsItemsOutcome;
|
||||
typedef std::future<ListOpsItemsOutcome> ListOpsItemsOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::ListOpsItemsRequest&, const ListOpsItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOpsItemsAsyncHandler;
|
||||
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;
|
||||
@@ -383,6 +400,9 @@ namespace AlibabaCloud
|
||||
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::UpdateOpsItemResult> UpdateOpsItemOutcome;
|
||||
typedef std::future<UpdateOpsItemOutcome> UpdateOpsItemOutcomeCallable;
|
||||
typedef std::function<void(const OosClient*, const Model::UpdateOpsItemRequest&, const UpdateOpsItemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOpsItemAsyncHandler;
|
||||
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;
|
||||
@@ -421,6 +441,9 @@ namespace AlibabaCloud
|
||||
CreateApplicationGroupOutcome createApplicationGroup(const Model::CreateApplicationGroupRequest &request)const;
|
||||
void createApplicationGroupAsync(const Model::CreateApplicationGroupRequest& request, const CreateApplicationGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateApplicationGroupOutcomeCallable createApplicationGroupCallable(const Model::CreateApplicationGroupRequest& request) const;
|
||||
CreateOpsItemOutcome createOpsItem(const Model::CreateOpsItemRequest &request)const;
|
||||
void createOpsItemAsync(const Model::CreateOpsItemRequest& request, const CreateOpsItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOpsItemOutcomeCallable createOpsItemCallable(const Model::CreateOpsItemRequest& 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;
|
||||
@@ -484,6 +507,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
GetOpsItemOutcome getOpsItem(const Model::GetOpsItemRequest &request)const;
|
||||
void getOpsItemAsync(const Model::GetOpsItemRequest& request, const GetOpsItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetOpsItemOutcomeCallable getOpsItemCallable(const Model::GetOpsItemRequest& 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;
|
||||
@@ -538,6 +564,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ListOpsItemsOutcome listOpsItems(const Model::ListOpsItemsRequest &request)const;
|
||||
void listOpsItemsAsync(const Model::ListOpsItemsRequest& request, const ListOpsItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOpsItemsOutcomeCallable listOpsItemsCallable(const Model::ListOpsItemsRequest& 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;
|
||||
@@ -610,6 +639,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
UpdateOpsItemOutcome updateOpsItem(const Model::UpdateOpsItemRequest &request)const;
|
||||
void updateOpsItemAsync(const Model::UpdateOpsItemRequest& request, const UpdateOpsItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateOpsItemOutcomeCallable updateOpsItemCallable(const Model::UpdateOpsItemRequest& 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;
|
||||
|
||||
78
oos/include/alibabacloud/oos/model/CreateOpsItemRequest.h
Normal file
78
oos/include/alibabacloud/oos/model/CreateOpsItemRequest.h
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_CREATEOPSITEMREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_CREATEOPSITEMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT CreateOpsItemRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateOpsItemRequest();
|
||||
~CreateOpsItemRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSource() const;
|
||||
void setSource(const std::string &source);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSeverity() const;
|
||||
void setSeverity(const std::string &severity);
|
||||
std::string getSolutions() const;
|
||||
void setSolutions(const std::string &solutions);
|
||||
std::string getResources() const;
|
||||
void setResources(const std::string &resources);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::string getDedupString() const;
|
||||
void setDedupString(const std::string &dedupString);
|
||||
std::string getTags() const;
|
||||
void setTags(const std::string &tags);
|
||||
std::string getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string source_;
|
||||
std::string title_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string severity_;
|
||||
std::string solutions_;
|
||||
std::string resources_;
|
||||
int priority_;
|
||||
std::string dedupString_;
|
||||
std::string tags_;
|
||||
std::string category_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_CREATEOPSITEMREQUEST_H_
|
||||
71
oos/include/alibabacloud/oos/model/CreateOpsItemResult.h
Normal file
71
oos/include/alibabacloud/oos/model/CreateOpsItemResult.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_CREATEOPSITEMRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_CREATEOPSITEMRESULT_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 CreateOpsItemResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OpsItem
|
||||
{
|
||||
std::string status;
|
||||
std::string lastModifiedBy;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string createdBy;
|
||||
std::string resourceGroupId;
|
||||
int priority;
|
||||
std::string attributes;
|
||||
std::string title;
|
||||
std::string severity;
|
||||
std::string createDate;
|
||||
std::string source;
|
||||
std::string updateDate;
|
||||
std::string opsItemId;
|
||||
std::string solutions;
|
||||
std::string resources;
|
||||
std::string tags;
|
||||
};
|
||||
|
||||
|
||||
CreateOpsItemResult();
|
||||
explicit CreateOpsItemResult(const std::string &payload);
|
||||
~CreateOpsItemResult();
|
||||
OpsItem getOpsItem()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
OpsItem opsItem_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_CREATEOPSITEMRESULT_H_
|
||||
@@ -46,8 +46,8 @@ public:
|
||||
void setValue(const std::string &value);
|
||||
std::string getKeyId() const;
|
||||
void setKeyId(const std::string &keyId);
|
||||
std::string getTags() const;
|
||||
void setTags(const std::string &tags);
|
||||
std::map<std::string, std::string> getTags() const;
|
||||
void setTags(const std::map<std::string, std::string> &tags);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
@@ -60,7 +60,7 @@ private:
|
||||
std::string regionId_;
|
||||
std::string value_;
|
||||
std::string keyId_;
|
||||
std::string tags_;
|
||||
std::map<std::string, std::string> tags_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -34,10 +34,13 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
bool getForce() const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
bool force_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string status;
|
||||
std::string deployRegionId;
|
||||
std::string progress;
|
||||
std::string description;
|
||||
std::string applicationName;
|
||||
std::string importTagKey;
|
||||
|
||||
45
oos/include/alibabacloud/oos/model/GetOpsItemRequest.h
Normal file
45
oos/include/alibabacloud/oos/model/GetOpsItemRequest.h
Normal file
@@ -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_GETOPSITEMREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETOPSITEMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT GetOpsItemRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetOpsItemRequest();
|
||||
~GetOpsItemRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getOpsItemId() const;
|
||||
void setOpsItemId(const std::string &opsItemId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string opsItemId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETOPSITEMREQUEST_H_
|
||||
72
oos/include/alibabacloud/oos/model/GetOpsItemResult.h
Normal file
72
oos/include/alibabacloud/oos/model/GetOpsItemResult.h
Normal 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_GETOPSITEMRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_GETOPSITEMRESULT_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 GetOpsItemResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OpsItem
|
||||
{
|
||||
std::string status;
|
||||
std::string lastModifiedBy;
|
||||
std::string category;
|
||||
std::string description;
|
||||
std::string resourceGroupId;
|
||||
int priority;
|
||||
std::string createBy;
|
||||
std::string attributes;
|
||||
std::string title;
|
||||
std::string severity;
|
||||
std::string createDate;
|
||||
std::string source;
|
||||
std::string updateDate;
|
||||
std::string opsItemId;
|
||||
std::vector<std::string> solutions;
|
||||
std::vector<std::string> resources;
|
||||
std::string dedupString;
|
||||
std::string tags;
|
||||
};
|
||||
|
||||
|
||||
GetOpsItemResult();
|
||||
explicit GetOpsItemResult(const std::string &payload);
|
||||
~GetOpsItemResult();
|
||||
OpsItem getOpsItem()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
OpsItem opsItem_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_GETOPSITEMRESULT_H_
|
||||
@@ -30,21 +30,33 @@ class ALIBABACLOUD_OOS_EXPORT ListApplicationGroupsRequest : public RpcServiceRe
|
||||
public:
|
||||
ListApplicationGroupsRequest();
|
||||
~ListApplicationGroupsRequest();
|
||||
std::string getResourceProduct() const;
|
||||
void setResourceProduct(const std::string &resourceProduct);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getProduct() const;
|
||||
void setProduct(const std::string &product);
|
||||
std::string getDeployRegionId() const;
|
||||
void setDeployRegionId(const std::string &deployRegionId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getApplicationName() const;
|
||||
void setApplicationName(const std::string &applicationName);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string resourceProduct_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::string resourceId_;
|
||||
std::string product_;
|
||||
std::string deployRegionId_;
|
||||
std::string resourceType_;
|
||||
std::string applicationName_;
|
||||
int maxResults_;
|
||||
};
|
||||
|
||||
61
oos/include/alibabacloud/oos/model/ListOpsItemsRequest.h
Normal file
61
oos/include/alibabacloud/oos/model/ListOpsItemsRequest.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_LISTOPSITEMSREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_LISTOPSITEMSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT ListOpsItemsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Filter {
|
||||
std::string name;
|
||||
std::string _operator;
|
||||
};
|
||||
ListOpsItemsRequest();
|
||||
~ListOpsItemsRequest();
|
||||
std::string getResourceTags() const;
|
||||
void setResourceTags(const std::string &resourceTags);
|
||||
std::string getTags() const;
|
||||
void setTags(const std::string &tags);
|
||||
std::vector<Filter> getFilter() const;
|
||||
void setFilter(const std::vector<Filter> &filter);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string resourceTags_;
|
||||
std::string tags_;
|
||||
std::vector<Filter> filter_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_LISTOPSITEMSREQUEST_H_
|
||||
71
oos/include/alibabacloud/oos/model/ListOpsItemsResult.h
Normal file
71
oos/include/alibabacloud/oos/model/ListOpsItemsResult.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_LISTOPSITEMSRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_LISTOPSITEMSRESULT_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 ListOpsItemsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OpsItem
|
||||
{
|
||||
std::string status;
|
||||
std::string updateDate;
|
||||
std::string opsItemId;
|
||||
std::string category;
|
||||
int priority;
|
||||
std::string title;
|
||||
std::string severity;
|
||||
std::vector<std::string> resources;
|
||||
std::string createDate;
|
||||
std::string source;
|
||||
std::string tags;
|
||||
};
|
||||
|
||||
|
||||
ListOpsItemsResult();
|
||||
explicit ListOpsItemsResult(const std::string &payload);
|
||||
~ListOpsItemsResult();
|
||||
std::vector<OpsItem> getOpsItems()const;
|
||||
int getTotalCount()const;
|
||||
std::string getNextToken()const;
|
||||
int getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<OpsItem> opsItems_;
|
||||
int totalCount_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_LISTOPSITEMSRESULT_H_
|
||||
@@ -54,11 +54,13 @@ namespace AlibabaCloud
|
||||
ListStateConfigurationsResult();
|
||||
explicit ListStateConfigurationsResult(const std::string &payload);
|
||||
~ListStateConfigurationsResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<StateConfiguration> getStateConfigurations()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<StateConfiguration> stateConfigurations_;
|
||||
|
||||
};
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getTemplateURL() const;
|
||||
void setTemplateURL(const std::string &templateURL);
|
||||
std::string getMode() const;
|
||||
void setMode(const std::string &mode);
|
||||
std::string getResourceGroupId() const;
|
||||
@@ -60,6 +62,7 @@ public:
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string templateURL_;
|
||||
std::string mode_;
|
||||
std::string resourceGroupId_;
|
||||
std::string templateVersion_;
|
||||
|
||||
84
oos/include/alibabacloud/oos/model/UpdateOpsItemRequest.h
Normal file
84
oos/include/alibabacloud/oos/model/UpdateOpsItemRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_UPDATEOPSITEMREQUEST_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_UPDATEOPSITEMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/oos/OosExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT UpdateOpsItemRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateOpsItemRequest();
|
||||
~UpdateOpsItemRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSource() const;
|
||||
void setSource(const std::string &source);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSeverity() const;
|
||||
void setSeverity(const std::string &severity);
|
||||
std::string getSolutions() const;
|
||||
void setSolutions(const std::string &solutions);
|
||||
std::string getResources() const;
|
||||
void setResources(const std::string &resources);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::string getDedupString() const;
|
||||
void setDedupString(const std::string &dedupString);
|
||||
std::string getTags() const;
|
||||
void setTags(const std::string &tags);
|
||||
std::string getOpsItemId() const;
|
||||
void setOpsItemId(const std::string &opsItemId);
|
||||
std::string getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string source_;
|
||||
std::string title_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string severity_;
|
||||
std::string solutions_;
|
||||
std::string resources_;
|
||||
int priority_;
|
||||
std::string dedupString_;
|
||||
std::string tags_;
|
||||
std::string opsItemId_;
|
||||
std::string category_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEOPSITEMREQUEST_H_
|
||||
71
oos/include/alibabacloud/oos/model/UpdateOpsItemResult.h
Normal file
71
oos/include/alibabacloud/oos/model/UpdateOpsItemResult.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OOS_MODEL_UPDATEOPSITEMRESULT_H_
|
||||
#define ALIBABACLOUD_OOS_MODEL_UPDATEOPSITEMRESULT_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 UpdateOpsItemResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OpsItem
|
||||
{
|
||||
std::string status;
|
||||
std::string lastModifiedBy;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string createdBy;
|
||||
std::string resourceGroupId;
|
||||
int priority;
|
||||
std::string attributes;
|
||||
std::string title;
|
||||
std::string severity;
|
||||
std::string createDate;
|
||||
std::string source;
|
||||
std::string updateDate;
|
||||
std::string opsItemId;
|
||||
std::vector<std::string> solutions;
|
||||
std::vector<std::string> resources;
|
||||
std::string tags;
|
||||
};
|
||||
|
||||
|
||||
UpdateOpsItemResult();
|
||||
explicit UpdateOpsItemResult(const std::string &payload);
|
||||
~UpdateOpsItemResult();
|
||||
OpsItem getOpsItem()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
OpsItem opsItem_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OOS_MODEL_UPDATEOPSITEMRESULT_H_
|
||||
@@ -32,11 +32,14 @@ public:
|
||||
~ValidateTemplateContentRequest();
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
std::string getTemplateURL() const;
|
||||
void setTemplateURL(const std::string &templateURL);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string content_;
|
||||
std::string templateURL_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
Reference in New Issue
Block a user