AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StandardsControlAssociationSummary.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 StandardsControlAssociationSummary() = 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
100 inline AssociationStatus GetAssociationStatus() const { return m_associationStatus; }
101 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
103 m_associationStatusHasBeenSet = true;
104 m_associationStatus = value;
105 }
108 return *this;
109 }
111
113
117 inline const Aws::Vector<Aws::String>& GetRelatedRequirements() const { return m_relatedRequirements; }
118 inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; }
119 template <typename RelatedRequirementsT = Aws::Vector<Aws::String>>
120 void SetRelatedRequirements(RelatedRequirementsT&& value) {
121 m_relatedRequirementsHasBeenSet = true;
122 m_relatedRequirements = std::forward<RelatedRequirementsT>(value);
123 }
124 template <typename RelatedRequirementsT = Aws::Vector<Aws::String>>
126 SetRelatedRequirements(std::forward<RelatedRequirementsT>(value));
127 return *this;
128 }
129 template <typename RelatedRequirementsT = Aws::String>
131 m_relatedRequirementsHasBeenSet = true;
132 m_relatedRequirements.emplace_back(std::forward<RelatedRequirementsT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
143 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
144 template <typename UpdatedAtT = Aws::Utils::DateTime>
145 void SetUpdatedAt(UpdatedAtT&& value) {
146 m_updatedAtHasBeenSet = true;
147 m_updatedAt = std::forward<UpdatedAtT>(value);
148 }
149 template <typename UpdatedAtT = Aws::Utils::DateTime>
151 SetUpdatedAt(std::forward<UpdatedAtT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::String& GetUpdatedReason() const { return m_updatedReason; }
162 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
163 template <typename UpdatedReasonT = Aws::String>
164 void SetUpdatedReason(UpdatedReasonT&& value) {
165 m_updatedReasonHasBeenSet = true;
166 m_updatedReason = std::forward<UpdatedReasonT>(value);
167 }
168 template <typename UpdatedReasonT = Aws::String>
170 SetUpdatedReason(std::forward<UpdatedReasonT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::String& GetStandardsControlTitle() const { return m_standardsControlTitle; }
180 inline bool StandardsControlTitleHasBeenSet() const { return m_standardsControlTitleHasBeenSet; }
181 template <typename StandardsControlTitleT = Aws::String>
182 void SetStandardsControlTitle(StandardsControlTitleT&& value) {
183 m_standardsControlTitleHasBeenSet = true;
184 m_standardsControlTitle = std::forward<StandardsControlTitleT>(value);
185 }
186 template <typename StandardsControlTitleT = Aws::String>
188 SetStandardsControlTitle(std::forward<StandardsControlTitleT>(value));
189 return *this;
190 }
192
194
199 inline const Aws::String& GetStandardsControlDescription() const { return m_standardsControlDescription; }
200 inline bool StandardsControlDescriptionHasBeenSet() const { return m_standardsControlDescriptionHasBeenSet; }
201 template <typename StandardsControlDescriptionT = Aws::String>
202 void SetStandardsControlDescription(StandardsControlDescriptionT&& value) {
203 m_standardsControlDescriptionHasBeenSet = true;
204 m_standardsControlDescription = std::forward<StandardsControlDescriptionT>(value);
205 }
206 template <typename StandardsControlDescriptionT = Aws::String>
208 SetStandardsControlDescription(std::forward<StandardsControlDescriptionT>(value));
209 return *this;
210 }
212 private:
213 Aws::String m_standardsArn;
214
215 Aws::String m_securityControlId;
216
217 Aws::String m_securityControlArn;
218
220
221 Aws::Vector<Aws::String> m_relatedRequirements;
222
223 Aws::Utils::DateTime m_updatedAt{};
224
225 Aws::String m_updatedReason;
226
227 Aws::String m_standardsControlTitle;
228
229 Aws::String m_standardsControlDescription;
230 bool m_standardsArnHasBeenSet = false;
231 bool m_securityControlIdHasBeenSet = false;
232 bool m_securityControlArnHasBeenSet = false;
233 bool m_associationStatusHasBeenSet = false;
234 bool m_relatedRequirementsHasBeenSet = false;
235 bool m_updatedAtHasBeenSet = false;
236 bool m_updatedReasonHasBeenSet = false;
237 bool m_standardsControlTitleHasBeenSet = false;
238 bool m_standardsControlDescriptionHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace SecurityHub
243} // namespace Aws
StandardsControlAssociationSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_SECURITYHUB_API StandardsControlAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationSummary & WithStandardsControlTitle(StandardsControlTitleT &&value)
StandardsControlAssociationSummary & WithStandardsArn(StandardsArnT &&value)
StandardsControlAssociationSummary & WithUpdatedReason(UpdatedReasonT &&value)
AWS_SECURITYHUB_API StandardsControlAssociationSummary()=default
StandardsControlAssociationSummary & WithAssociationStatus(AssociationStatus value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StandardsControlAssociationSummary & WithSecurityControlId(SecurityControlIdT &&value)
StandardsControlAssociationSummary & WithSecurityControlArn(SecurityControlArnT &&value)
StandardsControlAssociationSummary & WithStandardsControlDescription(StandardsControlDescriptionT &&value)
StandardsControlAssociationSummary & AddRelatedRequirements(RelatedRequirementsT &&value)
StandardsControlAssociationSummary & WithRelatedRequirements(RelatedRequirementsT &&value)
AWS_SECURITYHUB_API StandardsControlAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue