/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace imagebuilder { namespace Model { /** *

Container distribution settings for encryption, licensing, and sharing in a * specific Region.

See Also:

AWS * API Reference

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

The description of the container distribution configuration.

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

The description of the container distribution configuration.

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

The description of the container distribution configuration.

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

The description of the container distribution configuration.

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

The description of the container distribution configuration.

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

The description of the container distribution configuration.

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

The description of the container distribution configuration.

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

The description of the container distribution configuration.

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

Tags that are attached to the container distribution configuration.

*/ inline const Aws::Vector& GetContainerTags() const{ return m_containerTags; } /** *

Tags that are attached to the container distribution configuration.

*/ inline bool ContainerTagsHasBeenSet() const { return m_containerTagsHasBeenSet; } /** *

Tags that are attached to the container distribution configuration.

*/ inline void SetContainerTags(const Aws::Vector& value) { m_containerTagsHasBeenSet = true; m_containerTags = value; } /** *

Tags that are attached to the container distribution configuration.

*/ inline void SetContainerTags(Aws::Vector&& value) { m_containerTagsHasBeenSet = true; m_containerTags = std::move(value); } /** *

Tags that are attached to the container distribution configuration.

*/ inline ContainerDistributionConfiguration& WithContainerTags(const Aws::Vector& value) { SetContainerTags(value); return *this;} /** *

Tags that are attached to the container distribution configuration.

*/ inline ContainerDistributionConfiguration& WithContainerTags(Aws::Vector&& value) { SetContainerTags(std::move(value)); return *this;} /** *

Tags that are attached to the container distribution configuration.

*/ inline ContainerDistributionConfiguration& AddContainerTags(const Aws::String& value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(value); return *this; } /** *

Tags that are attached to the container distribution configuration.

*/ inline ContainerDistributionConfiguration& AddContainerTags(Aws::String&& value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(std::move(value)); return *this; } /** *

Tags that are attached to the container distribution configuration.

*/ inline ContainerDistributionConfiguration& AddContainerTags(const char* value) { m_containerTagsHasBeenSet = true; m_containerTags.push_back(value); return *this; } /** *

The destination repository for the container distribution configuration.

*/ inline const TargetContainerRepository& GetTargetRepository() const{ return m_targetRepository; } /** *

The destination repository for the container distribution configuration.

*/ inline bool TargetRepositoryHasBeenSet() const { return m_targetRepositoryHasBeenSet; } /** *

The destination repository for the container distribution configuration.

*/ inline void SetTargetRepository(const TargetContainerRepository& value) { m_targetRepositoryHasBeenSet = true; m_targetRepository = value; } /** *

The destination repository for the container distribution configuration.

*/ inline void SetTargetRepository(TargetContainerRepository&& value) { m_targetRepositoryHasBeenSet = true; m_targetRepository = std::move(value); } /** *

The destination repository for the container distribution configuration.

*/ inline ContainerDistributionConfiguration& WithTargetRepository(const TargetContainerRepository& value) { SetTargetRepository(value); return *this;} /** *

The destination repository for the container distribution configuration.

*/ inline ContainerDistributionConfiguration& WithTargetRepository(TargetContainerRepository&& value) { SetTargetRepository(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_containerTags; bool m_containerTagsHasBeenSet = false; TargetContainerRepository m_targetRepository; bool m_targetRepositoryHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws