/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisAnalyticsV2 { namespace Model { /** *

Describes code configuration for an application.

See Also:

* AWS * API Reference

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

Specifies whether the code content is in text or zip format.

*/ inline const CodeContentType& GetCodeContentType() const{ return m_codeContentType; } /** *

Specifies whether the code content is in text or zip format.

*/ inline bool CodeContentTypeHasBeenSet() const { return m_codeContentTypeHasBeenSet; } /** *

Specifies whether the code content is in text or zip format.

*/ inline void SetCodeContentType(const CodeContentType& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = value; } /** *

Specifies whether the code content is in text or zip format.

*/ inline void SetCodeContentType(CodeContentType&& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = std::move(value); } /** *

Specifies whether the code content is in text or zip format.

*/ inline ApplicationCodeConfigurationDescription& WithCodeContentType(const CodeContentType& value) { SetCodeContentType(value); return *this;} /** *

Specifies whether the code content is in text or zip format.

*/ inline ApplicationCodeConfigurationDescription& WithCodeContentType(CodeContentType&& value) { SetCodeContentType(std::move(value)); return *this;} /** *

Describes details about the location and format of the application code.

*/ inline const CodeContentDescription& GetCodeContentDescription() const{ return m_codeContentDescription; } /** *

Describes details about the location and format of the application code.

*/ inline bool CodeContentDescriptionHasBeenSet() const { return m_codeContentDescriptionHasBeenSet; } /** *

Describes details about the location and format of the application code.

*/ inline void SetCodeContentDescription(const CodeContentDescription& value) { m_codeContentDescriptionHasBeenSet = true; m_codeContentDescription = value; } /** *

Describes details about the location and format of the application code.

*/ inline void SetCodeContentDescription(CodeContentDescription&& value) { m_codeContentDescriptionHasBeenSet = true; m_codeContentDescription = std::move(value); } /** *

Describes details about the location and format of the application code.

*/ inline ApplicationCodeConfigurationDescription& WithCodeContentDescription(const CodeContentDescription& value) { SetCodeContentDescription(value); return *this;} /** *

Describes details about the location and format of the application code.

*/ inline ApplicationCodeConfigurationDescription& WithCodeContentDescription(CodeContentDescription&& value) { SetCodeContentDescription(std::move(value)); return *this;} private: CodeContentType m_codeContentType; bool m_codeContentTypeHasBeenSet = false; CodeContentDescription m_codeContentDescription; bool m_codeContentDescriptionHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws