7#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
8#include <aws/appconfigcloudextension/model/UpgradeRequiredReason.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>
94 template <
typename VersionT = Aws::String>
96 m_versionHasBeenSet =
true;
97 m_version = std::forward<VersionT>(value);
99 template <
typename VersionT = Aws::String>
113 bool m_messageHasBeenSet =
false;
114 bool m_reasonHasBeenSet =
false;
115 bool m_extensionHasBeenSet =
false;
116 bool m_versionHasBeenSet =
false;
AWS_APPCONFIGCLOUDEXTENSION_API Aws::Utils::Json::JsonValue Jsonize() const
UpgradeRequiredException & WithVersion(VersionT &&value)
bool ExtensionHasBeenSet() const
bool ReasonHasBeenSet() const
const Aws::String & GetVersion() const
bool VersionHasBeenSet() const
void SetReason(UpgradeRequiredReason value)
UpgradeRequiredException & WithExtension(ExtensionT &&value)
void SetExtension(ExtensionT &&value)
UpgradeRequiredException & WithReason(UpgradeRequiredReason value)
void SetMessage(MessageT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API UpgradeRequiredException()=default
AWS_APPCONFIGCLOUDEXTENSION_API UpgradeRequiredException(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIGCLOUDEXTENSION_API UpgradeRequiredException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(VersionT &&value)
UpgradeRequiredReason GetReason() const
UpgradeRequiredException & WithMessage(MessageT &&value)
const Aws::String & GetExtension() const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue