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

Describes an association between an app block builder and app * block.

See Also:

AWS * API Reference

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

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 AppBlockBuilderAppBlockAssociation& WithAppBlockArn(const Aws::String& value) { SetAppBlockArn(value); return *this;} /** *

The ARN of the app block.

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

The ARN of the app block.

*/ inline AppBlockBuilderAppBlockAssociation& 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 AppBlockBuilderAppBlockAssociation& WithAppBlockBuilderName(const Aws::String& value) { SetAppBlockBuilderName(value); return *this;} /** *

The name of the app block builder.

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

The name of the app block builder.

*/ inline AppBlockBuilderAppBlockAssociation& 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