AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
User.h
1
6#pragma once
7#include <aws/personalize-events/PersonalizeEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PersonalizeEvents
22{
23namespace Model
24{
25
34 class User
35 {
36 public:
37 AWS_PERSONALIZEEVENTS_API User();
38 AWS_PERSONALIZEEVENTS_API User(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZEEVENTS_API User& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetUserId() const{ return m_userId; }
48 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
49 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
50 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
51 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
52 inline User& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
53 inline User& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
54 inline User& WithUserId(const char* value) { SetUserId(value); return *this;}
56
58
68 inline const Aws::String& GetProperties() const{ return m_properties; }
69 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
70 inline void SetProperties(const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties = value; }
71 inline void SetProperties(Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
72 inline void SetProperties(const char* value) { m_propertiesHasBeenSet = true; m_properties.assign(value); }
73 inline User& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
74 inline User& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
75 inline User& WithProperties(const char* value) { SetProperties(value); return *this;}
77 private:
78
79 Aws::String m_userId;
80 bool m_userIdHasBeenSet = false;
81
82 Aws::String m_properties;
83 bool m_propertiesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace PersonalizeEvents
88} // namespace Aws
void SetUserId(const Aws::String &value)
Definition User.h:49
void SetUserId(Aws::String &&value)
Definition User.h:50
AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
User & WithProperties(const char *value)
Definition User.h:75
const Aws::String & GetUserId() const
Definition User.h:47
AWS_PERSONALIZEEVENTS_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProperties(const Aws::String &value)
Definition User.h:70
User & WithUserId(const Aws::String &value)
Definition User.h:52
void SetProperties(const char *value)
Definition User.h:72
void SetUserId(const char *value)
Definition User.h:51
User & WithUserId(Aws::String &&value)
Definition User.h:53
AWS_PERSONALIZEEVENTS_API User()
AWS_PERSONALIZEEVENTS_API User(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProperties() const
Definition User.h:68
User & WithProperties(Aws::String &&value)
Definition User.h:74
void SetProperties(Aws::String &&value)
Definition User.h:71
User & WithUserId(const char *value)
Definition User.h:54
User & WithProperties(const Aws::String &value)
Definition User.h:73
bool PropertiesHasBeenSet() const
Definition User.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue