AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryExecutionContext.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 QueryExecutionContext();
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetDatabase() const{ return m_database; }
47 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
48 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
49 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
50 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
51 inline QueryExecutionContext& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
52 inline QueryExecutionContext& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
53 inline QueryExecutionContext& WithDatabase(const char* value) { SetDatabase(value); return *this;}
55
57
60 inline const Aws::String& GetCatalog() const{ return m_catalog; }
61 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
62 inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
63 inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
64 inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
65 inline QueryExecutionContext& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
66 inline QueryExecutionContext& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
67 inline QueryExecutionContext& WithCatalog(const char* value) { SetCatalog(value); return *this;}
69 private:
70
71 Aws::String m_database;
72 bool m_databaseHasBeenSet = false;
73
74 Aws::String m_catalog;
75 bool m_catalogHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Athena
80} // namespace Aws
AWS_ATHENA_API QueryExecutionContext(Aws::Utils::Json::JsonView jsonValue)
QueryExecutionContext & WithCatalog(const char *value)
QueryExecutionContext & WithDatabase(const Aws::String &value)
QueryExecutionContext & WithDatabase(const char *value)
QueryExecutionContext & WithCatalog(Aws::String &&value)
AWS_ATHENA_API QueryExecutionContext & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
QueryExecutionContext & WithCatalog(const Aws::String &value)
QueryExecutionContext & WithDatabase(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue