AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LFResourceDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/DatabaseLFTagPolicy.h>
9#include <aws/dataexchange/model/TableLFTagPolicy.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataExchange
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAEXCHANGE_API LFResourceDetails();
37 AWS_DATAEXCHANGE_API LFResourceDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAEXCHANGE_API LFResourceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const DatabaseLFTagPolicy& GetDatabase() const{ return m_database; }
48 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
49 inline void SetDatabase(const DatabaseLFTagPolicy& value) { m_databaseHasBeenSet = true; m_database = value; }
50 inline void SetDatabase(DatabaseLFTagPolicy&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
51 inline LFResourceDetails& WithDatabase(const DatabaseLFTagPolicy& value) { SetDatabase(value); return *this;}
52 inline LFResourceDetails& WithDatabase(DatabaseLFTagPolicy&& value) { SetDatabase(std::move(value)); return *this;}
54
56
60 inline const TableLFTagPolicy& GetTable() const{ return m_table; }
61 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
62 inline void SetTable(const TableLFTagPolicy& value) { m_tableHasBeenSet = true; m_table = value; }
63 inline void SetTable(TableLFTagPolicy&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
64 inline LFResourceDetails& WithTable(const TableLFTagPolicy& value) { SetTable(value); return *this;}
65 inline LFResourceDetails& WithTable(TableLFTagPolicy&& value) { SetTable(std::move(value)); return *this;}
67 private:
68
69 DatabaseLFTagPolicy m_database;
70 bool m_databaseHasBeenSet = false;
71
72 TableLFTagPolicy m_table;
73 bool m_tableHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataExchange
78} // namespace Aws
LFResourceDetails & WithTable(const TableLFTagPolicy &value)
LFResourceDetails & WithDatabase(const DatabaseLFTagPolicy &value)
LFResourceDetails & WithTable(TableLFTagPolicy &&value)
const TableLFTagPolicy & GetTable() const
AWS_DATAEXCHANGE_API LFResourceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
LFResourceDetails & WithDatabase(DatabaseLFTagPolicy &&value)
void SetDatabase(DatabaseLFTagPolicy &&value)
AWS_DATAEXCHANGE_API LFResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTable(const TableLFTagPolicy &value)
void SetTable(TableLFTagPolicy &&value)
void SetDatabase(const DatabaseLFTagPolicy &value)
const DatabaseLFTagPolicy & GetDatabase() const
Aws::Utils::Json::JsonValue JsonValue