/** * 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 Http { class URI; } //namespace Http namespace WellArchitected { namespace Model { /** */ class DeleteProfileShareRequest : public WellArchitectedRequest { public: AWS_WELLARCHITECTED_API DeleteProfileShareRequest(); // 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 "DeleteProfileShare"; } AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override; AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; inline const Aws::String& GetShareId() const{ return m_shareId; } inline bool ShareIdHasBeenSet() const { return m_shareIdHasBeenSet; } inline void SetShareId(const Aws::String& value) { m_shareIdHasBeenSet = true; m_shareId = value; } inline void SetShareId(Aws::String&& value) { m_shareIdHasBeenSet = true; m_shareId = std::move(value); } inline void SetShareId(const char* value) { m_shareIdHasBeenSet = true; m_shareId.assign(value); } inline DeleteProfileShareRequest& WithShareId(const Aws::String& value) { SetShareId(value); return *this;} inline DeleteProfileShareRequest& WithShareId(Aws::String&& value) { SetShareId(std::move(value)); return *this;} inline DeleteProfileShareRequest& WithShareId(const char* value) { SetShareId(value); return *this;} /** *

The profile ARN.

*/ inline const Aws::String& GetProfileArn() const{ return m_profileArn; } /** *

The profile ARN.

*/ inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; } /** *

The profile ARN.

*/ inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; } /** *

The profile ARN.

*/ inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); } /** *

The profile ARN.

*/ inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); } /** *

The profile ARN.

*/ inline DeleteProfileShareRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;} /** *

The profile ARN.

*/ inline DeleteProfileShareRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;} /** *

The profile ARN.

*/ inline DeleteProfileShareRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;} inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } inline DeleteProfileShareRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} inline DeleteProfileShareRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} inline DeleteProfileShareRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_shareId; bool m_shareIdHasBeenSet = false; Aws::String m_profileArn; bool m_profileArnHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws