AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PreparedStatementSummary.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ATHENA_API PreparedStatementSummary() = default;
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetStatementName() const { return m_statementName; }
47 inline bool StatementNameHasBeenSet() const { return m_statementNameHasBeenSet; }
48 template<typename StatementNameT = Aws::String>
49 void SetStatementName(StatementNameT&& value) { m_statementNameHasBeenSet = true; m_statementName = std::forward<StatementNameT>(value); }
50 template<typename StatementNameT = Aws::String>
51 PreparedStatementSummary& WithStatementName(StatementNameT&& value) { SetStatementName(std::forward<StatementNameT>(value)); return *this;}
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) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
62 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
63 PreparedStatementSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
65 private:
66
67 Aws::String m_statementName;
68 bool m_statementNameHasBeenSet = false;
69
70 Aws::Utils::DateTime m_lastModifiedTime{};
71 bool m_lastModifiedTimeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Athena
76} // 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