AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProvisioningPreferences.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/servicecatalog/model/StackSetOperationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ServiceCatalog
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_SERVICECATALOG_API UpdateProvisioningPreferences();
41 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
55 inline const Aws::Vector<Aws::String>& GetStackSetAccounts() const{ return m_stackSetAccounts; }
56 inline bool StackSetAccountsHasBeenSet() const { return m_stackSetAccountsHasBeenSet; }
57 inline void SetStackSetAccounts(const Aws::Vector<Aws::String>& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = value; }
58 inline void SetStackSetAccounts(Aws::Vector<Aws::String>&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = std::move(value); }
61 inline UpdateProvisioningPreferences& AddStackSetAccounts(const Aws::String& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
62 inline UpdateProvisioningPreferences& AddStackSetAccounts(Aws::String&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(std::move(value)); return *this; }
63 inline UpdateProvisioningPreferences& AddStackSetAccounts(const char* value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
65
67
77 inline const Aws::Vector<Aws::String>& GetStackSetRegions() const{ return m_stackSetRegions; }
78 inline bool StackSetRegionsHasBeenSet() const { return m_stackSetRegionsHasBeenSet; }
79 inline void SetStackSetRegions(const Aws::Vector<Aws::String>& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = value; }
80 inline void SetStackSetRegions(Aws::Vector<Aws::String>&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = std::move(value); }
83 inline UpdateProvisioningPreferences& AddStackSetRegions(const Aws::String& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
84 inline UpdateProvisioningPreferences& AddStackSetRegions(Aws::String&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(std::move(value)); return *this; }
85 inline UpdateProvisioningPreferences& AddStackSetRegions(const char* value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
87
89
99 inline int GetStackSetFailureToleranceCount() const{ return m_stackSetFailureToleranceCount; }
100 inline bool StackSetFailureToleranceCountHasBeenSet() const { return m_stackSetFailureToleranceCountHasBeenSet; }
101 inline void SetStackSetFailureToleranceCount(int value) { m_stackSetFailureToleranceCountHasBeenSet = true; m_stackSetFailureToleranceCount = value; }
104
106
117 inline int GetStackSetFailureTolerancePercentage() const{ return m_stackSetFailureTolerancePercentage; }
118 inline bool StackSetFailureTolerancePercentageHasBeenSet() const { return m_stackSetFailureTolerancePercentageHasBeenSet; }
119 inline void SetStackSetFailureTolerancePercentage(int value) { m_stackSetFailureTolerancePercentageHasBeenSet = true; m_stackSetFailureTolerancePercentage = value; }
122
124
137 inline int GetStackSetMaxConcurrencyCount() const{ return m_stackSetMaxConcurrencyCount; }
138 inline bool StackSetMaxConcurrencyCountHasBeenSet() const { return m_stackSetMaxConcurrencyCountHasBeenSet; }
139 inline void SetStackSetMaxConcurrencyCount(int value) { m_stackSetMaxConcurrencyCountHasBeenSet = true; m_stackSetMaxConcurrencyCount = value; }
142
144
157 inline int GetStackSetMaxConcurrencyPercentage() const{ return m_stackSetMaxConcurrencyPercentage; }
158 inline bool StackSetMaxConcurrencyPercentageHasBeenSet() const { return m_stackSetMaxConcurrencyPercentageHasBeenSet; }
159 inline void SetStackSetMaxConcurrencyPercentage(int value) { m_stackSetMaxConcurrencyPercentageHasBeenSet = true; m_stackSetMaxConcurrencyPercentage = value; }
162
164
177 inline const StackSetOperationType& GetStackSetOperationType() const{ return m_stackSetOperationType; }
178 inline bool StackSetOperationTypeHasBeenSet() const { return m_stackSetOperationTypeHasBeenSet; }
179 inline void SetStackSetOperationType(const StackSetOperationType& value) { m_stackSetOperationTypeHasBeenSet = true; m_stackSetOperationType = value; }
180 inline void SetStackSetOperationType(StackSetOperationType&& value) { m_stackSetOperationTypeHasBeenSet = true; m_stackSetOperationType = std::move(value); }
184 private:
185
186 Aws::Vector<Aws::String> m_stackSetAccounts;
187 bool m_stackSetAccountsHasBeenSet = false;
188
189 Aws::Vector<Aws::String> m_stackSetRegions;
190 bool m_stackSetRegionsHasBeenSet = false;
191
192 int m_stackSetFailureToleranceCount;
193 bool m_stackSetFailureToleranceCountHasBeenSet = false;
194
195 int m_stackSetFailureTolerancePercentage;
196 bool m_stackSetFailureTolerancePercentageHasBeenSet = false;
197
198 int m_stackSetMaxConcurrencyCount;
199 bool m_stackSetMaxConcurrencyCountHasBeenSet = false;
200
201 int m_stackSetMaxConcurrencyPercentage;
202 bool m_stackSetMaxConcurrencyPercentageHasBeenSet = false;
203
204 StackSetOperationType m_stackSetOperationType;
205 bool m_stackSetOperationTypeHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace ServiceCatalog
210} // namespace Aws
UpdateProvisioningPreferences & AddStackSetRegions(Aws::String &&value)
UpdateProvisioningPreferences & WithStackSetRegions(const Aws::Vector< Aws::String > &value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStackSetRegions(const Aws::Vector< Aws::String > &value)
UpdateProvisioningPreferences & AddStackSetRegions(const Aws::String &value)
AWS_SERVICECATALOG_API UpdateProvisioningPreferences(Aws::Utils::Json::JsonView jsonValue)
UpdateProvisioningPreferences & WithStackSetAccounts(const Aws::Vector< Aws::String > &value)
UpdateProvisioningPreferences & WithStackSetMaxConcurrencyPercentage(int value)
UpdateProvisioningPreferences & WithStackSetOperationType(StackSetOperationType &&value)
UpdateProvisioningPreferences & AddStackSetAccounts(const Aws::String &value)
UpdateProvisioningPreferences & WithStackSetFailureToleranceCount(int value)
UpdateProvisioningPreferences & WithStackSetAccounts(Aws::Vector< Aws::String > &&value)
UpdateProvisioningPreferences & WithStackSetRegions(Aws::Vector< Aws::String > &&value)
AWS_SERVICECATALOG_API UpdateProvisioningPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateProvisioningPreferences & WithStackSetMaxConcurrencyCount(int value)
UpdateProvisioningPreferences & AddStackSetRegions(const char *value)
UpdateProvisioningPreferences & WithStackSetOperationType(const StackSetOperationType &value)
UpdateProvisioningPreferences & AddStackSetAccounts(const char *value)
UpdateProvisioningPreferences & AddStackSetAccounts(Aws::String &&value)
void SetStackSetAccounts(const Aws::Vector< Aws::String > &value)
UpdateProvisioningPreferences & WithStackSetFailureTolerancePercentage(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue