AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StandardsControlAssociationDetail.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AssociationStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SECURITYHUB_API StandardsControlAssociationDetail() = default;
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetStandardsArn() const { return m_standardsArn; }
49 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
50 template<typename StandardsArnT = Aws::String>
51 void SetStandardsArn(StandardsArnT&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::forward<StandardsArnT>(value); }
52 template<typename StandardsArnT = Aws::String>
53 StandardsControlAssociationDetail& WithStandardsArn(StandardsArnT&& value) { SetStandardsArn(std::forward<StandardsArnT>(value)); return *this;}
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) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::forward<SecurityControlIdT>(value); }
66 template<typename SecurityControlIdT = Aws::String>
67 StandardsControlAssociationDetail& WithSecurityControlId(SecurityControlIdT&& value) { SetSecurityControlId(std::forward<SecurityControlIdT>(value)); return *this;}
69
71
76 inline const Aws::String& GetSecurityControlArn() const { return m_securityControlArn; }
77 inline bool SecurityControlArnHasBeenSet() const { return m_securityControlArnHasBeenSet; }
78 template<typename SecurityControlArnT = Aws::String>
79 void SetSecurityControlArn(SecurityControlArnT&& value) { m_securityControlArnHasBeenSet = true; m_securityControlArn = std::forward<SecurityControlArnT>(value); }
80 template<typename SecurityControlArnT = Aws::String>
81 StandardsControlAssociationDetail& WithSecurityControlArn(SecurityControlArnT&& value) { SetSecurityControlArn(std::forward<SecurityControlArnT>(value)); return *this;}
83
85
89 inline AssociationStatus GetAssociationStatus() const { return m_associationStatus; }
90 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
91 inline void SetAssociationStatus(AssociationStatus value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
94
96
100 inline const Aws::Vector<Aws::String>& GetRelatedRequirements() const { return m_relatedRequirements; }
101 inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; }
102 template<typename RelatedRequirementsT = Aws::Vector<Aws::String>>
103 void SetRelatedRequirements(RelatedRequirementsT&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = std::forward<RelatedRequirementsT>(value); }
104 template<typename RelatedRequirementsT = Aws::Vector<Aws::String>>
105 StandardsControlAssociationDetail& WithRelatedRequirements(RelatedRequirementsT&& value) { SetRelatedRequirements(std::forward<RelatedRequirementsT>(value)); return *this;}
106 template<typename RelatedRequirementsT = Aws::String>
107 StandardsControlAssociationDetail& AddRelatedRequirements(RelatedRequirementsT&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.emplace_back(std::forward<RelatedRequirementsT>(value)); return *this; }
109
111
115 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
116 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
117 template<typename UpdatedAtT = Aws::Utils::DateTime>
118 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
119 template<typename UpdatedAtT = Aws::Utils::DateTime>
120 StandardsControlAssociationDetail& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
122
124
128 inline const Aws::String& GetUpdatedReason() const { return m_updatedReason; }
129 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
130 template<typename UpdatedReasonT = Aws::String>
131 void SetUpdatedReason(UpdatedReasonT&& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = std::forward<UpdatedReasonT>(value); }
132 template<typename UpdatedReasonT = Aws::String>
133 StandardsControlAssociationDetail& WithUpdatedReason(UpdatedReasonT&& value) { SetUpdatedReason(std::forward<UpdatedReasonT>(value)); return *this;}
135
137
140 inline const Aws::String& GetStandardsControlTitle() const { return m_standardsControlTitle; }
141 inline bool StandardsControlTitleHasBeenSet() const { return m_standardsControlTitleHasBeenSet; }
142 template<typename StandardsControlTitleT = Aws::String>
143 void SetStandardsControlTitle(StandardsControlTitleT&& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = std::forward<StandardsControlTitleT>(value); }
144 template<typename StandardsControlTitleT = Aws::String>
145 StandardsControlAssociationDetail& WithStandardsControlTitle(StandardsControlTitleT&& value) { SetStandardsControlTitle(std::forward<StandardsControlTitleT>(value)); return *this;}
147
149
154 inline const Aws::String& GetStandardsControlDescription() const { return m_standardsControlDescription; }
155 inline bool StandardsControlDescriptionHasBeenSet() const { return m_standardsControlDescriptionHasBeenSet; }
156 template<typename StandardsControlDescriptionT = Aws::String>
157 void SetStandardsControlDescription(StandardsControlDescriptionT&& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = std::forward<StandardsControlDescriptionT>(value); }
158 template<typename StandardsControlDescriptionT = Aws::String>
159 StandardsControlAssociationDetail& WithStandardsControlDescription(StandardsControlDescriptionT&& value) { SetStandardsControlDescription(std::forward<StandardsControlDescriptionT>(value)); return *this;}
161
163
169 inline const Aws::Vector<Aws::String>& GetStandardsControlArns() const { return m_standardsControlArns; }
170 inline bool StandardsControlArnsHasBeenSet() const { return m_standardsControlArnsHasBeenSet; }
171 template<typename StandardsControlArnsT = Aws::Vector<Aws::String>>
172 void SetStandardsControlArns(StandardsControlArnsT&& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns = std::forward<StandardsControlArnsT>(value); }
173 template<typename StandardsControlArnsT = Aws::Vector<Aws::String>>
174 StandardsControlAssociationDetail& WithStandardsControlArns(StandardsControlArnsT&& value) { SetStandardsControlArns(std::forward<StandardsControlArnsT>(value)); return *this;}
175 template<typename StandardsControlArnsT = Aws::String>
176 StandardsControlAssociationDetail& AddStandardsControlArns(StandardsControlArnsT&& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns.emplace_back(std::forward<StandardsControlArnsT>(value)); return *this; }
178 private:
179
180 Aws::String m_standardsArn;
181 bool m_standardsArnHasBeenSet = false;
182
183 Aws::String m_securityControlId;
184 bool m_securityControlIdHasBeenSet = false;
185
186 Aws::String m_securityControlArn;
187 bool m_securityControlArnHasBeenSet = false;
188
190 bool m_associationStatusHasBeenSet = false;
191
192 Aws::Vector<Aws::String> m_relatedRequirements;
193 bool m_relatedRequirementsHasBeenSet = false;
194
195 Aws::Utils::DateTime m_updatedAt{};
196 bool m_updatedAtHasBeenSet = false;
197
198 Aws::String m_updatedReason;
199 bool m_updatedReasonHasBeenSet = false;
200
201 Aws::String m_standardsControlTitle;
202 bool m_standardsControlTitleHasBeenSet = false;
203
204 Aws::String m_standardsControlDescription;
205 bool m_standardsControlDescriptionHasBeenSet = false;
206
207 Aws::Vector<Aws::String> m_standardsControlArns;
208 bool m_standardsControlArnsHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace SecurityHub
213} // 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