AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
BodySectionRepeatConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/BodySectionRepeatDimensionConfiguration.h>
11#include <aws/quicksight/model/BodySectionRepeatPageBreakConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API BodySectionRepeatConfiguration() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 return m_dimensionConfigurations;
46 }
47 inline bool DimensionConfigurationsHasBeenSet() const { return m_dimensionConfigurationsHasBeenSet; }
48 template <typename DimensionConfigurationsT = Aws::Vector<BodySectionRepeatDimensionConfiguration>>
49 void SetDimensionConfigurations(DimensionConfigurationsT&& value) {
50 m_dimensionConfigurationsHasBeenSet = true;
51 m_dimensionConfigurations = std::forward<DimensionConfigurationsT>(value);
52 }
53 template <typename DimensionConfigurationsT = Aws::Vector<BodySectionRepeatDimensionConfiguration>>
55 SetDimensionConfigurations(std::forward<DimensionConfigurationsT>(value));
56 return *this;
57 }
58 template <typename DimensionConfigurationsT = BodySectionRepeatDimensionConfiguration>
60 m_dimensionConfigurationsHasBeenSet = true;
61 m_dimensionConfigurations.emplace_back(std::forward<DimensionConfigurationsT>(value));
62 return *this;
63 }
65
67
70 inline const BodySectionRepeatPageBreakConfiguration& GetPageBreakConfiguration() const { return m_pageBreakConfiguration; }
71 inline bool PageBreakConfigurationHasBeenSet() const { return m_pageBreakConfigurationHasBeenSet; }
72 template <typename PageBreakConfigurationT = BodySectionRepeatPageBreakConfiguration>
73 void SetPageBreakConfiguration(PageBreakConfigurationT&& value) {
74 m_pageBreakConfigurationHasBeenSet = true;
75 m_pageBreakConfiguration = std::forward<PageBreakConfigurationT>(value);
76 }
77 template <typename PageBreakConfigurationT = BodySectionRepeatPageBreakConfiguration>
79 SetPageBreakConfiguration(std::forward<PageBreakConfigurationT>(value));
80 return *this;
81 }
83
85
90 inline const Aws::Vector<Aws::String>& GetNonRepeatingVisuals() const { return m_nonRepeatingVisuals; }
91 inline bool NonRepeatingVisualsHasBeenSet() const { return m_nonRepeatingVisualsHasBeenSet; }
92 template <typename NonRepeatingVisualsT = Aws::Vector<Aws::String>>
93 void SetNonRepeatingVisuals(NonRepeatingVisualsT&& value) {
94 m_nonRepeatingVisualsHasBeenSet = true;
95 m_nonRepeatingVisuals = std::forward<NonRepeatingVisualsT>(value);
96 }
97 template <typename NonRepeatingVisualsT = Aws::Vector<Aws::String>>
99 SetNonRepeatingVisuals(std::forward<NonRepeatingVisualsT>(value));
100 return *this;
101 }
102 template <typename NonRepeatingVisualsT = Aws::String>
104 m_nonRepeatingVisualsHasBeenSet = true;
105 m_nonRepeatingVisuals.emplace_back(std::forward<NonRepeatingVisualsT>(value));
106 return *this;
107 }
109 private:
111
112 BodySectionRepeatPageBreakConfiguration m_pageBreakConfiguration;
113
114 Aws::Vector<Aws::String> m_nonRepeatingVisuals;
115 bool m_dimensionConfigurationsHasBeenSet = false;
116 bool m_pageBreakConfigurationHasBeenSet = false;
117 bool m_nonRepeatingVisualsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // 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