7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/model/MigrationAlertType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace LexModelBuildingService
64 template<
typename MessageT = Aws::String>
65 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
66 template<
typename MessageT = Aws::String>
76 template<
typename DetailsT = Aws::Vector<Aws::String>>
77 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
78 template<
typename DetailsT = Aws::Vector<Aws::String>>
80 template<
typename DetailsT = Aws::String>
81 MigrationAlert&
AddDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details.emplace_back(std::forward<DetailsT>(value));
return *
this; }
91 template<
typename ReferenceURLsT = Aws::Vector<Aws::String>>
92 void SetReferenceURLs(ReferenceURLsT&& value) { m_referenceURLsHasBeenSet =
true; m_referenceURLs = std::forward<ReferenceURLsT>(value); }
93 template<
typename ReferenceURLsT = Aws::Vector<Aws::String>>
95 template<
typename ReferenceURLsT = Aws::String>
96 MigrationAlert&
AddReferenceURLs(ReferenceURLsT&& value) { m_referenceURLsHasBeenSet =
true; m_referenceURLs.emplace_back(std::forward<ReferenceURLsT>(value));
return *
this; }
101 bool m_typeHasBeenSet =
false;
104 bool m_messageHasBeenSet =
false;
107 bool m_detailsHasBeenSet =
false;
110 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