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

The location where the source code files provided with the project request * are stored. AWS CodeStar retrieves the files during project * creation.

See Also:

AWS * API Reference

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

Information about the Amazon S3 location where the source code files provided * with the project request are stored.

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

Information about the Amazon S3 location where the source code files provided * with the project request are stored.

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

Information about the Amazon S3 location where the source code files provided * with the project request are stored.

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

Information about the Amazon S3 location where the source code files provided * with the project request are stored.

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

Information about the Amazon S3 location where the source code files provided * with the project request are stored.

*/ inline CodeSource& WithS3(const S3Location& value) { SetS3(value); return *this;} /** *

Information about the Amazon S3 location where the source code files provided * with the project request are stored.

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