AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename RoomIdT = Aws::String>
48 void SetRoomId(RoomIdT&& value) { m_roomIdHasBeenSet = true; m_roomId = std::forward<RoomIdT>(value); }
49 template<typename RoomIdT = Aws::String>
50 Room& WithRoomId(RoomIdT&& value) { SetRoomId(std::forward<RoomIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 Room& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetAccountId() const { return m_accountId; }
70 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
71 template<typename AccountIdT = Aws::String>
72 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
73 template<typename AccountIdT = Aws::String>
74 Room& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
82 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
83 template<typename CreatedByT = Aws::String>
84 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
85 template<typename CreatedByT = Aws::String>
86 Room& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
94 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
95 template<typename CreatedTimestampT = Aws::Utils::DateTime>
96 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
97 template<typename CreatedTimestampT = Aws::Utils::DateTime>
98 Room& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const { return m_updatedTimestamp; }
106 inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
107 template<typename UpdatedTimestampT = Aws::Utils::DateTime>
108 void SetUpdatedTimestamp(UpdatedTimestampT&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::forward<UpdatedTimestampT>(value); }
109 template<typename UpdatedTimestampT = Aws::Utils::DateTime>
110 Room& WithUpdatedTimestamp(UpdatedTimestampT&& value) { SetUpdatedTimestamp(std::forward<UpdatedTimestampT>(value)); return *this;}
112 private:
113
114 Aws::String m_roomId;
115 bool m_roomIdHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_accountId;
121 bool m_accountIdHasBeenSet = false;
122
123 Aws::String m_createdBy;
124 bool m_createdByHasBeenSet = false;
125
126 Aws::Utils::DateTime m_createdTimestamp{};
127 bool m_createdTimestampHasBeenSet = false;
128
129 Aws::Utils::DateTime m_updatedTimestamp{};
130 bool m_updatedTimestampHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Chime
135} // namespace Aws
const Aws::String & GetCreatedBy() const
Definition Room.h:81
const Aws::String & GetRoomId() const
Definition Room.h:45
bool AccountIdHasBeenSet() const
Definition Room.h:70
void SetAccountId(AccountIdT &&value)
Definition Room.h:72
Room & WithCreatedTimestamp(CreatedTimestampT &&value)
Definition Room.h:98
Room & WithName(NameT &&value)
Definition Room.h:62
Room & WithUpdatedTimestamp(UpdatedTimestampT &&value)
Definition Room.h:110
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition Room.h:93
const Aws::String & GetAccountId() const
Definition Room.h:69
const Aws::String & GetName() const
Definition Room.h:57
Room & WithAccountId(AccountIdT &&value)
Definition Room.h:74
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
Definition Room.h:105
void SetName(NameT &&value)
Definition Room.h:60
bool RoomIdHasBeenSet() const
Definition Room.h:46
void SetCreatedBy(CreatedByT &&value)
Definition Room.h:84
Room & WithCreatedBy(CreatedByT &&value)
Definition Room.h:86
AWS_CHIME_API Room(Aws::Utils::Json::JsonView jsonValue)
bool CreatedTimestampHasBeenSet() const
Definition Room.h:94
bool CreatedByHasBeenSet() const
Definition Room.h:82
void SetCreatedTimestamp(CreatedTimestampT &&value)
Definition Room.h:96
AWS_CHIME_API Room & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API Room()=default
bool UpdatedTimestampHasBeenSet() const
Definition Room.h:106
bool NameHasBeenSet() const
Definition Room.h:58
void SetRoomId(RoomIdT &&value)
Definition Room.h:48
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
Definition Room.h:108
Room & WithRoomId(RoomIdT &&value)
Definition Room.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue