AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Item.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 Item
35 {
36 public:
37 AWS_PERSONALIZEEVENTS_API Item();
38 AWS_PERSONALIZEEVENTS_API Item(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZEEVENTS_API Item& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetItemId() const{ return m_itemId; }
48 inline bool ItemIdHasBeenSet() const { return m_itemIdHasBeenSet; }
49 inline void SetItemId(const Aws::String& value) { m_itemIdHasBeenSet = true; m_itemId = value; }
50 inline void SetItemId(Aws::String&& value) { m_itemIdHasBeenSet = true; m_itemId = std::move(value); }
51 inline void SetItemId(const char* value) { m_itemIdHasBeenSet = true; m_itemId.assign(value); }
52 inline Item& WithItemId(const Aws::String& value) { SetItemId(value); return *this;}
53 inline Item& WithItemId(Aws::String&& value) { SetItemId(std::move(value)); return *this;}
54 inline Item& WithItemId(const char* value) { SetItemId(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 Item& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
74 inline Item& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
75 inline Item& WithProperties(const char* value) { SetProperties(value); return *this;}
77 private:
78
79 Aws::String m_itemId;
80 bool m_itemIdHasBeenSet = false;
81
82 Aws::String m_properties;
83 bool m_propertiesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace PersonalizeEvents
88} // namespace Aws
Item & WithItemId(const char *value)
Definition Item.h:54
void SetProperties(const Aws::String &value)
Definition Item.h:70
AWS_PERSONALIZEEVENTS_API Item()
Item & WithProperties(const char *value)
Definition Item.h:75
void SetItemId(Aws::String &&value)
Definition Item.h:50
Item & WithItemId(const Aws::String &value)
Definition Item.h:52
Item & WithProperties(Aws::String &&value)
Definition Item.h:74
const Aws::String & GetProperties() const
Definition Item.h:68
Item & WithItemId(Aws::String &&value)
Definition Item.h:53
void SetProperties(const char *value)
Definition Item.h:72
bool PropertiesHasBeenSet() const
Definition Item.h:69
void SetItemId(const char *value)
Definition Item.h:51
AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetItemId() const
Definition Item.h:47
AWS_PERSONALIZEEVENTS_API Item(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZEEVENTS_API Item & operator=(Aws::Utils::Json::JsonView jsonValue)
Item & WithProperties(const Aws::String &value)
Definition Item.h:73
void SetItemId(const Aws::String &value)
Definition Item.h:49
void SetProperties(Aws::String &&value)
Definition Item.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue