AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BodySectionRepeatConfiguration.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/BodySectionRepeatPageBreakConfiguration.h>
10#include <aws/quicksight/model/BodySectionRepeatDimensionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API BodySectionRepeatConfiguration() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<BodySectionRepeatDimensionConfiguration>& GetDimensionConfigurations() const { return m_dimensionConfigurations; }
51 inline bool DimensionConfigurationsHasBeenSet() const { return m_dimensionConfigurationsHasBeenSet; }
52 template<typename DimensionConfigurationsT = Aws::Vector<BodySectionRepeatDimensionConfiguration>>
53 void SetDimensionConfigurations(DimensionConfigurationsT&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = std::forward<DimensionConfigurationsT>(value); }
54 template<typename DimensionConfigurationsT = Aws::Vector<BodySectionRepeatDimensionConfiguration>>
55 BodySectionRepeatConfiguration& WithDimensionConfigurations(DimensionConfigurationsT&& value) { SetDimensionConfigurations(std::forward<DimensionConfigurationsT>(value)); return *this;}
56 template<typename DimensionConfigurationsT = BodySectionRepeatDimensionConfiguration>
57 BodySectionRepeatConfiguration& AddDimensionConfigurations(DimensionConfigurationsT&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.emplace_back(std::forward<DimensionConfigurationsT>(value)); return *this; }
59
61
64 inline const BodySectionRepeatPageBreakConfiguration& GetPageBreakConfiguration() const { return m_pageBreakConfiguration; }
65 inline bool PageBreakConfigurationHasBeenSet() const { return m_pageBreakConfigurationHasBeenSet; }
66 template<typename PageBreakConfigurationT = BodySectionRepeatPageBreakConfiguration>
67 void SetPageBreakConfiguration(PageBreakConfigurationT&& value) { m_pageBreakConfigurationHasBeenSet = true; m_pageBreakConfiguration = std::forward<PageBreakConfigurationT>(value); }
68 template<typename PageBreakConfigurationT = BodySectionRepeatPageBreakConfiguration>
69 BodySectionRepeatConfiguration& WithPageBreakConfiguration(PageBreakConfigurationT&& value) { SetPageBreakConfiguration(std::forward<PageBreakConfigurationT>(value)); return *this;}
71
73
78 inline const Aws::Vector<Aws::String>& GetNonRepeatingVisuals() const { return m_nonRepeatingVisuals; }
79 inline bool NonRepeatingVisualsHasBeenSet() const { return m_nonRepeatingVisualsHasBeenSet; }
80 template<typename NonRepeatingVisualsT = Aws::Vector<Aws::String>>
81 void SetNonRepeatingVisuals(NonRepeatingVisualsT&& value) { m_nonRepeatingVisualsHasBeenSet = true; m_nonRepeatingVisuals = std::forward<NonRepeatingVisualsT>(value); }
82 template<typename NonRepeatingVisualsT = Aws::Vector<Aws::String>>
83 BodySectionRepeatConfiguration& WithNonRepeatingVisuals(NonRepeatingVisualsT&& value) { SetNonRepeatingVisuals(std::forward<NonRepeatingVisualsT>(value)); return *this;}
84 template<typename NonRepeatingVisualsT = Aws::String>
85 BodySectionRepeatConfiguration& AddNonRepeatingVisuals(NonRepeatingVisualsT&& value) { m_nonRepeatingVisualsHasBeenSet = true; m_nonRepeatingVisuals.emplace_back(std::forward<NonRepeatingVisualsT>(value)); return *this; }
87 private:
88
90 bool m_dimensionConfigurationsHasBeenSet = false;
91
92 BodySectionRepeatPageBreakConfiguration m_pageBreakConfiguration;
93 bool m_pageBreakConfigurationHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_nonRepeatingVisuals;
96 bool m_nonRepeatingVisualsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
BodySectionRepeatConfiguration & AddDimensionConfigurations(DimensionConfigurationsT &&value)
BodySectionRepeatConfiguration & WithDimensionConfigurations(DimensionConfigurationsT &&value)
BodySectionRepeatConfiguration & WithNonRepeatingVisuals(NonRepeatingVisualsT &&value)
BodySectionRepeatConfiguration & WithPageBreakConfiguration(PageBreakConfigurationT &&value)
AWS_QUICKSIGHT_API BodySectionRepeatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BodySectionRepeatDimensionConfiguration > & GetDimensionConfigurations() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API BodySectionRepeatConfiguration(Aws::Utils::Json::JsonView jsonValue)
BodySectionRepeatConfiguration & AddNonRepeatingVisuals(NonRepeatingVisualsT &&value)
const BodySectionRepeatPageBreakConfiguration & GetPageBreakConfiguration() const
AWS_QUICKSIGHT_API BodySectionRepeatConfiguration()=default
const Aws::Vector< Aws::String > & GetNonRepeatingVisuals() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue