AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCriteria(const Aws::String& value) { m_criteriaHasBeenSet = true; m_criteria = value; }
57 inline void SetCriteria(Aws::String&& value) { m_criteriaHasBeenSet = true; m_criteria = std::move(value); }
58 inline void SetCriteria(const char* value) { m_criteriaHasBeenSet = true; m_criteria.assign(value); }
59 inline GroupingConfiguration& WithCriteria(const Aws::String& value) { SetCriteria(value); return *this;}
60 inline GroupingConfiguration& WithCriteria(Aws::String&& value) { SetCriteria(std::move(value)); return *this;}
61 inline GroupingConfiguration& WithCriteria(const char* value) { SetCriteria(value); return *this;}
63
65
72 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
73 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
74 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
75 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
76 inline GroupingConfiguration& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
77 inline GroupingConfiguration& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
78 inline GroupingConfiguration& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
79 inline GroupingConfiguration& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
80 inline GroupingConfiguration& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
82 private:
83
84 Aws::String m_criteria;
85 bool m_criteriaHasBeenSet = false;
86
88 bool m_valuesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ConnectWisdomService
93} // namespace Aws
AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
GroupingConfiguration & WithValues(Aws::Vector< Aws::String > &&value)
GroupingConfiguration & WithCriteria(const Aws::String &value)
GroupingConfiguration & AddValues(const char *value)
GroupingConfiguration & WithCriteria(Aws::String &&value)
GroupingConfiguration & WithValues(const Aws::Vector< Aws::String > &value)
AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API GroupingConfiguration()
GroupingConfiguration & WithCriteria(const char *value)
GroupingConfiguration & AddValues(const Aws::String &value)
void SetValues(const Aws::Vector< Aws::String > &value)
GroupingConfiguration & AddValues(Aws::String &&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