AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35 AWS_TIMESTREAMQUERY_API TimestreamDestination(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TIMESTREAMQUERY_API TimestreamDestination& operator=(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
47 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
48 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
49 inline TimestreamDestination& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
50 inline TimestreamDestination& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
51 inline TimestreamDestination& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
53
55
58 inline const Aws::String& GetTableName() const{ return m_tableName; }
59 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
60 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
61 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
62 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
63 inline TimestreamDestination& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
64 inline TimestreamDestination& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
65 inline TimestreamDestination& WithTableName(const char* value) { SetTableName(value); return *this;}
67 private:
68
69 Aws::String m_databaseName;
70 bool m_databaseNameHasBeenSet = false;
71
72 Aws::String m_tableName;
73 bool m_tableNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace TimestreamQuery
78} // namespace Aws
TimestreamDestination & WithTableName(const Aws::String &value)
TimestreamDestination & WithDatabaseName(const char *value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
TimestreamDestination & WithDatabaseName(Aws::String &&value)
TimestreamDestination & WithTableName(Aws::String &&value)
AWS_TIMESTREAMQUERY_API TimestreamDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestreamDestination & WithDatabaseName(const Aws::String &value)
AWS_TIMESTREAMQUERY_API TimestreamDestination(Aws::Utils::Json::JsonView jsonValue)
TimestreamDestination & WithTableName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue