AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
PreparedStatementSummary.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Athena {
21namespace Model {
22
30 public:
31 AWS_ATHENA_API PreparedStatementSummary() = default;
34 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetStatementName() const { return m_statementName; }
41 inline bool StatementNameHasBeenSet() const { return m_statementNameHasBeenSet; }
42 template <typename StatementNameT = Aws::String>
43 void SetStatementName(StatementNameT&& value) {
44 m_statementNameHasBeenSet = true;
45 m_statementName = std::forward<StatementNameT>(value);
46 }
47 template <typename StatementNameT = Aws::String>
49 SetStatementName(std::forward<StatementNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
59 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
60 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
61 void SetLastModifiedTime(LastModifiedTimeT&& value) {
62 m_lastModifiedTimeHasBeenSet = true;
63 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
64 }
65 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
66 PreparedStatementSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
67 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_statementName;
73
74 Aws::Utils::DateTime m_lastModifiedTime{};
75 bool m_statementNameHasBeenSet = false;
76 bool m_lastModifiedTimeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Athena
81} // namespace Aws
AWS_ATHENA_API PreparedStatementSummary()=default
AWS_ATHENA_API PreparedStatementSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
PreparedStatementSummary & WithStatementName(StatementNameT &&value)
PreparedStatementSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_ATHENA_API PreparedStatementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue