/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Chime { namespace Model { /** *

The Amazon Chime chat room details.

See Also:

AWS API * Reference

*/ class AWS_CHIME_API Room { public: Room(); Room(Aws::Utils::Json::JsonView jsonValue); Room& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The room ID.

*/ inline const Aws::String& GetRoomId() const{ return m_roomId; } /** *

The room ID.

*/ inline bool RoomIdHasBeenSet() const { return m_roomIdHasBeenSet; } /** *

The room ID.

*/ inline void SetRoomId(const Aws::String& value) { m_roomIdHasBeenSet = true; m_roomId = value; } /** *

The room ID.

*/ inline void SetRoomId(Aws::String&& value) { m_roomIdHasBeenSet = true; m_roomId = std::move(value); } /** *

The room ID.

*/ inline void SetRoomId(const char* value) { m_roomIdHasBeenSet = true; m_roomId.assign(value); } /** *

The room ID.

*/ inline Room& WithRoomId(const Aws::String& value) { SetRoomId(value); return *this;} /** *

The room ID.

*/ inline Room& WithRoomId(Aws::String&& value) { SetRoomId(std::move(value)); return *this;} /** *

The room ID.

*/ inline Room& WithRoomId(const char* value) { SetRoomId(value); return *this;} /** *

The room name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The room name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The room name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The room name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The room name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The room name.

*/ inline Room& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The room name.

*/ inline Room& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The room name.

*/ inline Room& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Chime account ID.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Chime account ID.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Chime account ID.

*/ inline Room& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Chime account ID.

*/ inline Room& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Chime account ID.

*/ inline Room& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The identifier of the room creator.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The identifier of the room creator.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

The identifier of the room creator.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

The identifier of the room creator.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

The identifier of the room creator.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

The identifier of the room creator.

*/ inline Room& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The identifier of the room creator.

*/ inline Room& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The identifier of the room creator.

*/ inline Room& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The room creation timestamp, in ISO 8601 format.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The room creation timestamp, in ISO 8601 format.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The room creation timestamp, in ISO 8601 format.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The room creation timestamp, in ISO 8601 format.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The room creation timestamp, in ISO 8601 format.

*/ inline Room& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The room creation timestamp, in ISO 8601 format.

*/ inline Room& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The room update timestamp, in ISO 8601 format.

*/ inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; } /** *

The room update timestamp, in ISO 8601 format.

*/ inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; } /** *

The room update timestamp, in ISO 8601 format.

*/ inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; } /** *

The room update timestamp, in ISO 8601 format.

*/ inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); } /** *

The room update timestamp, in ISO 8601 format.

*/ inline Room& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;} /** *

The room update timestamp, in ISO 8601 format.

*/ inline Room& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;} private: Aws::String m_roomId; bool m_roomIdHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_accountId; bool m_accountIdHasBeenSet; Aws::String m_createdBy; bool m_createdByHasBeenSet; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet; Aws::Utils::DateTime m_updatedTimestamp; bool m_updatedTimestampHasBeenSet; }; } // namespace Model } // namespace Chime } // namespace Aws