AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FreeFormSectionLayoutConfiguration.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/FreeFormLayoutElement.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API FreeFormSectionLayoutConfiguration() = default;
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 template<typename ElementsT = Aws::Vector<FreeFormLayoutElement>>
49 void SetElements(ElementsT&& value) { m_elementsHasBeenSet = true; m_elements = std::forward<ElementsT>(value); }
50 template<typename ElementsT = Aws::Vector<FreeFormLayoutElement>>
51 FreeFormSectionLayoutConfiguration& WithElements(ElementsT&& value) { SetElements(std::forward<ElementsT>(value)); return *this;}
52 template<typename ElementsT = FreeFormLayoutElement>
53 FreeFormSectionLayoutConfiguration& AddElements(ElementsT&& value) { m_elementsHasBeenSet = true; m_elements.emplace_back(std::forward<ElementsT>(value)); return *this; }
55 private:
56
58 bool m_elementsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace QuickSight
63} // namespace Aws
FreeFormSectionLayoutConfiguration & AddElements(ElementsT &&value)
AWS_QUICKSIGHT_API FreeFormSectionLayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API FreeFormSectionLayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API FreeFormSectionLayoutConfiguration()=default
FreeFormSectionLayoutConfiguration & WithElements(ElementsT &&value)
const Aws::Vector< FreeFormLayoutElement > & GetElements() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue