AWS SDK for C++  1.9.1
AWS SDK for C++
StackSetOperationPreferences.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace CloudFormation
24 {
25 namespace Model
26 {
27 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
48 
49  inline const RegionConcurrencyType& GetRegionConcurrencyType() const{ return m_regionConcurrencyType; }
50 
51 
52  inline bool RegionConcurrencyTypeHasBeenSet() const { return m_regionConcurrencyTypeHasBeenSet; }
53 
54 
55  inline void SetRegionConcurrencyType(const RegionConcurrencyType& value) { m_regionConcurrencyTypeHasBeenSet = true; m_regionConcurrencyType = value; }
56 
57 
58  inline void SetRegionConcurrencyType(RegionConcurrencyType&& value) { m_regionConcurrencyTypeHasBeenSet = true; m_regionConcurrencyType = std::move(value); }
59 
60 
61  inline StackSetOperationPreferences& WithRegionConcurrencyType(const RegionConcurrencyType& value) { SetRegionConcurrencyType(value); return *this;}
62 
63 
64  inline StackSetOperationPreferences& WithRegionConcurrencyType(RegionConcurrencyType&& value) { SetRegionConcurrencyType(std::move(value)); return *this;}
65 
66 
71  inline const Aws::Vector<Aws::String>& GetRegionOrder() const{ return m_regionOrder; }
72 
77  inline bool RegionOrderHasBeenSet() const { return m_regionOrderHasBeenSet; }
78 
83  inline void SetRegionOrder(const Aws::Vector<Aws::String>& value) { m_regionOrderHasBeenSet = true; m_regionOrder = value; }
84 
89  inline void SetRegionOrder(Aws::Vector<Aws::String>&& value) { m_regionOrderHasBeenSet = true; m_regionOrder = std::move(value); }
90 
95  inline StackSetOperationPreferences& WithRegionOrder(const Aws::Vector<Aws::String>& value) { SetRegionOrder(value); return *this;}
96 
101  inline StackSetOperationPreferences& WithRegionOrder(Aws::Vector<Aws::String>&& value) { SetRegionOrder(std::move(value)); return *this;}
102 
107  inline StackSetOperationPreferences& AddRegionOrder(const Aws::String& value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(value); return *this; }
108 
113  inline StackSetOperationPreferences& AddRegionOrder(Aws::String&& value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(std::move(value)); return *this; }
114 
119  inline StackSetOperationPreferences& AddRegionOrder(const char* value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(value); return *this; }
120 
121 
130  inline int GetFailureToleranceCount() const{ return m_failureToleranceCount; }
131 
140  inline bool FailureToleranceCountHasBeenSet() const { return m_failureToleranceCountHasBeenSet; }
141 
150  inline void SetFailureToleranceCount(int value) { m_failureToleranceCountHasBeenSet = true; m_failureToleranceCount = value; }
151 
160  inline StackSetOperationPreferences& WithFailureToleranceCount(int value) { SetFailureToleranceCount(value); return *this;}
161 
162 
173  inline int GetFailureTolerancePercentage() const{ return m_failureTolerancePercentage; }
174 
185  inline bool FailureTolerancePercentageHasBeenSet() const { return m_failureTolerancePercentageHasBeenSet; }
186 
197  inline void SetFailureTolerancePercentage(int value) { m_failureTolerancePercentageHasBeenSet = true; m_failureTolerancePercentage = value; }
198 
209  inline StackSetOperationPreferences& WithFailureTolerancePercentage(int value) { SetFailureTolerancePercentage(value); return *this;}
210 
211 
223  inline int GetMaxConcurrentCount() const{ return m_maxConcurrentCount; }
224 
236  inline bool MaxConcurrentCountHasBeenSet() const { return m_maxConcurrentCountHasBeenSet; }
237 
249  inline void SetMaxConcurrentCount(int value) { m_maxConcurrentCountHasBeenSet = true; m_maxConcurrentCount = value; }
250 
262  inline StackSetOperationPreferences& WithMaxConcurrentCount(int value) { SetMaxConcurrentCount(value); return *this;}
263 
264 
277  inline int GetMaxConcurrentPercentage() const{ return m_maxConcurrentPercentage; }
278 
291  inline bool MaxConcurrentPercentageHasBeenSet() const { return m_maxConcurrentPercentageHasBeenSet; }
292 
305  inline void SetMaxConcurrentPercentage(int value) { m_maxConcurrentPercentageHasBeenSet = true; m_maxConcurrentPercentage = value; }
306 
319  inline StackSetOperationPreferences& WithMaxConcurrentPercentage(int value) { SetMaxConcurrentPercentage(value); return *this;}
320 
321  private:
322 
323  RegionConcurrencyType m_regionConcurrencyType;
324  bool m_regionConcurrencyTypeHasBeenSet;
325 
326  Aws::Vector<Aws::String> m_regionOrder;
327  bool m_regionOrderHasBeenSet;
328 
329  int m_failureToleranceCount;
330  bool m_failureToleranceCountHasBeenSet;
331 
332  int m_failureTolerancePercentage;
333  bool m_failureTolerancePercentageHasBeenSet;
334 
335  int m_maxConcurrentCount;
336  bool m_maxConcurrentCountHasBeenSet;
337 
338  int m_maxConcurrentPercentage;
339  bool m_maxConcurrentPercentageHasBeenSet;
340  };
341 
342 } // namespace Model
343 } // namespace CloudFormation
344 } // namespace Aws
Aws::CloudFormation::Model::StackSetOperationPreferences::GetRegionOrder
const Aws::Vector< Aws::String > & GetRegionOrder() const
Definition: StackSetOperationPreferences.h:71
Aws::CloudFormation::Model::StackSetOperationPreferences::SetFailureToleranceCount
void SetFailureToleranceCount(int value)
Definition: StackSetOperationPreferences.h:150
Aws::CloudFormation::Model::StackSetOperationPreferences::WithMaxConcurrentPercentage
StackSetOperationPreferences & WithMaxConcurrentPercentage(int value)
Definition: StackSetOperationPreferences.h:319
Aws::CloudFormation::Model::StackSetOperationPreferences::AddRegionOrder
StackSetOperationPreferences & AddRegionOrder(Aws::String &&value)
Definition: StackSetOperationPreferences.h:113
Aws::CloudFormation::Model::StackSetOperationPreferences::FailureTolerancePercentageHasBeenSet
bool FailureTolerancePercentageHasBeenSet() const
Definition: StackSetOperationPreferences.h:185
Aws::CloudFormation::Model::StackSetOperationPreferences::GetFailureToleranceCount
int GetFailureToleranceCount() const
Definition: StackSetOperationPreferences.h:130
CloudFormation_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFormation::Model::StackSetOperationPreferences::SetMaxConcurrentPercentage
void SetMaxConcurrentPercentage(int value)
Definition: StackSetOperationPreferences.h:305
Aws::CloudFormation::Model::StackSetOperationPreferences::RegionConcurrencyTypeHasBeenSet
bool RegionConcurrencyTypeHasBeenSet() const
Definition: StackSetOperationPreferences.h:52
AWSStreamFwd.h
Aws::CloudFormation::Model::StackSetOperationPreferences::SetRegionOrder
void SetRegionOrder(Aws::Vector< Aws::String > &&value)
Definition: StackSetOperationPreferences.h:89
Aws::CloudFormation::Model::StackSetOperationPreferences::GetMaxConcurrentCount
int GetMaxConcurrentCount() const
Definition: StackSetOperationPreferences.h:223
Aws::CloudFormation::Model::StackSetOperationPreferences::WithMaxConcurrentCount
StackSetOperationPreferences & WithMaxConcurrentCount(int value)
Definition: StackSetOperationPreferences.h:262
AWSVector.h
RegionConcurrencyType.h
Aws::CloudFormation::Model::StackSetOperationPreferences::AddRegionOrder
StackSetOperationPreferences & AddRegionOrder(const char *value)
Definition: StackSetOperationPreferences.h:119
Aws::CloudFormation::Model::StackSetOperationPreferences::WithFailureTolerancePercentage
StackSetOperationPreferences & WithFailureTolerancePercentage(int value)
Definition: StackSetOperationPreferences.h:209
Aws::CloudFormation::Model::StackSetOperationPreferences::MaxConcurrentPercentageHasBeenSet
bool MaxConcurrentPercentageHasBeenSet() const
Definition: StackSetOperationPreferences.h:291
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::CloudFormation::Model::StackSetOperationPreferences::SetRegionConcurrencyType
void SetRegionConcurrencyType(RegionConcurrencyType &&value)
Definition: StackSetOperationPreferences.h:58
Aws::CloudFormation::Model::StackSetOperationPreferences::operator=
StackSetOperationPreferences & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFormation::Model::StackSetOperationPreferences::WithRegionOrder
StackSetOperationPreferences & WithRegionOrder(const Aws::Vector< Aws::String > &value)
Definition: StackSetOperationPreferences.h:95
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFormation::Model::StackSetOperationPreferences::WithFailureToleranceCount
StackSetOperationPreferences & WithFailureToleranceCount(int value)
Definition: StackSetOperationPreferences.h:160
Aws::CloudFormation::Model::StackSetOperationPreferences::SetRegionConcurrencyType
void SetRegionConcurrencyType(const RegionConcurrencyType &value)
Definition: StackSetOperationPreferences.h:55
Aws::CloudFormation::Model::StackSetOperationPreferences::SetMaxConcurrentCount
void SetMaxConcurrentCount(int value)
Definition: StackSetOperationPreferences.h:249
Aws::CloudFormation::Model::StackSetOperationPreferences::SetRegionOrder
void SetRegionOrder(const Aws::Vector< Aws::String > &value)
Definition: StackSetOperationPreferences.h:83
Aws::CloudFormation::Model::StackSetOperationPreferences::GetRegionConcurrencyType
const RegionConcurrencyType & GetRegionConcurrencyType() const
Definition: StackSetOperationPreferences.h:49
AWSString.h
Aws::CloudFormation::Model::StackSetOperationPreferences::GetMaxConcurrentPercentage
int GetMaxConcurrentPercentage() const
Definition: StackSetOperationPreferences.h:277
Aws::CloudFormation::Model::StackSetOperationPreferences::AddRegionOrder
StackSetOperationPreferences & AddRegionOrder(const Aws::String &value)
Definition: StackSetOperationPreferences.h:107
Aws::CloudFormation::Model::StackSetOperationPreferences::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::CloudFormation::Model::StackSetOperationPreferences::StackSetOperationPreferences
StackSetOperationPreferences()
Aws::CloudFormation::Model::StackSetOperationPreferences::FailureToleranceCountHasBeenSet
bool FailureToleranceCountHasBeenSet() const
Definition: StackSetOperationPreferences.h:140
Aws::CloudFormation::Model::StackSetOperationPreferences
Definition: StackSetOperationPreferences.h:38
Aws::CloudFormation::Model::StackSetOperationPreferences::StackSetOperationPreferences
StackSetOperationPreferences(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
Aws::CloudFormation::Model::StackSetOperationPreferences::SetFailureTolerancePercentage
void SetFailureTolerancePercentage(int value)
Definition: StackSetOperationPreferences.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::CloudFormation::Model::StackSetOperationPreferences::WithRegionConcurrencyType
StackSetOperationPreferences & WithRegionConcurrencyType(RegionConcurrencyType &&value)
Definition: StackSetOperationPreferences.h:64
Aws::CloudFormation::Model::StackSetOperationPreferences::RegionOrderHasBeenSet
bool RegionOrderHasBeenSet() const
Definition: StackSetOperationPreferences.h:77
Aws::CloudFormation::Model::RegionConcurrencyType
RegionConcurrencyType
Definition: RegionConcurrencyType.h:17
Aws::CloudFormation::Model::StackSetOperationPreferences::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::CloudFormation::Model::StackSetOperationPreferences::MaxConcurrentCountHasBeenSet
bool MaxConcurrentCountHasBeenSet() const
Definition: StackSetOperationPreferences.h:236
Aws::CloudFormation::Model::StackSetOperationPreferences::GetFailureTolerancePercentage
int GetFailureTolerancePercentage() const
Definition: StackSetOperationPreferences.h:173
Aws::CloudFormation::Model::StackSetOperationPreferences::WithRegionConcurrencyType
StackSetOperationPreferences & WithRegionConcurrencyType(const RegionConcurrencyType &value)
Definition: StackSetOperationPreferences.h:61
Aws::CloudFormation::Model::StackSetOperationPreferences::WithRegionOrder
StackSetOperationPreferences & WithRegionOrder(Aws::Vector< Aws::String > &&value)
Definition: StackSetOperationPreferences.h:101