AWS SDK for C++  1.9.105
AWS SDK for C++
UnprocessedQueryExecutionId.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& GetQueryExecutionId() const{ return m_queryExecutionId; }
45 
49  inline bool QueryExecutionIdHasBeenSet() const { return m_queryExecutionIdHasBeenSet; }
50 
54  inline void SetQueryExecutionId(const Aws::String& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = value; }
55 
59  inline void SetQueryExecutionId(Aws::String&& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = std::move(value); }
60 
64  inline void SetQueryExecutionId(const char* value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId.assign(value); }
65 
69  inline UnprocessedQueryExecutionId& WithQueryExecutionId(const Aws::String& value) { SetQueryExecutionId(value); return *this;}
70 
74  inline UnprocessedQueryExecutionId& WithQueryExecutionId(Aws::String&& value) { SetQueryExecutionId(std::move(value)); return *this;}
75 
79  inline UnprocessedQueryExecutionId& WithQueryExecutionId(const char* value) { SetQueryExecutionId(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 UnprocessedQueryExecutionId& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
117 
122  inline UnprocessedQueryExecutionId& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
123 
128  inline UnprocessedQueryExecutionId& 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 UnprocessedQueryExecutionId& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
166 
171  inline UnprocessedQueryExecutionId& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
172 
177  inline UnprocessedQueryExecutionId& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
178 
179  private:
180 
181  Aws::String m_queryExecutionId;
182  bool m_queryExecutionIdHasBeenSet;
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::UnprocessedQueryExecutionId::WithErrorCode
UnprocessedQueryExecutionId & WithErrorCode(const Aws::String &value)
Definition: UnprocessedQueryExecutionId.h:116
Aws::Athena::Model::UnprocessedQueryExecutionId::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: UnprocessedQueryExecutionId.h:159
Aws::Athena::Model::UnprocessedQueryExecutionId::QueryExecutionIdHasBeenSet
bool QueryExecutionIdHasBeenSet() const
Definition: UnprocessedQueryExecutionId.h:49
Aws::Athena::Model::UnprocessedQueryExecutionId::WithQueryExecutionId
UnprocessedQueryExecutionId & WithQueryExecutionId(const Aws::String &value)
Definition: UnprocessedQueryExecutionId.h:69
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::UnprocessedQueryExecutionId::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: UnprocessedQueryExecutionId.h:147
Aws::Athena::Model::UnprocessedQueryExecutionId::UnprocessedQueryExecutionId
UnprocessedQueryExecutionId(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::UnprocessedQueryExecutionId::WithErrorCode
UnprocessedQueryExecutionId & WithErrorCode(Aws::String &&value)
Definition: UnprocessedQueryExecutionId.h:122
Aws::Athena::Model::UnprocessedQueryExecutionId::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::UnprocessedQueryExecutionId::WithErrorMessage
UnprocessedQueryExecutionId & WithErrorMessage(Aws::String &&value)
Definition: UnprocessedQueryExecutionId.h:171
Aws::Athena::Model::UnprocessedQueryExecutionId::WithQueryExecutionId
UnprocessedQueryExecutionId & WithQueryExecutionId(Aws::String &&value)
Definition: UnprocessedQueryExecutionId.h:74
Aws::Athena::Model::UnprocessedQueryExecutionId::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: UnprocessedQueryExecutionId.h:98
Aws::Athena::Model::UnprocessedQueryExecutionId
Definition: UnprocessedQueryExecutionId.h:33
Aws::Athena::Model::UnprocessedQueryExecutionId::GetQueryExecutionId
const Aws::String & GetQueryExecutionId() const
Definition: UnprocessedQueryExecutionId.h:44
Aws::Athena::Model::UnprocessedQueryExecutionId::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: UnprocessedQueryExecutionId.h:104
Aws::Athena::Model::UnprocessedQueryExecutionId::WithErrorCode
UnprocessedQueryExecutionId & WithErrorCode(const char *value)
Definition: UnprocessedQueryExecutionId.h:128
Aws::Athena::Model::UnprocessedQueryExecutionId::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: UnprocessedQueryExecutionId.h:135
Aws::Athena::Model::UnprocessedQueryExecutionId::SetQueryExecutionId
void SetQueryExecutionId(const Aws::String &value)
Definition: UnprocessedQueryExecutionId.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::UnprocessedQueryExecutionId::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: UnprocessedQueryExecutionId.h:92
Aws::Athena::Model::UnprocessedQueryExecutionId::WithErrorMessage
UnprocessedQueryExecutionId & WithErrorMessage(const char *value)
Definition: UnprocessedQueryExecutionId.h:177
Aws::Athena::Model::UnprocessedQueryExecutionId::WithQueryExecutionId
UnprocessedQueryExecutionId & WithQueryExecutionId(const char *value)
Definition: UnprocessedQueryExecutionId.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::UnprocessedQueryExecutionId::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: UnprocessedQueryExecutionId.h:86
Aws::Athena::Model::UnprocessedQueryExecutionId::UnprocessedQueryExecutionId
UnprocessedQueryExecutionId()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::UnprocessedQueryExecutionId::operator=
UnprocessedQueryExecutionId & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::UnprocessedQueryExecutionId::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: UnprocessedQueryExecutionId.h:141
Aws::Athena::Model::UnprocessedQueryExecutionId::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: UnprocessedQueryExecutionId.h:153
Aws::Athena::Model::UnprocessedQueryExecutionId::SetQueryExecutionId
void SetQueryExecutionId(const char *value)
Definition: UnprocessedQueryExecutionId.h:64
Aws::Athena::Model::UnprocessedQueryExecutionId::SetErrorCode
void SetErrorCode(const char *value)
Definition: UnprocessedQueryExecutionId.h:110
Aws::Athena::Model::UnprocessedQueryExecutionId::SetQueryExecutionId
void SetQueryExecutionId(Aws::String &&value)
Definition: UnprocessedQueryExecutionId.h:59
Aws::Athena::Model::UnprocessedQueryExecutionId::WithErrorMessage
UnprocessedQueryExecutionId & WithErrorMessage(const Aws::String &value)
Definition: UnprocessedQueryExecutionId.h:165