AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CascadingControlConfiguration.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/CascadingControlSource.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
35 {
36 public:
37 AWS_QUICKSIGHT_API CascadingControlConfiguration();
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<CascadingControlSource>& GetSourceControls() const{ return m_sourceControls; }
49 inline bool SourceControlsHasBeenSet() const { return m_sourceControlsHasBeenSet; }
50 inline void SetSourceControls(const Aws::Vector<CascadingControlSource>& value) { m_sourceControlsHasBeenSet = true; m_sourceControls = value; }
51 inline void SetSourceControls(Aws::Vector<CascadingControlSource>&& value) { m_sourceControlsHasBeenSet = true; m_sourceControls = std::move(value); }
54 inline CascadingControlConfiguration& AddSourceControls(const CascadingControlSource& value) { m_sourceControlsHasBeenSet = true; m_sourceControls.push_back(value); return *this; }
55 inline CascadingControlConfiguration& AddSourceControls(CascadingControlSource&& value) { m_sourceControlsHasBeenSet = true; m_sourceControls.push_back(std::move(value)); return *this; }
57 private:
58
60 bool m_sourceControlsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace QuickSight
65} // namespace Aws
CascadingControlConfiguration & AddSourceControls(const CascadingControlSource &value)
AWS_QUICKSIGHT_API CascadingControlConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API CascadingControlConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceControls(const Aws::Vector< CascadingControlSource > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< CascadingControlSource > & GetSourceControls() const
CascadingControlConfiguration & WithSourceControls(const Aws::Vector< CascadingControlSource > &value)
CascadingControlConfiguration & WithSourceControls(Aws::Vector< CascadingControlSource > &&value)
void SetSourceControls(Aws::Vector< CascadingControlSource > &&value)
CascadingControlConfiguration & AddSourceControls(CascadingControlSource &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue