AWS SDK for C++  1.9.108
AWS SDK for C++
TooManyRequestsException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Organizations
22 {
23 namespace Model
24 {
25 
37  {
38  public:
43 
44 
45 
46  inline const Aws::String& GetType() const{ return m_type; }
47 
48 
49  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 
51 
52  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
53 
54 
55  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
56 
57 
58  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
59 
60 
61  inline TooManyRequestsException& WithType(const Aws::String& value) { SetType(value); return *this;}
62 
63 
64  inline TooManyRequestsException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
65 
66 
67  inline TooManyRequestsException& WithType(const char* value) { SetType(value); return *this;}
68 
69 
70 
71  inline const Aws::String& GetMessage() const{ return m_message; }
72 
73 
74  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
75 
76 
77  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
78 
79 
80  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
81 
82 
83  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
84 
85 
86  inline TooManyRequestsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
87 
88 
89  inline TooManyRequestsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
90 
91 
92  inline TooManyRequestsException& WithMessage(const char* value) { SetMessage(value); return *this;}
93 
94  private:
95 
96  Aws::String m_type;
97  bool m_typeHasBeenSet;
98 
99  Aws::String m_message;
100  bool m_messageHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace Organizations
105 } // namespace Aws
Aws::Organizations::Model::TooManyRequestsException::GetType
const Aws::String & GetType() const
Definition: TooManyRequestsException.h:46
Aws::Organizations::Model::TooManyRequestsException
Definition: TooManyRequestsException.h:37
Aws::Organizations::Model::TooManyRequestsException::WithType
TooManyRequestsException & WithType(const char *value)
Definition: TooManyRequestsException.h:67
Aws::Organizations::Model::TooManyRequestsException::SetType
void SetType(Aws::String &&value)
Definition: TooManyRequestsException.h:55
Aws::Organizations::Model::TooManyRequestsException::WithType
TooManyRequestsException & WithType(const Aws::String &value)
Definition: TooManyRequestsException.h:61
Aws::Organizations::Model::TooManyRequestsException::GetMessage
const Aws::String & GetMessage() const
Definition: TooManyRequestsException.h:71
Aws::Organizations::Model::TooManyRequestsException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::TooManyRequestsException::WithMessage
TooManyRequestsException & WithMessage(const char *value)
Definition: TooManyRequestsException.h:92
Aws::Organizations::Model::TooManyRequestsException::SetMessage
void SetMessage(Aws::String &&value)
Definition: TooManyRequestsException.h:80
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Organizations::Model::TooManyRequestsException::WithMessage
TooManyRequestsException & WithMessage(Aws::String &&value)
Definition: TooManyRequestsException.h:89
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Organizations::Model::TooManyRequestsException::TooManyRequestsException
TooManyRequestsException()
Aws
Definition: AccessManagementClient.h:15
Aws::Organizations::Model::TooManyRequestsException::TooManyRequestsException
TooManyRequestsException(Aws::Utils::Json::JsonView jsonValue)
Aws::Organizations::Model::TooManyRequestsException::WithMessage
TooManyRequestsException & WithMessage(const Aws::String &value)
Definition: TooManyRequestsException.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Organizations::Model::TooManyRequestsException::WithType
TooManyRequestsException & WithType(Aws::String &&value)
Definition: TooManyRequestsException.h:64
Organizations_EXPORTS.h
Aws::Organizations::Model::TooManyRequestsException::SetMessage
void SetMessage(const char *value)
Definition: TooManyRequestsException.h:83
Aws::Organizations::Model::TooManyRequestsException::SetType
void SetType(const Aws::String &value)
Definition: TooManyRequestsException.h:52
Aws::Organizations::Model::TooManyRequestsException::operator=
TooManyRequestsException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Organizations::Model::TooManyRequestsException::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: TooManyRequestsException.h:49
Aws::Organizations::Model::TooManyRequestsException::SetType
void SetType(const char *value)
Definition: TooManyRequestsException.h:58
Aws::Organizations::Model::TooManyRequestsException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: TooManyRequestsException.h:74
Aws::Organizations::Model::TooManyRequestsException::SetMessage
void SetMessage(const Aws::String &value)
Definition: TooManyRequestsException.h:77