AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisioningPreferences.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ServiceCatalog
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_SERVICECATALOG_API ProvisioningPreferences();
45 AWS_SERVICECATALOG_API ProvisioningPreferences(Aws::Utils::Json::JsonView jsonValue);
47 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
61 inline const Aws::Vector<Aws::String>& GetStackSetAccounts() const{ return m_stackSetAccounts; }
62 inline bool StackSetAccountsHasBeenSet() const { return m_stackSetAccountsHasBeenSet; }
63 inline void SetStackSetAccounts(const Aws::Vector<Aws::String>& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = value; }
64 inline void SetStackSetAccounts(Aws::Vector<Aws::String>&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = std::move(value); }
67 inline ProvisioningPreferences& AddStackSetAccounts(const Aws::String& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
68 inline ProvisioningPreferences& AddStackSetAccounts(Aws::String&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(std::move(value)); return *this; }
69 inline ProvisioningPreferences& AddStackSetAccounts(const char* value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
71
73
83 inline const Aws::Vector<Aws::String>& GetStackSetRegions() const{ return m_stackSetRegions; }
84 inline bool StackSetRegionsHasBeenSet() const { return m_stackSetRegionsHasBeenSet; }
85 inline void SetStackSetRegions(const Aws::Vector<Aws::String>& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = value; }
86 inline void SetStackSetRegions(Aws::Vector<Aws::String>&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = std::move(value); }
89 inline ProvisioningPreferences& AddStackSetRegions(const Aws::String& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
90 inline ProvisioningPreferences& AddStackSetRegions(Aws::String&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(std::move(value)); return *this; }
91 inline ProvisioningPreferences& AddStackSetRegions(const char* value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
93
95
105 inline int GetStackSetFailureToleranceCount() const{ return m_stackSetFailureToleranceCount; }
106 inline bool StackSetFailureToleranceCountHasBeenSet() const { return m_stackSetFailureToleranceCountHasBeenSet; }
107 inline void SetStackSetFailureToleranceCount(int value) { m_stackSetFailureToleranceCountHasBeenSet = true; m_stackSetFailureToleranceCount = value; }
110
112
123 inline int GetStackSetFailureTolerancePercentage() const{ return m_stackSetFailureTolerancePercentage; }
124 inline bool StackSetFailureTolerancePercentageHasBeenSet() const { return m_stackSetFailureTolerancePercentageHasBeenSet; }
125 inline void SetStackSetFailureTolerancePercentage(int value) { m_stackSetFailureTolerancePercentageHasBeenSet = true; m_stackSetFailureTolerancePercentage = value; }
128
130
143 inline int GetStackSetMaxConcurrencyCount() const{ return m_stackSetMaxConcurrencyCount; }
144 inline bool StackSetMaxConcurrencyCountHasBeenSet() const { return m_stackSetMaxConcurrencyCountHasBeenSet; }
145 inline void SetStackSetMaxConcurrencyCount(int value) { m_stackSetMaxConcurrencyCountHasBeenSet = true; m_stackSetMaxConcurrencyCount = value; }
148
150
163 inline int GetStackSetMaxConcurrencyPercentage() const{ return m_stackSetMaxConcurrencyPercentage; }
164 inline bool StackSetMaxConcurrencyPercentageHasBeenSet() const { return m_stackSetMaxConcurrencyPercentageHasBeenSet; }
165 inline void SetStackSetMaxConcurrencyPercentage(int value) { m_stackSetMaxConcurrencyPercentageHasBeenSet = true; m_stackSetMaxConcurrencyPercentage = value; }
168 private:
169
170 Aws::Vector<Aws::String> m_stackSetAccounts;
171 bool m_stackSetAccountsHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_stackSetRegions;
174 bool m_stackSetRegionsHasBeenSet = false;
175
176 int m_stackSetFailureToleranceCount;
177 bool m_stackSetFailureToleranceCountHasBeenSet = false;
178
179 int m_stackSetFailureTolerancePercentage;
180 bool m_stackSetFailureTolerancePercentageHasBeenSet = false;
181
182 int m_stackSetMaxConcurrencyCount;
183 bool m_stackSetMaxConcurrencyCountHasBeenSet = false;
184
185 int m_stackSetMaxConcurrencyPercentage;
186 bool m_stackSetMaxConcurrencyPercentageHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace ServiceCatalog
191} // namespace Aws
ProvisioningPreferences & WithStackSetMaxConcurrencyCount(int value)
ProvisioningPreferences & WithStackSetFailureToleranceCount(int value)
AWS_SERVICECATALOG_API ProvisioningPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningPreferences & WithStackSetFailureTolerancePercentage(int value)
ProvisioningPreferences & AddStackSetAccounts(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStackSetRegions() const
AWS_SERVICECATALOG_API ProvisioningPreferences(Aws::Utils::Json::JsonView jsonValue)
ProvisioningPreferences & AddStackSetRegions(Aws::String &&value)
ProvisioningPreferences & AddStackSetRegions(const Aws::String &value)
ProvisioningPreferences & WithStackSetRegions(Aws::Vector< Aws::String > &&value)
ProvisioningPreferences & WithStackSetRegions(const Aws::Vector< Aws::String > &value)
ProvisioningPreferences & WithStackSetMaxConcurrencyPercentage(int value)
ProvisioningPreferences & AddStackSetAccounts(const char *value)
ProvisioningPreferences & AddStackSetAccounts(const Aws::String &value)
void SetStackSetRegions(Aws::Vector< Aws::String > &&value)
void SetStackSetAccounts(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetStackSetAccounts() const
ProvisioningPreferences & WithStackSetAccounts(Aws::Vector< Aws::String > &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisioningPreferences & AddStackSetRegions(const char *value)
void SetStackSetAccounts(Aws::Vector< Aws::String > &&value)
ProvisioningPreferences & WithStackSetAccounts(const Aws::Vector< Aws::String > &value)
void SetStackSetRegions(const Aws::Vector< Aws::String > &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