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

Defines an external storage location.

See Also:

AWS * API Reference

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

The URI of the Amazon S3 bucket.

*/ inline const Aws::String& GetS3Location() const{ return m_s3Location; } /** *

The URI of the Amazon S3 bucket.

*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *

The URI of the Amazon S3 bucket.

*/ inline void SetS3Location(const Aws::String& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *

The URI of the Amazon S3 bucket.

*/ inline void SetS3Location(Aws::String&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *

The URI of the Amazon S3 bucket.

*/ inline void SetS3Location(const char* value) { m_s3LocationHasBeenSet = true; m_s3Location.assign(value); } /** *

The URI of the Amazon S3 bucket.

*/ inline ExternalLocation& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;} /** *

The URI of the Amazon S3 bucket.

*/ inline ExternalLocation& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;} /** *

The URI of the Amazon S3 bucket.

*/ inline ExternalLocation& WithS3Location(const char* value) { SetS3Location(value); return *this;} private: Aws::String m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws