AWS SDK for C++  1.9.158
AWS SDK for C++
ConcurrentUpdatingException.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 ConcurrentUpdatingException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
59 
60 
61  inline ConcurrentUpdatingException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
62 
63 
64  inline ConcurrentUpdatingException& WithMessage(const char* value) { SetMessage(value); return *this;}
65 
66 
67 
68  inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 
70 
71  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
72 
73 
74  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
75 
76 
77  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
78 
79 
80  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
81 
82 
83  inline ConcurrentUpdatingException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 
85 
86  inline ConcurrentUpdatingException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 
88 
89  inline ConcurrentUpdatingException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 
91  private:
92 
93  Aws::String m_message;
94  bool m_messageHasBeenSet;
95 
96  Aws::String m_requestId;
97  bool m_requestIdHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace QuickSight
102 } // namespace Aws
Aws::QuickSight::Model::ConcurrentUpdatingException::WithMessage
ConcurrentUpdatingException & WithMessage(const char *value)
Definition: ConcurrentUpdatingException.h:64
Aws::QuickSight::Model::ConcurrentUpdatingException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ConcurrentUpdatingException.h:77
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ConcurrentUpdatingException::GetRequestId
const Aws::String & GetRequestId() const
Definition: ConcurrentUpdatingException.h:68
Aws::QuickSight::Model::ConcurrentUpdatingException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ConcurrentUpdatingException.h:74
Aws::QuickSight::Model::ConcurrentUpdatingException::ConcurrentUpdatingException
ConcurrentUpdatingException()
Aws::QuickSight::Model::ConcurrentUpdatingException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::ConcurrentUpdatingException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ConcurrentUpdatingException.h:46
Aws::QuickSight::Model::ConcurrentUpdatingException::SetMessage
void SetMessage(const char *value)
Definition: ConcurrentUpdatingException.h:55
Aws::QuickSight::Model::ConcurrentUpdatingException::GetMessage
const Aws::String & GetMessage() const
Definition: ConcurrentUpdatingException.h:43
Aws::QuickSight::Model::ConcurrentUpdatingException::operator=
ConcurrentUpdatingException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ConcurrentUpdatingException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ConcurrentUpdatingException.h:49
Aws::QuickSight::Model::ConcurrentUpdatingException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ConcurrentUpdatingException.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::ConcurrentUpdatingException::WithRequestId
ConcurrentUpdatingException & WithRequestId(Aws::String &&value)
Definition: ConcurrentUpdatingException.h:86
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::ConcurrentUpdatingException::ConcurrentUpdatingException
ConcurrentUpdatingException(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ConcurrentUpdatingException::WithRequestId
ConcurrentUpdatingException & WithRequestId(const char *value)
Definition: ConcurrentUpdatingException.h:89
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::ConcurrentUpdatingException::WithRequestId
ConcurrentUpdatingException & WithRequestId(const Aws::String &value)
Definition: ConcurrentUpdatingException.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ConcurrentUpdatingException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: ConcurrentUpdatingException.h:71
Aws::QuickSight::Model::ConcurrentUpdatingException::SetRequestId
void SetRequestId(const char *value)
Definition: ConcurrentUpdatingException.h:80
Aws::QuickSight::Model::ConcurrentUpdatingException
Definition: ConcurrentUpdatingException.h:34
Aws::QuickSight::Model::ConcurrentUpdatingException::WithMessage
ConcurrentUpdatingException & WithMessage(const Aws::String &value)
Definition: ConcurrentUpdatingException.h:58
Aws::QuickSight::Model::ConcurrentUpdatingException::WithMessage
ConcurrentUpdatingException & WithMessage(Aws::String &&value)
Definition: ConcurrentUpdatingException.h:61