/** * 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 AppStream { namespace Model { /** */ class DisassociateAppBlockBuilderAppBlockRequest : public AppStreamRequest { public: AWS_APPSTREAM_API DisassociateAppBlockBuilderAppBlockRequest(); // 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 "DisassociateAppBlockBuilderAppBlock"; } AWS_APPSTREAM_API Aws::String SerializePayload() const override; AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN of the app block.

*/ inline const Aws::String& GetAppBlockArn() const{ return m_appBlockArn; } /** *

The ARN of the app block.

*/ inline bool AppBlockArnHasBeenSet() const { return m_appBlockArnHasBeenSet; } /** *

The ARN of the app block.

*/ inline void SetAppBlockArn(const Aws::String& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = value; } /** *

The ARN of the app block.

*/ inline void SetAppBlockArn(Aws::String&& value) { m_appBlockArnHasBeenSet = true; m_appBlockArn = std::move(value); } /** *

The ARN of the app block.

*/ inline void SetAppBlockArn(const char* value) { m_appBlockArnHasBeenSet = true; m_appBlockArn.assign(value); } /** *

The ARN of the app block.

*/ inline DisassociateAppBlockBuilderAppBlockRequest& WithAppBlockArn(const Aws::String& value) { SetAppBlockArn(value); return *this;} /** *

The ARN of the app block.

*/ inline DisassociateAppBlockBuilderAppBlockRequest& WithAppBlockArn(Aws::String&& value) { SetAppBlockArn(std::move(value)); return *this;} /** *

The ARN of the app block.

*/ inline DisassociateAppBlockBuilderAppBlockRequest& WithAppBlockArn(const char* value) { SetAppBlockArn(value); return *this;} /** *

The name of the app block builder.

*/ inline const Aws::String& GetAppBlockBuilderName() const{ return m_appBlockBuilderName; } /** *

The name of the app block builder.

*/ inline bool AppBlockBuilderNameHasBeenSet() const { return m_appBlockBuilderNameHasBeenSet; } /** *

The name of the app block builder.

*/ inline void SetAppBlockBuilderName(const Aws::String& value) { m_appBlockBuilderNameHasBeenSet = true; m_appBlockBuilderName = value; } /** *

The name of the app block builder.

*/ inline void SetAppBlockBuilderName(Aws::String&& value) { m_appBlockBuilderNameHasBeenSet = true; m_appBlockBuilderName = std::move(value); } /** *

The name of the app block builder.

*/ inline void SetAppBlockBuilderName(const char* value) { m_appBlockBuilderNameHasBeenSet = true; m_appBlockBuilderName.assign(value); } /** *

The name of the app block builder.

*/ inline DisassociateAppBlockBuilderAppBlockRequest& WithAppBlockBuilderName(const Aws::String& value) { SetAppBlockBuilderName(value); return *this;} /** *

The name of the app block builder.

*/ inline DisassociateAppBlockBuilderAppBlockRequest& WithAppBlockBuilderName(Aws::String&& value) { SetAppBlockBuilderName(std::move(value)); return *this;} /** *

The name of the app block builder.

*/ inline DisassociateAppBlockBuilderAppBlockRequest& WithAppBlockBuilderName(const char* value) { SetAppBlockBuilderName(value); return *this;} private: Aws::String m_appBlockArn; bool m_appBlockArnHasBeenSet = false; Aws::String m_appBlockBuilderName; bool m_appBlockBuilderNameHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws