AWS SDK for C++  1.9.158
AWS SDK for C++
DomainNotWhitelistedException.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 
34  {
35  public:
40 
41 
42 
43  inline const Aws::String& GetMessage() const{ return m_message; }
44 
45 
46  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 
48 
49  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
50 
51 
52  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
53 
54 
55  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
56 
57 
58  inline DomainNotWhitelistedException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
59 
60 
61  inline DomainNotWhitelistedException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
62 
63 
64  inline DomainNotWhitelistedException& WithMessage(const char* value) { SetMessage(value); return *this;}
65 
66 
70  inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 
75  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
76 
80  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
81 
85  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
86 
90  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
91 
95  inline DomainNotWhitelistedException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 
100  inline DomainNotWhitelistedException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 
105  inline DomainNotWhitelistedException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 
107  private:
108 
109  Aws::String m_message;
110  bool m_messageHasBeenSet;
111 
112  Aws::String m_requestId;
113  bool m_requestIdHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace QuickSight
118 } // namespace Aws
Aws::QuickSight::Model::DomainNotWhitelistedException::DomainNotWhitelistedException
DomainNotWhitelistedException()
Aws::QuickSight::Model::DomainNotWhitelistedException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DomainNotWhitelistedException.h:80
Aws::QuickSight::Model::DomainNotWhitelistedException::SetMessage
void SetMessage(const Aws::String &value)
Definition: DomainNotWhitelistedException.h:49
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DomainNotWhitelistedException::operator=
DomainNotWhitelistedException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DomainNotWhitelistedException::WithMessage
DomainNotWhitelistedException & WithMessage(Aws::String &&value)
Definition: DomainNotWhitelistedException.h:61
Aws::QuickSight::Model::DomainNotWhitelistedException::WithMessage
DomainNotWhitelistedException & WithMessage(const char *value)
Definition: DomainNotWhitelistedException.h:64
Aws::QuickSight::Model::DomainNotWhitelistedException::GetRequestId
const Aws::String & GetRequestId() const
Definition: DomainNotWhitelistedException.h:70
Aws::QuickSight::Model::DomainNotWhitelistedException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::DomainNotWhitelistedException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: DomainNotWhitelistedException.h:46
Aws::QuickSight::Model::DomainNotWhitelistedException::DomainNotWhitelistedException
DomainNotWhitelistedException(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DomainNotWhitelistedException::WithRequestId
DomainNotWhitelistedException & WithRequestId(const Aws::String &value)
Definition: DomainNotWhitelistedException.h:95
Aws::QuickSight::Model::DomainNotWhitelistedException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: DomainNotWhitelistedException.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::DomainNotWhitelistedException::SetMessage
void SetMessage(const char *value)
Definition: DomainNotWhitelistedException.h:55
Aws::QuickSight::Model::DomainNotWhitelistedException::WithRequestId
DomainNotWhitelistedException & WithRequestId(Aws::String &&value)
Definition: DomainNotWhitelistedException.h:100
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::QuickSight::Model::DomainNotWhitelistedException::WithRequestId
DomainNotWhitelistedException & WithRequestId(const char *value)
Definition: DomainNotWhitelistedException.h:105
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DomainNotWhitelistedException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DomainNotWhitelistedException.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DomainNotWhitelistedException::WithMessage
DomainNotWhitelistedException & WithMessage(const Aws::String &value)
Definition: DomainNotWhitelistedException.h:58
Aws::QuickSight::Model::DomainNotWhitelistedException::SetRequestId
void SetRequestId(const char *value)
Definition: DomainNotWhitelistedException.h:90
Aws::QuickSight::Model::DomainNotWhitelistedException
Definition: DomainNotWhitelistedException.h:34
Aws::QuickSight::Model::DomainNotWhitelistedException::SetMessage
void SetMessage(Aws::String &&value)
Definition: DomainNotWhitelistedException.h:52
Aws::QuickSight::Model::DomainNotWhitelistedException::GetMessage
const Aws::String & GetMessage() const
Definition: DomainNotWhitelistedException.h:43