7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailCrossRegionDetails.h>
9#include <aws/bedrock/model/GuardrailStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename ArnT = Aws::String>
66 m_arnHasBeenSet =
true;
67 m_arn = std::forward<ArnT>(value);
69 template <
typename ArnT = Aws::String>
71 SetArn(std::forward<ArnT>(value));
83 m_statusHasBeenSet =
true;
98 template <
typename NameT = Aws::String>
100 m_nameHasBeenSet =
true;
101 m_name = std::forward<NameT>(value);
103 template <
typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
134 template <
typename VersionT = Aws::String>
136 m_versionHasBeenSet =
true;
137 m_version = std::forward<VersionT>(value);
139 template <
typename VersionT = Aws::String>
152 template <
typename CreatedAtT = Aws::Utils::DateTime>
154 m_createdAtHasBeenSet =
true;
155 m_createdAt = std::forward<CreatedAtT>(value);
157 template <
typename CreatedAtT = Aws::Utils::DateTime>
170 template <
typename UpdatedAtT = Aws::Utils::DateTime>
172 m_updatedAtHasBeenSet =
true;
173 m_updatedAt = std::forward<UpdatedAtT>(value);
175 template <
typename UpdatedAtT = Aws::Utils::DateTime>
190 template <
typename CrossRegionDetailsT = GuardrailCrossRegionDetails>
192 m_crossRegionDetailsHasBeenSet =
true;
193 m_crossRegionDetails = std::forward<CrossRegionDetailsT>(value);
195 template <
typename CrossRegionDetailsT = GuardrailCrossRegionDetails>
218 GuardrailCrossRegionDetails m_crossRegionDetails;
219 bool m_idHasBeenSet =
false;
220 bool m_arnHasBeenSet =
false;
221 bool m_statusHasBeenSet =
false;
222 bool m_nameHasBeenSet =
false;
223 bool m_descriptionHasBeenSet =
false;
224 bool m_versionHasBeenSet =
false;
225 bool m_createdAtHasBeenSet =
false;
226 bool m_updatedAtHasBeenSet =
false;
227 bool m_crossRegionDetailsHasBeenSet =
false;
GuardrailSummary & WithCreatedAt(CreatedAtT &&value)
GuardrailSummary & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
void SetVersion(VersionT &&value)
GuardrailSummary & WithName(NameT &&value)
bool CreatedAtHasBeenSet() const
bool ArnHasBeenSet() const
AWS_BEDROCK_API GuardrailSummary(Aws::Utils::Json::JsonView jsonValue)
bool CrossRegionDetailsHasBeenSet() const
AWS_BEDROCK_API GuardrailSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetArn(ArnT &&value)
void SetStatus(GuardrailStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetVersion() const
void SetCrossRegionDetails(CrossRegionDetailsT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetArn() const
const Aws::String & GetId() const
GuardrailSummary & WithId(IdT &&value)
bool VersionHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailSummary & WithCrossRegionDetails(CrossRegionDetailsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_BEDROCK_API GuardrailSummary()=default
void SetUpdatedAt(UpdatedAtT &&value)
const GuardrailCrossRegionDetails & GetCrossRegionDetails() const
const Aws::String & GetDescription() const
bool UpdatedAtHasBeenSet() const
GuardrailSummary & WithStatus(GuardrailStatus value)
bool IdHasBeenSet() const
GuardrailSummary & WithVersion(VersionT &&value)
GuardrailSummary & WithArn(ArnT &&value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
GuardrailStatus GetStatus() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue