AWS SDK for C++  1.9.158
AWS SDK for C++
UnsupportedUserEditionException.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 QuickSight
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
44 
45  inline const Aws::String& GetMessage() const{ return m_message; }
46 
47 
48  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
49 
50 
51  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
52 
53 
54  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
55 
56 
57  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
58 
59 
60  inline UnsupportedUserEditionException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
61 
62 
63  inline UnsupportedUserEditionException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 
65 
66  inline UnsupportedUserEditionException& WithMessage(const char* value) { SetMessage(value); return *this;}
67 
68 
72  inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 
77  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
78 
82  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
83 
87  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
88 
92  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
93 
97  inline UnsupportedUserEditionException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 
102  inline UnsupportedUserEditionException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 
107  inline UnsupportedUserEditionException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 
109  private:
110 
111  Aws::String m_message;
112  bool m_messageHasBeenSet;
113 
114  Aws::String m_requestId;
115  bool m_requestIdHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace QuickSight
120 } // namespace Aws
Aws::QuickSight::Model::UnsupportedUserEditionException::SetRequestId
void SetRequestId(const char *value)
Definition: UnsupportedUserEditionException.h:92
Aws::QuickSight::Model::UnsupportedUserEditionException::SetMessage
void SetMessage(Aws::String &&value)
Definition: UnsupportedUserEditionException.h:54
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UnsupportedUserEditionException::operator=
UnsupportedUserEditionException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::UnsupportedUserEditionException::GetRequestId
const Aws::String & GetRequestId() const
Definition: UnsupportedUserEditionException.h:72
Aws::QuickSight::Model::UnsupportedUserEditionException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UnsupportedUserEditionException.h:82
Aws::QuickSight::Model::UnsupportedUserEditionException::WithRequestId
UnsupportedUserEditionException & WithRequestId(Aws::String &&value)
Definition: UnsupportedUserEditionException.h:102
Aws::QuickSight::Model::UnsupportedUserEditionException::WithRequestId
UnsupportedUserEditionException & WithRequestId(const Aws::String &value)
Definition: UnsupportedUserEditionException.h:97
Aws::QuickSight::Model::UnsupportedUserEditionException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: UnsupportedUserEditionException.h:48
Aws::QuickSight::Model::UnsupportedUserEditionException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::UnsupportedUserEditionException::SetMessage
void SetMessage(const char *value)
Definition: UnsupportedUserEditionException.h:57
Aws::QuickSight::Model::UnsupportedUserEditionException::WithMessage
UnsupportedUserEditionException & WithMessage(Aws::String &&value)
Definition: UnsupportedUserEditionException.h:63
Aws::QuickSight::Model::UnsupportedUserEditionException
Definition: UnsupportedUserEditionException.h:36
Aws::QuickSight::Model::UnsupportedUserEditionException::SetMessage
void SetMessage(const Aws::String &value)
Definition: UnsupportedUserEditionException.h:51
Aws::QuickSight::Model::UnsupportedUserEditionException::UnsupportedUserEditionException
UnsupportedUserEditionException(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::UnsupportedUserEditionException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UnsupportedUserEditionException.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
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::UnsupportedUserEditionException::UnsupportedUserEditionException
UnsupportedUserEditionException()
Aws::QuickSight::Model::UnsupportedUserEditionException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: UnsupportedUserEditionException.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UnsupportedUserEditionException::WithMessage
UnsupportedUserEditionException & WithMessage(const char *value)
Definition: UnsupportedUserEditionException.h:66
Aws::QuickSight::Model::UnsupportedUserEditionException::WithMessage
UnsupportedUserEditionException & WithMessage(const Aws::String &value)
Definition: UnsupportedUserEditionException.h:60
Aws::QuickSight::Model::UnsupportedUserEditionException::GetMessage
const Aws::String & GetMessage() const
Definition: UnsupportedUserEditionException.h:45
Aws::QuickSight::Model::UnsupportedUserEditionException::WithRequestId
UnsupportedUserEditionException & WithRequestId(const char *value)
Definition: UnsupportedUserEditionException.h:107