AWS SDK for C++  1.9.106
AWS SDK for C++
ProvisioningPreferences.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ServiceCatalog
23 {
24 namespace Model
25 {
26 
42  {
43  public:
48 
49 
60  inline const Aws::Vector<Aws::String>& GetStackSetAccounts() const{ return m_stackSetAccounts; }
61 
72  inline bool StackSetAccountsHasBeenSet() const { return m_stackSetAccountsHasBeenSet; }
73 
84  inline void SetStackSetAccounts(const Aws::Vector<Aws::String>& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = value; }
85 
96  inline void SetStackSetAccounts(Aws::Vector<Aws::String>&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = std::move(value); }
97 
108  inline ProvisioningPreferences& WithStackSetAccounts(const Aws::Vector<Aws::String>& value) { SetStackSetAccounts(value); return *this;}
109 
120  inline ProvisioningPreferences& WithStackSetAccounts(Aws::Vector<Aws::String>&& value) { SetStackSetAccounts(std::move(value)); return *this;}
121 
132  inline ProvisioningPreferences& AddStackSetAccounts(const Aws::String& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
133 
144  inline ProvisioningPreferences& AddStackSetAccounts(Aws::String&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(std::move(value)); return *this; }
145 
156  inline ProvisioningPreferences& AddStackSetAccounts(const char* value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
157 
158 
169  inline const Aws::Vector<Aws::String>& GetStackSetRegions() const{ return m_stackSetRegions; }
170 
181  inline bool StackSetRegionsHasBeenSet() const { return m_stackSetRegionsHasBeenSet; }
182 
193  inline void SetStackSetRegions(const Aws::Vector<Aws::String>& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = value; }
194 
205  inline void SetStackSetRegions(Aws::Vector<Aws::String>&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = std::move(value); }
206 
217  inline ProvisioningPreferences& WithStackSetRegions(const Aws::Vector<Aws::String>& value) { SetStackSetRegions(value); return *this;}
218 
229  inline ProvisioningPreferences& WithStackSetRegions(Aws::Vector<Aws::String>&& value) { SetStackSetRegions(std::move(value)); return *this;}
230 
241  inline ProvisioningPreferences& AddStackSetRegions(const Aws::String& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
242 
253  inline ProvisioningPreferences& AddStackSetRegions(Aws::String&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(std::move(value)); return *this; }
254 
265  inline ProvisioningPreferences& AddStackSetRegions(const char* value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
266 
267 
278  inline int GetStackSetFailureToleranceCount() const{ return m_stackSetFailureToleranceCount; }
279 
290  inline bool StackSetFailureToleranceCountHasBeenSet() const { return m_stackSetFailureToleranceCountHasBeenSet; }
291 
302  inline void SetStackSetFailureToleranceCount(int value) { m_stackSetFailureToleranceCountHasBeenSet = true; m_stackSetFailureToleranceCount = value; }
303 
314  inline ProvisioningPreferences& WithStackSetFailureToleranceCount(int value) { SetStackSetFailureToleranceCount(value); return *this;}
315 
316 
328  inline int GetStackSetFailureTolerancePercentage() const{ return m_stackSetFailureTolerancePercentage; }
329 
341  inline bool StackSetFailureTolerancePercentageHasBeenSet() const { return m_stackSetFailureTolerancePercentageHasBeenSet; }
342 
354  inline void SetStackSetFailureTolerancePercentage(int value) { m_stackSetFailureTolerancePercentageHasBeenSet = true; m_stackSetFailureTolerancePercentage = value; }
355 
367  inline ProvisioningPreferences& WithStackSetFailureTolerancePercentage(int value) { SetStackSetFailureTolerancePercentage(value); return *this;}
368 
369 
383  inline int GetStackSetMaxConcurrencyCount() const{ return m_stackSetMaxConcurrencyCount; }
384 
398  inline bool StackSetMaxConcurrencyCountHasBeenSet() const { return m_stackSetMaxConcurrencyCountHasBeenSet; }
399 
413  inline void SetStackSetMaxConcurrencyCount(int value) { m_stackSetMaxConcurrencyCountHasBeenSet = true; m_stackSetMaxConcurrencyCount = value; }
414 
428  inline ProvisioningPreferences& WithStackSetMaxConcurrencyCount(int value) { SetStackSetMaxConcurrencyCount(value); return *this;}
429 
430 
444  inline int GetStackSetMaxConcurrencyPercentage() const{ return m_stackSetMaxConcurrencyPercentage; }
445 
459  inline bool StackSetMaxConcurrencyPercentageHasBeenSet() const { return m_stackSetMaxConcurrencyPercentageHasBeenSet; }
460 
474  inline void SetStackSetMaxConcurrencyPercentage(int value) { m_stackSetMaxConcurrencyPercentageHasBeenSet = true; m_stackSetMaxConcurrencyPercentage = value; }
475 
489  inline ProvisioningPreferences& WithStackSetMaxConcurrencyPercentage(int value) { SetStackSetMaxConcurrencyPercentage(value); return *this;}
490 
491  private:
492 
493  Aws::Vector<Aws::String> m_stackSetAccounts;
494  bool m_stackSetAccountsHasBeenSet;
495 
496  Aws::Vector<Aws::String> m_stackSetRegions;
497  bool m_stackSetRegionsHasBeenSet;
498 
499  int m_stackSetFailureToleranceCount;
500  bool m_stackSetFailureToleranceCountHasBeenSet;
501 
502  int m_stackSetFailureTolerancePercentage;
503  bool m_stackSetFailureTolerancePercentageHasBeenSet;
504 
505  int m_stackSetMaxConcurrencyCount;
506  bool m_stackSetMaxConcurrencyCountHasBeenSet;
507 
508  int m_stackSetMaxConcurrencyPercentage;
509  bool m_stackSetMaxConcurrencyPercentageHasBeenSet;
510  };
511 
512 } // namespace Model
513 } // namespace ServiceCatalog
514 } // namespace Aws
Aws::ServiceCatalog::Model::ProvisioningPreferences::GetStackSetMaxConcurrencyPercentage
int GetStackSetMaxConcurrencyPercentage() const
Definition: ProvisioningPreferences.h:444
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetAccounts
ProvisioningPreferences & WithStackSetAccounts(const Aws::Vector< Aws::String > &value)
Definition: ProvisioningPreferences.h:108
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetMaxConcurrencyCount
ProvisioningPreferences & WithStackSetMaxConcurrencyCount(int value)
Definition: ProvisioningPreferences.h:428
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetFailureTolerancePercentage
void SetStackSetFailureTolerancePercentage(int value)
Definition: ProvisioningPreferences.h:354
Aws::ServiceCatalog::Model::ProvisioningPreferences::StackSetFailureTolerancePercentageHasBeenSet
bool StackSetFailureTolerancePercentageHasBeenSet() const
Definition: ProvisioningPreferences.h:341
Aws::ServiceCatalog::Model::ProvisioningPreferences::AddStackSetRegions
ProvisioningPreferences & AddStackSetRegions(const Aws::String &value)
Definition: ProvisioningPreferences.h:241
Aws::ServiceCatalog::Model::ProvisioningPreferences::GetStackSetAccounts
const Aws::Vector< Aws::String > & GetStackSetAccounts() const
Definition: ProvisioningPreferences.h:60
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetMaxConcurrencyPercentage
ProvisioningPreferences & WithStackSetMaxConcurrencyPercentage(int value)
Definition: ProvisioningPreferences.h:489
Aws::ServiceCatalog::Model::ProvisioningPreferences::ProvisioningPreferences
ProvisioningPreferences()
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetFailureTolerancePercentage
ProvisioningPreferences & WithStackSetFailureTolerancePercentage(int value)
Definition: ProvisioningPreferences.h:367
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetMaxConcurrencyCount
void SetStackSetMaxConcurrencyCount(int value)
Definition: ProvisioningPreferences.h:413
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetRegions
void SetStackSetRegions(Aws::Vector< Aws::String > &&value)
Definition: ProvisioningPreferences.h:205
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ServiceCatalog::Model::ProvisioningPreferences::StackSetAccountsHasBeenSet
bool StackSetAccountsHasBeenSet() const
Definition: ProvisioningPreferences.h:72
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetRegions
ProvisioningPreferences & WithStackSetRegions(const Aws::Vector< Aws::String > &value)
Definition: ProvisioningPreferences.h:217
Aws::ServiceCatalog::Model::ProvisioningPreferences::GetStackSetFailureToleranceCount
int GetStackSetFailureToleranceCount() const
Definition: ProvisioningPreferences.h:278
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
AWSVector.h
Aws::ServiceCatalog::Model::ProvisioningPreferences::GetStackSetMaxConcurrencyCount
int GetStackSetMaxConcurrencyCount() const
Definition: ProvisioningPreferences.h:383
Aws::ServiceCatalog::Model::ProvisioningPreferences::AddStackSetAccounts
ProvisioningPreferences & AddStackSetAccounts(const Aws::String &value)
Definition: ProvisioningPreferences.h:132
Aws::ServiceCatalog::Model::ProvisioningPreferences::operator=
ProvisioningPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetRegions
ProvisioningPreferences & WithStackSetRegions(Aws::Vector< Aws::String > &&value)
Definition: ProvisioningPreferences.h:229
Aws::ServiceCatalog::Model::ProvisioningPreferences::AddStackSetAccounts
ProvisioningPreferences & AddStackSetAccounts(const char *value)
Definition: ProvisioningPreferences.h:156
Aws::ServiceCatalog::Model::ProvisioningPreferences::GetStackSetRegions
const Aws::Vector< Aws::String > & GetStackSetRegions() const
Definition: ProvisioningPreferences.h:169
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetAccounts
void SetStackSetAccounts(const Aws::Vector< Aws::String > &value)
Definition: ProvisioningPreferences.h:84
Aws::ServiceCatalog::Model::ProvisioningPreferences::GetStackSetFailureTolerancePercentage
int GetStackSetFailureTolerancePercentage() const
Definition: ProvisioningPreferences.h:328
Aws::ServiceCatalog::Model::ProvisioningPreferences::StackSetRegionsHasBeenSet
bool StackSetRegionsHasBeenSet() const
Definition: ProvisioningPreferences.h:181
Aws::ServiceCatalog::Model::ProvisioningPreferences::AddStackSetRegions
ProvisioningPreferences & AddStackSetRegions(Aws::String &&value)
Definition: ProvisioningPreferences.h:253
Aws::ServiceCatalog::Model::ProvisioningPreferences::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ServiceCatalog::Model::ProvisioningPreferences::StackSetFailureToleranceCountHasBeenSet
bool StackSetFailureToleranceCountHasBeenSet() const
Definition: ProvisioningPreferences.h:290
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetRegions
void SetStackSetRegions(const Aws::Vector< Aws::String > &value)
Definition: ProvisioningPreferences.h:193
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetFailureToleranceCount
void SetStackSetFailureToleranceCount(int value)
Definition: ProvisioningPreferences.h:302
Aws::ServiceCatalog::Model::ProvisioningPreferences::StackSetMaxConcurrencyCountHasBeenSet
bool StackSetMaxConcurrencyCountHasBeenSet() const
Definition: ProvisioningPreferences.h:398
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetAccounts
ProvisioningPreferences & WithStackSetAccounts(Aws::Vector< Aws::String > &&value)
Definition: ProvisioningPreferences.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetMaxConcurrencyPercentage
void SetStackSetMaxConcurrencyPercentage(int value)
Definition: ProvisioningPreferences.h:474
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ProvisioningPreferences::AddStackSetAccounts
ProvisioningPreferences & AddStackSetAccounts(Aws::String &&value)
Definition: ProvisioningPreferences.h:144
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ProvisioningPreferences::WithStackSetFailureToleranceCount
ProvisioningPreferences & WithStackSetFailureToleranceCount(int value)
Definition: ProvisioningPreferences.h:314
Aws::ServiceCatalog::Model::ProvisioningPreferences::AddStackSetRegions
ProvisioningPreferences & AddStackSetRegions(const char *value)
Definition: ProvisioningPreferences.h:265
Aws::ServiceCatalog::Model::ProvisioningPreferences
Definition: ProvisioningPreferences.h:42
Aws::ServiceCatalog::Model::ProvisioningPreferences::SetStackSetAccounts
void SetStackSetAccounts(Aws::Vector< Aws::String > &&value)
Definition: ProvisioningPreferences.h:96
Aws::ServiceCatalog::Model::ProvisioningPreferences::StackSetMaxConcurrencyPercentageHasBeenSet
bool StackSetMaxConcurrencyPercentageHasBeenSet() const
Definition: ProvisioningPreferences.h:459
Aws::ServiceCatalog::Model::ProvisioningPreferences::ProvisioningPreferences
ProvisioningPreferences(Aws::Utils::Json::JsonView jsonValue)