7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/GuardrailStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock/model/GuardrailCrossRegionDetails.h>
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
66 template<
typename ArnT = Aws::String>
86 template<
typename NameT = Aws::String>
87 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
88 template<
typename NameT = Aws::String>
98 template<
typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
100 template<
typename DescriptionT = Aws::String>
110 template<
typename VersionT = Aws::String>
111 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
112 template<
typename VersionT = Aws::String>
122 template<
typename CreatedAtT = Aws::Utils::DateTime>
123 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
124 template<
typename CreatedAtT = Aws::Utils::DateTime>
134 template<
typename UpdatedAtT = Aws::Utils::DateTime>
135 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
136 template<
typename UpdatedAtT = Aws::Utils::DateTime>
148 template<
typename CrossRegionDetailsT = GuardrailCrossRegionDetails>
149 void SetCrossRegionDetails(CrossRegionDetailsT&& value) { m_crossRegionDetailsHasBeenSet =
true; m_crossRegionDetails = std::forward<CrossRegionDetailsT>(value); }
150 template<
typename CrossRegionDetailsT = GuardrailCrossRegionDetails>
156 bool m_idHasBeenSet =
false;
159 bool m_arnHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
168 bool m_descriptionHasBeenSet =
false;
171 bool m_versionHasBeenSet =
false;
174 bool m_createdAtHasBeenSet =
false;
177 bool m_updatedAtHasBeenSet =
false;
179 GuardrailCrossRegionDetails m_crossRegionDetails;
180 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue