/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The container repository where the output container image is
* stored.See Also:
AWS
* API Reference
Specifies the service in which this image was registered.
*/ inline const ContainerRepositoryService& GetService() const{ return m_service; } /** *Specifies the service in which this image was registered.
*/ inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; } /** *Specifies the service in which this image was registered.
*/ inline void SetService(const ContainerRepositoryService& value) { m_serviceHasBeenSet = true; m_service = value; } /** *Specifies the service in which this image was registered.
*/ inline void SetService(ContainerRepositoryService&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); } /** *Specifies the service in which this image was registered.
*/ inline TargetContainerRepository& WithService(const ContainerRepositoryService& value) { SetService(value); return *this;} /** *Specifies the service in which this image was registered.
*/ inline TargetContainerRepository& WithService(ContainerRepositoryService&& value) { SetService(std::move(value)); return *this;} /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline TargetContainerRepository& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline TargetContainerRepository& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the container repository where the output container image is * stored. This name is prefixed by the repository location.
*/ inline TargetContainerRepository& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} private: ContainerRepositoryService m_service; bool m_serviceHasBeenSet = false; Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws