AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
SecurityRequirementPackSummary.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#include <aws/securityagent/model/ManagementType.h>
11#include <aws/securityagent/model/SecurityRequirementPackStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityAgent {
23namespace Model {
24
32 public:
33 AWS_SECURITYAGENT_API SecurityRequirementPackSummary() = default;
36 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetPackId() const { return m_packId; }
43 inline bool PackIdHasBeenSet() const { return m_packIdHasBeenSet; }
44 template <typename PackIdT = Aws::String>
45 void SetPackId(PackIdT&& value) {
46 m_packIdHasBeenSet = true;
47 m_packId = std::forward<PackIdT>(value);
48 }
49 template <typename PackIdT = Aws::String>
51 SetPackId(std::forward<PackIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetVendorName() const { return m_vendorName; }
97 inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
98 template <typename VendorNameT = Aws::String>
99 void SetVendorName(VendorNameT&& value) {
100 m_vendorNameHasBeenSet = true;
101 m_vendorName = std::forward<VendorNameT>(value);
102 }
103 template <typename VendorNameT = Aws::String>
105 SetVendorName(std::forward<VendorNameT>(value));
106 return *this;
107 }
109
111
114 inline ManagementType GetManagementType() const { return m_managementType; }
115 inline bool ManagementTypeHasBeenSet() const { return m_managementTypeHasBeenSet; }
117 m_managementTypeHasBeenSet = true;
118 m_managementType = value;
119 }
121 SetManagementType(value);
122 return *this;
123 }
125
127
130 inline SecurityRequirementPackStatus GetStatus() const { return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 m_statusHasBeenSet = true;
134 m_status = value;
135 }
137 SetStatus(value);
138 return *this;
139 }
141
143
147 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
148 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) {
151 m_createdAtHasBeenSet = true;
152 m_createdAt = std::forward<CreatedAtT>(value);
153 }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160
162
166 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
167 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
168 template <typename UpdatedAtT = Aws::Utils::DateTime>
169 void SetUpdatedAt(UpdatedAtT&& value) {
170 m_updatedAtHasBeenSet = true;
171 m_updatedAt = std::forward<UpdatedAtT>(value);
172 }
173 template <typename UpdatedAtT = Aws::Utils::DateTime>
175 SetUpdatedAt(std::forward<UpdatedAtT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_packId;
181
182 Aws::String m_name;
183
184 Aws::String m_description;
185
186 Aws::String m_vendorName;
187
188 ManagementType m_managementType{ManagementType::NOT_SET};
189
191
192 Aws::Utils::DateTime m_createdAt{};
193
194 Aws::Utils::DateTime m_updatedAt{};
195 bool m_packIdHasBeenSet = false;
196 bool m_nameHasBeenSet = false;
197 bool m_descriptionHasBeenSet = false;
198 bool m_vendorNameHasBeenSet = false;
199 bool m_managementTypeHasBeenSet = false;
200 bool m_statusHasBeenSet = false;
201 bool m_createdAtHasBeenSet = false;
202 bool m_updatedAtHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace SecurityAgent
207} // namespace Aws
AWS_SECURITYAGENT_API SecurityRequirementPackSummary()=default
SecurityRequirementPackSummary & WithStatus(SecurityRequirementPackStatus value)
AWS_SECURITYAGENT_API SecurityRequirementPackSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityRequirementPackSummary & WithVendorName(VendorNameT &&value)
SecurityRequirementPackSummary & WithCreatedAt(CreatedAtT &&value)
SecurityRequirementPackSummary & WithPackId(PackIdT &&value)
SecurityRequirementPackSummary & WithUpdatedAt(UpdatedAtT &&value)
SecurityRequirementPackSummary & WithManagementType(ManagementType value)
AWS_SECURITYAGENT_API SecurityRequirementPackSummary(Aws::Utils::Json::JsonView jsonValue)
SecurityRequirementPackSummary & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue