AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TimestreamDestination.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_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 TimestreamQuery
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_TIMESTREAMQUERY_API TimestreamDestination() = default;
37 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
45 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
46 template<typename DatabaseNameT = Aws::String>
47 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
48 template<typename DatabaseNameT = Aws::String>
49 TimestreamDestination& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
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) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
60 template<typename TableNameT = Aws::String>
61 TimestreamDestination& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
63 private:
64
65 Aws::String m_databaseName;
66 bool m_databaseNameHasBeenSet = false;
67
68 Aws::String m_tableName;
69 bool m_tableNameHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace TimestreamQuery
74} // 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