AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StandardsControlAssociationDetail.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.h>
11#include <aws/securityhub/model/AssociationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub {
23namespace Model {
24
32 public:
33 AWS_SECURITYHUB_API StandardsControlAssociationDetail() = default;
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetStandardsArn() const { return m_standardsArn; }
43 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
44 template <typename StandardsArnT = Aws::String>
45 void SetStandardsArn(StandardsArnT&& value) {
46 m_standardsArnHasBeenSet = true;
47 m_standardsArn = std::forward<StandardsArnT>(value);
48 }
49 template <typename StandardsArnT = Aws::String>
51 SetStandardsArn(std::forward<StandardsArnT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetSecurityControlId() const { return m_securityControlId; }
63 inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
64 template <typename SecurityControlIdT = Aws::String>
65 void SetSecurityControlId(SecurityControlIdT&& value) {
66 m_securityControlIdHasBeenSet = true;
67 m_securityControlId = std::forward<SecurityControlIdT>(value);
68 }
69 template <typename SecurityControlIdT = Aws::String>
71 SetSecurityControlId(std::forward<SecurityControlIdT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::String& GetSecurityControlArn() const { return m_securityControlArn; }
83 inline bool SecurityControlArnHasBeenSet() const { return m_securityControlArnHasBeenSet; }
84 template <typename SecurityControlArnT = Aws::String>
85 void SetSecurityControlArn(SecurityControlArnT&& value) {
86 m_securityControlArnHasBeenSet = true;
87 m_securityControlArn = std::forward<SecurityControlArnT>(value);
88 }
89 template <typename SecurityControlArnT = Aws::String>
91 SetSecurityControlArn(std::forward<SecurityControlArnT>(value));
92 return *this;
93 }
95
97
101 inline AssociationStatus GetAssociationStatus() const { return m_associationStatus; }
102 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
104 m_associationStatusHasBeenSet = true;
105 m_associationStatus = value;
106 }
109 return *this;
110 }
112
114
118 inline const Aws::Vector<Aws::String>& GetRelatedRequirements() const { return m_relatedRequirements; }
119 inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; }
120 template <typename RelatedRequirementsT = Aws::Vector<Aws::String>>
121 void SetRelatedRequirements(RelatedRequirementsT&& value) {
122 m_relatedRequirementsHasBeenSet = true;
123 m_relatedRequirements = std::forward<RelatedRequirementsT>(value);
124 }
125 template <typename RelatedRequirementsT = Aws::Vector<Aws::String>>
127 SetRelatedRequirements(std::forward<RelatedRequirementsT>(value));
128 return *this;
129 }
130 template <typename RelatedRequirementsT = Aws::String>
132 m_relatedRequirementsHasBeenSet = true;
133 m_relatedRequirements.emplace_back(std::forward<RelatedRequirementsT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
144 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
145 template <typename UpdatedAtT = Aws::Utils::DateTime>
146 void SetUpdatedAt(UpdatedAtT&& value) {
147 m_updatedAtHasBeenSet = true;
148 m_updatedAt = std::forward<UpdatedAtT>(value);
149 }
150 template <typename UpdatedAtT = Aws::Utils::DateTime>
152 SetUpdatedAt(std::forward<UpdatedAtT>(value));
153 return *this;
154 }
156
158
162 inline const Aws::String& GetUpdatedReason() const { return m_updatedReason; }
163 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
164 template <typename UpdatedReasonT = Aws::String>
165 void SetUpdatedReason(UpdatedReasonT&& value) {
166 m_updatedReasonHasBeenSet = true;
167 m_updatedReason = std::forward<UpdatedReasonT>(value);
168 }
169 template <typename UpdatedReasonT = Aws::String>
171 SetUpdatedReason(std::forward<UpdatedReasonT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetStandardsControlTitle() const { return m_standardsControlTitle; }
181 inline bool StandardsControlTitleHasBeenSet() const { return m_standardsControlTitleHasBeenSet; }
182 template <typename StandardsControlTitleT = Aws::String>
183 void SetStandardsControlTitle(StandardsControlTitleT&& value) {
184 m_standardsControlTitleHasBeenSet = true;
185 m_standardsControlTitle = std::forward<StandardsControlTitleT>(value);
186 }
187 template <typename StandardsControlTitleT = Aws::String>
189 SetStandardsControlTitle(std::forward<StandardsControlTitleT>(value));
190 return *this;
191 }
193
195
200 inline const Aws::String& GetStandardsControlDescription() const { return m_standardsControlDescription; }
201 inline bool StandardsControlDescriptionHasBeenSet() const { return m_standardsControlDescriptionHasBeenSet; }
202 template <typename StandardsControlDescriptionT = Aws::String>
203 void SetStandardsControlDescription(StandardsControlDescriptionT&& value) {
204 m_standardsControlDescriptionHasBeenSet = true;
205 m_standardsControlDescription = std::forward<StandardsControlDescriptionT>(value);
206 }
207 template <typename StandardsControlDescriptionT = Aws::String>
209 SetStandardsControlDescription(std::forward<StandardsControlDescriptionT>(value));
210 return *this;
211 }
213
215
221 inline const Aws::Vector<Aws::String>& GetStandardsControlArns() const { return m_standardsControlArns; }
222 inline bool StandardsControlArnsHasBeenSet() const { return m_standardsControlArnsHasBeenSet; }
223 template <typename StandardsControlArnsT = Aws::Vector<Aws::String>>
224 void SetStandardsControlArns(StandardsControlArnsT&& value) {
225 m_standardsControlArnsHasBeenSet = true;
226 m_standardsControlArns = std::forward<StandardsControlArnsT>(value);
227 }
228 template <typename StandardsControlArnsT = Aws::Vector<Aws::String>>
230 SetStandardsControlArns(std::forward<StandardsControlArnsT>(value));
231 return *this;
232 }
233 template <typename StandardsControlArnsT = Aws::String>
235 m_standardsControlArnsHasBeenSet = true;
236 m_standardsControlArns.emplace_back(std::forward<StandardsControlArnsT>(value));
237 return *this;
238 }
240 private:
241 Aws::String m_standardsArn;
242
243 Aws::String m_securityControlId;
244
245 Aws::String m_securityControlArn;
246
248
249 Aws::Vector<Aws::String> m_relatedRequirements;
250
251 Aws::Utils::DateTime m_updatedAt{};
252
253 Aws::String m_updatedReason;
254
255 Aws::String m_standardsControlTitle;
256
257 Aws::String m_standardsControlDescription;
258
259 Aws::Vector<Aws::String> m_standardsControlArns;
260 bool m_standardsArnHasBeenSet = false;
261 bool m_securityControlIdHasBeenSet = false;
262 bool m_securityControlArnHasBeenSet = false;
263 bool m_associationStatusHasBeenSet = false;
264 bool m_relatedRequirementsHasBeenSet = false;
265 bool m_updatedAtHasBeenSet = false;
266 bool m_updatedReasonHasBeenSet = false;
267 bool m_standardsControlTitleHasBeenSet = false;
268 bool m_standardsControlDescriptionHasBeenSet = false;
269 bool m_standardsControlArnsHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace SecurityHub
274} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StandardsControlAssociationDetail & WithUpdatedReason(UpdatedReasonT &&value)
StandardsControlAssociationDetail & WithAssociationStatus(AssociationStatus value)
AWS_SECURITYHUB_API StandardsControlAssociationDetail(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationDetail & AddStandardsControlArns(StandardsControlArnsT &&value)
StandardsControlAssociationDetail & WithSecurityControlId(SecurityControlIdT &&value)
StandardsControlAssociationDetail & WithSecurityControlArn(SecurityControlArnT &&value)
AWS_SECURITYHUB_API StandardsControlAssociationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationDetail & WithStandardsControlArns(StandardsControlArnsT &&value)
StandardsControlAssociationDetail & AddRelatedRequirements(RelatedRequirementsT &&value)
StandardsControlAssociationDetail & WithRelatedRequirements(RelatedRequirementsT &&value)
StandardsControlAssociationDetail & WithUpdatedAt(UpdatedAtT &&value)
AWS_SECURITYHUB_API StandardsControlAssociationDetail()=default
StandardsControlAssociationDetail & WithStandardsControlDescription(StandardsControlDescriptionT &&value)
StandardsControlAssociationDetail & WithStandardsArn(StandardsArnT &&value)
StandardsControlAssociationDetail & WithStandardsControlTitle(StandardsControlTitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue