7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivschat/model/ResourceType.h>
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
57 template<
typename ResourceIdT = Aws::String>
58 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
59 template<
typename ResourceIdT = Aws::String>
77 inline int GetLimit()
const {
return m_limit; }
79 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
85 bool m_messageHasBeenSet =
false;
88 bool m_resourceIdHasBeenSet =
false;
91 bool m_resourceTypeHasBeenSet =
false;
94 bool m_limitHasBeenSet =
false;
void SetMessage(MessageT &&value)
bool LimitHasBeenSet() const
void SetResourceType(ResourceType value)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
ThrottlingException & WithResourceType(ResourceType value)
ThrottlingException & WithResourceId(ResourceIdT &&value)
AWS_IVSCHAT_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithLimit(int value)
bool ResourceTypeHasBeenSet() const
AWS_IVSCHAT_API ThrottlingException()=default
bool MessageHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetResourceId() const
AWS_IVSCHAT_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
bool ResourceIdHasBeenSet() const
ResourceType GetResourceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue