AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetElements(const Aws::Vector<GridLayoutElement>& value) { m_elementsHasBeenSet = true; m_elements = value; }
52 inline void SetElements(Aws::Vector<GridLayoutElement>&& value) { m_elementsHasBeenSet = true; m_elements = std::move(value); }
54 inline GridLayoutConfiguration& WithElements(Aws::Vector<GridLayoutElement>&& value) { SetElements(std::move(value)); return *this;}
55 inline GridLayoutConfiguration& AddElements(const GridLayoutElement& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; }
56 inline GridLayoutConfiguration& AddElements(GridLayoutElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; }
58
60
61 inline const GridLayoutCanvasSizeOptions& GetCanvasSizeOptions() const{ return m_canvasSizeOptions; }
62 inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; }
63 inline void SetCanvasSizeOptions(const GridLayoutCanvasSizeOptions& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = value; }
64 inline void SetCanvasSizeOptions(GridLayoutCanvasSizeOptions&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::move(value); }
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
GridLayoutConfiguration & WithCanvasSizeOptions(const GridLayoutCanvasSizeOptions &value)
void SetCanvasSizeOptions(const GridLayoutCanvasSizeOptions &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GridLayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetElements(Aws::Vector< GridLayoutElement > &&value)
AWS_QUICKSIGHT_API GridLayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const GridLayoutCanvasSizeOptions & GetCanvasSizeOptions() const
GridLayoutConfiguration & AddElements(const GridLayoutElement &value)
GridLayoutConfiguration & WithElements(Aws::Vector< GridLayoutElement > &&value)
void SetCanvasSizeOptions(GridLayoutCanvasSizeOptions &&value)
GridLayoutConfiguration & AddElements(GridLayoutElement &&value)
const Aws::Vector< GridLayoutElement > & GetElements() const
void SetElements(const Aws::Vector< GridLayoutElement > &value)
GridLayoutConfiguration & WithElements(const Aws::Vector< GridLayoutElement > &value)
GridLayoutConfiguration & WithCanvasSizeOptions(GridLayoutCanvasSizeOptions &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue