AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackSetOperationPreferences.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/cloudformation/model/RegionConcurrencyType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudformation/model/ConcurrencyMode.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace CloudFormation
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_CLOUDFORMATION_API StackSetOperationPreferences();
42 AWS_CLOUDFORMATION_API StackSetOperationPreferences(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_CLOUDFORMATION_API StackSetOperationPreferences& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
54 inline const RegionConcurrencyType& GetRegionConcurrencyType() const{ return m_regionConcurrencyType; }
55 inline bool RegionConcurrencyTypeHasBeenSet() const { return m_regionConcurrencyTypeHasBeenSet; }
56 inline void SetRegionConcurrencyType(const RegionConcurrencyType& value) { m_regionConcurrencyTypeHasBeenSet = true; m_regionConcurrencyType = value; }
57 inline void SetRegionConcurrencyType(RegionConcurrencyType&& value) { m_regionConcurrencyTypeHasBeenSet = true; m_regionConcurrencyType = std::move(value); }
61
63
68 inline const Aws::Vector<Aws::String>& GetRegionOrder() const{ return m_regionOrder; }
69 inline bool RegionOrderHasBeenSet() const { return m_regionOrderHasBeenSet; }
70 inline void SetRegionOrder(const Aws::Vector<Aws::String>& value) { m_regionOrderHasBeenSet = true; m_regionOrder = value; }
71 inline void SetRegionOrder(Aws::Vector<Aws::String>&& value) { m_regionOrderHasBeenSet = true; m_regionOrder = std::move(value); }
73 inline StackSetOperationPreferences& WithRegionOrder(Aws::Vector<Aws::String>&& value) { SetRegionOrder(std::move(value)); return *this;}
74 inline StackSetOperationPreferences& AddRegionOrder(const Aws::String& value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(value); return *this; }
75 inline StackSetOperationPreferences& AddRegionOrder(Aws::String&& value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(std::move(value)); return *this; }
76 inline StackSetOperationPreferences& AddRegionOrder(const char* value) { m_regionOrderHasBeenSet = true; m_regionOrder.push_back(value); return *this; }
78
80
88 inline int GetFailureToleranceCount() const{ return m_failureToleranceCount; }
89 inline bool FailureToleranceCountHasBeenSet() const { return m_failureToleranceCountHasBeenSet; }
90 inline void SetFailureToleranceCount(int value) { m_failureToleranceCountHasBeenSet = true; m_failureToleranceCount = value; }
93
95
105 inline int GetFailureTolerancePercentage() const{ return m_failureTolerancePercentage; }
106 inline bool FailureTolerancePercentageHasBeenSet() const { return m_failureTolerancePercentageHasBeenSet; }
107 inline void SetFailureTolerancePercentage(int value) { m_failureTolerancePercentageHasBeenSet = true; m_failureTolerancePercentage = value; }
110
112
124 inline int GetMaxConcurrentCount() const{ return m_maxConcurrentCount; }
125 inline bool MaxConcurrentCountHasBeenSet() const { return m_maxConcurrentCountHasBeenSet; }
126 inline void SetMaxConcurrentCount(int value) { m_maxConcurrentCountHasBeenSet = true; m_maxConcurrentCount = value; }
129
131
143 inline int GetMaxConcurrentPercentage() const{ return m_maxConcurrentPercentage; }
144 inline bool MaxConcurrentPercentageHasBeenSet() const { return m_maxConcurrentPercentageHasBeenSet; }
145 inline void SetMaxConcurrentPercentage(int value) { m_maxConcurrentPercentageHasBeenSet = true; m_maxConcurrentPercentage = value; }
148
150
167 inline const ConcurrencyMode& GetConcurrencyMode() const{ return m_concurrencyMode; }
168 inline bool ConcurrencyModeHasBeenSet() const { return m_concurrencyModeHasBeenSet; }
169 inline void SetConcurrencyMode(const ConcurrencyMode& value) { m_concurrencyModeHasBeenSet = true; m_concurrencyMode = value; }
170 inline void SetConcurrencyMode(ConcurrencyMode&& value) { m_concurrencyModeHasBeenSet = true; m_concurrencyMode = std::move(value); }
172 inline StackSetOperationPreferences& WithConcurrencyMode(ConcurrencyMode&& value) { SetConcurrencyMode(std::move(value)); return *this;}
174 private:
175
176 RegionConcurrencyType m_regionConcurrencyType;
177 bool m_regionConcurrencyTypeHasBeenSet = false;
178
179 Aws::Vector<Aws::String> m_regionOrder;
180 bool m_regionOrderHasBeenSet = false;
181
182 int m_failureToleranceCount;
183 bool m_failureToleranceCountHasBeenSet = false;
184
185 int m_failureTolerancePercentage;
186 bool m_failureTolerancePercentageHasBeenSet = false;
187
188 int m_maxConcurrentCount;
189 bool m_maxConcurrentCountHasBeenSet = false;
190
191 int m_maxConcurrentPercentage;
192 bool m_maxConcurrentPercentageHasBeenSet = false;
193
194 ConcurrencyMode m_concurrencyMode;
195 bool m_concurrencyModeHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace CloudFormation
200} // namespace Aws
StackSetOperationPreferences & WithFailureTolerancePercentage(int value)
StackSetOperationPreferences & AddRegionOrder(Aws::String &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackSetOperationPreferences & WithRegionConcurrencyType(const RegionConcurrencyType &value)
void SetRegionOrder(const Aws::Vector< Aws::String > &value)
StackSetOperationPreferences & AddRegionOrder(const char *value)
StackSetOperationPreferences & WithConcurrencyMode(const ConcurrencyMode &value)
StackSetOperationPreferences & WithRegionOrder(const Aws::Vector< Aws::String > &value)
StackSetOperationPreferences & WithMaxConcurrentPercentage(int value)
StackSetOperationPreferences & WithRegionOrder(Aws::Vector< Aws::String > &&value)
StackSetOperationPreferences & WithRegionConcurrencyType(RegionConcurrencyType &&value)
AWS_CLOUDFORMATION_API StackSetOperationPreferences & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetOperationPreferences & WithConcurrencyMode(ConcurrencyMode &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StackSetOperationPreferences & AddRegionOrder(const Aws::String &value)
StackSetOperationPreferences & WithFailureToleranceCount(int value)
AWS_CLOUDFORMATION_API StackSetOperationPreferences(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream