AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
51 inline PreparedStatementSummary& WithStatementName(const Aws::String& value) { SetStatementName(value); return *this;}
52 inline PreparedStatementSummary& WithStatementName(Aws::String&& value) { SetStatementName(std::move(value)); return *this;}
53 inline PreparedStatementSummary& WithStatementName(const char* value) { SetStatementName(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
61 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
62 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
63 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
67 private:
68
69 Aws::String m_statementName;
70 bool m_statementNameHasBeenSet = false;
71
72 Aws::Utils::DateTime m_lastModifiedTime;
73 bool m_lastModifiedTimeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Athena
78} // namespace Aws
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
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(Aws::String &&value)
PreparedStatementSummary & WithStatementName(const Aws::String &value)
PreparedStatementSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
PreparedStatementSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_ATHENA_API PreparedStatementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PreparedStatementSummary & WithStatementName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue