/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes details about the application code for a Java-based Kinesis Data
* Analytics application.See Also:
AWS
* API Reference
The text-format code
*/ inline const Aws::String& GetTextContent() const{ return m_textContent; } /** *The text-format code
*/ inline bool TextContentHasBeenSet() const { return m_textContentHasBeenSet; } /** *The text-format code
*/ inline void SetTextContent(const Aws::String& value) { m_textContentHasBeenSet = true; m_textContent = value; } /** *The text-format code
*/ inline void SetTextContent(Aws::String&& value) { m_textContentHasBeenSet = true; m_textContent = std::move(value); } /** *The text-format code
*/ inline void SetTextContent(const char* value) { m_textContentHasBeenSet = true; m_textContent.assign(value); } /** *The text-format code
*/ inline CodeContentDescription& WithTextContent(const Aws::String& value) { SetTextContent(value); return *this;} /** *The text-format code
*/ inline CodeContentDescription& WithTextContent(Aws::String&& value) { SetTextContent(std::move(value)); return *this;} /** *The text-format code
*/ inline CodeContentDescription& WithTextContent(const char* value) { SetTextContent(value); return *this;} /** *The checksum that can be used to validate zip-format code.
*/ inline const Aws::String& GetCodeMD5() const{ return m_codeMD5; } /** *The checksum that can be used to validate zip-format code.
*/ inline bool CodeMD5HasBeenSet() const { return m_codeMD5HasBeenSet; } /** *The checksum that can be used to validate zip-format code.
*/ inline void SetCodeMD5(const Aws::String& value) { m_codeMD5HasBeenSet = true; m_codeMD5 = value; } /** *The checksum that can be used to validate zip-format code.
*/ inline void SetCodeMD5(Aws::String&& value) { m_codeMD5HasBeenSet = true; m_codeMD5 = std::move(value); } /** *The checksum that can be used to validate zip-format code.
*/ inline void SetCodeMD5(const char* value) { m_codeMD5HasBeenSet = true; m_codeMD5.assign(value); } /** *The checksum that can be used to validate zip-format code.
*/ inline CodeContentDescription& WithCodeMD5(const Aws::String& value) { SetCodeMD5(value); return *this;} /** *The checksum that can be used to validate zip-format code.
*/ inline CodeContentDescription& WithCodeMD5(Aws::String&& value) { SetCodeMD5(std::move(value)); return *this;} /** *The checksum that can be used to validate zip-format code.
*/ inline CodeContentDescription& WithCodeMD5(const char* value) { SetCodeMD5(value); return *this;} /** *The size in bytes of the application code. Can be used to validate zip-format * code.
*/ inline long long GetCodeSize() const{ return m_codeSize; } /** *The size in bytes of the application code. Can be used to validate zip-format * code.
*/ inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; } /** *The size in bytes of the application code. Can be used to validate zip-format * code.
*/ inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; } /** *The size in bytes of the application code. Can be used to validate zip-format * code.
*/ inline CodeContentDescription& WithCodeSize(long long value) { SetCodeSize(value); return *this;} /** *The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * application code stored in Amazon S3.
*/ inline const S3ApplicationCodeLocationDescription& GetS3ApplicationCodeLocationDescription() const{ return m_s3ApplicationCodeLocationDescription; } /** *The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * application code stored in Amazon S3.
*/ inline bool S3ApplicationCodeLocationDescriptionHasBeenSet() const { return m_s3ApplicationCodeLocationDescriptionHasBeenSet; } /** *The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * application code stored in Amazon S3.
*/ inline void SetS3ApplicationCodeLocationDescription(const S3ApplicationCodeLocationDescription& value) { m_s3ApplicationCodeLocationDescriptionHasBeenSet = true; m_s3ApplicationCodeLocationDescription = value; } /** *The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * application code stored in Amazon S3.
*/ inline void SetS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription&& value) { m_s3ApplicationCodeLocationDescriptionHasBeenSet = true; m_s3ApplicationCodeLocationDescription = std::move(value); } /** *The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * application code stored in Amazon S3.
*/ inline CodeContentDescription& WithS3ApplicationCodeLocationDescription(const S3ApplicationCodeLocationDescription& value) { SetS3ApplicationCodeLocationDescription(value); return *this;} /** *The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * application code stored in Amazon S3.
*/ inline CodeContentDescription& WithS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription&& value) { SetS3ApplicationCodeLocationDescription(std::move(value)); return *this;} private: Aws::String m_textContent; bool m_textContentHasBeenSet; Aws::String m_codeMD5; bool m_codeMD5HasBeenSet; long long m_codeSize; bool m_codeSizeHasBeenSet; S3ApplicationCodeLocationDescription m_s3ApplicationCodeLocationDescription; bool m_s3ApplicationCodeLocationDescriptionHasBeenSet; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws