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

An S3Source object that contains information about the S3 bucket * where you saved your unsigned code.

See Also:

AWS API * Reference

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

The S3Source object.

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

The S3Source object.

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

The S3Source object.

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

The S3Source object.

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

The S3Source object.

*/ inline Source& WithS3(const S3Source& value) { SetS3(value); return *this;} /** *

The S3Source object.

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