/** * 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 ApplicationCodeConfiguration { public: AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration(); AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The location and type of the application code.

*/ inline const CodeContent& GetCodeContent() const{ return m_codeContent; } /** *

The location and type of the application code.

*/ inline bool CodeContentHasBeenSet() const { return m_codeContentHasBeenSet; } /** *

The location and type of the application code.

*/ inline void SetCodeContent(const CodeContent& value) { m_codeContentHasBeenSet = true; m_codeContent = value; } /** *

The location and type of the application code.

*/ inline void SetCodeContent(CodeContent&& value) { m_codeContentHasBeenSet = true; m_codeContent = std::move(value); } /** *

The location and type of the application code.

*/ inline ApplicationCodeConfiguration& WithCodeContent(const CodeContent& value) { SetCodeContent(value); return *this;} /** *

The location and type of the application code.

*/ inline ApplicationCodeConfiguration& WithCodeContent(CodeContent&& value) { SetCodeContent(std::move(value)); return *this;} /** *

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 ApplicationCodeConfiguration& WithCodeContentType(const CodeContentType& value) { SetCodeContentType(value); return *this;} /** *

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

*/ inline ApplicationCodeConfiguration& WithCodeContentType(CodeContentType&& value) { SetCodeContentType(std::move(value)); return *this;} private: CodeContent m_codeContent; bool m_codeContentHasBeenSet = false; CodeContentType m_codeContentType; bool m_codeContentTypeHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws