AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename StackSetAccountsT = Aws::Vector<Aws::String>>
58 void SetStackSetAccounts(StackSetAccountsT&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = std::forward<StackSetAccountsT>(value); }
59 template<typename StackSetAccountsT = Aws::Vector<Aws::String>>
60 UpdateProvisioningPreferences& WithStackSetAccounts(StackSetAccountsT&& value) { SetStackSetAccounts(std::forward<StackSetAccountsT>(value)); return *this;}
61 template<typename StackSetAccountsT = Aws::String>
62 UpdateProvisioningPreferences& AddStackSetAccounts(StackSetAccountsT&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.emplace_back(std::forward<StackSetAccountsT>(value)); return *this; }
64
66
76 inline const Aws::Vector<Aws::String>& GetStackSetRegions() const { return m_stackSetRegions; }
77 inline bool StackSetRegionsHasBeenSet() const { return m_stackSetRegionsHasBeenSet; }
78 template<typename StackSetRegionsT = Aws::Vector<Aws::String>>
79 void SetStackSetRegions(StackSetRegionsT&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = std::forward<StackSetRegionsT>(value); }
80 template<typename StackSetRegionsT = Aws::Vector<Aws::String>>
81 UpdateProvisioningPreferences& WithStackSetRegions(StackSetRegionsT&& value) { SetStackSetRegions(std::forward<StackSetRegionsT>(value)); return *this;}
82 template<typename StackSetRegionsT = Aws::String>
83 UpdateProvisioningPreferences& AddStackSetRegions(StackSetRegionsT&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.emplace_back(std::forward<StackSetRegionsT>(value)); return *this; }
85
87
97 inline int GetStackSetFailureToleranceCount() const { return m_stackSetFailureToleranceCount; }
98 inline bool StackSetFailureToleranceCountHasBeenSet() const { return m_stackSetFailureToleranceCountHasBeenSet; }
99 inline void SetStackSetFailureToleranceCount(int value) { m_stackSetFailureToleranceCountHasBeenSet = true; m_stackSetFailureToleranceCount = value; }
102
104
115 inline int GetStackSetFailureTolerancePercentage() const { return m_stackSetFailureTolerancePercentage; }
116 inline bool StackSetFailureTolerancePercentageHasBeenSet() const { return m_stackSetFailureTolerancePercentageHasBeenSet; }
117 inline void SetStackSetFailureTolerancePercentage(int value) { m_stackSetFailureTolerancePercentageHasBeenSet = true; m_stackSetFailureTolerancePercentage = value; }
120
122
135 inline int GetStackSetMaxConcurrencyCount() const { return m_stackSetMaxConcurrencyCount; }
136 inline bool StackSetMaxConcurrencyCountHasBeenSet() const { return m_stackSetMaxConcurrencyCountHasBeenSet; }
137 inline void SetStackSetMaxConcurrencyCount(int value) { m_stackSetMaxConcurrencyCountHasBeenSet = true; m_stackSetMaxConcurrencyCount = value; }
140
142
155 inline int GetStackSetMaxConcurrencyPercentage() const { return m_stackSetMaxConcurrencyPercentage; }
156 inline bool StackSetMaxConcurrencyPercentageHasBeenSet() const { return m_stackSetMaxConcurrencyPercentageHasBeenSet; }
157 inline void SetStackSetMaxConcurrencyPercentage(int value) { m_stackSetMaxConcurrencyPercentageHasBeenSet = true; m_stackSetMaxConcurrencyPercentage = value; }
160
162
175 inline StackSetOperationType GetStackSetOperationType() const { return m_stackSetOperationType; }
176 inline bool StackSetOperationTypeHasBeenSet() const { return m_stackSetOperationTypeHasBeenSet; }
177 inline void SetStackSetOperationType(StackSetOperationType value) { m_stackSetOperationTypeHasBeenSet = true; m_stackSetOperationType = value; }
180 private:
181
182 Aws::Vector<Aws::String> m_stackSetAccounts;
183 bool m_stackSetAccountsHasBeenSet = false;
184
185 Aws::Vector<Aws::String> m_stackSetRegions;
186 bool m_stackSetRegionsHasBeenSet = false;
187
188 int m_stackSetFailureToleranceCount{0};
189 bool m_stackSetFailureToleranceCountHasBeenSet = false;
190
191 int m_stackSetFailureTolerancePercentage{0};
192 bool m_stackSetFailureTolerancePercentageHasBeenSet = false;
193
194 int m_stackSetMaxConcurrencyCount{0};
195 bool m_stackSetMaxConcurrencyCountHasBeenSet = false;
196
197 int m_stackSetMaxConcurrencyPercentage{0};
198 bool m_stackSetMaxConcurrencyPercentageHasBeenSet = false;
199
201 bool m_stackSetOperationTypeHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace ServiceCatalog
206} // namespace Aws
AWS_SERVICECATALOG_API UpdateProvisioningPreferences()=default
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateProvisioningPreferences & WithStackSetOperationType(StackSetOperationType value)
AWS_SERVICECATALOG_API UpdateProvisioningPreferences(Aws::Utils::Json::JsonView jsonValue)
UpdateProvisioningPreferences & WithStackSetMaxConcurrencyPercentage(int value)
UpdateProvisioningPreferences & WithStackSetRegions(StackSetRegionsT &&value)
UpdateProvisioningPreferences & WithStackSetFailureToleranceCount(int value)
AWS_SERVICECATALOG_API UpdateProvisioningPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateProvisioningPreferences & AddStackSetRegions(StackSetRegionsT &&value)
UpdateProvisioningPreferences & WithStackSetMaxConcurrencyCount(int value)
UpdateProvisioningPreferences & AddStackSetAccounts(StackSetAccountsT &&value)
UpdateProvisioningPreferences & WithStackSetFailureTolerancePercentage(int value)
UpdateProvisioningPreferences & WithStackSetAccounts(StackSetAccountsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue