AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TimestreamDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TimestreamQuery {
20namespace Model {
21
28 public:
29 AWS_TIMESTREAMQUERY_API TimestreamDestination() = default;
32 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
39 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
40 template <typename DatabaseNameT = Aws::String>
42 m_databaseNameHasBeenSet = true;
43 m_databaseName = std::forward<DatabaseNameT>(value);
44 }
45 template <typename DatabaseNameT = Aws::String>
47 SetDatabaseName(std::forward<DatabaseNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTableName() const { return m_tableName; }
57 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
58 template <typename TableNameT = Aws::String>
59 void SetTableName(TableNameT&& value) {
60 m_tableNameHasBeenSet = true;
61 m_tableName = std::forward<TableNameT>(value);
62 }
63 template <typename TableNameT = Aws::String>
65 SetTableName(std::forward<TableNameT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_databaseName;
71
72 Aws::String m_tableName;
73 bool m_databaseNameHasBeenSet = false;
74 bool m_tableNameHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace TimestreamQuery
79} // namespace Aws
TimestreamDestination & WithDatabaseName(DatabaseNameT &&value)
TimestreamDestination & WithTableName(TableNameT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API TimestreamDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API TimestreamDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API TimestreamDestination()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue