/** * 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 QuickSight { namespace Model { /** */ class CreateFolderMembershipRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API CreateFolderMembershipRequest(); // 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 "CreateFolderMembership"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline CreateFolderMembershipRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline CreateFolderMembershipRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The ID for the Amazon Web Services account that contains the folder.

*/ inline CreateFolderMembershipRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The ID of the folder.

*/ inline const Aws::String& GetFolderId() const{ return m_folderId; } /** *

The ID of the folder.

*/ inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; } /** *

The ID of the folder.

*/ inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; } /** *

The ID of the folder.

*/ inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); } /** *

The ID of the folder.

*/ inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); } /** *

The ID of the folder.

*/ inline CreateFolderMembershipRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;} /** *

The ID of the folder.

*/ inline CreateFolderMembershipRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;} /** *

The ID of the folder.

*/ inline CreateFolderMembershipRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;} /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline const Aws::String& GetMemberId() const{ return m_memberId; } /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; } /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; } /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); } /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); } /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline CreateFolderMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;} /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline CreateFolderMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;} /** *

The ID of the asset (the dashboard, analysis, or dataset).

*/ inline CreateFolderMembershipRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;} /** *

The type of the member, including DASHBOARD, * ANALYSIS, and DATASET.

*/ inline const MemberType& GetMemberType() const{ return m_memberType; } /** *

The type of the member, including DASHBOARD, * ANALYSIS, and DATASET.

*/ inline bool MemberTypeHasBeenSet() const { return m_memberTypeHasBeenSet; } /** *

The type of the member, including DASHBOARD, * ANALYSIS, and DATASET.

*/ inline void SetMemberType(const MemberType& value) { m_memberTypeHasBeenSet = true; m_memberType = value; } /** *

The type of the member, including DASHBOARD, * ANALYSIS, and DATASET.

*/ inline void SetMemberType(MemberType&& value) { m_memberTypeHasBeenSet = true; m_memberType = std::move(value); } /** *

The type of the member, including DASHBOARD, * ANALYSIS, and DATASET.

*/ inline CreateFolderMembershipRequest& WithMemberType(const MemberType& value) { SetMemberType(value); return *this;} /** *

The type of the member, including DASHBOARD, * ANALYSIS, and DATASET.

*/ inline CreateFolderMembershipRequest& WithMemberType(MemberType&& value) { SetMemberType(std::move(value)); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_folderId; bool m_folderIdHasBeenSet = false; Aws::String m_memberId; bool m_memberIdHasBeenSet = false; MemberType m_memberType; bool m_memberTypeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws