AWS SDK for C++  1.9.158
AWS SDK for C++
InternalFailureException.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 
32  {
33  public:
38 
39 
40 
41  inline const Aws::String& GetMessage() const{ return m_message; }
42 
43 
44  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 
46 
47  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48 
49 
50  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
51 
52 
53  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
54 
55 
56  inline InternalFailureException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57 
58 
59  inline InternalFailureException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
60 
61 
62  inline InternalFailureException& WithMessage(const char* value) { SetMessage(value); return *this;}
63 
64 
68  inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 
73  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
74 
78  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
79 
83  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
84 
88  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
89 
93  inline InternalFailureException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 
98  inline InternalFailureException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 
103  inline InternalFailureException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
104 
105  private:
106 
107  Aws::String m_message;
108  bool m_messageHasBeenSet;
109 
110  Aws::String m_requestId;
111  bool m_requestIdHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace QuickSight
116 } // namespace Aws
Aws::QuickSight::Model::InternalFailureException::InternalFailureException
InternalFailureException(Aws::Utils::Json::JsonView jsonValue)
QuickSight_EXPORTS.h
Aws::QuickSight::Model::InternalFailureException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: InternalFailureException.h:44
Aws::QuickSight::Model::InternalFailureException::WithMessage
InternalFailureException & WithMessage(const Aws::String &value)
Definition: InternalFailureException.h:56
Aws::QuickSight::Model::InternalFailureException::WithRequestId
InternalFailureException & WithRequestId(Aws::String &&value)
Definition: InternalFailureException.h:98
Aws::QuickSight::Model::InternalFailureException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: InternalFailureException.h:73
Aws::QuickSight::Model::InternalFailureException::InternalFailureException
InternalFailureException()
Aws::QuickSight::Model::InternalFailureException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: InternalFailureException.h:78
Aws::QuickSight::Model::InternalFailureException::GetMessage
const Aws::String & GetMessage() const
Definition: InternalFailureException.h:41
Aws::QuickSight::Model::InternalFailureException::WithRequestId
InternalFailureException & WithRequestId(const char *value)
Definition: InternalFailureException.h:103
Aws::QuickSight::Model::InternalFailureException::SetMessage
void SetMessage(Aws::String &&value)
Definition: InternalFailureException.h:50
Aws::QuickSight::Model::InternalFailureException::SetMessage
void SetMessage(const Aws::String &value)
Definition: InternalFailureException.h:47
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::InternalFailureException::GetRequestId
const Aws::String & GetRequestId() const
Definition: InternalFailureException.h:68
Aws::QuickSight::Model::InternalFailureException::WithMessage
InternalFailureException & WithMessage(Aws::String &&value)
Definition: InternalFailureException.h:59
Aws::QuickSight::Model::InternalFailureException::WithRequestId
InternalFailureException & WithRequestId(const Aws::String &value)
Definition: InternalFailureException.h:93
Aws::QuickSight::Model::InternalFailureException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: InternalFailureException.h:83
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::InternalFailureException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::InternalFailureException::WithMessage
InternalFailureException & WithMessage(const char *value)
Definition: InternalFailureException.h:62
Aws::QuickSight::Model::InternalFailureException::SetMessage
void SetMessage(const char *value)
Definition: InternalFailureException.h:53
Aws::QuickSight::Model::InternalFailureException::operator=
InternalFailureException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::InternalFailureException
Definition: InternalFailureException.h:32
Aws::QuickSight::Model::InternalFailureException::SetRequestId
void SetRequestId(const char *value)
Definition: InternalFailureException.h:88