AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FreeFormLayoutConfiguration.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/FreeFormLayoutCanvasSizeOptions.h>
10#include <aws/quicksight/model/FreeFormLayoutElement.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
34 {
35 public:
36 AWS_QUICKSIGHT_API FreeFormLayoutConfiguration();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<FreeFormLayoutElement>& GetElements() const{ return m_elements; }
47 inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; }
48 inline void SetElements(const Aws::Vector<FreeFormLayoutElement>& value) { m_elementsHasBeenSet = true; m_elements = value; }
49 inline void SetElements(Aws::Vector<FreeFormLayoutElement>&& value) { m_elementsHasBeenSet = true; m_elements = std::move(value); }
52 inline FreeFormLayoutConfiguration& AddElements(const FreeFormLayoutElement& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; }
53 inline FreeFormLayoutConfiguration& AddElements(FreeFormLayoutElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; }
55
57
58 inline const FreeFormLayoutCanvasSizeOptions& GetCanvasSizeOptions() const{ return m_canvasSizeOptions; }
59 inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; }
60 inline void SetCanvasSizeOptions(const FreeFormLayoutCanvasSizeOptions& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = value; }
61 inline void SetCanvasSizeOptions(FreeFormLayoutCanvasSizeOptions&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::move(value); }
65 private:
66
68 bool m_elementsHasBeenSet = false;
69
70 FreeFormLayoutCanvasSizeOptions m_canvasSizeOptions;
71 bool m_canvasSizeOptionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
FreeFormLayoutConfiguration & AddElements(FreeFormLayoutElement &&value)
void SetElements(const Aws::Vector< FreeFormLayoutElement > &value)
void SetElements(Aws::Vector< FreeFormLayoutElement > &&value)
FreeFormLayoutConfiguration & WithCanvasSizeOptions(const FreeFormLayoutCanvasSizeOptions &value)
void SetCanvasSizeOptions(FreeFormLayoutCanvasSizeOptions &&value)
FreeFormLayoutConfiguration & WithElements(const Aws::Vector< FreeFormLayoutElement > &value)
FreeFormLayoutConfiguration & WithElements(Aws::Vector< FreeFormLayoutElement > &&value)
const FreeFormLayoutCanvasSizeOptions & GetCanvasSizeOptions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FreeFormLayoutConfiguration & WithCanvasSizeOptions(FreeFormLayoutCanvasSizeOptions &&value)
AWS_QUICKSIGHT_API FreeFormLayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
FreeFormLayoutConfiguration & AddElements(const FreeFormLayoutElement &value)
const Aws::Vector< FreeFormLayoutElement > & GetElements() const
AWS_QUICKSIGHT_API FreeFormLayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCanvasSizeOptions(const FreeFormLayoutCanvasSizeOptions &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue