AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StandardsControlAssociationSummary.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:
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 StandardsControlAssociationSummary& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;}
55 inline StandardsControlAssociationSummary& 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 StandardsControlAssociationSummary& 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 StandardsControlAssociationSummary& WithSecurityControlArn(const char* value) { SetSecurityControlArn(value); return *this;}
89
91
94 inline const AssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
95 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
96 inline void SetAssociationStatus(const AssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
97 inline void SetAssociationStatus(AssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
101
103
107 inline const Aws::Vector<Aws::String>& GetRelatedRequirements() const{ return m_relatedRequirements; }
108 inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; }
109 inline void SetRelatedRequirements(const Aws::Vector<Aws::String>& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = value; }
110 inline void SetRelatedRequirements(Aws::Vector<Aws::String>&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = std::move(value); }
113 inline StandardsControlAssociationSummary& AddRelatedRequirements(const Aws::String& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; }
114 inline StandardsControlAssociationSummary& AddRelatedRequirements(Aws::String&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(std::move(value)); return *this; }
115 inline StandardsControlAssociationSummary& AddRelatedRequirements(const char* value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; }
117
119
123 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
124 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
125 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
126 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
128 inline StandardsControlAssociationSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
130
132
136 inline const Aws::String& GetUpdatedReason() const{ return m_updatedReason; }
137 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
138 inline void SetUpdatedReason(const Aws::String& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = value; }
139 inline void SetUpdatedReason(Aws::String&& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = std::move(value); }
140 inline void SetUpdatedReason(const char* value) { m_updatedReasonHasBeenSet = true; m_updatedReason.assign(value); }
142 inline StandardsControlAssociationSummary& WithUpdatedReason(Aws::String&& value) { SetUpdatedReason(std::move(value)); return *this;}
143 inline StandardsControlAssociationSummary& WithUpdatedReason(const char* value) { SetUpdatedReason(value); return *this;}
145
147
150 inline const Aws::String& GetStandardsControlTitle() const{ return m_standardsControlTitle; }
151 inline bool StandardsControlTitleHasBeenSet() const { return m_standardsControlTitleHasBeenSet; }
152 inline void SetStandardsControlTitle(const Aws::String& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = value; }
153 inline void SetStandardsControlTitle(Aws::String&& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = std::move(value); }
154 inline void SetStandardsControlTitle(const char* value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle.assign(value); }
159
161
166 inline const Aws::String& GetStandardsControlDescription() const{ return m_standardsControlDescription; }
167 inline bool StandardsControlDescriptionHasBeenSet() const { return m_standardsControlDescriptionHasBeenSet; }
168 inline void SetStandardsControlDescription(const Aws::String& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = value; }
169 inline void SetStandardsControlDescription(Aws::String&& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = std::move(value); }
170 inline void SetStandardsControlDescription(const char* value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription.assign(value); }
175 private:
176
177 Aws::String m_standardsArn;
178 bool m_standardsArnHasBeenSet = false;
179
180 Aws::String m_securityControlId;
181 bool m_securityControlIdHasBeenSet = false;
182
183 Aws::String m_securityControlArn;
184 bool m_securityControlArnHasBeenSet = false;
185
186 AssociationStatus m_associationStatus;
187 bool m_associationStatusHasBeenSet = false;
188
189 Aws::Vector<Aws::String> m_relatedRequirements;
190 bool m_relatedRequirementsHasBeenSet = false;
191
192 Aws::Utils::DateTime m_updatedAt;
193 bool m_updatedAtHasBeenSet = false;
194
195 Aws::String m_updatedReason;
196 bool m_updatedReasonHasBeenSet = false;
197
198 Aws::String m_standardsControlTitle;
199 bool m_standardsControlTitleHasBeenSet = false;
200
201 Aws::String m_standardsControlDescription;
202 bool m_standardsControlDescriptionHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace SecurityHub
207} // namespace Aws
StandardsControlAssociationSummary & WithStandardsControlDescription(Aws::String &&value)
StandardsControlAssociationSummary & WithRelatedRequirements(Aws::Vector< Aws::String > &&value)
AWS_SECURITYHUB_API StandardsControlAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationSummary & WithStandardsArn(const char *value)
StandardsControlAssociationSummary & WithStandardsArn(Aws::String &&value)
StandardsControlAssociationSummary & WithUpdatedReason(const char *value)
StandardsControlAssociationSummary & WithAssociationStatus(AssociationStatus &&value)
StandardsControlAssociationSummary & WithUpdatedReason(const Aws::String &value)
StandardsControlAssociationSummary & WithAssociationStatus(const AssociationStatus &value)
StandardsControlAssociationSummary & WithStandardsControlDescription(const char *value)
StandardsControlAssociationSummary & WithRelatedRequirements(const Aws::Vector< Aws::String > &value)
StandardsControlAssociationSummary & WithSecurityControlId(Aws::String &&value)
StandardsControlAssociationSummary & WithStandardsControlTitle(const char *value)
StandardsControlAssociationSummary & WithSecurityControlId(const Aws::String &value)
StandardsControlAssociationSummary & WithStandardsArn(const Aws::String &value)
StandardsControlAssociationSummary & WithStandardsControlTitle(Aws::String &&value)
StandardsControlAssociationSummary & WithStandardsControlDescription(const Aws::String &value)
StandardsControlAssociationSummary & AddRelatedRequirements(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StandardsControlAssociationSummary & WithUpdatedReason(Aws::String &&value)
StandardsControlAssociationSummary & WithSecurityControlArn(Aws::String &&value)
StandardsControlAssociationSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
StandardsControlAssociationSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
StandardsControlAssociationSummary & WithSecurityControlArn(const Aws::String &value)
StandardsControlAssociationSummary & WithStandardsControlTitle(const Aws::String &value)
StandardsControlAssociationSummary & WithSecurityControlArn(const char *value)
StandardsControlAssociationSummary & WithSecurityControlId(const char *value)
AWS_SECURITYHUB_API StandardsControlAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
StandardsControlAssociationSummary & AddRelatedRequirements(Aws::String &&value)
StandardsControlAssociationSummary & AddRelatedRequirements(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