AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TablePinnedFieldOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 TablePinnedFieldOptions() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetPinnedLeftFields() const { return m_pinnedLeftFields; }
47 inline bool PinnedLeftFieldsHasBeenSet() const { return m_pinnedLeftFieldsHasBeenSet; }
48 template<typename PinnedLeftFieldsT = Aws::Vector<Aws::String>>
49 void SetPinnedLeftFields(PinnedLeftFieldsT&& value) { m_pinnedLeftFieldsHasBeenSet = true; m_pinnedLeftFields = std::forward<PinnedLeftFieldsT>(value); }
50 template<typename PinnedLeftFieldsT = Aws::Vector<Aws::String>>
51 TablePinnedFieldOptions& WithPinnedLeftFields(PinnedLeftFieldsT&& value) { SetPinnedLeftFields(std::forward<PinnedLeftFieldsT>(value)); return *this;}
52 template<typename PinnedLeftFieldsT = Aws::String>
53 TablePinnedFieldOptions& AddPinnedLeftFields(PinnedLeftFieldsT&& value) { m_pinnedLeftFieldsHasBeenSet = true; m_pinnedLeftFields.emplace_back(std::forward<PinnedLeftFieldsT>(value)); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_pinnedLeftFields;
58 bool m_pinnedLeftFieldsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace QuickSight
63} // namespace Aws
AWS_QUICKSIGHT_API TablePinnedFieldOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetPinnedLeftFields() const
TablePinnedFieldOptions & AddPinnedLeftFields(PinnedLeftFieldsT &&value)
AWS_QUICKSIGHT_API TablePinnedFieldOptions()=default
TablePinnedFieldOptions & WithPinnedLeftFields(PinnedLeftFieldsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TablePinnedFieldOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue