AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConformancePackDetail.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/config/model/TemplateSSMDocumentDetails.h>
12#include <aws/config/model/ConformancePackInputParameter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ConfigService
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_CONFIGSERVICE_API ConformancePackDetail() = default;
41 AWS_CONFIGSERVICE_API ConformancePackDetail(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetConformancePackName() const { return m_conformancePackName; }
51 inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; }
52 template<typename ConformancePackNameT = Aws::String>
53 void SetConformancePackName(ConformancePackNameT&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::forward<ConformancePackNameT>(value); }
54 template<typename ConformancePackNameT = Aws::String>
55 ConformancePackDetail& WithConformancePackName(ConformancePackNameT&& value) { SetConformancePackName(std::forward<ConformancePackNameT>(value)); return *this;}
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) { m_conformancePackArnHasBeenSet = true; m_conformancePackArn = std::forward<ConformancePackArnT>(value); }
66 template<typename ConformancePackArnT = Aws::String>
67 ConformancePackDetail& WithConformancePackArn(ConformancePackArnT&& value) { SetConformancePackArn(std::forward<ConformancePackArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetConformancePackId() const { return m_conformancePackId; }
75 inline bool ConformancePackIdHasBeenSet() const { return m_conformancePackIdHasBeenSet; }
76 template<typename ConformancePackIdT = Aws::String>
77 void SetConformancePackId(ConformancePackIdT&& value) { m_conformancePackIdHasBeenSet = true; m_conformancePackId = std::forward<ConformancePackIdT>(value); }
78 template<typename ConformancePackIdT = Aws::String>
79 ConformancePackDetail& WithConformancePackId(ConformancePackIdT&& value) { SetConformancePackId(std::forward<ConformancePackIdT>(value)); return *this;}
81
83
87 inline const Aws::String& GetDeliveryS3Bucket() const { return m_deliveryS3Bucket; }
88 inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; }
89 template<typename DeliveryS3BucketT = Aws::String>
90 void SetDeliveryS3Bucket(DeliveryS3BucketT&& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = std::forward<DeliveryS3BucketT>(value); }
91 template<typename DeliveryS3BucketT = Aws::String>
92 ConformancePackDetail& WithDeliveryS3Bucket(DeliveryS3BucketT&& value) { SetDeliveryS3Bucket(std::forward<DeliveryS3BucketT>(value)); return *this;}
94
96
100 inline const Aws::String& GetDeliveryS3KeyPrefix() const { return m_deliveryS3KeyPrefix; }
101 inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; }
102 template<typename DeliveryS3KeyPrefixT = Aws::String>
103 void SetDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = std::forward<DeliveryS3KeyPrefixT>(value); }
104 template<typename DeliveryS3KeyPrefixT = Aws::String>
105 ConformancePackDetail& WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) { SetDeliveryS3KeyPrefix(std::forward<DeliveryS3KeyPrefixT>(value)); return *this;}
107
109
112 inline const Aws::Vector<ConformancePackInputParameter>& GetConformancePackInputParameters() const { return m_conformancePackInputParameters; }
113 inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; }
114 template<typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
115 void SetConformancePackInputParameters(ConformancePackInputParametersT&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = std::forward<ConformancePackInputParametersT>(value); }
116 template<typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
117 ConformancePackDetail& WithConformancePackInputParameters(ConformancePackInputParametersT&& value) { SetConformancePackInputParameters(std::forward<ConformancePackInputParametersT>(value)); return *this;}
118 template<typename ConformancePackInputParametersT = ConformancePackInputParameter>
119 ConformancePackDetail& AddConformancePackInputParameters(ConformancePackInputParametersT&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.emplace_back(std::forward<ConformancePackInputParametersT>(value)); return *this; }
121
123
126 inline const Aws::Utils::DateTime& GetLastUpdateRequestedTime() const { return m_lastUpdateRequestedTime; }
127 inline bool LastUpdateRequestedTimeHasBeenSet() const { return m_lastUpdateRequestedTimeHasBeenSet; }
128 template<typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
129 void SetLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) { m_lastUpdateRequestedTimeHasBeenSet = true; m_lastUpdateRequestedTime = std::forward<LastUpdateRequestedTimeT>(value); }
130 template<typename LastUpdateRequestedTimeT = Aws::Utils::DateTime>
131 ConformancePackDetail& WithLastUpdateRequestedTime(LastUpdateRequestedTimeT&& value) { SetLastUpdateRequestedTime(std::forward<LastUpdateRequestedTimeT>(value)); return *this;}
133
135
138 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
139 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
140 template<typename CreatedByT = Aws::String>
141 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
142 template<typename CreatedByT = Aws::String>
143 ConformancePackDetail& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
145
147
152 inline const TemplateSSMDocumentDetails& GetTemplateSSMDocumentDetails() const { return m_templateSSMDocumentDetails; }
153 inline bool TemplateSSMDocumentDetailsHasBeenSet() const { return m_templateSSMDocumentDetailsHasBeenSet; }
154 template<typename TemplateSSMDocumentDetailsT = TemplateSSMDocumentDetails>
155 void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT&& value) { m_templateSSMDocumentDetailsHasBeenSet = true; m_templateSSMDocumentDetails = std::forward<TemplateSSMDocumentDetailsT>(value); }
156 template<typename TemplateSSMDocumentDetailsT = TemplateSSMDocumentDetails>
157 ConformancePackDetail& WithTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT&& value) { SetTemplateSSMDocumentDetails(std::forward<TemplateSSMDocumentDetailsT>(value)); return *this;}
159 private:
160
161 Aws::String m_conformancePackName;
162 bool m_conformancePackNameHasBeenSet = false;
163
164 Aws::String m_conformancePackArn;
165 bool m_conformancePackArnHasBeenSet = false;
166
167 Aws::String m_conformancePackId;
168 bool m_conformancePackIdHasBeenSet = false;
169
170 Aws::String m_deliveryS3Bucket;
171 bool m_deliveryS3BucketHasBeenSet = false;
172
173 Aws::String m_deliveryS3KeyPrefix;
174 bool m_deliveryS3KeyPrefixHasBeenSet = false;
175
176 Aws::Vector<ConformancePackInputParameter> m_conformancePackInputParameters;
177 bool m_conformancePackInputParametersHasBeenSet = false;
178
179 Aws::Utils::DateTime m_lastUpdateRequestedTime{};
180 bool m_lastUpdateRequestedTimeHasBeenSet = false;
181
182 Aws::String m_createdBy;
183 bool m_createdByHasBeenSet = false;
184
185 TemplateSSMDocumentDetails m_templateSSMDocumentDetails;
186 bool m_templateSSMDocumentDetailsHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace ConfigService
191} // 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