115 lines
4.1 KiB
C++
115 lines
4.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
|
|
#include <aws/kinesisanalyticsv2/model/CodeContentType.h>
|
|
#include <aws/kinesisanalyticsv2/model/CodeContentDescription.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace KinesisAnalyticsV2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Describes code configuration for a Java-based Kinesis Data Analytics
|
|
* application.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationCodeConfigurationDescription">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_KINESISANALYTICSV2_API ApplicationCodeConfigurationDescription
|
|
{
|
|
public:
|
|
ApplicationCodeConfigurationDescription();
|
|
ApplicationCodeConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
|
|
ApplicationCodeConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>Specifies whether the code content is in text or zip format.</p>
|
|
*/
|
|
inline const CodeContentType& GetCodeContentType() const{ return m_codeContentType; }
|
|
|
|
/**
|
|
* <p>Specifies whether the code content is in text or zip format.</p>
|
|
*/
|
|
inline bool CodeContentTypeHasBeenSet() const { return m_codeContentTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Specifies whether the code content is in text or zip format.</p>
|
|
*/
|
|
inline void SetCodeContentType(const CodeContentType& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = value; }
|
|
|
|
/**
|
|
* <p>Specifies whether the code content is in text or zip format.</p>
|
|
*/
|
|
inline void SetCodeContentType(CodeContentType&& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = std::move(value); }
|
|
|
|
/**
|
|
* <p>Specifies whether the code content is in text or zip format.</p>
|
|
*/
|
|
inline ApplicationCodeConfigurationDescription& WithCodeContentType(const CodeContentType& value) { SetCodeContentType(value); return *this;}
|
|
|
|
/**
|
|
* <p>Specifies whether the code content is in text or zip format.</p>
|
|
*/
|
|
inline ApplicationCodeConfigurationDescription& WithCodeContentType(CodeContentType&& value) { SetCodeContentType(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Describes details about the location and format of the application code.</p>
|
|
*/
|
|
inline const CodeContentDescription& GetCodeContentDescription() const{ return m_codeContentDescription; }
|
|
|
|
/**
|
|
* <p>Describes details about the location and format of the application code.</p>
|
|
*/
|
|
inline bool CodeContentDescriptionHasBeenSet() const { return m_codeContentDescriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Describes details about the location and format of the application code.</p>
|
|
*/
|
|
inline void SetCodeContentDescription(const CodeContentDescription& value) { m_codeContentDescriptionHasBeenSet = true; m_codeContentDescription = value; }
|
|
|
|
/**
|
|
* <p>Describes details about the location and format of the application code.</p>
|
|
*/
|
|
inline void SetCodeContentDescription(CodeContentDescription&& value) { m_codeContentDescriptionHasBeenSet = true; m_codeContentDescription = std::move(value); }
|
|
|
|
/**
|
|
* <p>Describes details about the location and format of the application code.</p>
|
|
*/
|
|
inline ApplicationCodeConfigurationDescription& WithCodeContentDescription(const CodeContentDescription& value) { SetCodeContentDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>Describes details about the location and format of the application code.</p>
|
|
*/
|
|
inline ApplicationCodeConfigurationDescription& WithCodeContentDescription(CodeContentDescription&& value) { SetCodeContentDescription(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
CodeContentType m_codeContentType;
|
|
bool m_codeContentTypeHasBeenSet;
|
|
|
|
CodeContentDescription m_codeContentDescription;
|
|
bool m_codeContentDescriptionHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace KinesisAnalyticsV2
|
|
} // namespace Aws
|