AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataTableValueEvaluationSet.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/PrimaryValue.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
30 public:
31 AWS_CONNECT_API DataTableValueEvaluationSet() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<PrimaryValue>& GetPrimaryValues() const { return m_primaryValues; }
41 inline bool PrimaryValuesHasBeenSet() const { return m_primaryValuesHasBeenSet; }
42 template <typename PrimaryValuesT = Aws::Vector<PrimaryValue>>
43 void SetPrimaryValues(PrimaryValuesT&& value) {
44 m_primaryValuesHasBeenSet = true;
45 m_primaryValues = std::forward<PrimaryValuesT>(value);
46 }
47 template <typename PrimaryValuesT = Aws::Vector<PrimaryValue>>
49 SetPrimaryValues(std::forward<PrimaryValuesT>(value));
50 return *this;
51 }
52 template <typename PrimaryValuesT = PrimaryValue>
54 m_primaryValuesHasBeenSet = true;
55 m_primaryValues.emplace_back(std::forward<PrimaryValuesT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<Aws::String>& GetAttributeNames() const { return m_attributeNames; }
65 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
66 template <typename AttributeNamesT = Aws::Vector<Aws::String>>
67 void SetAttributeNames(AttributeNamesT&& value) {
68 m_attributeNamesHasBeenSet = true;
69 m_attributeNames = std::forward<AttributeNamesT>(value);
70 }
71 template <typename AttributeNamesT = Aws::Vector<Aws::String>>
73 SetAttributeNames(std::forward<AttributeNamesT>(value));
74 return *this;
75 }
76 template <typename AttributeNamesT = Aws::String>
78 m_attributeNamesHasBeenSet = true;
79 m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value));
80 return *this;
81 }
83 private:
84 Aws::Vector<PrimaryValue> m_primaryValues;
85
86 Aws::Vector<Aws::String> m_attributeNames;
87 bool m_primaryValuesHasBeenSet = false;
88 bool m_attributeNamesHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
DataTableValueEvaluationSet & WithPrimaryValues(PrimaryValuesT &&value)
AWS_CONNECT_API DataTableValueEvaluationSet()=default
AWS_CONNECT_API DataTableValueEvaluationSet & operator=(Aws::Utils::Json::JsonView jsonValue)
DataTableValueEvaluationSet & AddPrimaryValues(PrimaryValuesT &&value)
const Aws::Vector< Aws::String > & GetAttributeNames() const
AWS_CONNECT_API DataTableValueEvaluationSet(Aws::Utils::Json::JsonView jsonValue)
DataTableValueEvaluationSet & WithAttributeNames(AttributeNamesT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< PrimaryValue > & GetPrimaryValues() const
DataTableValueEvaluationSet & AddAttributeNames(AttributeNamesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue