/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace CleanRooms { namespace Model { /** */ class CreateCollaborationRequest : public CleanRoomsRequest { public: AWS_CLEANROOMS_API CreateCollaborationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateCollaboration"; } AWS_CLEANROOMS_API Aws::String SerializePayload() const override; /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline const Aws::Vector& GetMembers() const{ return m_members; } /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline bool MembersHasBeenSet() const { return m_membersHasBeenSet; } /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline void SetMembers(const Aws::Vector& value) { m_membersHasBeenSet = true; m_members = value; } /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline void SetMembers(Aws::Vector&& value) { m_membersHasBeenSet = true; m_members = std::move(value); } /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline CreateCollaborationRequest& WithMembers(const Aws::Vector& value) { SetMembers(value); return *this;} /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline CreateCollaborationRequest& WithMembers(Aws::Vector&& value) { SetMembers(std::move(value)); return *this;} /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline CreateCollaborationRequest& AddMembers(const MemberSpecification& value) { m_membersHasBeenSet = true; m_members.push_back(value); return *this; } /** *

A list of initial members, not including the creator. This list is * immutable.

*/ inline CreateCollaborationRequest& AddMembers(MemberSpecification&& value) { m_membersHasBeenSet = true; m_members.push_back(std::move(value)); return *this; } /** *

The display name for a collaboration.

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

The display name for a collaboration.

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

The display name for a collaboration.

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

The display name for a collaboration.

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

The display name for a collaboration.

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

The display name for a collaboration.

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

The display name for a collaboration.

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

The display name for a collaboration.

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

A description of the collaboration provided by the collaboration owner.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the collaboration provided by the collaboration owner.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the collaboration provided by the collaboration owner.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the collaboration provided by the collaboration owner.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the collaboration provided by the collaboration owner.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the collaboration provided by the collaboration owner.

*/ inline CreateCollaborationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the collaboration provided by the collaboration owner.

*/ inline CreateCollaborationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the collaboration provided by the collaboration owner.

*/ inline CreateCollaborationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The abilities granted to the collaboration creator.

*/ inline const Aws::Vector& GetCreatorMemberAbilities() const{ return m_creatorMemberAbilities; } /** *

The abilities granted to the collaboration creator.

*/ inline bool CreatorMemberAbilitiesHasBeenSet() const { return m_creatorMemberAbilitiesHasBeenSet; } /** *

The abilities granted to the collaboration creator.

*/ inline void SetCreatorMemberAbilities(const Aws::Vector& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities = value; } /** *

The abilities granted to the collaboration creator.

*/ inline void SetCreatorMemberAbilities(Aws::Vector&& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities = std::move(value); } /** *

The abilities granted to the collaboration creator.

*/ inline CreateCollaborationRequest& WithCreatorMemberAbilities(const Aws::Vector& value) { SetCreatorMemberAbilities(value); return *this;} /** *

The abilities granted to the collaboration creator.

*/ inline CreateCollaborationRequest& WithCreatorMemberAbilities(Aws::Vector&& value) { SetCreatorMemberAbilities(std::move(value)); return *this;} /** *

The abilities granted to the collaboration creator.

*/ inline CreateCollaborationRequest& AddCreatorMemberAbilities(const MemberAbility& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities.push_back(value); return *this; } /** *

The abilities granted to the collaboration creator.

*/ inline CreateCollaborationRequest& AddCreatorMemberAbilities(MemberAbility&& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities.push_back(std::move(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 CreateCollaborationRequest& WithCreatorDisplayName(const Aws::String& value) { SetCreatorDisplayName(value); return *this;} /** *

The display name of the collaboration creator.

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

The display name of the collaboration creator.

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

The settings for client-side encryption with Cryptographic Computing for * Clean Rooms.

*/ inline const DataEncryptionMetadata& GetDataEncryptionMetadata() const{ return m_dataEncryptionMetadata; } /** *

The settings for client-side encryption with Cryptographic Computing for * Clean Rooms.

*/ inline bool DataEncryptionMetadataHasBeenSet() const { return m_dataEncryptionMetadataHasBeenSet; } /** *

The settings for client-side encryption with Cryptographic Computing for * Clean Rooms.

*/ inline void SetDataEncryptionMetadata(const DataEncryptionMetadata& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = value; } /** *

The settings for client-side encryption with Cryptographic Computing for * Clean Rooms.

*/ inline void SetDataEncryptionMetadata(DataEncryptionMetadata&& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = std::move(value); } /** *

The settings for client-side encryption with Cryptographic Computing for * Clean Rooms.

*/ inline CreateCollaborationRequest& WithDataEncryptionMetadata(const DataEncryptionMetadata& value) { SetDataEncryptionMetadata(value); return *this;} /** *

The settings for client-side encryption with Cryptographic Computing for * Clean Rooms.

*/ inline CreateCollaborationRequest& WithDataEncryptionMetadata(DataEncryptionMetadata&& value) { SetDataEncryptionMetadata(std::move(value)); return *this;} /** *

An indicator as to whether query logging has been enabled or disabled for the * collaboration.

*/ inline const CollaborationQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; } /** *

An indicator as to whether query logging has been enabled or disabled for the * collaboration.

*/ inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; } /** *

An indicator as to whether query logging has been enabled or disabled for the * collaboration.

*/ inline void SetQueryLogStatus(const CollaborationQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; } /** *

An indicator as to whether query logging has been enabled or disabled for the * collaboration.

*/ inline void SetQueryLogStatus(CollaborationQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); } /** *

An indicator as to whether query logging has been enabled or disabled for the * collaboration.

*/ inline CreateCollaborationRequest& WithQueryLogStatus(const CollaborationQueryLogStatus& value) { SetQueryLogStatus(value); return *this;} /** *

An indicator as to whether query logging has been enabled or disabled for the * collaboration.

*/ inline CreateCollaborationRequest& WithQueryLogStatus(CollaborationQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;} /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

An optional label that you can assign to a resource when you create it. Each * tag consists of a key and an optional value, both of which you define. When you * use tagging, you can also use tag-based access control in IAM policies to * control access to this resource.

*/ inline CreateCollaborationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::Vector m_members; bool m_membersHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_creatorMemberAbilities; bool m_creatorMemberAbilitiesHasBeenSet = false; Aws::String m_creatorDisplayName; bool m_creatorDisplayNameHasBeenSet = false; DataEncryptionMetadata m_dataEncryptionMetadata; bool m_dataEncryptionMetadataHasBeenSet = false; CollaborationQueryLogStatus m_queryLogStatus; bool m_queryLogStatusHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws