7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 inline int GetLimit()
const {
return m_limit; }
47 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
55 template<
typename LimitTypeT = Aws::String>
56 void SetLimitType(LimitTypeT&& value) { m_limitTypeHasBeenSet =
true; m_limitType = std::forward<LimitTypeT>(value); }
57 template<
typename LimitTypeT = Aws::String>
65 template<
typename MessageT = Aws::String>
66 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
67 template<
typename MessageT = Aws::String>
73 bool m_limitHasBeenSet =
false;
76 bool m_limitTypeHasBeenSet =
false;
79 bool m_messageHasBeenSet =
false;
bool MessageHasBeenSet() const
const Aws::String & GetLimitType() const
bool LimitHasBeenSet() const
ResourcePolicyLimitExceededException & WithLimitType(LimitTypeT &&value)
bool LimitTypeHasBeenSet() const
const Aws::String & GetMessage() const
AWS_SSM_API ResourcePolicyLimitExceededException()=default
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API ResourcePolicyLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
ResourcePolicyLimitExceededException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
ResourcePolicyLimitExceededException & WithLimit(int value)
AWS_SSM_API ResourcePolicyLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLimitType(LimitTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue