AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcePolicyLimitExceededException.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
35 {
36 public:
41
42
44
45 inline int GetLimit() const{ return m_limit; }
46 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
47 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
48 inline ResourcePolicyLimitExceededException& WithLimit(int value) { SetLimit(value); return *this;}
50
52
53 inline const Aws::String& GetLimitType() const{ return m_limitType; }
54 inline bool LimitTypeHasBeenSet() const { return m_limitTypeHasBeenSet; }
55 inline void SetLimitType(const Aws::String& value) { m_limitTypeHasBeenSet = true; m_limitType = value; }
56 inline void SetLimitType(Aws::String&& value) { m_limitTypeHasBeenSet = true; m_limitType = std::move(value); }
57 inline void SetLimitType(const char* value) { m_limitTypeHasBeenSet = true; m_limitType.assign(value); }
58 inline ResourcePolicyLimitExceededException& WithLimitType(const Aws::String& value) { SetLimitType(value); return *this;}
59 inline ResourcePolicyLimitExceededException& WithLimitType(Aws::String&& value) { SetLimitType(std::move(value)); return *this;}
60 inline ResourcePolicyLimitExceededException& WithLimitType(const char* value) { SetLimitType(value); return *this;}
62
64
65 inline const Aws::String& GetMessage() const{ return m_message; }
66 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
67 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
68 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
69 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
70 inline ResourcePolicyLimitExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
71 inline ResourcePolicyLimitExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
72 inline ResourcePolicyLimitExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
74 private:
75
76 int m_limit;
77 bool m_limitHasBeenSet = false;
78
79 Aws::String m_limitType;
80 bool m_limitTypeHasBeenSet = false;
81
82 Aws::String m_message;
83 bool m_messageHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SSM
88} // namespace Aws
ResourcePolicyLimitExceededException & WithMessage(Aws::String &&value)
ResourcePolicyLimitExceededException & WithLimitType(const char *value)
ResourcePolicyLimitExceededException & WithLimitType(const Aws::String &value)
ResourcePolicyLimitExceededException & WithMessage(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourcePolicyLimitExceededException & WithLimitType(Aws::String &&value)
AWS_SSM_API ResourcePolicyLimitExceededException(Aws::Utils::Json::JsonView jsonValue)
ResourcePolicyLimitExceededException & WithMessage(const char *value)
ResourcePolicyLimitExceededException & WithLimit(int value)
AWS_SSM_API ResourcePolicyLimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue