AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UnprocessedNamedQueryId.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:
35 AWS_ATHENA_API UnprocessedNamedQueryId() = default;
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetNamedQueryId() const { return m_namedQueryId; }
46 inline bool NamedQueryIdHasBeenSet() const { return m_namedQueryIdHasBeenSet; }
47 template<typename NamedQueryIdT = Aws::String>
48 void SetNamedQueryId(NamedQueryIdT&& value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId = std::forward<NamedQueryIdT>(value); }
49 template<typename NamedQueryIdT = Aws::String>
50 UnprocessedNamedQueryId& WithNamedQueryId(NamedQueryIdT&& value) { SetNamedQueryId(std::forward<NamedQueryIdT>(value)); return *this;}
52
54
58 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
59 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
60 template<typename ErrorCodeT = Aws::String>
61 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
62 template<typename ErrorCodeT = Aws::String>
63 UnprocessedNamedQueryId& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
65
67
71 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
72 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
73 template<typename ErrorMessageT = Aws::String>
74 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
75 template<typename ErrorMessageT = Aws::String>
76 UnprocessedNamedQueryId& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
78 private:
79
80 Aws::String m_namedQueryId;
81 bool m_namedQueryIdHasBeenSet = false;
82
83 Aws::String m_errorCode;
84 bool m_errorCodeHasBeenSet = false;
85
86 Aws::String m_errorMessage;
87 bool m_errorMessageHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Athena
92} // namespace Aws
AWS_ATHENA_API UnprocessedNamedQueryId(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API UnprocessedNamedQueryId & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedNamedQueryId & WithErrorCode(ErrorCodeT &&value)
UnprocessedNamedQueryId & WithNamedQueryId(NamedQueryIdT &&value)
AWS_ATHENA_API UnprocessedNamedQueryId()=default
UnprocessedNamedQueryId & WithErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue