7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/waf-regional/model/MigrationErrorType.h>
58 template<
typename MessageT = Aws::String>
59 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
60 template<
typename MessageT = Aws::String>
76 template<
typename MigrationErrorReasonT = Aws::String>
77 void SetMigrationErrorReason(MigrationErrorReasonT&& value) { m_migrationErrorReasonHasBeenSet =
true; m_migrationErrorReason = std::forward<MigrationErrorReasonT>(value); }
78 template<
typename MigrationErrorReasonT = Aws::String>
84 bool m_messageHasBeenSet =
false;
87 bool m_migrationErrorTypeHasBeenSet =
false;
90 bool m_migrationErrorReasonHasBeenSet =
false;
const Aws::String & GetMessage() const
WAFEntityMigrationException & WithMigrationErrorReason(MigrationErrorReasonT &&value)
bool MigrationErrorTypeHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_WAFREGIONAL_API WAFEntityMigrationException()=default
bool MigrationErrorReasonHasBeenSet() const
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMigrationErrorReason() const
WAFEntityMigrationException & WithMigrationErrorType(MigrationErrorType value)
WAFEntityMigrationException & WithMessage(MessageT &&value)
void SetMigrationErrorType(MigrationErrorType value)
AWS_WAFREGIONAL_API WAFEntityMigrationException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
AWS_WAFREGIONAL_API WAFEntityMigrationException & operator=(Aws::Utils::Json::JsonView jsonValue)
MigrationErrorType GetMigrationErrorType() const
void SetMigrationErrorReason(MigrationErrorReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue