/** * 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 Proton { namespace Model { /** *

Template version source data.

See Also:

AWS * API Reference

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

An S3 source object that includes the template bundle S3 path and name for a * template minor version.

*/ inline const S3ObjectSource& GetS3() const{ return m_s3; } /** *

An S3 source object that includes the template bundle S3 path and name for a * template minor version.

*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *

An S3 source object that includes the template bundle S3 path and name for a * template minor version.

*/ inline void SetS3(const S3ObjectSource& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *

An S3 source object that includes the template bundle S3 path and name for a * template minor version.

*/ inline void SetS3(S3ObjectSource&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *

An S3 source object that includes the template bundle S3 path and name for a * template minor version.

*/ inline TemplateVersionSourceInput& WithS3(const S3ObjectSource& value) { SetS3(value); return *this;} /** *

An S3 source object that includes the template bundle S3 path and name for a * template minor version.

*/ inline TemplateVersionSourceInput& WithS3(S3ObjectSource&& value) { SetS3(std::move(value)); return *this;} private: S3ObjectSource m_s3; bool m_s3HasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws