AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InventoryAggregateRequest.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/InventoryExpiryWindowOptions.h>
9#include <aws/acm/model/InventoryHighestFindingSeverityOptions.h>
10#include <aws/acm/model/InventoryInUseOptions.h>
11#include <aws/acm/model/InventoryIssuanceTypeOptions.h>
12#include <aws/acm/model/InventoryKeyAlgorithmOptions.h>
13#include <aws/acm/model/InventoryRegionOptions.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ACM {
25namespace Model {
26
38 public:
39 AWS_ACM_API InventoryAggregateRequest() = default;
43
45
48 inline const InventoryExpiryWindowOptions& GetExpiryWindow() const { return m_expiryWindow; }
49 inline bool ExpiryWindowHasBeenSet() const { return m_expiryWindowHasBeenSet; }
50 template <typename ExpiryWindowT = InventoryExpiryWindowOptions>
51 void SetExpiryWindow(ExpiryWindowT&& value) {
52 m_expiryWindowHasBeenSet = true;
53 m_expiryWindow = std::forward<ExpiryWindowT>(value);
54 }
55 template <typename ExpiryWindowT = InventoryExpiryWindowOptions>
57 SetExpiryWindow(std::forward<ExpiryWindowT>(value));
58 return *this;
59 }
61
63
66 inline const InventoryIssuanceTypeOptions& GetIssuanceType() const { return m_issuanceType; }
67 inline bool IssuanceTypeHasBeenSet() const { return m_issuanceTypeHasBeenSet; }
68 template <typename IssuanceTypeT = InventoryIssuanceTypeOptions>
69 void SetIssuanceType(IssuanceTypeT&& value) {
70 m_issuanceTypeHasBeenSet = true;
71 m_issuanceType = std::forward<IssuanceTypeT>(value);
72 }
73 template <typename IssuanceTypeT = InventoryIssuanceTypeOptions>
75 SetIssuanceType(std::forward<IssuanceTypeT>(value));
76 return *this;
77 }
79
81
84 inline const InventoryRegionOptions& GetRegion() const { return m_region; }
85 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
86 template <typename RegionT = InventoryRegionOptions>
87 void SetRegion(RegionT&& value) {
88 m_regionHasBeenSet = true;
89 m_region = std::forward<RegionT>(value);
90 }
91 template <typename RegionT = InventoryRegionOptions>
93 SetRegion(std::forward<RegionT>(value));
94 return *this;
95 }
97
99
102 inline const InventoryInUseOptions& GetInUse() const { return m_inUse; }
103 inline bool InUseHasBeenSet() const { return m_inUseHasBeenSet; }
104 template <typename InUseT = InventoryInUseOptions>
105 void SetInUse(InUseT&& value) {
106 m_inUseHasBeenSet = true;
107 m_inUse = std::forward<InUseT>(value);
108 }
109 template <typename InUseT = InventoryInUseOptions>
111 SetInUse(std::forward<InUseT>(value));
112 return *this;
113 }
115
117
120 inline const InventoryKeyAlgorithmOptions& GetKeyAlgorithm() const { return m_keyAlgorithm; }
121 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
122 template <typename KeyAlgorithmT = InventoryKeyAlgorithmOptions>
123 void SetKeyAlgorithm(KeyAlgorithmT&& value) {
124 m_keyAlgorithmHasBeenSet = true;
125 m_keyAlgorithm = std::forward<KeyAlgorithmT>(value);
126 }
127 template <typename KeyAlgorithmT = InventoryKeyAlgorithmOptions>
129 SetKeyAlgorithm(std::forward<KeyAlgorithmT>(value));
130 return *this;
131 }
133
135
140 inline const InventoryHighestFindingSeverityOptions& GetHighestFindingSeverity() const { return m_highestFindingSeverity; }
141 inline bool HighestFindingSeverityHasBeenSet() const { return m_highestFindingSeverityHasBeenSet; }
142 template <typename HighestFindingSeverityT = InventoryHighestFindingSeverityOptions>
143 void SetHighestFindingSeverity(HighestFindingSeverityT&& value) {
144 m_highestFindingSeverityHasBeenSet = true;
145 m_highestFindingSeverity = std::forward<HighestFindingSeverityT>(value);
146 }
147 template <typename HighestFindingSeverityT = InventoryHighestFindingSeverityOptions>
148 InventoryAggregateRequest& WithHighestFindingSeverity(HighestFindingSeverityT&& value) {
149 SetHighestFindingSeverity(std::forward<HighestFindingSeverityT>(value));
150 return *this;
151 }
153 private:
154 InventoryExpiryWindowOptions m_expiryWindow;
155
156 InventoryIssuanceTypeOptions m_issuanceType;
157
158 InventoryRegionOptions m_region;
159
160 InventoryInUseOptions m_inUse;
161
162 InventoryKeyAlgorithmOptions m_keyAlgorithm;
163
164 InventoryHighestFindingSeverityOptions m_highestFindingSeverity;
165 bool m_expiryWindowHasBeenSet = false;
166 bool m_issuanceTypeHasBeenSet = false;
167 bool m_regionHasBeenSet = false;
168 bool m_inUseHasBeenSet = false;
169 bool m_keyAlgorithmHasBeenSet = false;
170 bool m_highestFindingSeverityHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace ACM
175} // namespace Aws
const InventoryExpiryWindowOptions & GetExpiryWindow() const
AWS_ACM_API InventoryAggregateRequest()=default
const InventoryIssuanceTypeOptions & GetIssuanceType() const
InventoryAggregateRequest & WithInUse(InUseT &&value)
void SetHighestFindingSeverity(HighestFindingSeverityT &&value)
const InventoryKeyAlgorithmOptions & GetKeyAlgorithm() const
InventoryAggregateRequest & WithExpiryWindow(ExpiryWindowT &&value)
InventoryAggregateRequest & WithKeyAlgorithm(KeyAlgorithmT &&value)
InventoryAggregateRequest & WithHighestFindingSeverity(HighestFindingSeverityT &&value)
AWS_ACM_API InventoryAggregateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const InventoryRegionOptions & GetRegion() const
InventoryAggregateRequest & WithRegion(RegionT &&value)
const InventoryInUseOptions & GetInUse() const
AWS_ACM_API InventoryAggregateRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryAggregateRequest & WithIssuanceType(IssuanceTypeT &&value)
const InventoryHighestFindingSeverityOptions & GetHighestFindingSeverity() const
Aws::Utils::Json::JsonValue JsonValue