AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
TrustedAccessProgramSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/TrustedAccessProgramOptIn.h>
9#include <aws/bedrock/model/TrustedAccessProgramScope.h>
10#include <aws/bedrock/model/TrustedAccessProgramStatus.h>
11#include <aws/bedrock/model/TrustedAccessResolutionContext.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock {
25namespace Model {
26
34 public:
35 AWS_BEDROCK_API TrustedAccessProgramSummary() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetProgramId() const { return m_programId; }
45 inline bool ProgramIdHasBeenSet() const { return m_programIdHasBeenSet; }
46 template <typename ProgramIdT = Aws::String>
47 void SetProgramId(ProgramIdT&& value) {
48 m_programIdHasBeenSet = true;
49 m_programId = std::forward<ProgramIdT>(value);
50 }
51 template <typename ProgramIdT = Aws::String>
53 SetProgramId(std::forward<ProgramIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template <typename NameT = Aws::String>
65 void SetName(NameT&& value) {
66 m_nameHasBeenSet = true;
67 m_name = std::forward<NameT>(value);
68 }
69 template <typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetProviderName() const { return m_providerName; }
100 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
101 template <typename ProviderNameT = Aws::String>
102 void SetProviderName(ProviderNameT&& value) {
103 m_providerNameHasBeenSet = true;
104 m_providerName = std::forward<ProviderNameT>(value);
105 }
106 template <typename ProviderNameT = Aws::String>
108 SetProviderName(std::forward<ProviderNameT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetDetailsUrl() const { return m_detailsUrl; }
118 inline bool DetailsUrlHasBeenSet() const { return m_detailsUrlHasBeenSet; }
119 template <typename DetailsUrlT = Aws::String>
120 void SetDetailsUrl(DetailsUrlT&& value) {
121 m_detailsUrlHasBeenSet = true;
122 m_detailsUrl = std::forward<DetailsUrlT>(value);
123 }
124 template <typename DetailsUrlT = Aws::String>
126 SetDetailsUrl(std::forward<DetailsUrlT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetEnrollmentUrl() const { return m_enrollmentUrl; }
137 inline bool EnrollmentUrlHasBeenSet() const { return m_enrollmentUrlHasBeenSet; }
138 template <typename EnrollmentUrlT = Aws::String>
139 void SetEnrollmentUrl(EnrollmentUrlT&& value) {
140 m_enrollmentUrlHasBeenSet = true;
141 m_enrollmentUrl = std::forward<EnrollmentUrlT>(value);
142 }
143 template <typename EnrollmentUrlT = Aws::String>
145 SetEnrollmentUrl(std::forward<EnrollmentUrlT>(value));
146 return *this;
147 }
149
151
155 inline TrustedAccessProgramStatus GetStatus() const { return m_status; }
156 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
158 m_statusHasBeenSet = true;
159 m_status = value;
160 }
162 SetStatus(value);
163 return *this;
164 }
166
168
172 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
173 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
174 template <typename StatusReasonT = Aws::String>
175 void SetStatusReason(StatusReasonT&& value) {
176 m_statusReasonHasBeenSet = true;
177 m_statusReason = std::forward<StatusReasonT>(value);
178 }
179 template <typename StatusReasonT = Aws::String>
181 SetStatusReason(std::forward<StatusReasonT>(value));
182 return *this;
183 }
185
187
191 inline TrustedAccessProgramScope GetSource() const { return m_source; }
192 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
194 m_sourceHasBeenSet = true;
195 m_source = value;
196 }
198 SetSource(value);
199 return *this;
200 }
202
204
208 inline TrustedAccessProgramScope GetEligibilityScope() const { return m_eligibilityScope; }
209 inline bool EligibilityScopeHasBeenSet() const { return m_eligibilityScopeHasBeenSet; }
211 m_eligibilityScopeHasBeenSet = true;
212 m_eligibilityScope = value;
213 }
219
221
225 inline const TrustedAccessResolutionContext& GetResolvedFor() const { return m_resolvedFor; }
226 inline bool ResolvedForHasBeenSet() const { return m_resolvedForHasBeenSet; }
227 template <typename ResolvedForT = TrustedAccessResolutionContext>
228 void SetResolvedFor(ResolvedForT&& value) {
229 m_resolvedForHasBeenSet = true;
230 m_resolvedFor = std::forward<ResolvedForT>(value);
231 }
232 template <typename ResolvedForT = TrustedAccessResolutionContext>
234 SetResolvedFor(std::forward<ResolvedForT>(value));
235 return *this;
236 }
238
240
244 inline TrustedAccessProgramOptIn GetOptIn() const { return m_optIn; }
245 inline bool OptInHasBeenSet() const { return m_optInHasBeenSet; }
247 m_optInHasBeenSet = true;
248 m_optIn = value;
249 }
251 SetOptIn(value);
252 return *this;
253 }
255
257
261 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
262 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
263 template <typename UpdatedAtT = Aws::Utils::DateTime>
264 void SetUpdatedAt(UpdatedAtT&& value) {
265 m_updatedAtHasBeenSet = true;
266 m_updatedAt = std::forward<UpdatedAtT>(value);
267 }
268 template <typename UpdatedAtT = Aws::Utils::DateTime>
270 SetUpdatedAt(std::forward<UpdatedAtT>(value));
271 return *this;
272 }
274 private:
275 Aws::String m_programId;
276
277 Aws::String m_name;
278
279 Aws::String m_description;
280
281 Aws::String m_providerName;
282
283 Aws::String m_detailsUrl;
284
285 Aws::String m_enrollmentUrl;
286
288
289 Aws::String m_statusReason;
290
292
294
295 TrustedAccessResolutionContext m_resolvedFor;
296
298
299 Aws::Utils::DateTime m_updatedAt{};
300 bool m_programIdHasBeenSet = false;
301 bool m_nameHasBeenSet = false;
302 bool m_descriptionHasBeenSet = false;
303 bool m_providerNameHasBeenSet = false;
304 bool m_detailsUrlHasBeenSet = false;
305 bool m_enrollmentUrlHasBeenSet = false;
306 bool m_statusHasBeenSet = false;
307 bool m_statusReasonHasBeenSet = false;
308 bool m_sourceHasBeenSet = false;
309 bool m_eligibilityScopeHasBeenSet = false;
310 bool m_resolvedForHasBeenSet = false;
311 bool m_optInHasBeenSet = false;
312 bool m_updatedAtHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace Bedrock
317} // namespace Aws
TrustedAccessProgramSummary & WithEnrollmentUrl(EnrollmentUrlT &&value)
TrustedAccessProgramSummary & WithProgramId(ProgramIdT &&value)
AWS_BEDROCK_API TrustedAccessProgramSummary(Aws::Utils::Json::JsonView jsonValue)
TrustedAccessProgramSummary & WithSource(TrustedAccessProgramScope value)
TrustedAccessProgramSummary & WithResolvedFor(ResolvedForT &&value)
TrustedAccessProgramSummary & WithDetailsUrl(DetailsUrlT &&value)
void SetEligibilityScope(TrustedAccessProgramScope value)
AWS_BEDROCK_API TrustedAccessProgramSummary()=default
TrustedAccessProgramSummary & WithUpdatedAt(UpdatedAtT &&value)
TrustedAccessProgramSummary & WithOptIn(TrustedAccessProgramOptIn value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
TrustedAccessProgramSummary & WithStatus(TrustedAccessProgramStatus value)
TrustedAccessProgramSummary & WithEligibilityScope(TrustedAccessProgramScope value)
TrustedAccessProgramSummary & WithStatusReason(StatusReasonT &&value)
TrustedAccessProgramSummary & WithProviderName(ProviderNameT &&value)
TrustedAccessProgramSummary & WithDescription(DescriptionT &&value)
const TrustedAccessResolutionContext & GetResolvedFor() const
AWS_BEDROCK_API TrustedAccessProgramSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TrustedAccessProgramSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue