AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FoundByKeyValue.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
37 {
38 public:
39 AWS_CUSTOMERPROFILES_API FoundByKeyValue();
40 AWS_CUSTOMERPROFILES_API FoundByKeyValue(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CUSTOMERPROFILES_API FoundByKeyValue& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetKeyName() const{ return m_keyName; }
50 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
51 inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
52 inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
53 inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
54 inline FoundByKeyValue& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
55 inline FoundByKeyValue& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
56 inline FoundByKeyValue& WithKeyName(const char* value) { SetKeyName(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
64 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
65 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
66 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
67 inline FoundByKeyValue& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
68 inline FoundByKeyValue& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
69 inline FoundByKeyValue& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
70 inline FoundByKeyValue& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
71 inline FoundByKeyValue& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
73 private:
74
75 Aws::String m_keyName;
76 bool m_keyNameHasBeenSet = false;
77
79 bool m_valuesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CustomerProfiles
84} // namespace Aws
AWS_CUSTOMERPROFILES_API FoundByKeyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
FoundByKeyValue & WithKeyName(const char *value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
FoundByKeyValue & AddValues(Aws::String &&value)
void SetKeyName(const Aws::String &value)
FoundByKeyValue & WithKeyName(const Aws::String &value)
FoundByKeyValue & WithKeyName(Aws::String &&value)
FoundByKeyValue & WithValues(const Aws::Vector< Aws::String > &value)
FoundByKeyValue & AddValues(const char *value)
void SetValues(Aws::Vector< Aws::String > &&value)
FoundByKeyValue & WithValues(Aws::Vector< Aws::String > &&value)
AWS_CUSTOMERPROFILES_API FoundByKeyValue(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
void SetValues(const Aws::Vector< Aws::String > &value)
AWS_CUSTOMERPROFILES_API FoundByKeyValue()
FoundByKeyValue & AddValues(const 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