7#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
8#include <aws/appconfigcloudextension/model/ServiceUnavailableReason.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AppConfigCloudExtension {
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 m_reasonHasBeenSet =
true;
76 template <
typename ExtensionT = Aws::String>
78 m_extensionHasBeenSet =
true;
79 m_extension = std::forward<ExtensionT>(value);
81 template <
typename ExtensionT = Aws::String>
93 bool m_messageHasBeenSet =
false;
94 bool m_reasonHasBeenSet =
false;
95 bool m_extensionHasBeenSet =
false;
bool ExtensionHasBeenSet() const
const Aws::String & GetMessage() const
ServiceUnavailableReason GetReason() const
void SetMessage(MessageT &&value)
void SetReason(ServiceUnavailableReason value)
AWS_APPCONFIGCLOUDEXTENSION_API ServiceUnavailableException()=default
ServiceUnavailableException & WithExtension(ExtensionT &&value)
void SetExtension(ExtensionT &&value)
bool MessageHasBeenSet() const
bool ReasonHasBeenSet() const
const Aws::String & GetExtension() const
AWS_APPCONFIGCLOUDEXTENSION_API ServiceUnavailableException(Aws::Utils::Json::JsonView jsonValue)
ServiceUnavailableException & WithMessage(MessageT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPCONFIGCLOUDEXTENSION_API ServiceUnavailableException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceUnavailableException & WithReason(ServiceUnavailableReason value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue