AWS SDK for C++  1.9.158
AWS SDK for C++
ConflictException.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 
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 ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
58 
59 
60  inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 
62 
63  inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
64 
65 
69  inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 
74  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
75 
79  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
80 
84  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
85 
89  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
90 
94  inline ConflictException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 
99  inline ConflictException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 
104  inline ConflictException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_message;
109  bool m_messageHasBeenSet;
110 
111  Aws::String m_requestId;
112  bool m_requestIdHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace QuickSight
117 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ConflictException::WithMessage
ConflictException & WithMessage(Aws::String &&value)
Definition: ConflictException.h:60
Aws::QuickSight::Model::ConflictException::ConflictException
ConflictException()
Aws::QuickSight::Model::ConflictException::WithRequestId
ConflictException & WithRequestId(const char *value)
Definition: ConflictException.h:104
Aws::QuickSight::Model::ConflictException::GetRequestId
const Aws::String & GetRequestId() const
Definition: ConflictException.h:69
Aws::QuickSight::Model::ConflictException::SetMessage
void SetMessage(const char *value)
Definition: ConflictException.h:54
Aws::QuickSight::Model::ConflictException::WithRequestId
ConflictException & WithRequestId(Aws::String &&value)
Definition: ConflictException.h:99
Aws::QuickSight::Model::ConflictException::ConflictException
ConflictException(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ConflictException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: ConflictException.h:74
Aws::QuickSight::Model::ConflictException::SetRequestId
void SetRequestId(const char *value)
Definition: ConflictException.h:89
Aws::QuickSight::Model::ConflictException
Definition: ConflictException.h:33
Aws::QuickSight::Model::ConflictException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ConflictException.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::ConflictException::operator=
ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::ConflictException::WithMessage
ConflictException & WithMessage(const char *value)
Definition: ConflictException.h:63
Aws::QuickSight::Model::ConflictException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ConflictException.h:51
Aws::QuickSight::Model::ConflictException::WithMessage
ConflictException & WithMessage(const Aws::String &value)
Definition: ConflictException.h:57
Aws::QuickSight::Model::ConflictException::GetMessage
const Aws::String & GetMessage() const
Definition: ConflictException.h:42
Aws::QuickSight::Model::ConflictException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ConflictException.h:48
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::ConflictException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ConflictException.h:84
Aws::QuickSight::Model::ConflictException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ConflictException.h:45
Aws::QuickSight::Model::ConflictException::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::ConflictException::WithRequestId
ConflictException & WithRequestId(const Aws::String &value)
Definition: ConflictException.h:94