AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GroupingConfiguration.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/qconnect/QConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
30 public:
31 AWS_QCONNECT_API GroupingConfiguration() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
48 inline const Aws::String& GetCriteria() const { return m_criteria; }
49 inline bool CriteriaHasBeenSet() const { return m_criteriaHasBeenSet; }
50 template <typename CriteriaT = Aws::String>
51 void SetCriteria(CriteriaT&& value) {
52 m_criteriaHasBeenSet = true;
53 m_criteria = std::forward<CriteriaT>(value);
54 }
55 template <typename CriteriaT = Aws::String>
57 SetCriteria(std::forward<CriteriaT>(value));
58 return *this;
59 }
61
63
70 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
71 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
72 template <typename ValuesT = Aws::Vector<Aws::String>>
73 void SetValues(ValuesT&& value) {
74 m_valuesHasBeenSet = true;
75 m_values = std::forward<ValuesT>(value);
76 }
77 template <typename ValuesT = Aws::Vector<Aws::String>>
79 SetValues(std::forward<ValuesT>(value));
80 return *this;
81 }
82 template <typename ValuesT = Aws::String>
84 m_valuesHasBeenSet = true;
85 m_values.emplace_back(std::forward<ValuesT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_criteria;
91
93 bool m_criteriaHasBeenSet = false;
94 bool m_valuesHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace QConnect
99} // namespace Aws
GroupingConfiguration & AddValues(ValuesT &&value)
GroupingConfiguration & WithCriteria(CriteriaT &&value)
AWS_QCONNECT_API GroupingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API GroupingConfiguration()=default
AWS_QCONNECT_API GroupingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
GroupingConfiguration & WithValues(ValuesT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue