AWS SDK for C++  1.9.105
AWS SDK for C++
UnprocessedNamedQueryId.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 Athena
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetNamedQueryId() const{ return m_namedQueryId; }
45 
49  inline bool NamedQueryIdHasBeenSet() const { return m_namedQueryIdHasBeenSet; }
50 
54  inline void SetNamedQueryId(const Aws::String& value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId = value; }
55 
59  inline void SetNamedQueryId(Aws::String&& value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId = std::move(value); }
60 
64  inline void SetNamedQueryId(const char* value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId.assign(value); }
65 
69  inline UnprocessedNamedQueryId& WithNamedQueryId(const Aws::String& value) { SetNamedQueryId(value); return *this;}
70 
74  inline UnprocessedNamedQueryId& WithNamedQueryId(Aws::String&& value) { SetNamedQueryId(std::move(value)); return *this;}
75 
79  inline UnprocessedNamedQueryId& WithNamedQueryId(const char* value) { SetNamedQueryId(value); return *this;}
80 
81 
86  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
87 
92  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
93 
98  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
99 
104  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
105 
110  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
111 
116  inline UnprocessedNamedQueryId& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
117 
122  inline UnprocessedNamedQueryId& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
123 
128  inline UnprocessedNamedQueryId& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
129 
130 
135  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
136 
141  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
142 
147  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
148 
153  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
154 
159  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
160 
165  inline UnprocessedNamedQueryId& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
166 
171  inline UnprocessedNamedQueryId& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
172 
177  inline UnprocessedNamedQueryId& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
178 
179  private:
180 
181  Aws::String m_namedQueryId;
182  bool m_namedQueryIdHasBeenSet;
183 
184  Aws::String m_errorCode;
185  bool m_errorCodeHasBeenSet;
186 
187  Aws::String m_errorMessage;
188  bool m_errorMessageHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace Athena
193 } // namespace Aws
Aws::Athena::Model::UnprocessedNamedQueryId::SetNamedQueryId
void SetNamedQueryId(Aws::String &&value)
Definition: UnprocessedNamedQueryId.h:59
Aws::Athena::Model::UnprocessedNamedQueryId::WithNamedQueryId
UnprocessedNamedQueryId & WithNamedQueryId(Aws::String &&value)
Definition: UnprocessedNamedQueryId.h:74
Aws::Athena::Model::UnprocessedNamedQueryId::UnprocessedNamedQueryId
UnprocessedNamedQueryId(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::UnprocessedNamedQueryId::NamedQueryIdHasBeenSet
bool NamedQueryIdHasBeenSet() const
Definition: UnprocessedNamedQueryId.h:49
Aws::Athena::Model::UnprocessedNamedQueryId::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: UnprocessedNamedQueryId.h:147
Aws::Athena::Model::UnprocessedNamedQueryId::WithErrorCode
UnprocessedNamedQueryId & WithErrorCode(const Aws::String &value)
Definition: UnprocessedNamedQueryId.h:116
Aws::Athena::Model::UnprocessedNamedQueryId::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::UnprocessedNamedQueryId::operator=
UnprocessedNamedQueryId & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::UnprocessedNamedQueryId::WithNamedQueryId
UnprocessedNamedQueryId & WithNamedQueryId(const char *value)
Definition: UnprocessedNamedQueryId.h:79
Aws::Athena::Model::UnprocessedNamedQueryId::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: UnprocessedNamedQueryId.h:104
Aws::Athena::Model::UnprocessedNamedQueryId::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: UnprocessedNamedQueryId.h:98
Aws::Athena::Model::UnprocessedNamedQueryId::GetNamedQueryId
const Aws::String & GetNamedQueryId() const
Definition: UnprocessedNamedQueryId.h:44
Aws::Athena::Model::UnprocessedNamedQueryId::UnprocessedNamedQueryId
UnprocessedNamedQueryId()
Aws::Athena::Model::UnprocessedNamedQueryId::WithNamedQueryId
UnprocessedNamedQueryId & WithNamedQueryId(const Aws::String &value)
Definition: UnprocessedNamedQueryId.h:69
Aws::Athena::Model::UnprocessedNamedQueryId
Definition: UnprocessedNamedQueryId.h:33
Aws::Athena::Model::UnprocessedNamedQueryId::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: UnprocessedNamedQueryId.h:159
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::UnprocessedNamedQueryId::SetErrorCode
void SetErrorCode(const char *value)
Definition: UnprocessedNamedQueryId.h:110
Aws::Athena::Model::UnprocessedNamedQueryId::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: UnprocessedNamedQueryId.h:92
Aws::Athena::Model::UnprocessedNamedQueryId::WithErrorCode
UnprocessedNamedQueryId & WithErrorCode(const char *value)
Definition: UnprocessedNamedQueryId.h:128
Aws::Athena::Model::UnprocessedNamedQueryId::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: UnprocessedNamedQueryId.h:135
Aws::Athena::Model::UnprocessedNamedQueryId::WithErrorMessage
UnprocessedNamedQueryId & WithErrorMessage(const Aws::String &value)
Definition: UnprocessedNamedQueryId.h:165
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::UnprocessedNamedQueryId::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: UnprocessedNamedQueryId.h:141
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::UnprocessedNamedQueryId::SetNamedQueryId
void SetNamedQueryId(const char *value)
Definition: UnprocessedNamedQueryId.h:64
Aws::Athena::Model::UnprocessedNamedQueryId::WithErrorMessage
UnprocessedNamedQueryId & WithErrorMessage(const char *value)
Definition: UnprocessedNamedQueryId.h:177
Aws::Athena::Model::UnprocessedNamedQueryId::WithErrorMessage
UnprocessedNamedQueryId & WithErrorMessage(Aws::String &&value)
Definition: UnprocessedNamedQueryId.h:171
Aws::Athena::Model::UnprocessedNamedQueryId::SetNamedQueryId
void SetNamedQueryId(const Aws::String &value)
Definition: UnprocessedNamedQueryId.h:54
Aws::Athena::Model::UnprocessedNamedQueryId::WithErrorCode
UnprocessedNamedQueryId & WithErrorCode(Aws::String &&value)
Definition: UnprocessedNamedQueryId.h:122
Aws::Athena::Model::UnprocessedNamedQueryId::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: UnprocessedNamedQueryId.h:86
Aws::Athena::Model::UnprocessedNamedQueryId::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: UnprocessedNamedQueryId.h:153