AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataTableSearchCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/StringCondition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API DataTableSearchCriteria() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<DataTableSearchCriteria>& GetOrConditions() const { return m_orConditions; }
40 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
41 template <typename OrConditionsT = Aws::Vector<DataTableSearchCriteria>>
42 void SetOrConditions(OrConditionsT&& value) {
43 m_orConditionsHasBeenSet = true;
44 m_orConditions = std::forward<OrConditionsT>(value);
45 }
46 template <typename OrConditionsT = Aws::Vector<DataTableSearchCriteria>>
47 DataTableSearchCriteria& WithOrConditions(OrConditionsT&& value) {
48 SetOrConditions(std::forward<OrConditionsT>(value));
49 return *this;
50 }
51 template <typename OrConditionsT = DataTableSearchCriteria>
52 DataTableSearchCriteria& AddOrConditions(OrConditionsT&& value) {
53 m_orConditionsHasBeenSet = true;
54 m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<DataTableSearchCriteria>& GetAndConditions() const { return m_andConditions; }
64 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
65 template <typename AndConditionsT = Aws::Vector<DataTableSearchCriteria>>
66 void SetAndConditions(AndConditionsT&& value) {
67 m_andConditionsHasBeenSet = true;
68 m_andConditions = std::forward<AndConditionsT>(value);
69 }
70 template <typename AndConditionsT = Aws::Vector<DataTableSearchCriteria>>
71 DataTableSearchCriteria& WithAndConditions(AndConditionsT&& value) {
72 SetAndConditions(std::forward<AndConditionsT>(value));
73 return *this;
74 }
75 template <typename AndConditionsT = DataTableSearchCriteria>
76 DataTableSearchCriteria& AddAndConditions(AndConditionsT&& value) {
77 m_andConditionsHasBeenSet = true;
78 m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
79 return *this;
80 }
82
84
85 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
86 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
87 template <typename StringConditionT = StringCondition>
88 void SetStringCondition(StringConditionT&& value) {
89 m_stringConditionHasBeenSet = true;
90 m_stringCondition = std::forward<StringConditionT>(value);
91 }
92 template <typename StringConditionT = StringCondition>
93 DataTableSearchCriteria& WithStringCondition(StringConditionT&& value) {
94 SetStringCondition(std::forward<StringConditionT>(value));
95 return *this;
96 }
98 private:
100
102
103 StringCondition m_stringCondition;
104 bool m_orConditionsHasBeenSet = false;
105 bool m_andConditionsHasBeenSet = false;
106 bool m_stringConditionHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Connect
111} // namespace Aws
AWS_CONNECT_API DataTableSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DataTableSearchCriteria > & GetOrConditions() const
DataTableSearchCriteria & AddOrConditions(OrConditionsT &&value)
AWS_CONNECT_API DataTableSearchCriteria()=default
DataTableSearchCriteria & AddAndConditions(AndConditionsT &&value)
const Aws::Vector< DataTableSearchCriteria > & GetAndConditions() const
DataTableSearchCriteria & WithAndConditions(AndConditionsT &&value)
DataTableSearchCriteria & WithOrConditions(OrConditionsT &&value)
DataTableSearchCriteria & WithStringCondition(StringConditionT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API DataTableSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue