AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
38 AWS_SECURITYHUB_API StandardsControlAssociationSummary() = 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 StandardsControlAssociationSummary& 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 StandardsControlAssociationSummary& 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 StandardsControlAssociationSummary& WithSecurityControlArn(SecurityControlArnT&& value) { SetSecurityControlArn(std::forward<SecurityControlArnT>(value)); return *this;}
83
85
88 inline AssociationStatus GetAssociationStatus() const { return m_associationStatus; }
89 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
90 inline void SetAssociationStatus(AssociationStatus value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
93
95
99 inline const Aws::Vector<Aws::String>& GetRelatedRequirements() const { return m_relatedRequirements; }
100 inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; }
101 template<typename RelatedRequirementsT = Aws::Vector<Aws::String>>
102 void SetRelatedRequirements(RelatedRequirementsT&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = std::forward<RelatedRequirementsT>(value); }
103 template<typename RelatedRequirementsT = Aws::Vector<Aws::String>>
104 StandardsControlAssociationSummary& WithRelatedRequirements(RelatedRequirementsT&& value) { SetRelatedRequirements(std::forward<RelatedRequirementsT>(value)); return *this;}
105 template<typename RelatedRequirementsT = Aws::String>
106 StandardsControlAssociationSummary& AddRelatedRequirements(RelatedRequirementsT&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.emplace_back(std::forward<RelatedRequirementsT>(value)); return *this; }
108
110
114 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
115 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
116 template<typename UpdatedAtT = Aws::Utils::DateTime>
117 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
118 template<typename UpdatedAtT = Aws::Utils::DateTime>
119 StandardsControlAssociationSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
121
123
127 inline const Aws::String& GetUpdatedReason() const { return m_updatedReason; }
128 inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; }
129 template<typename UpdatedReasonT = Aws::String>
130 void SetUpdatedReason(UpdatedReasonT&& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = std::forward<UpdatedReasonT>(value); }
131 template<typename UpdatedReasonT = Aws::String>
132 StandardsControlAssociationSummary& WithUpdatedReason(UpdatedReasonT&& value) { SetUpdatedReason(std::forward<UpdatedReasonT>(value)); return *this;}
134
136
139 inline const Aws::String& GetStandardsControlTitle() const { return m_standardsControlTitle; }
140 inline bool StandardsControlTitleHasBeenSet() const { return m_standardsControlTitleHasBeenSet; }
141 template<typename StandardsControlTitleT = Aws::String>
142 void SetStandardsControlTitle(StandardsControlTitleT&& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = std::forward<StandardsControlTitleT>(value); }
143 template<typename StandardsControlTitleT = Aws::String>
144 StandardsControlAssociationSummary& WithStandardsControlTitle(StandardsControlTitleT&& value) { SetStandardsControlTitle(std::forward<StandardsControlTitleT>(value)); return *this;}
146
148
153 inline const Aws::String& GetStandardsControlDescription() const { return m_standardsControlDescription; }
154 inline bool StandardsControlDescriptionHasBeenSet() const { return m_standardsControlDescriptionHasBeenSet; }
155 template<typename StandardsControlDescriptionT = Aws::String>
156 void SetStandardsControlDescription(StandardsControlDescriptionT&& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = std::forward<StandardsControlDescriptionT>(value); }
157 template<typename StandardsControlDescriptionT = Aws::String>
158 StandardsControlAssociationSummary& WithStandardsControlDescription(StandardsControlDescriptionT&& value) { SetStandardsControlDescription(std::forward<StandardsControlDescriptionT>(value)); return *this;}
160 private:
161
162 Aws::String m_standardsArn;
163 bool m_standardsArnHasBeenSet = false;
164
165 Aws::String m_securityControlId;
166 bool m_securityControlIdHasBeenSet = false;
167
168 Aws::String m_securityControlArn;
169 bool m_securityControlArnHasBeenSet = false;
170
172 bool m_associationStatusHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_relatedRequirements;
175 bool m_relatedRequirementsHasBeenSet = false;
176
177 Aws::Utils::DateTime m_updatedAt{};
178 bool m_updatedAtHasBeenSet = false;
179
180 Aws::String m_updatedReason;
181 bool m_updatedReasonHasBeenSet = false;
182
183 Aws::String m_standardsControlTitle;
184 bool m_standardsControlTitleHasBeenSet = false;
185
186 Aws::String m_standardsControlDescription;
187 bool m_standardsControlDescriptionHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace SecurityHub
192} // 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