7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
10#include <aws/lex-models/model/MigrationAlertType.h>
21namespace LexModelBuildingService {
49 m_typeHasBeenSet =
true;
64 template <
typename MessageT = Aws::String>
66 m_messageHasBeenSet =
true;
67 m_message = std::forward<MessageT>(value);
69 template <
typename MessageT = Aws::String>
82 template <
typename DetailsT = Aws::Vector<Aws::String>>
84 m_detailsHasBeenSet =
true;
85 m_details = std::forward<DetailsT>(value);
87 template <
typename DetailsT = Aws::Vector<Aws::String>>
92 template <
typename DetailsT = Aws::String>
94 m_detailsHasBeenSet =
true;
95 m_details.emplace_back(std::forward<DetailsT>(value));
107 template <
typename ReferenceURLsT = Aws::Vector<Aws::String>>
109 m_referenceURLsHasBeenSet =
true;
110 m_referenceURLs = std::forward<ReferenceURLsT>(value);
112 template <
typename ReferenceURLsT = Aws::Vector<Aws::String>>
117 template <
typename ReferenceURLsT = Aws::String>
119 m_referenceURLsHasBeenSet =
true;
120 m_referenceURLs.emplace_back(std::forward<ReferenceURLsT>(value));
132 bool m_typeHasBeenSet =
false;
133 bool m_messageHasBeenSet =
false;
134 bool m_detailsHasBeenSet =
false;
135 bool m_referenceURLsHasBeenSet =
false;
AWS_LEXMODELBUILDINGSERVICE_API MigrationAlert(Aws::Utils::Json::JsonView jsonValue)
MigrationAlert & WithReferenceURLs(ReferenceURLsT &&value)
const Aws::String & GetMessage() const
MigrationAlert & WithMessage(MessageT &&value)
const Aws::Vector< Aws::String > & GetDetails() const
MigrationAlertType GetType() const
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReferenceURLsHasBeenSet() const
void SetReferenceURLs(ReferenceURLsT &&value)
AWS_LEXMODELBUILDINGSERVICE_API MigrationAlert()=default
const Aws::Vector< Aws::String > & GetReferenceURLs() const
MigrationAlert & WithDetails(DetailsT &&value)
void SetDetails(DetailsT &&value)
void SetType(MigrationAlertType value)
MigrationAlert & WithType(MigrationAlertType value)
MigrationAlert & AddDetails(DetailsT &&value)
bool MessageHasBeenSet() const
bool TypeHasBeenSet() const
void SetMessage(MessageT &&value)
MigrationAlert & AddReferenceURLs(ReferenceURLsT &&value)
bool DetailsHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API MigrationAlert & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue