AWS SDK for C++  1.9.158
AWS SDK for C++
LimitExceededException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace QuickSight
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
41 
42  inline const Aws::String& GetMessage() const{ return m_message; }
43 
44 
45  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 
47 
48  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
49 
50 
51  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
52 
53 
54  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
55 
56 
57  inline LimitExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
58 
59 
60  inline LimitExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 
62 
63  inline LimitExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
64 
65 
69  inline const ExceptionResourceType& GetResourceType() const{ return m_resourceType; }
70 
74  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
75 
79  inline void SetResourceType(const ExceptionResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
80 
84  inline void SetResourceType(ExceptionResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
85 
89  inline LimitExceededException& WithResourceType(const ExceptionResourceType& value) { SetResourceType(value); return *this;}
90 
94  inline LimitExceededException& WithResourceType(ExceptionResourceType&& value) { SetResourceType(std::move(value)); return *this;}
95 
96 
100  inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 
105  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
106 
110  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
111 
115  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
116 
120  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
121 
125  inline LimitExceededException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
126 
130  inline LimitExceededException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
131 
135  inline LimitExceededException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
136 
137  private:
138 
139  Aws::String m_message;
140  bool m_messageHasBeenSet;
141 
142  ExceptionResourceType m_resourceType;
143  bool m_resourceTypeHasBeenSet;
144 
145  Aws::String m_requestId;
146  bool m_requestIdHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace QuickSight
151 } // namespace Aws
Aws::QuickSight::Model::LimitExceededException::SetMessage
void SetMessage(const char *value)
Definition: LimitExceededException.h:54
QuickSight_EXPORTS.h
Aws::QuickSight::Model::LimitExceededException::WithMessage
LimitExceededException & WithMessage(const Aws::String &value)
Definition: LimitExceededException.h:57
Aws::QuickSight::Model::LimitExceededException::WithMessage
LimitExceededException & WithMessage(const char *value)
Definition: LimitExceededException.h:63
Aws::QuickSight::Model::LimitExceededException::WithRequestId
LimitExceededException & WithRequestId(Aws::String &&value)
Definition: LimitExceededException.h:130
Aws::QuickSight::Model::LimitExceededException::SetRequestId
void SetRequestId(const char *value)
Definition: LimitExceededException.h:120
Aws::QuickSight::Model::LimitExceededException::LimitExceededException
LimitExceededException(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::LimitExceededException::WithRequestId
LimitExceededException & WithRequestId(const Aws::String &value)
Definition: LimitExceededException.h:125
Aws::QuickSight::Model::LimitExceededException::SetResourceType
void SetResourceType(const ExceptionResourceType &value)
Definition: LimitExceededException.h:79
ExceptionResourceType.h
Aws::QuickSight::Model::LimitExceededException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::LimitExceededException::SetMessage
void SetMessage(Aws::String &&value)
Definition: LimitExceededException.h:51
Aws::QuickSight::Model::LimitExceededException::SetMessage
void SetMessage(const Aws::String &value)
Definition: LimitExceededException.h:48
Aws::QuickSight::Model::LimitExceededException::operator=
LimitExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::LimitExceededException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: LimitExceededException.h:105
Aws::QuickSight::Model::LimitExceededException::LimitExceededException
LimitExceededException()
Aws::QuickSight::Model::LimitExceededException::WithResourceType
LimitExceededException & WithResourceType(const ExceptionResourceType &value)
Definition: LimitExceededException.h:89
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::LimitExceededException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: LimitExceededException.h:45
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::LimitExceededException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: LimitExceededException.h:110
Aws::QuickSight::Model::LimitExceededException::WithMessage
LimitExceededException & WithMessage(Aws::String &&value)
Definition: LimitExceededException.h:60
Aws::QuickSight::Model::LimitExceededException::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: LimitExceededException.h:74
Aws::QuickSight::Model::LimitExceededException::GetResourceType
const ExceptionResourceType & GetResourceType() const
Definition: LimitExceededException.h:69
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::LimitExceededException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: LimitExceededException.h:115
Aws::QuickSight::Model::LimitExceededException::WithResourceType
LimitExceededException & WithResourceType(ExceptionResourceType &&value)
Definition: LimitExceededException.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::LimitExceededException
Definition: LimitExceededException.h:33
Aws::QuickSight::Model::LimitExceededException::GetMessage
const Aws::String & GetMessage() const
Definition: LimitExceededException.h:42
Aws::QuickSight::Model::LimitExceededException::GetRequestId
const Aws::String & GetRequestId() const
Definition: LimitExceededException.h:100
Aws::QuickSight::Model::LimitExceededException::SetResourceType
void SetResourceType(ExceptionResourceType &&value)
Definition: LimitExceededException.h:84
Aws::QuickSight::Model::ExceptionResourceType
ExceptionResourceType
Definition: ExceptionResourceType.h:17
Aws::QuickSight::Model::LimitExceededException::WithRequestId
LimitExceededException & WithRequestId(const char *value)
Definition: LimitExceededException.h:135