AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalSearchKey.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_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 CustomerProfiles
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_CUSTOMERPROFILES_API AdditionalSearchKey();
43 AWS_CUSTOMERPROFILES_API AdditionalSearchKey(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CUSTOMERPROFILES_API AdditionalSearchKey& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetKeyName() const{ return m_keyName; }
53 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
54 inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
55 inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
56 inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
57 inline AdditionalSearchKey& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
58 inline AdditionalSearchKey& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
59 inline AdditionalSearchKey& WithKeyName(const char* value) { SetKeyName(value); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
67 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
68 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
69 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
70 inline AdditionalSearchKey& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
71 inline AdditionalSearchKey& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
72 inline AdditionalSearchKey& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
73 inline AdditionalSearchKey& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
74 inline AdditionalSearchKey& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
76 private:
77
78 Aws::String m_keyName;
79 bool m_keyNameHasBeenSet = false;
80
82 bool m_valuesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CustomerProfiles
87} // namespace Aws
void SetValues(Aws::Vector< Aws::String > &&value)
AdditionalSearchKey & WithKeyName(const Aws::String &value)
AdditionalSearchKey & WithValues(Aws::Vector< Aws::String > &&value)
AdditionalSearchKey & WithKeyName(Aws::String &&value)
AdditionalSearchKey & AddValues(const Aws::String &value)
AdditionalSearchKey & AddValues(Aws::String &&value)
const Aws::Vector< Aws::String > & GetValues() const
AWS_CUSTOMERPROFILES_API AdditionalSearchKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AdditionalSearchKey & WithKeyName(const char *value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AdditionalSearchKey & AddValues(const char *value)
AdditionalSearchKey & WithValues(const Aws::Vector< Aws::String > &value)
void SetValues(const Aws::Vector< Aws::String > &value)
AWS_CUSTOMERPROFILES_API AdditionalSearchKey(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