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

The metadata of the collaboration.

See Also:

AWS * API Reference

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

The identifier for the collaboration.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier for the collaboration.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The identifier for the collaboration.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The identifier for the collaboration.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The identifier for the collaboration.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The identifier for the collaboration.

*/ inline CollaborationSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier for the collaboration.

*/ inline CollaborationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier for the collaboration.

*/ inline CollaborationSummary& WithId(const char* value) { SetId(value); return *this;} /** *

The ARN of the collaboration.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the collaboration.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the collaboration.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the collaboration.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the collaboration.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the collaboration.

*/ inline CollaborationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the collaboration.

*/ inline CollaborationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the collaboration.

*/ inline CollaborationSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

A human-readable identifier provided by the collaboration owner. Display * names are not unique.

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

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline const Aws::String& GetCreatorAccountId() const{ return m_creatorAccountId; } /** *

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; } /** *

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline void SetCreatorAccountId(const Aws::String& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = value; } /** *

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline void SetCreatorAccountId(Aws::String&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::move(value); } /** *

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline void SetCreatorAccountId(const char* value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId.assign(value); } /** *

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline CollaborationSummary& WithCreatorAccountId(const Aws::String& value) { SetCreatorAccountId(value); return *this;} /** *

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline CollaborationSummary& WithCreatorAccountId(Aws::String&& value) { SetCreatorAccountId(std::move(value)); return *this;} /** *

The identifier used to reference members of the collaboration. Currently only * supports Amazon Web Services account ID.

*/ inline CollaborationSummary& WithCreatorAccountId(const char* value) { SetCreatorAccountId(value); return *this;} /** *

The display name of the collaboration creator.

*/ inline const Aws::String& GetCreatorDisplayName() const{ return m_creatorDisplayName; } /** *

The display name of the collaboration creator.

*/ inline bool CreatorDisplayNameHasBeenSet() const { return m_creatorDisplayNameHasBeenSet; } /** *

The display name of the collaboration creator.

*/ inline void SetCreatorDisplayName(const Aws::String& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = value; } /** *

The display name of the collaboration creator.

*/ inline void SetCreatorDisplayName(Aws::String&& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = std::move(value); } /** *

The display name of the collaboration creator.

*/ inline void SetCreatorDisplayName(const char* value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName.assign(value); } /** *

The display name of the collaboration creator.

*/ inline CollaborationSummary& WithCreatorDisplayName(const Aws::String& value) { SetCreatorDisplayName(value); return *this;} /** *

The display name of the collaboration creator.

*/ inline CollaborationSummary& WithCreatorDisplayName(Aws::String&& value) { SetCreatorDisplayName(std::move(value)); return *this;} /** *

The display name of the collaboration creator.

*/ inline CollaborationSummary& WithCreatorDisplayName(const char* value) { SetCreatorDisplayName(value); return *this;} /** *

The time when the collaboration was created.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The time when the collaboration was created.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The time when the collaboration was created.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The time when the collaboration was created.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The time when the collaboration was created.

*/ inline CollaborationSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The time when the collaboration was created.

*/ inline CollaborationSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The time the collaboration metadata was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

The time the collaboration metadata was last updated.

*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

The time the collaboration metadata was last updated.

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *

The time the collaboration metadata was last updated.

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *

The time the collaboration metadata was last updated.

*/ inline CollaborationSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

The time the collaboration metadata was last updated.

*/ inline CollaborationSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} /** *

The status of a member in a collaboration.

*/ inline const MemberStatus& GetMemberStatus() const{ return m_memberStatus; } /** *

The status of a member in a collaboration.

*/ inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; } /** *

The status of a member in a collaboration.

*/ inline void SetMemberStatus(const MemberStatus& value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; } /** *

The status of a member in a collaboration.

*/ inline void SetMemberStatus(MemberStatus&& value) { m_memberStatusHasBeenSet = true; m_memberStatus = std::move(value); } /** *

The status of a member in a collaboration.

*/ inline CollaborationSummary& WithMemberStatus(const MemberStatus& value) { SetMemberStatus(value); return *this;} /** *

The status of a member in a collaboration.

*/ inline CollaborationSummary& WithMemberStatus(MemberStatus&& value) { SetMemberStatus(std::move(value)); return *this;} /** *

The identifier of a member in a collaboration.

*/ inline const Aws::String& GetMembershipId() const{ return m_membershipId; } /** *

The identifier of a member in a collaboration.

*/ inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; } /** *

The identifier of a member in a collaboration.

*/ inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; } /** *

The identifier of a member in a collaboration.

*/ inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); } /** *

The identifier of a member in a collaboration.

*/ inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); } /** *

The identifier of a member in a collaboration.

*/ inline CollaborationSummary& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;} /** *

The identifier of a member in a collaboration.

*/ inline CollaborationSummary& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;} /** *

The identifier of a member in a collaboration.

*/ inline CollaborationSummary& WithMembershipId(const char* value) { SetMembershipId(value); return *this;} /** *

The ARN of a member in a collaboration.

*/ inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; } /** *

The ARN of a member in a collaboration.

*/ inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; } /** *

The ARN of a member in a collaboration.

*/ inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; } /** *

The ARN of a member in a collaboration.

*/ inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); } /** *

The ARN of a member in a collaboration.

*/ inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); } /** *

The ARN of a member in a collaboration.

*/ inline CollaborationSummary& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;} /** *

The ARN of a member in a collaboration.

*/ inline CollaborationSummary& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;} /** *

The ARN of a member in a collaboration.

*/ inline CollaborationSummary& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_creatorAccountId; bool m_creatorAccountIdHasBeenSet = false; Aws::String m_creatorDisplayName; bool m_creatorDisplayNameHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; MemberStatus m_memberStatus; bool m_memberStatusHasBeenSet = false; Aws::String m_membershipId; bool m_membershipIdHasBeenSet = false; Aws::String m_membershipArn; bool m_membershipArnHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws