AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InventoryTierConfiguration.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/InventoryTier.h>
9#include <aws/acm/model/InventoryTierScheduledChange.h>
10#include <aws/acm/model/InventoryTierStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ACM {
22namespace Model {
23
31 public:
32 AWS_ACM_API InventoryTierConfiguration() = default;
36
38
41 inline InventoryTier GetTier() const { return m_tier; }
42 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
43 inline void SetTier(InventoryTier value) {
44 m_tierHasBeenSet = true;
45 m_tier = value;
46 }
48 SetTier(value);
49 return *this;
50 }
52
54
60 inline InventoryTierStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(InventoryTierStatus value) {
63 m_statusHasBeenSet = true;
64 m_status = value;
65 }
67 SetStatus(value);
68 return *this;
69 }
71
73
77 inline const InventoryTierScheduledChange& GetScheduledChange() const { return m_scheduledChange; }
78 inline bool ScheduledChangeHasBeenSet() const { return m_scheduledChangeHasBeenSet; }
79 template <typename ScheduledChangeT = InventoryTierScheduledChange>
80 void SetScheduledChange(ScheduledChangeT&& value) {
81 m_scheduledChangeHasBeenSet = true;
82 m_scheduledChange = std::forward<ScheduledChangeT>(value);
83 }
84 template <typename ScheduledChangeT = InventoryTierScheduledChange>
86 SetScheduledChange(std::forward<ScheduledChangeT>(value));
87 return *this;
88 }
90 private:
92
94
95 InventoryTierScheduledChange m_scheduledChange;
96 bool m_tierHasBeenSet = false;
97 bool m_statusHasBeenSet = false;
98 bool m_scheduledChangeHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace ACM
103} // namespace Aws
AWS_ACM_API InventoryTierConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryTierConfiguration & WithStatus(InventoryTierStatus value)
const InventoryTierScheduledChange & GetScheduledChange() const
InventoryTierConfiguration & WithTier(InventoryTier value)
AWS_ACM_API InventoryTierConfiguration()=default
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryTierConfiguration & WithScheduledChange(ScheduledChangeT &&value)
AWS_ACM_API InventoryTierConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue