7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSM_EXPORTS.h>
40 template <
typename ResourceTypesT = Aws::Vector<Aws::String>>
42 m_resourceTypesHasBeenSet =
true;
43 m_resourceTypes = std::forward<ResourceTypesT>(value);
45 template <
typename ResourceTypesT = Aws::Vector<Aws::String>>
50 template <
typename ResourceTypesT = Aws::String>
52 m_resourceTypesHasBeenSet =
true;
53 m_resourceTypes.emplace_back(std::forward<ResourceTypesT>(value));
60 inline int GetLimit()
const {
return m_limit; }
63 m_limitHasBeenSet =
true;
76 template <
typename LimitTypeT = Aws::String>
78 m_limitTypeHasBeenSet =
true;
79 m_limitType = std::forward<LimitTypeT>(value);
81 template <
typename LimitTypeT = Aws::String>
92 template <
typename MessageT = Aws::String>
94 m_messageHasBeenSet =
true;
95 m_message = std::forward<MessageT>(value);
97 template <
typename MessageT = Aws::String>
111 bool m_resourceTypesHasBeenSet =
false;
112 bool m_limitHasBeenSet =
false;
113 bool m_limitTypeHasBeenSet =
false;
114 bool m_messageHasBeenSet =
false;
bool MessageHasBeenSet() const
OpsItemLimitExceededException & AddResourceTypes(ResourceTypesT &&value)
bool LimitHasBeenSet() const
OpsItemLimitExceededException & WithLimitType(LimitTypeT &&value)
void SetLimitType(LimitTypeT &&value)
AWS_SSM_API OpsItemLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
OpsItemLimitExceededException & WithResourceTypes(ResourceTypesT &&value)
void SetMessage(MessageT &&value)
OpsItemLimitExceededException & WithMessage(MessageT &&value)
const Aws::String & GetLimitType() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API OpsItemLimitExceededException()=default
void SetResourceTypes(ResourceTypesT &&value)
OpsItemLimitExceededException & WithLimit(int value)
const Aws::Vector< Aws::String > & GetResourceTypes() const
bool LimitTypeHasBeenSet() const
AWS_SSM_API OpsItemLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
bool ResourceTypesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue