AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointUser.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINT_API EndpointUser();
38 AWS_PINPOINT_API EndpointUser(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
56 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetUserAttributes() const{ return m_userAttributes; }
57 inline bool UserAttributesHasBeenSet() const { return m_userAttributesHasBeenSet; }
58 inline void SetUserAttributes(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_userAttributesHasBeenSet = true; m_userAttributes = value; }
59 inline void SetUserAttributes(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_userAttributesHasBeenSet = true; m_userAttributes = std::move(value); }
62 inline EndpointUser& AddUserAttributes(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_userAttributesHasBeenSet = true; m_userAttributes.emplace(key, value); return *this; }
63 inline EndpointUser& AddUserAttributes(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_userAttributesHasBeenSet = true; m_userAttributes.emplace(std::move(key), value); return *this; }
64 inline EndpointUser& AddUserAttributes(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_userAttributesHasBeenSet = true; m_userAttributes.emplace(key, std::move(value)); return *this; }
65 inline EndpointUser& AddUserAttributes(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_userAttributesHasBeenSet = true; m_userAttributes.emplace(std::move(key), std::move(value)); return *this; }
66 inline EndpointUser& AddUserAttributes(const char* key, Aws::Vector<Aws::String>&& value) { m_userAttributesHasBeenSet = true; m_userAttributes.emplace(key, std::move(value)); return *this; }
67 inline EndpointUser& AddUserAttributes(const char* key, const Aws::Vector<Aws::String>& value) { m_userAttributesHasBeenSet = true; m_userAttributes.emplace(key, value); return *this; }
69
71
74 inline const Aws::String& GetUserId() const{ return m_userId; }
75 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
76 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
77 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
78 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
79 inline EndpointUser& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
80 inline EndpointUser& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
81 inline EndpointUser& WithUserId(const char* value) { SetUserId(value); return *this;}
83 private:
84
86 bool m_userAttributesHasBeenSet = false;
87
88 Aws::String m_userId;
89 bool m_userIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Pinpoint
94} // namespace Aws
EndpointUser & WithUserAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetUserId(Aws::String &&value)
EndpointUser & AddUserAttributes(Aws::String &&key, Aws::Vector< Aws::String > &&value)
AWS_PINPOINT_API EndpointUser & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointUser & WithUserId(Aws::String &&value)
const Aws::String & GetUserId() const
EndpointUser & WithUserId(const char *value)
void SetUserAttributes(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
EndpointUser & WithUserAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetUserId(const Aws::String &value)
EndpointUser & AddUserAttributes(const char *key, Aws::Vector< Aws::String > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointUser & AddUserAttributes(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetUserAttributes(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetUserAttributes() const
EndpointUser & AddUserAttributes(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetUserId(const char *value)
EndpointUser & AddUserAttributes(Aws::String &&key, const Aws::Vector< Aws::String > &value)
EndpointUser & AddUserAttributes(const char *key, const Aws::Vector< Aws::String > &value)
AWS_PINPOINT_API EndpointUser(Aws::Utils::Json::JsonView jsonValue)
EndpointUser & WithUserId(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue