7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace NetworkManager
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 ResourceIdT = Aws::String>
59 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
60 template<
typename ResourceIdT = Aws::String>
70 template<
typename ResourceTypeT = Aws::String>
71 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
72 template<
typename ResourceTypeT = Aws::String>
82 template<
typename LimitCodeT = Aws::String>
83 void SetLimitCode(LimitCodeT&& value) { m_limitCodeHasBeenSet =
true; m_limitCode = std::forward<LimitCodeT>(value); }
84 template<
typename LimitCodeT = Aws::String>
94 template<
typename ServiceCodeT = Aws::String>
95 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
96 template<
typename ServiceCodeT = Aws::String>
102 bool m_messageHasBeenSet =
false;
105 bool m_resourceIdHasBeenSet =
false;
108 bool m_resourceTypeHasBeenSet =
false;
111 bool m_limitCodeHasBeenSet =
false;
114 bool m_serviceCodeHasBeenSet =
false;
const Aws::String & GetLimitCode() const
void SetResourceId(ResourceIdT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
bool ResourceIdHasBeenSet() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceCodeHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
void SetLimitCode(LimitCodeT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
const Aws::String & GetServiceCode() const
ServiceQuotaExceededException & WithLimitCode(LimitCodeT &&value)
const Aws::String & GetResourceType() const
void SetMessage(MessageT &&value)
AWS_NETWORKMANAGER_API ServiceQuotaExceededException()=default
AWS_NETWORKMANAGER_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(ResourceTypeT &&value)
bool MessageHasBeenSet() const
bool ResourceTypeHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceId() const
bool LimitCodeHasBeenSet() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_NETWORKMANAGER_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue