AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GroupingConfiguration.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 ConnectWisdomService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration() = default;
37 AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const Aws::String& GetCriteria() const { return m_criteria; }
55 inline bool CriteriaHasBeenSet() const { return m_criteriaHasBeenSet; }
56 template<typename CriteriaT = Aws::String>
57 void SetCriteria(CriteriaT&& value) { m_criteriaHasBeenSet = true; m_criteria = std::forward<CriteriaT>(value); }
58 template<typename CriteriaT = Aws::String>
59 GroupingConfiguration& WithCriteria(CriteriaT&& value) { SetCriteria(std::forward<CriteriaT>(value)); return *this;}
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) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
74 template<typename ValuesT = Aws::Vector<Aws::String>>
75 GroupingConfiguration& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
76 template<typename ValuesT = Aws::String>
77 GroupingConfiguration& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
79 private:
80
81 Aws::String m_criteria;
82 bool m_criteriaHasBeenSet = false;
83
85 bool m_valuesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ConnectWisdomService
90} // namespace Aws
AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration()=default
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
GroupingConfiguration & WithValues(ValuesT &&value)
AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupingConfiguration & WithCriteria(CriteriaT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue