AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ConformancePackDetail.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConformancePackInputParameter.h>
9#include <aws/config/model/TemplateSSMDocumentDetails.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService {
24namespace Model {
25
34 public:
35 AWS_CONFIGSERVICE_API ConformancePackDetail() = default;
36 AWS_CONFIGSERVICE_API ConformancePackDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetConformancePackName() const { return m_conformancePackName; }
45 inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; }
46 template <typename ConformancePackNameT = Aws::String>
47 void SetConformancePackName(ConformancePackNameT&& value) {
48 m_conformancePackNameHasBeenSet = true;
49 m_conformancePackName = std::forward<ConformancePackNameT>(value);
50 }
51 template <typename ConformancePackNameT = Aws::String>
52 ConformancePackDetail& WithConformancePackName(ConformancePackNameT&& value) {
53 SetConformancePackName(std::forward<ConformancePackNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetConformancePackArn() const { return m_conformancePackArn; }
63 inline bool ConformancePackArnHasBeenSet() const { return m_conformancePackArnHasBeenSet; }
64 template <typename ConformancePackArnT = Aws::String>
65 void SetConformancePackArn(ConformancePackArnT&& value) {
66 m_conformancePackArnHasBeenSet = true;
67 m_conformancePackArn = std::forward<ConformancePackArnT>(value);
68 }
69 template <typename ConformancePackArnT = Aws::String>
70 ConformancePackDetail& WithConformancePackArn(ConformancePackArnT&& value) {
71 SetConformancePackArn(std::forward<ConformancePackArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetConformancePackId() const { return m_conformancePackId; }
81 inline bool ConformancePackIdHasBeenSet() const { return m_conformancePackIdHasBeenSet; }
82 template <typename ConformancePackIdT = Aws::String>
83 void SetConformancePackId(ConformancePackIdT&& value) {
84 m_conformancePackIdHasBeenSet = true;
85 m_conformancePackId = std::forward<ConformancePackIdT>(value);
86 }
87 template <typename ConformancePackIdT = Aws::String>
88 ConformancePackDetail& WithConformancePackId(ConformancePackIdT&& value) {
89 SetConformancePackId(std::forward<ConformancePackIdT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetDeliveryS3Bucket() const { return m_deliveryS3Bucket; }
100 inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; }
101 template <typename DeliveryS3BucketT = Aws::String>
102 void SetDeliveryS3Bucket(DeliveryS3BucketT&& value) {
103 m_deliveryS3BucketHasBeenSet = true;
104 m_deliveryS3Bucket = std::forward<DeliveryS3BucketT>(value);
105 }
106 template <typename DeliveryS3BucketT = Aws::String>
107 ConformancePackDetail& WithDeliveryS3Bucket(DeliveryS3BucketT&& value) {
108 SetDeliveryS3Bucket(std::forward<DeliveryS3BucketT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetDeliveryS3KeyPrefix() const { return m_deliveryS3KeyPrefix; }
119 inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; }
120 template <typename DeliveryS3KeyPrefixT = Aws::String>
121 void SetDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) {
122 m_deliveryS3KeyPrefixHasBeenSet = true;
123 m_deliveryS3KeyPrefix = std::forward<DeliveryS3KeyPrefixT>(value);
124 }
125 template <typename DeliveryS3KeyPrefixT = Aws::String>
126 ConformancePackDetail& WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) {
127 SetDeliveryS3KeyPrefix(std::forward<DeliveryS3KeyPrefixT>(value));
128 return *this;
129 }
131
133
137 return m_conformancePackInputParameters;
138 }
139 inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; }
140 template <typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
141 void SetConformancePackInputParameters(ConformancePackInputParametersT&& value) {
142 m_conformancePackInputParametersHasBeenSet = true;
143 m_conformancePackInputParameters = std::forward<ConformancePackInputParametersT>(value);
144 }
145 template <typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
146 ConformancePackDetail& WithConformancePackInputParameters(ConformancePackInputParametersT&& value) {
147 SetConformancePackInputParameters(std::forward<ConformancePackInputParametersT>(value));
148 return *this;
149 }
150 template <typename ConformancePackInputParametersT = ConformancePackInputParameter>
151 ConformancePackDetail& AddConformancePackInputParameters(ConformancePackInputParametersT&& value) {
152 m_conformancePackInputParametersHasBeenSet = true;
153 m_conformancePackInputParameters.emplace_back(std::forward<ConformancePackInputParametersT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::Utils::DateTime& GetLastUpdateRequestedTime() const { return m_lastUpdateRequestedTime; }
163 inline bool LastUpdateRequestedTimeHasBeenSet() const { return m_lastUpdateRequestedTimeHasBeenSet; }
164 template <typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
165 void SetLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) {
166 m_lastUpdateRequestedTimeHasBeenSet = true;
167 m_lastUpdateRequestedTime = std::forward<LastUpdateRequestedTimeT>(value);
168 }
169 template <typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
170 ConformancePackDetail& WithLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) {
171 SetLastUpdateRequestedTime(std::forward<LastUpdateRequestedTimeT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
181 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
182 template <typename CreatedByT = Aws::String>
183 void SetCreatedBy(CreatedByT&& value) {
184 m_createdByHasBeenSet = true;
185 m_createdBy = std::forward<CreatedByT>(value);
186 }
187 template <typename CreatedByT = Aws::String>
189 SetCreatedBy(std::forward<CreatedByT>(value));
190 return *this;
191 }
193
195
200 inline const TemplateSSMDocumentDetails& GetTemplateSSMDocumentDetails() const { return m_templateSSMDocumentDetails; }
201 inline bool TemplateSSMDocumentDetailsHasBeenSet() const { return m_templateSSMDocumentDetailsHasBeenSet; }
202 template <typename TemplateSSMDocumentDetailsT = TemplateSSMDocumentDetails>
203 void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT&& value) {
204 m_templateSSMDocumentDetailsHasBeenSet = true;
205 m_templateSSMDocumentDetails = std::forward<TemplateSSMDocumentDetailsT>(value);
206 }
207 template <typename TemplateSSMDocumentDetailsT = TemplateSSMDocumentDetails>
208 ConformancePackDetail& WithTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT&& value) {
209 SetTemplateSSMDocumentDetails(std::forward<TemplateSSMDocumentDetailsT>(value));
210 return *this;
211 }
213 private:
214 Aws::String m_conformancePackName;
215
216 Aws::String m_conformancePackArn;
217
218 Aws::String m_conformancePackId;
219
220 Aws::String m_deliveryS3Bucket;
221
222 Aws::String m_deliveryS3KeyPrefix;
223
224 Aws::Vector<ConformancePackInputParameter> m_conformancePackInputParameters;
225
226 Aws::Utils::DateTime m_lastUpdateRequestedTime{};
227
228 Aws::String m_createdBy;
229
230 TemplateSSMDocumentDetails m_templateSSMDocumentDetails;
231 bool m_conformancePackNameHasBeenSet = false;
232 bool m_conformancePackArnHasBeenSet = false;
233 bool m_conformancePackIdHasBeenSet = false;
234 bool m_deliveryS3BucketHasBeenSet = false;
235 bool m_deliveryS3KeyPrefixHasBeenSet = false;
236 bool m_conformancePackInputParametersHasBeenSet = false;
237 bool m_lastUpdateRequestedTimeHasBeenSet = false;
238 bool m_createdByHasBeenSet = false;
239 bool m_templateSSMDocumentDetailsHasBeenSet = false;
240};
241
242} // namespace Model
243} // namespace ConfigService
244} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdateRequestedTime() const
AWS_CONFIGSERVICE_API ConformancePackDetail(Aws::Utils::Json::JsonView jsonValue)
ConformancePackDetail & WithCreatedBy(CreatedByT &&value)
void SetConformancePackArn(ConformancePackArnT &&value)
ConformancePackDetail & WithConformancePackId(ConformancePackIdT &&value)
void SetDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT &&value)
ConformancePackDetail & WithConformancePackArn(ConformancePackArnT &&value)
AWS_CONFIGSERVICE_API ConformancePackDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ConformancePackDetail & WithTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT &&value)
ConformancePackDetail & WithDeliveryS3Bucket(DeliveryS3BucketT &&value)
ConformancePackDetail & WithConformancePackName(ConformancePackNameT &&value)
void SetConformancePackId(ConformancePackIdT &&value)
void SetConformancePackInputParameters(ConformancePackInputParametersT &&value)
ConformancePackDetail & WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT &&value)
const Aws::Vector< ConformancePackInputParameter > & GetConformancePackInputParameters() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConformancePackDetail & WithConformancePackInputParameters(ConformancePackInputParametersT &&value)
void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT &&value)
const TemplateSSMDocumentDetails & GetTemplateSSMDocumentDetails() const
void SetConformancePackName(ConformancePackNameT &&value)
void SetLastUpdateRequestedTime(LastUpdateRequestedTimeT &&value)
ConformancePackDetail & AddConformancePackInputParameters(ConformancePackInputParametersT &&value)
ConformancePackDetail & WithLastUpdateRequestedTime(LastUpdateRequestedTimeT &&value)
AWS_CONFIGSERVICE_API ConformancePackDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue