AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedQueryExecutionId.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Athena
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetQueryExecutionId() const{ return m_queryExecutionId; }
46 inline bool QueryExecutionIdHasBeenSet() const { return m_queryExecutionIdHasBeenSet; }
47 inline void SetQueryExecutionId(const Aws::String& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = value; }
48 inline void SetQueryExecutionId(Aws::String&& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = std::move(value); }
49 inline void SetQueryExecutionId(const char* value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId.assign(value); }
51 inline UnprocessedQueryExecutionId& WithQueryExecutionId(Aws::String&& value) { SetQueryExecutionId(std::move(value)); return *this;}
52 inline UnprocessedQueryExecutionId& WithQueryExecutionId(const char* value) { SetQueryExecutionId(value); return *this;}
54
56
60 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
61 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
62 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
63 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
64 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
65 inline UnprocessedQueryExecutionId& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
66 inline UnprocessedQueryExecutionId& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
67 inline UnprocessedQueryExecutionId& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
69
71
75 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
76 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
77 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
78 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
79 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
80 inline UnprocessedQueryExecutionId& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
81 inline UnprocessedQueryExecutionId& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
82 inline UnprocessedQueryExecutionId& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
84 private:
85
86 Aws::String m_queryExecutionId;
87 bool m_queryExecutionIdHasBeenSet = false;
88
89 Aws::String m_errorCode;
90 bool m_errorCodeHasBeenSet = false;
91
92 Aws::String m_errorMessage;
93 bool m_errorMessageHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Athena
98} // namespace Aws
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedQueryExecutionId & WithErrorMessage(Aws::String &&value)
UnprocessedQueryExecutionId & WithErrorCode(const Aws::String &value)
UnprocessedQueryExecutionId & WithQueryExecutionId(const Aws::String &value)
UnprocessedQueryExecutionId & WithErrorMessage(const char *value)
UnprocessedQueryExecutionId & WithQueryExecutionId(const char *value)
UnprocessedQueryExecutionId & WithQueryExecutionId(Aws::String &&value)
UnprocessedQueryExecutionId & WithErrorMessage(const Aws::String &value)
AWS_ATHENA_API UnprocessedQueryExecutionId & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedQueryExecutionId & WithErrorCode(const char *value)
UnprocessedQueryExecutionId & WithErrorCode(Aws::String &&value)
AWS_ATHENA_API UnprocessedQueryExecutionId(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue