AWS SDK for C++  1.9.158
AWS SDK for C++
PreparedStatementSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Athena
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetStatementName() const{ return m_statementName; }
46 
50  inline bool StatementNameHasBeenSet() const { return m_statementNameHasBeenSet; }
51 
55  inline void SetStatementName(const Aws::String& value) { m_statementNameHasBeenSet = true; m_statementName = value; }
56 
60  inline void SetStatementName(Aws::String&& value) { m_statementNameHasBeenSet = true; m_statementName = std::move(value); }
61 
65  inline void SetStatementName(const char* value) { m_statementNameHasBeenSet = true; m_statementName.assign(value); }
66 
70  inline PreparedStatementSummary& WithStatementName(const Aws::String& value) { SetStatementName(value); return *this;}
71 
75  inline PreparedStatementSummary& WithStatementName(Aws::String&& value) { SetStatementName(std::move(value)); return *this;}
76 
80  inline PreparedStatementSummary& WithStatementName(const char* value) { SetStatementName(value); return *this;}
81 
82 
86  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
87 
91  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
92 
96  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
97 
101  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
102 
106  inline PreparedStatementSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
107 
111  inline PreparedStatementSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_statementName;
116  bool m_statementNameHasBeenSet;
117 
118  Aws::Utils::DateTime m_lastModifiedTime;
119  bool m_lastModifiedTimeHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace Athena
124 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Athena::Model::PreparedStatementSummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: PreparedStatementSummary.h:101
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::PreparedStatementSummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: PreparedStatementSummary.h:86
Aws::Athena::Model::PreparedStatementSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::PreparedStatementSummary::WithLastModifiedTime
PreparedStatementSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: PreparedStatementSummary.h:111
Aws::Athena::Model::PreparedStatementSummary::PreparedStatementSummary
PreparedStatementSummary(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::Athena::Model::PreparedStatementSummary::operator=
PreparedStatementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::PreparedStatementSummary::GetStatementName
const Aws::String & GetStatementName() const
Definition: PreparedStatementSummary.h:45
Aws::Athena::Model::PreparedStatementSummary::SetStatementName
void SetStatementName(const Aws::String &value)
Definition: PreparedStatementSummary.h:55
Aws::Athena::Model::PreparedStatementSummary::WithLastModifiedTime
PreparedStatementSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: PreparedStatementSummary.h:106
Aws::Athena::Model::PreparedStatementSummary::WithStatementName
PreparedStatementSummary & WithStatementName(const char *value)
Definition: PreparedStatementSummary.h:80
Aws::Athena::Model::PreparedStatementSummary::WithStatementName
PreparedStatementSummary & WithStatementName(const Aws::String &value)
Definition: PreparedStatementSummary.h:70
Aws::Athena::Model::PreparedStatementSummary::PreparedStatementSummary
PreparedStatementSummary()
Aws::Athena::Model::PreparedStatementSummary::WithStatementName
PreparedStatementSummary & WithStatementName(Aws::String &&value)
Definition: PreparedStatementSummary.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::PreparedStatementSummary::StatementNameHasBeenSet
bool StatementNameHasBeenSet() const
Definition: PreparedStatementSummary.h:50
Aws::Athena::Model::PreparedStatementSummary::SetStatementName
void SetStatementName(const char *value)
Definition: PreparedStatementSummary.h:65
Aws::Athena::Model::PreparedStatementSummary::SetStatementName
void SetStatementName(Aws::String &&value)
Definition: PreparedStatementSummary.h:60
Aws::Athena::Model::PreparedStatementSummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: PreparedStatementSummary.h:91
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::PreparedStatementSummary
Definition: PreparedStatementSummary.h:34
Aws::Athena::Model::PreparedStatementSummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: PreparedStatementSummary.h:96