AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
BatchCreateSecurityRequirementResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityAgent {
21namespace Model {
22
30 public:
31 AWS_SECURITYAGENT_API BatchCreateSecurityRequirementResult() = default;
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetPackId() const { return m_packId; }
41 inline bool PackIdHasBeenSet() const { return m_packIdHasBeenSet; }
42 template <typename PackIdT = Aws::String>
43 void SetPackId(PackIdT&& value) {
44 m_packIdHasBeenSet = true;
45 m_packId = std::forward<PackIdT>(value);
46 }
47 template <typename PackIdT = Aws::String>
49 SetPackId(std::forward<PackIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDomain() const { return m_domain; }
95 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
96 template <typename DomainT = Aws::String>
97 void SetDomain(DomainT&& value) {
98 m_domainHasBeenSet = true;
99 m_domain = std::forward<DomainT>(value);
100 }
101 template <typename DomainT = Aws::String>
103 SetDomain(std::forward<DomainT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetEvaluation() const { return m_evaluation; }
113 inline bool EvaluationHasBeenSet() const { return m_evaluationHasBeenSet; }
114 template <typename EvaluationT = Aws::String>
115 void SetEvaluation(EvaluationT&& value) {
116 m_evaluationHasBeenSet = true;
117 m_evaluation = std::forward<EvaluationT>(value);
118 }
119 template <typename EvaluationT = Aws::String>
121 SetEvaluation(std::forward<EvaluationT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetRemediation() const { return m_remediation; }
131 inline bool RemediationHasBeenSet() const { return m_remediationHasBeenSet; }
132 template <typename RemediationT = Aws::String>
133 void SetRemediation(RemediationT&& value) {
134 m_remediationHasBeenSet = true;
135 m_remediation = std::forward<RemediationT>(value);
136 }
137 template <typename RemediationT = Aws::String>
139 SetRemediation(std::forward<RemediationT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
149 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
150 template <typename CreatedAtT = Aws::Utils::DateTime>
151 void SetCreatedAt(CreatedAtT&& value) {
152 m_createdAtHasBeenSet = true;
153 m_createdAt = std::forward<CreatedAtT>(value);
154 }
155 template <typename CreatedAtT = Aws::Utils::DateTime>
157 SetCreatedAt(std::forward<CreatedAtT>(value));
158 return *this;
159 }
161
163
167 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
168 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
169 template <typename UpdatedAtT = Aws::Utils::DateTime>
170 void SetUpdatedAt(UpdatedAtT&& value) {
171 m_updatedAtHasBeenSet = true;
172 m_updatedAt = std::forward<UpdatedAtT>(value);
173 }
174 template <typename UpdatedAtT = Aws::Utils::DateTime>
176 SetUpdatedAt(std::forward<UpdatedAtT>(value));
177 return *this;
178 }
180 private:
181 Aws::String m_packId;
182
183 Aws::String m_name;
184
185 Aws::String m_description;
186
187 Aws::String m_domain;
188
189 Aws::String m_evaluation;
190
191 Aws::String m_remediation;
192
193 Aws::Utils::DateTime m_createdAt{};
194
195 Aws::Utils::DateTime m_updatedAt{};
196 bool m_packIdHasBeenSet = false;
197 bool m_nameHasBeenSet = false;
198 bool m_descriptionHasBeenSet = false;
199 bool m_domainHasBeenSet = false;
200 bool m_evaluationHasBeenSet = false;
201 bool m_remediationHasBeenSet = false;
202 bool m_createdAtHasBeenSet = false;
203 bool m_updatedAtHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace SecurityAgent
208} // namespace Aws
AWS_SECURITYAGENT_API BatchCreateSecurityRequirementResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchCreateSecurityRequirementResult & WithEvaluation(EvaluationT &&value)
BatchCreateSecurityRequirementResult & WithCreatedAt(CreatedAtT &&value)
AWS_SECURITYAGENT_API BatchCreateSecurityRequirementResult(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API BatchCreateSecurityRequirementResult()=default
BatchCreateSecurityRequirementResult & WithDescription(DescriptionT &&value)
BatchCreateSecurityRequirementResult & WithUpdatedAt(UpdatedAtT &&value)
BatchCreateSecurityRequirementResult & WithRemediation(RemediationT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue