/** * 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 { /** *

The application definition for a particular application.

See * Also:

AWS API * Reference

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

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline Definition& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline Definition& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The content of the application definition. This is a JSON object that * contains the resource configuration/definitions that identify an * application.

*/ inline Definition& WithContent(const char* value) { SetContent(value); return *this;} /** *

The S3 bucket that contains the application definition.

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

The S3 bucket that contains the application definition.

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

The S3 bucket that contains the application definition.

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

The S3 bucket that contains the application definition.

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

The S3 bucket that contains the application definition.

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

The S3 bucket that contains the application definition.

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

The S3 bucket that contains the application definition.

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

The S3 bucket that contains the application definition.

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