7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename ResourceTypesT = Aws::Vector<Aws::String>>
47 void SetResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet =
true; m_resourceTypes = std::forward<ResourceTypesT>(value); }
48 template<
typename ResourceTypesT = Aws::Vector<Aws::String>>
50 template<
typename ResourceTypesT = Aws::String>
56 inline int GetLimit()
const {
return m_limit; }
58 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
66 template<
typename LimitTypeT = Aws::String>
67 void SetLimitType(LimitTypeT&& value) { m_limitTypeHasBeenSet =
true; m_limitType = std::forward<LimitTypeT>(value); }
68 template<
typename LimitTypeT = Aws::String>
76 template<
typename MessageT = Aws::String>
77 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
78 template<
typename MessageT = Aws::String>
84 bool m_resourceTypesHasBeenSet =
false;
87 bool m_limitHasBeenSet =
false;
90 bool m_limitTypeHasBeenSet =
false;
93 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