AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchableContactAttributesCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKey() const{ return m_key; }
47 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
48 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
49 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
50 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
51 inline SearchableContactAttributesCriteria& WithKey(const Aws::String& value) { SetKey(value); return *this;}
52 inline SearchableContactAttributesCriteria& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
53 inline SearchableContactAttributesCriteria& WithKey(const char* value) { SetKey(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
61 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
62 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
63 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
65 inline SearchableContactAttributesCriteria& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
66 inline SearchableContactAttributesCriteria& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
67 inline SearchableContactAttributesCriteria& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
68 inline SearchableContactAttributesCriteria& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
70 private:
71
72 Aws::String m_key;
73 bool m_keyHasBeenSet = false;
74
76 bool m_valuesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
SearchableContactAttributesCriteria & WithKey(const Aws::String &value)
SearchableContactAttributesCriteria & AddValues(Aws::String &&value)
SearchableContactAttributesCriteria & WithValues(const Aws::Vector< Aws::String > &value)
SearchableContactAttributesCriteria & AddValues(const Aws::String &value)
AWS_CONNECT_API SearchableContactAttributesCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchableContactAttributesCriteria & WithKey(const char *value)
SearchableContactAttributesCriteria & WithValues(Aws::Vector< Aws::String > &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SearchableContactAttributesCriteria & AddValues(const char *value)
SearchableContactAttributesCriteria & WithKey(Aws::String &&value)
AWS_CONNECT_API SearchableContactAttributesCriteria(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue