7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
48 template<
typename MessageT = Aws::String>
58 template<
typename ResourceTypeT = Aws::String>
59 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
60 template<
typename ResourceTypeT = Aws::String>
66 bool m_messageHasBeenSet =
false;
69 bool m_resourceTypeHasBeenSet =
false;
bool ResourceTypeHasBeenSet() const
AWS_SHIELD_API ResourceAlreadyExistsException(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API ResourceAlreadyExistsException()=default
ResourceAlreadyExistsException & WithResourceType(ResourceTypeT &&value)
AWS_SHIELD_API ResourceAlreadyExistsException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetMessage() const
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceType() const
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
ResourceAlreadyExistsException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue