AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GridLayoutConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/GridLayoutCanvasSizeOptions.h>
10#include <aws/quicksight/model/GridLayoutElement.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_QUICKSIGHT_API GridLayoutConfiguration() = default;
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<GridLayoutElement>& GetElements() const { return m_elements; }
50 inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; }
51 template<typename ElementsT = Aws::Vector<GridLayoutElement>>
52 void SetElements(ElementsT&& value) { m_elementsHasBeenSet = true; m_elements = std::forward<ElementsT>(value); }
53 template<typename ElementsT = Aws::Vector<GridLayoutElement>>
54 GridLayoutConfiguration& WithElements(ElementsT&& value) { SetElements(std::forward<ElementsT>(value)); return *this;}
55 template<typename ElementsT = GridLayoutElement>
56 GridLayoutConfiguration& AddElements(ElementsT&& value) { m_elementsHasBeenSet = true; m_elements.emplace_back(std::forward<ElementsT>(value)); return *this; }
58
60
61 inline const GridLayoutCanvasSizeOptions& GetCanvasSizeOptions() const { return m_canvasSizeOptions; }
62 inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; }
63 template<typename CanvasSizeOptionsT = GridLayoutCanvasSizeOptions>
64 void SetCanvasSizeOptions(CanvasSizeOptionsT&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::forward<CanvasSizeOptionsT>(value); }
65 template<typename CanvasSizeOptionsT = GridLayoutCanvasSizeOptions>
66 GridLayoutConfiguration& WithCanvasSizeOptions(CanvasSizeOptionsT&& value) { SetCanvasSizeOptions(std::forward<CanvasSizeOptionsT>(value)); return *this;}
68 private:
69
71 bool m_elementsHasBeenSet = false;
72
73 GridLayoutCanvasSizeOptions m_canvasSizeOptions;
74 bool m_canvasSizeOptionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GridLayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
GridLayoutConfiguration & AddElements(ElementsT &&value)
AWS_QUICKSIGHT_API GridLayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const GridLayoutCanvasSizeOptions & GetCanvasSizeOptions() const
const Aws::Vector< GridLayoutElement > & GetElements() const
GridLayoutConfiguration & WithCanvasSizeOptions(CanvasSizeOptionsT &&value)
AWS_QUICKSIGHT_API GridLayoutConfiguration()=default
GridLayoutConfiguration & WithElements(ElementsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue