AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SheetVisualScopingConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/FilterVisualScope.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 SheetVisualScopingConfiguration() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSheetId() const { return m_sheetId; }
47 inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; }
48 template<typename SheetIdT = Aws::String>
49 void SetSheetId(SheetIdT&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::forward<SheetIdT>(value); }
50 template<typename SheetIdT = Aws::String>
51 SheetVisualScopingConfiguration& WithSheetId(SheetIdT&& value) { SetSheetId(std::forward<SheetIdT>(value)); return *this;}
53
55
60 inline FilterVisualScope GetScope() const { return m_scope; }
61 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
62 inline void SetScope(FilterVisualScope value) { m_scopeHasBeenSet = true; m_scope = value; }
65
67
70 inline const Aws::Vector<Aws::String>& GetVisualIds() const { return m_visualIds; }
71 inline bool VisualIdsHasBeenSet() const { return m_visualIdsHasBeenSet; }
72 template<typename VisualIdsT = Aws::Vector<Aws::String>>
73 void SetVisualIds(VisualIdsT&& value) { m_visualIdsHasBeenSet = true; m_visualIds = std::forward<VisualIdsT>(value); }
74 template<typename VisualIdsT = Aws::Vector<Aws::String>>
75 SheetVisualScopingConfiguration& WithVisualIds(VisualIdsT&& value) { SetVisualIds(std::forward<VisualIdsT>(value)); return *this;}
76 template<typename VisualIdsT = Aws::String>
77 SheetVisualScopingConfiguration& AddVisualIds(VisualIdsT&& value) { m_visualIdsHasBeenSet = true; m_visualIds.emplace_back(std::forward<VisualIdsT>(value)); return *this; }
79 private:
80
81 Aws::String m_sheetId;
82 bool m_sheetIdHasBeenSet = false;
83
85 bool m_scopeHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_visualIds;
88 bool m_visualIdsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace QuickSight
93} // namespace Aws
AWS_QUICKSIGHT_API SheetVisualScopingConfiguration()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SheetVisualScopingConfiguration & WithSheetId(SheetIdT &&value)
SheetVisualScopingConfiguration & WithVisualIds(VisualIdsT &&value)
SheetVisualScopingConfiguration & WithScope(FilterVisualScope value)
SheetVisualScopingConfiguration & AddVisualIds(VisualIdsT &&value)
AWS_QUICKSIGHT_API SheetVisualScopingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SheetVisualScopingConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue