/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies either the application code, or the location of the application
* code, for a Flink-based Kinesis Data Analytics application. See
* Also:
AWS
* API Reference
The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline const Aws::String& GetTextContent() const{ return m_textContent; } /** *The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline bool TextContentHasBeenSet() const { return m_textContentHasBeenSet; } /** *The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline void SetTextContent(const Aws::String& value) { m_textContentHasBeenSet = true; m_textContent = value; } /** *The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline void SetTextContent(Aws::String&& value) { m_textContentHasBeenSet = true; m_textContent = std::move(value); } /** *The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline void SetTextContent(const char* value) { m_textContentHasBeenSet = true; m_textContent.assign(value); } /** *The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline CodeContent& WithTextContent(const Aws::String& value) { SetTextContent(value); return *this;} /** *The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline CodeContent& WithTextContent(Aws::String&& value) { SetTextContent(std::move(value)); return *this;} /** *The text-format code for a Flink-based Kinesis Data Analytics * application.
*/ inline CodeContent& WithTextContent(const char* value) { SetTextContent(value); return *this;} /** *The zip-format code for a Flink-based Kinesis Data Analytics application.
*/ inline const Aws::Utils::ByteBuffer& GetZipFileContent() const{ return m_zipFileContent; } /** *The zip-format code for a Flink-based Kinesis Data Analytics application.
*/ inline bool ZipFileContentHasBeenSet() const { return m_zipFileContentHasBeenSet; } /** *The zip-format code for a Flink-based Kinesis Data Analytics application.
*/ inline void SetZipFileContent(const Aws::Utils::ByteBuffer& value) { m_zipFileContentHasBeenSet = true; m_zipFileContent = value; } /** *The zip-format code for a Flink-based Kinesis Data Analytics application.
*/ inline void SetZipFileContent(Aws::Utils::ByteBuffer&& value) { m_zipFileContentHasBeenSet = true; m_zipFileContent = std::move(value); } /** *The zip-format code for a Flink-based Kinesis Data Analytics application.
*/ inline CodeContent& WithZipFileContent(const Aws::Utils::ByteBuffer& value) { SetZipFileContent(value); return *this;} /** *The zip-format code for a Flink-based Kinesis Data Analytics application.
*/ inline CodeContent& WithZipFileContent(Aws::Utils::ByteBuffer&& value) { SetZipFileContent(std::move(value)); return *this;} /** *Information about the Amazon S3 bucket that contains the application * code.
*/ inline const S3ContentLocation& GetS3ContentLocation() const{ return m_s3ContentLocation; } /** *Information about the Amazon S3 bucket that contains the application * code.
*/ inline bool S3ContentLocationHasBeenSet() const { return m_s3ContentLocationHasBeenSet; } /** *Information about the Amazon S3 bucket that contains the application * code.
*/ inline void SetS3ContentLocation(const S3ContentLocation& value) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = value; } /** *Information about the Amazon S3 bucket that contains the application * code.
*/ inline void SetS3ContentLocation(S3ContentLocation&& value) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = std::move(value); } /** *Information about the Amazon S3 bucket that contains the application * code.
*/ inline CodeContent& WithS3ContentLocation(const S3ContentLocation& value) { SetS3ContentLocation(value); return *this;} /** *Information about the Amazon S3 bucket that contains the application * code.
*/ inline CodeContent& WithS3ContentLocation(S3ContentLocation&& value) { SetS3ContentLocation(std::move(value)); return *this;} private: Aws::String m_textContent; bool m_textContentHasBeenSet = false; Aws::Utils::ByteBuffer m_zipFileContent; bool m_zipFileContentHasBeenSet = false; S3ContentLocation m_s3ContentLocation; bool m_s3ContentLocationHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws