AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedPreparedStatementName.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
46 inline const Aws::String& GetStatementName() const{ return m_statementName; }
47 inline bool StatementNameHasBeenSet() const { return m_statementNameHasBeenSet; }
48 inline void SetStatementName(const Aws::String& value) { m_statementNameHasBeenSet = true; m_statementName = value; }
49 inline void SetStatementName(Aws::String&& value) { m_statementNameHasBeenSet = true; m_statementName = std::move(value); }
50 inline void SetStatementName(const char* value) { m_statementNameHasBeenSet = true; m_statementName.assign(value); }
52 inline UnprocessedPreparedStatementName& WithStatementName(Aws::String&& value) { SetStatementName(std::move(value)); return *this;}
53 inline UnprocessedPreparedStatementName& WithStatementName(const char* value) { SetStatementName(value); return *this;}
55
57
61 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
62 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
63 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
64 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
65 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
66 inline UnprocessedPreparedStatementName& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
67 inline UnprocessedPreparedStatementName& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
68 inline UnprocessedPreparedStatementName& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
70
72
82 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
83 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
84 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
85 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
86 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
88 inline UnprocessedPreparedStatementName& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
89 inline UnprocessedPreparedStatementName& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
91 private:
92
93 Aws::String m_statementName;
94 bool m_statementNameHasBeenSet = false;
95
96 Aws::String m_errorCode;
97 bool m_errorCodeHasBeenSet = false;
98
99 Aws::String m_errorMessage;
100 bool m_errorMessageHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Athena
105} // namespace Aws
UnprocessedPreparedStatementName & WithErrorMessage(Aws::String &&value)
UnprocessedPreparedStatementName & WithStatementName(Aws::String &&value)
UnprocessedPreparedStatementName & WithStatementName(const char *value)
UnprocessedPreparedStatementName & WithErrorCode(const char *value)
UnprocessedPreparedStatementName & WithErrorCode(const Aws::String &value)
UnprocessedPreparedStatementName & WithErrorCode(Aws::String &&value)
AWS_ATHENA_API UnprocessedPreparedStatementName & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedPreparedStatementName & WithStatementName(const Aws::String &value)
UnprocessedPreparedStatementName & WithErrorMessage(const Aws::String &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API UnprocessedPreparedStatementName(Aws::Utils::Json::JsonView jsonValue)
UnprocessedPreparedStatementName & WithErrorMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue