AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
Layout.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/LayoutConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
32class Layout {
33 public:
34 AWS_QUICKSIGHT_API Layout() = default;
35 AWS_QUICKSIGHT_API Layout(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Layout& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const LayoutConfiguration& GetConfiguration() const { return m_configuration; }
44 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
45 template <typename ConfigurationT = LayoutConfiguration>
46 void SetConfiguration(ConfigurationT&& value) {
47 m_configurationHasBeenSet = true;
48 m_configuration = std::forward<ConfigurationT>(value);
49 }
50 template <typename ConfigurationT = LayoutConfiguration>
51 Layout& WithConfiguration(ConfigurationT&& value) {
52 SetConfiguration(std::forward<ConfigurationT>(value));
53 return *this;
54 }
56 private:
57 LayoutConfiguration m_configuration;
58 bool m_configurationHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace QuickSight
63} // namespace Aws
bool ConfigurationHasBeenSet() const
Definition Layout.h:44
Layout & WithConfiguration(ConfigurationT &&value)
Definition Layout.h:51
AWS_QUICKSIGHT_API Layout & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Layout(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguration(ConfigurationT &&value)
Definition Layout.h:46
const LayoutConfiguration & GetConfiguration() const
Definition Layout.h:43
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API Layout()=default
Aws::Utils::Json::JsonValue JsonValue