AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; }
51 inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); }
52 inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); }
54 inline StandardsControlAssociationDetail& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;}
55 inline StandardsControlAssociationDetail& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;}
57
59
64 inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; }
65 inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
66 inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; }
67 inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); }
68 inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); }
71 inline StandardsControlAssociationDetail& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;}
73
75
80 inline const Aws::String& GetSecurityControlArn() const{ return m_securityControlArn; }
81 inline bool SecurityControlArnHasBeenSet() const { return m_securityControlArnHasBeenSet; }
82 inline void SetSecurityControlArn(const Aws::String& value) { m_securityControlArnHasBeenSet = true; m_securityControlArn = value; }
83 inline void SetSecurityControlArn(Aws::String&& value) { m_securityControlArnHasBeenSet = true; m_securityControlArn = std::move(value); }
84 inline void SetSecurityControlArn(const char* value) { m_securityControlArnHasBeenSet = true; m_securityControlArn.assign(value); }
87 inline StandardsControlAssociationDetail& WithSecurityControlArn(const char* value) { SetSecurityControlArn(value); return *this;}
89
91
95 inline const AssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
96 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
97 inline void SetAssociationStatus(const AssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
98 inline void SetAssociationStatus(AssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
102
104
108 inline const Aws::Vector<Aws::String>& GetRelatedRequirements() const{ return m_relatedRequirements; }
109 inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; }
110 inline void SetRelatedRequirements(const Aws::Vector<Aws::String>& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = value; }
111 inline void SetRelatedRequirements(Aws::Vector<Aws::String>&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = std::move(value); }
114 inline StandardsControlAssociationDetail& AddRelatedRequirements(const Aws::String& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; }
115 inline StandardsControlAssociationDetail& AddRelatedRequirements(Aws::String&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(std::move(value)); return *this; }
116 inline StandardsControlAssociationDetail& AddRelatedRequirements(const char* value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; }
118
120
124 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
125 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
126 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
127 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
129 inline StandardsControlAssociationDetail& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
131
133
137 inline const Aws::String& GetUpdatedReason() const{ return m_updatedReason; }
138 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
139 inline void SetUpdatedReason(const Aws::String& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = value; }
140 inline void SetUpdatedReason(Aws::String&& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = std::move(value); }
141 inline void SetUpdatedReason(const char* value) { m_updatedReasonHasBeenSet = true; m_updatedReason.assign(value); }
143 inline StandardsControlAssociationDetail& WithUpdatedReason(Aws::String&& value) { SetUpdatedReason(std::move(value)); return *this;}
144 inline StandardsControlAssociationDetail& WithUpdatedReason(const char* value) { SetUpdatedReason(value); return *this;}
146
148
151 inline const Aws::String& GetStandardsControlTitle() const{ return m_standardsControlTitle; }
152 inline bool StandardsControlTitleHasBeenSet() const { return m_standardsControlTitleHasBeenSet; }
153 inline void SetStandardsControlTitle(const Aws::String& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = value; }
154 inline void SetStandardsControlTitle(Aws::String&& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = std::move(value); }
155 inline void SetStandardsControlTitle(const char* value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle.assign(value); }
160
162
167 inline const Aws::String& GetStandardsControlDescription() const{ return m_standardsControlDescription; }
168 inline bool StandardsControlDescriptionHasBeenSet() const { return m_standardsControlDescriptionHasBeenSet; }
169 inline void SetStandardsControlDescription(const Aws::String& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = value; }
170 inline void SetStandardsControlDescription(Aws::String&& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = std::move(value); }
171 inline void SetStandardsControlDescription(const char* value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription.assign(value); }
176
178
184 inline const Aws::Vector<Aws::String>& GetStandardsControlArns() const{ return m_standardsControlArns; }
185 inline bool StandardsControlArnsHasBeenSet() const { return m_standardsControlArnsHasBeenSet; }
186 inline void SetStandardsControlArns(const Aws::Vector<Aws::String>& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns = value; }
187 inline void SetStandardsControlArns(Aws::Vector<Aws::String>&& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns = std::move(value); }
190 inline StandardsControlAssociationDetail& AddStandardsControlArns(const Aws::String& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns.push_back(value); return *this; }
191 inline StandardsControlAssociationDetail& AddStandardsControlArns(Aws::String&& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns.push_back(std::move(value)); return *this; }
192 inline StandardsControlAssociationDetail& AddStandardsControlArns(const char* value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns.push_back(value); return *this; }
194 private:
195
196 Aws::String m_standardsArn;
197 bool m_standardsArnHasBeenSet = false;
198
199 Aws::String m_securityControlId;
200 bool m_securityControlIdHasBeenSet = false;
201
202 Aws::String m_securityControlArn;
203 bool m_securityControlArnHasBeenSet = false;
204
205 AssociationStatus m_associationStatus;
206 bool m_associationStatusHasBeenSet = false;
207
208 Aws::Vector<Aws::String> m_relatedRequirements;
209 bool m_relatedRequirementsHasBeenSet = false;
210
211 Aws::Utils::DateTime m_updatedAt;
212 bool m_updatedAtHasBeenSet = false;
213
214 Aws::String m_updatedReason;
215 bool m_updatedReasonHasBeenSet = false;
216
217 Aws::String m_standardsControlTitle;
218 bool m_standardsControlTitleHasBeenSet = false;
219
220 Aws::String m_standardsControlDescription;
221 bool m_standardsControlDescriptionHasBeenSet = false;
222
223 Aws::Vector<Aws::String> m_standardsControlArns;
224 bool m_standardsControlArnsHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace SecurityHub
229} // namespace Aws
StandardsControlAssociationDetail & WithStandardsArn(const char *value)
StandardsControlAssociationDetail & WithStandardsControlDescription(const Aws::String &value)
StandardsControlAssociationDetail & AddRelatedRequirements(const Aws::String &value)
StandardsControlAssociationDetail & WithSecurityControlArn(const char *value)
StandardsControlAssociationDetail & AddStandardsControlArns(Aws::String &&value)
StandardsControlAssociationDetail & AddStandardsControlArns(const Aws::String &value)
StandardsControlAssociationDetail & WithStandardsArn(const Aws::String &value)
StandardsControlAssociationDetail & WithAssociationStatus(AssociationStatus &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StandardsControlAssociationDetail & WithRelatedRequirements(Aws::Vector< Aws::String > &&value)
StandardsControlAssociationDetail & WithUpdatedReason(Aws::String &&value)
StandardsControlAssociationDetail & WithStandardsArn(Aws::String &&value)
AWS_SECURITYHUB_API StandardsControlAssociationDetail(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationDetail & AddRelatedRequirements(const char *value)
StandardsControlAssociationDetail & WithSecurityControlId(Aws::String &&value)
StandardsControlAssociationDetail & WithRelatedRequirements(const Aws::Vector< Aws::String > &value)
StandardsControlAssociationDetail & WithStandardsControlDescription(Aws::String &&value)
StandardsControlAssociationDetail & WithAssociationStatus(const AssociationStatus &value)
StandardsControlAssociationDetail & AddRelatedRequirements(Aws::String &&value)
StandardsControlAssociationDetail & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_SECURITYHUB_API StandardsControlAssociationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationDetail & AddStandardsControlArns(const char *value)
StandardsControlAssociationDetail & WithUpdatedAt(const Aws::Utils::DateTime &value)
StandardsControlAssociationDetail & WithStandardsControlArns(Aws::Vector< Aws::String > &&value)
StandardsControlAssociationDetail & WithUpdatedReason(const Aws::String &value)
StandardsControlAssociationDetail & WithStandardsControlArns(const Aws::Vector< Aws::String > &value)
StandardsControlAssociationDetail & WithStandardsControlTitle(const Aws::String &value)
StandardsControlAssociationDetail & WithUpdatedReason(const char *value)
StandardsControlAssociationDetail & WithStandardsControlDescription(const char *value)
StandardsControlAssociationDetail & WithStandardsControlTitle(const char *value)
StandardsControlAssociationDetail & WithSecurityControlId(const char *value)
StandardsControlAssociationDetail & WithSecurityControlArn(Aws::String &&value)
StandardsControlAssociationDetail & WithStandardsControlTitle(Aws::String &&value)
StandardsControlAssociationDetail & WithSecurityControlArn(const Aws::String &value)
StandardsControlAssociationDetail & WithSecurityControlId(const Aws::String &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