AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DestinationTable.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DestinationTableSource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API DestinationTable() = default;
32 AWS_QUICKSIGHT_API DestinationTable(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAlias() const { return m_alias; }
41 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
42 template <typename AliasT = Aws::String>
43 void SetAlias(AliasT&& value) {
44 m_aliasHasBeenSet = true;
45 m_alias = std::forward<AliasT>(value);
46 }
47 template <typename AliasT = Aws::String>
48 DestinationTable& WithAlias(AliasT&& value) {
49 SetAlias(std::forward<AliasT>(value));
50 return *this;
51 }
53
55
59 inline const DestinationTableSource& GetSource() const { return m_source; }
60 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
61 template <typename SourceT = DestinationTableSource>
62 void SetSource(SourceT&& value) {
63 m_sourceHasBeenSet = true;
64 m_source = std::forward<SourceT>(value);
65 }
66 template <typename SourceT = DestinationTableSource>
67 DestinationTable& WithSource(SourceT&& value) {
68 SetSource(std::forward<SourceT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_alias;
74
76 bool m_aliasHasBeenSet = false;
77 bool m_sourceHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
const DestinationTableSource & GetSource() const
AWS_QUICKSIGHT_API DestinationTable & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DestinationTable()=default
DestinationTable & WithAlias(AliasT &&value)
AWS_QUICKSIGHT_API DestinationTable(Aws::Utils::Json::JsonView jsonValue)
DestinationTable & WithSource(SourceT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue