AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Room.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Chime
23{
24namespace Model
25{
26
32 class Room
33 {
34 public:
35 AWS_CHIME_API Room();
36 AWS_CHIME_API Room(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CHIME_API Room& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRoomId() const{ return m_roomId; }
46 inline bool RoomIdHasBeenSet() const { return m_roomIdHasBeenSet; }
47 inline void SetRoomId(const Aws::String& value) { m_roomIdHasBeenSet = true; m_roomId = value; }
48 inline void SetRoomId(Aws::String&& value) { m_roomIdHasBeenSet = true; m_roomId = std::move(value); }
49 inline void SetRoomId(const char* value) { m_roomIdHasBeenSet = true; m_roomId.assign(value); }
50 inline Room& WithRoomId(const Aws::String& value) { SetRoomId(value); return *this;}
51 inline Room& WithRoomId(Aws::String&& value) { SetRoomId(std::move(value)); return *this;}
52 inline Room& WithRoomId(const char* value) { SetRoomId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline Room& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline Room& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline Room& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetAccountId() const{ return m_accountId; }
74 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
75 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
76 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
77 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
78 inline Room& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
79 inline Room& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
80 inline Room& WithAccountId(const char* value) { SetAccountId(value); return *this;}
82
84
87 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
88 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
89 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
90 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
91 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
92 inline Room& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
93 inline Room& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
94 inline Room& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
102 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
103 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
104 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
105 inline Room& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
106 inline Room& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
114 inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
115 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; }
116 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); }
117 inline Room& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;}
118 inline Room& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_roomId;
123 bool m_roomIdHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_accountId;
129 bool m_accountIdHasBeenSet = false;
130
131 Aws::String m_createdBy;
132 bool m_createdByHasBeenSet = false;
133
134 Aws::Utils::DateTime m_createdTimestamp;
135 bool m_createdTimestampHasBeenSet = false;
136
137 Aws::Utils::DateTime m_updatedTimestamp;
138 bool m_updatedTimestampHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Chime
143} // namespace Aws
const Aws::String & GetCreatedBy() const
Definition Room.h:87
void SetCreatedBy(Aws::String &&value)
Definition Room.h:90
const Aws::String & GetRoomId() const
Definition Room.h:45
bool AccountIdHasBeenSet() const
Definition Room.h:74
Room & WithAccountId(const Aws::String &value)
Definition Room.h:78
AWS_CHIME_API Room()
void SetName(Aws::String &&value)
Definition Room.h:62
Room & WithAccountId(Aws::String &&value)
Definition Room.h:79
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition Room.h:101
void SetAccountId(const Aws::String &value)
Definition Room.h:75
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition Room.h:103
Room & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition Room.h:106
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition Room.h:116
Room & WithName(const Aws::String &value)
Definition Room.h:64
const Aws::String & GetAccountId() const
Definition Room.h:73
const Aws::String & GetName() const
Definition Room.h:59
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
Definition Room.h:113
void SetCreatedBy(const Aws::String &value)
Definition Room.h:89
Room & WithCreatedBy(Aws::String &&value)
Definition Room.h:93
void SetRoomId(const Aws::String &value)
Definition Room.h:47
Room & WithRoomId(const char *value)
Definition Room.h:52
void SetAccountId(const char *value)
Definition Room.h:77
bool RoomIdHasBeenSet() const
Definition Room.h:46
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition Room.h:115
void SetRoomId(const char *value)
Definition Room.h:49
Room & WithCreatedBy(const Aws::String &value)
Definition Room.h:92
Room & WithRoomId(Aws::String &&value)
Definition Room.h:51
Room & WithRoomId(const Aws::String &value)
Definition Room.h:50
AWS_CHIME_API Room(Aws::Utils::Json::JsonView jsonValue)
void SetRoomId(Aws::String &&value)
Definition Room.h:48
Room & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition Room.h:118
void SetCreatedBy(const char *value)
Definition Room.h:91
bool CreatedTimestampHasBeenSet() const
Definition Room.h:102
bool CreatedByHasBeenSet() const
Definition Room.h:88
Room & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition Room.h:117
void SetName(const Aws::String &value)
Definition Room.h:61
Room & WithName(const char *value)
Definition Room.h:66
Room & WithCreatedBy(const char *value)
Definition Room.h:94
Room & WithName(Aws::String &&value)
Definition Room.h:65
AWS_CHIME_API Room & operator=(Aws::Utils::Json::JsonView jsonValue)
Room & WithAccountId(const char *value)
Definition Room.h:80
bool UpdatedTimestampHasBeenSet() const
Definition Room.h:114
bool NameHasBeenSet() const
Definition Room.h:60
void SetName(const char *value)
Definition Room.h:63
Room & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition Room.h:105
void SetAccountId(Aws::String &&value)
Definition Room.h:76
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition Room.h:104
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue