AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InventoryConfiguration.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/AccountScope.h>
9#include <aws/acm/model/InventoryExpiryNotification.h>
10#include <aws/acm/model/InventoryNotificationDeliveryStatus.h>
11#include <aws/acm/model/InventoryStatus.h>
12#include <aws/acm/model/InventoryTierConfiguration.h>
13#include <aws/acm/model/LifecycleManagementConfiguration.h>
14#include <aws/acm/model/ProvisioningStatus.h>
15#include <aws/acm/model/ProvisioningStatusReason.h>
16#include <aws/acm/model/RegionalScope.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace ACM {
29namespace Model {
30
37 public:
38 AWS_ACM_API InventoryConfiguration() = default;
42
44
47 inline const RegionalScope& GetRegionalScope() const { return m_regionalScope; }
48 inline bool RegionalScopeHasBeenSet() const { return m_regionalScopeHasBeenSet; }
49 template <typename RegionalScopeT = RegionalScope>
50 void SetRegionalScope(RegionalScopeT&& value) {
51 m_regionalScopeHasBeenSet = true;
52 m_regionalScope = std::forward<RegionalScopeT>(value);
53 }
54 template <typename RegionalScopeT = RegionalScope>
55 InventoryConfiguration& WithRegionalScope(RegionalScopeT&& value) {
56 SetRegionalScope(std::forward<RegionalScopeT>(value));
57 return *this;
58 }
60
62
65 inline const AccountScope& GetAccountScope() const { return m_accountScope; }
66 inline bool AccountScopeHasBeenSet() const { return m_accountScopeHasBeenSet; }
67 template <typename AccountScopeT = AccountScope>
68 void SetAccountScope(AccountScopeT&& value) {
69 m_accountScopeHasBeenSet = true;
70 m_accountScope = std::forward<AccountScopeT>(value);
71 }
72 template <typename AccountScopeT = AccountScope>
73 InventoryConfiguration& WithAccountScope(AccountScopeT&& value) {
74 SetAccountScope(std::forward<AccountScopeT>(value));
75 return *this;
76 }
78
80
83 inline int GetDataRetentionDays() const { return m_dataRetentionDays; }
84 inline bool DataRetentionDaysHasBeenSet() const { return m_dataRetentionDaysHasBeenSet; }
85 inline void SetDataRetentionDays(int value) {
86 m_dataRetentionDaysHasBeenSet = true;
87 m_dataRetentionDays = value;
88 }
91 return *this;
92 }
94
96
101 inline InventoryStatus GetStatus() const { return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(InventoryStatus value) {
104 m_statusHasBeenSet = true;
105 m_status = value;
106 }
108 SetStatus(value);
109 return *this;
110 }
112
114
118 inline ProvisioningStatus GetProvisioningStatus() const { return m_provisioningStatus; }
119 inline bool ProvisioningStatusHasBeenSet() const { return m_provisioningStatusHasBeenSet; }
121 m_provisioningStatusHasBeenSet = true;
122 m_provisioningStatus = value;
123 }
126 return *this;
127 }
129
131
134 inline const ProvisioningStatusReason& GetProvisioningStatusReason() const { return m_provisioningStatusReason; }
135 inline bool ProvisioningStatusReasonHasBeenSet() const { return m_provisioningStatusReasonHasBeenSet; }
136 template <typename ProvisioningStatusReasonT = ProvisioningStatusReason>
137 void SetProvisioningStatusReason(ProvisioningStatusReasonT&& value) {
138 m_provisioningStatusReasonHasBeenSet = true;
139 m_provisioningStatusReason = std::forward<ProvisioningStatusReasonT>(value);
140 }
141 template <typename ProvisioningStatusReasonT = ProvisioningStatusReason>
142 InventoryConfiguration& WithProvisioningStatusReason(ProvisioningStatusReasonT&& value) {
143 SetProvisioningStatusReason(std::forward<ProvisioningStatusReasonT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::String& GetHomeRegion() const { return m_homeRegion; }
154 inline bool HomeRegionHasBeenSet() const { return m_homeRegionHasBeenSet; }
155 template <typename HomeRegionT = Aws::String>
156 void SetHomeRegion(HomeRegionT&& value) {
157 m_homeRegionHasBeenSet = true;
158 m_homeRegion = std::forward<HomeRegionT>(value);
159 }
160 template <typename HomeRegionT = Aws::String>
162 SetHomeRegion(std::forward<HomeRegionT>(value));
163 return *this;
164 }
166
168
174 inline const LifecycleManagementConfiguration& GetLifecycleManagement() const { return m_lifecycleManagement; }
175 inline bool LifecycleManagementHasBeenSet() const { return m_lifecycleManagementHasBeenSet; }
176 template <typename LifecycleManagementT = LifecycleManagementConfiguration>
177 void SetLifecycleManagement(LifecycleManagementT&& value) {
178 m_lifecycleManagementHasBeenSet = true;
179 m_lifecycleManagement = std::forward<LifecycleManagementT>(value);
180 }
181 template <typename LifecycleManagementT = LifecycleManagementConfiguration>
182 InventoryConfiguration& WithLifecycleManagement(LifecycleManagementT&& value) {
183 SetLifecycleManagement(std::forward<LifecycleManagementT>(value));
184 return *this;
185 }
187
189
193 inline const InventoryExpiryNotification& GetExpiryNotification() const { return m_expiryNotification; }
194 inline bool ExpiryNotificationHasBeenSet() const { return m_expiryNotificationHasBeenSet; }
195 template <typename ExpiryNotificationT = InventoryExpiryNotification>
196 void SetExpiryNotification(ExpiryNotificationT&& value) {
197 m_expiryNotificationHasBeenSet = true;
198 m_expiryNotification = std::forward<ExpiryNotificationT>(value);
199 }
200 template <typename ExpiryNotificationT = InventoryExpiryNotification>
201 InventoryConfiguration& WithExpiryNotification(ExpiryNotificationT&& value) {
202 SetExpiryNotification(std::forward<ExpiryNotificationT>(value));
203 return *this;
204 }
206
208
212 inline const InventoryNotificationDeliveryStatus& GetLastDeliveryStatus() const { return m_lastDeliveryStatus; }
213 inline bool LastDeliveryStatusHasBeenSet() const { return m_lastDeliveryStatusHasBeenSet; }
214 template <typename LastDeliveryStatusT = InventoryNotificationDeliveryStatus>
215 void SetLastDeliveryStatus(LastDeliveryStatusT&& value) {
216 m_lastDeliveryStatusHasBeenSet = true;
217 m_lastDeliveryStatus = std::forward<LastDeliveryStatusT>(value);
218 }
219 template <typename LastDeliveryStatusT = InventoryNotificationDeliveryStatus>
220 InventoryConfiguration& WithLastDeliveryStatus(LastDeliveryStatusT&& value) {
221 SetLastDeliveryStatus(std::forward<LastDeliveryStatusT>(value));
222 return *this;
223 }
225
227
233 inline const InventoryTierConfiguration& GetInventoryTierConfiguration() const { return m_inventoryTierConfiguration; }
234 inline bool InventoryTierConfigurationHasBeenSet() const { return m_inventoryTierConfigurationHasBeenSet; }
235 template <typename InventoryTierConfigurationT = InventoryTierConfiguration>
236 void SetInventoryTierConfiguration(InventoryTierConfigurationT&& value) {
237 m_inventoryTierConfigurationHasBeenSet = true;
238 m_inventoryTierConfiguration = std::forward<InventoryTierConfigurationT>(value);
239 }
240 template <typename InventoryTierConfigurationT = InventoryTierConfiguration>
241 InventoryConfiguration& WithInventoryTierConfiguration(InventoryTierConfigurationT&& value) {
242 SetInventoryTierConfiguration(std::forward<InventoryTierConfigurationT>(value));
243 return *this;
244 }
246 private:
247 RegionalScope m_regionalScope;
248
249 AccountScope m_accountScope;
250
251 int m_dataRetentionDays{0};
252
254
256
257 ProvisioningStatusReason m_provisioningStatusReason;
258
259 Aws::String m_homeRegion;
260
261 LifecycleManagementConfiguration m_lifecycleManagement;
262
263 InventoryExpiryNotification m_expiryNotification;
264
265 InventoryNotificationDeliveryStatus m_lastDeliveryStatus;
266
267 InventoryTierConfiguration m_inventoryTierConfiguration;
268 bool m_regionalScopeHasBeenSet = false;
269 bool m_accountScopeHasBeenSet = false;
270 bool m_dataRetentionDaysHasBeenSet = false;
271 bool m_statusHasBeenSet = false;
272 bool m_provisioningStatusHasBeenSet = false;
273 bool m_provisioningStatusReasonHasBeenSet = false;
274 bool m_homeRegionHasBeenSet = false;
275 bool m_lifecycleManagementHasBeenSet = false;
276 bool m_expiryNotificationHasBeenSet = false;
277 bool m_lastDeliveryStatusHasBeenSet = false;
278 bool m_inventoryTierConfigurationHasBeenSet = false;
279};
280
281} // namespace Model
282} // namespace ACM
283} // namespace Aws
void SetInventoryTierConfiguration(InventoryTierConfigurationT &&value)
AWS_ACM_API InventoryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const InventoryTierConfiguration & GetInventoryTierConfiguration() const
void SetLifecycleManagement(LifecycleManagementT &&value)
InventoryConfiguration & WithInventoryTierConfiguration(InventoryTierConfigurationT &&value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
const InventoryExpiryNotification & GetExpiryNotification() const
InventoryConfiguration & WithExpiryNotification(ExpiryNotificationT &&value)
InventoryConfiguration & WithProvisioningStatus(ProvisioningStatus value)
InventoryConfiguration & WithProvisioningStatusReason(ProvisioningStatusReasonT &&value)
void SetProvisioningStatusReason(ProvisioningStatusReasonT &&value)
const ProvisioningStatusReason & GetProvisioningStatusReason() const
InventoryConfiguration & WithHomeRegion(HomeRegionT &&value)
AWS_ACM_API InventoryConfiguration(Aws::Utils::Json::JsonView jsonValue)
InventoryConfiguration & WithStatus(InventoryStatus value)
InventoryConfiguration & WithLastDeliveryStatus(LastDeliveryStatusT &&value)
const RegionalScope & GetRegionalScope() const
InventoryConfiguration & WithAccountScope(AccountScopeT &&value)
const LifecycleManagementConfiguration & GetLifecycleManagement() const
void SetRegionalScope(RegionalScopeT &&value)
InventoryConfiguration & WithRegionalScope(RegionalScopeT &&value)
void SetProvisioningStatus(ProvisioningStatus value)
void SetExpiryNotification(ExpiryNotificationT &&value)
AWS_ACM_API InventoryConfiguration()=default
InventoryConfiguration & WithDataRetentionDays(int value)
const InventoryNotificationDeliveryStatus & GetLastDeliveryStatus() const
void SetLastDeliveryStatus(LastDeliveryStatusT &&value)
InventoryConfiguration & WithLifecycleManagement(LifecycleManagementT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue