AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TablePinnedFieldOptions.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API TablePinnedFieldOptions() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetPinnedLeftFields() const { return m_pinnedLeftFields; }
41 inline bool PinnedLeftFieldsHasBeenSet() const { return m_pinnedLeftFieldsHasBeenSet; }
42 template <typename PinnedLeftFieldsT = Aws::Vector<Aws::String>>
43 void SetPinnedLeftFields(PinnedLeftFieldsT&& value) {
44 m_pinnedLeftFieldsHasBeenSet = true;
45 m_pinnedLeftFields = std::forward<PinnedLeftFieldsT>(value);
46 }
47 template <typename PinnedLeftFieldsT = Aws::Vector<Aws::String>>
48 TablePinnedFieldOptions& WithPinnedLeftFields(PinnedLeftFieldsT&& value) {
49 SetPinnedLeftFields(std::forward<PinnedLeftFieldsT>(value));
50 return *this;
51 }
52 template <typename PinnedLeftFieldsT = Aws::String>
53 TablePinnedFieldOptions& AddPinnedLeftFields(PinnedLeftFieldsT&& value) {
54 m_pinnedLeftFieldsHasBeenSet = true;
55 m_pinnedLeftFields.emplace_back(std::forward<PinnedLeftFieldsT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Aws::String> m_pinnedLeftFields;
61 bool m_pinnedLeftFieldsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace QuickSight
66} // 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