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

The Terraform s3 state file you need to import.

See Also:

* AWS * API Reference

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

The URL of the Terraform s3 state file you need to import.

*/ inline const Aws::String& GetS3StateFileUrl() const{ return m_s3StateFileUrl; } /** *

The URL of the Terraform s3 state file you need to import.

*/ inline bool S3StateFileUrlHasBeenSet() const { return m_s3StateFileUrlHasBeenSet; } /** *

The URL of the Terraform s3 state file you need to import.

*/ inline void SetS3StateFileUrl(const Aws::String& value) { m_s3StateFileUrlHasBeenSet = true; m_s3StateFileUrl = value; } /** *

The URL of the Terraform s3 state file you need to import.

*/ inline void SetS3StateFileUrl(Aws::String&& value) { m_s3StateFileUrlHasBeenSet = true; m_s3StateFileUrl = std::move(value); } /** *

The URL of the Terraform s3 state file you need to import.

*/ inline void SetS3StateFileUrl(const char* value) { m_s3StateFileUrlHasBeenSet = true; m_s3StateFileUrl.assign(value); } /** *

The URL of the Terraform s3 state file you need to import.

*/ inline TerraformSource& WithS3StateFileUrl(const Aws::String& value) { SetS3StateFileUrl(value); return *this;} /** *

The URL of the Terraform s3 state file you need to import.

*/ inline TerraformSource& WithS3StateFileUrl(Aws::String&& value) { SetS3StateFileUrl(std::move(value)); return *this;} /** *

The URL of the Terraform s3 state file you need to import.

*/ inline TerraformSource& WithS3StateFileUrl(const char* value) { SetS3StateFileUrl(value); return *this;} private: Aws::String m_s3StateFileUrl; bool m_s3StateFileUrlHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws