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

Provides application summary information, including the application Amazon * Resource Name (ARN), name, and status.

See Also:

AWS * API Reference

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

The name of the application.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The name of the application.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The name of the application.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The name of the application.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The name of the application.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The name of the application.

*/ inline ApplicationSummary& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The name of the application.

*/ inline ApplicationSummary& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The name of the application.

*/ inline ApplicationSummary& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

The ARN of the application.

*/ inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; } /** *

The ARN of the application.

*/ inline bool ApplicationARNHasBeenSet() const { return m_applicationARNHasBeenSet; } /** *

The ARN of the application.

*/ inline void SetApplicationARN(const Aws::String& value) { m_applicationARNHasBeenSet = true; m_applicationARN = value; } /** *

The ARN of the application.

*/ inline void SetApplicationARN(Aws::String&& value) { m_applicationARNHasBeenSet = true; m_applicationARN = std::move(value); } /** *

The ARN of the application.

*/ inline void SetApplicationARN(const char* value) { m_applicationARNHasBeenSet = true; m_applicationARN.assign(value); } /** *

The ARN of the application.

*/ inline ApplicationSummary& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;} /** *

The ARN of the application.

*/ inline ApplicationSummary& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;} /** *

The ARN of the application.

*/ inline ApplicationSummary& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;} /** *

The status of the application.

*/ inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; } /** *

The status of the application.

*/ inline bool ApplicationStatusHasBeenSet() const { return m_applicationStatusHasBeenSet; } /** *

The status of the application.

*/ inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = value; } /** *

The status of the application.

*/ inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = std::move(value); } /** *

The status of the application.

*/ inline ApplicationSummary& WithApplicationStatus(const ApplicationStatus& value) { SetApplicationStatus(value); return *this;} /** *

The status of the application.

*/ inline ApplicationSummary& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(value)); return *this;} /** *

Provides the current application version.

*/ inline long long GetApplicationVersionId() const{ return m_applicationVersionId; } /** *

Provides the current application version.

*/ inline bool ApplicationVersionIdHasBeenSet() const { return m_applicationVersionIdHasBeenSet; } /** *

Provides the current application version.

*/ inline void SetApplicationVersionId(long long value) { m_applicationVersionIdHasBeenSet = true; m_applicationVersionId = value; } /** *

Provides the current application version.

*/ inline ApplicationSummary& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;} /** *

The runtime environment for the application.

*/ inline const RuntimeEnvironment& GetRuntimeEnvironment() const{ return m_runtimeEnvironment; } /** *

The runtime environment for the application.

*/ inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; } /** *

The runtime environment for the application.

*/ inline void SetRuntimeEnvironment(const RuntimeEnvironment& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = value; } /** *

The runtime environment for the application.

*/ inline void SetRuntimeEnvironment(RuntimeEnvironment&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::move(value); } /** *

The runtime environment for the application.

*/ inline ApplicationSummary& WithRuntimeEnvironment(const RuntimeEnvironment& value) { SetRuntimeEnvironment(value); return *this;} /** *

The runtime environment for the application.

*/ inline ApplicationSummary& WithRuntimeEnvironment(RuntimeEnvironment&& value) { SetRuntimeEnvironment(std::move(value)); return *this;} /** *

For a Kinesis Data Analytics for Apache Flink application, the mode is * STREAMING. For a Kinesis Data Analytics Studio notebook, it is * INTERACTIVE.

*/ inline const ApplicationMode& GetApplicationMode() const{ return m_applicationMode; } /** *

For a Kinesis Data Analytics for Apache Flink application, the mode is * STREAMING. For a Kinesis Data Analytics Studio notebook, it is * INTERACTIVE.

*/ inline bool ApplicationModeHasBeenSet() const { return m_applicationModeHasBeenSet; } /** *

For a Kinesis Data Analytics for Apache Flink application, the mode is * STREAMING. For a Kinesis Data Analytics Studio notebook, it is * INTERACTIVE.

*/ inline void SetApplicationMode(const ApplicationMode& value) { m_applicationModeHasBeenSet = true; m_applicationMode = value; } /** *

For a Kinesis Data Analytics for Apache Flink application, the mode is * STREAMING. For a Kinesis Data Analytics Studio notebook, it is * INTERACTIVE.

*/ inline void SetApplicationMode(ApplicationMode&& value) { m_applicationModeHasBeenSet = true; m_applicationMode = std::move(value); } /** *

For a Kinesis Data Analytics for Apache Flink application, the mode is * STREAMING. For a Kinesis Data Analytics Studio notebook, it is * INTERACTIVE.

*/ inline ApplicationSummary& WithApplicationMode(const ApplicationMode& value) { SetApplicationMode(value); return *this;} /** *

For a Kinesis Data Analytics for Apache Flink application, the mode is * STREAMING. For a Kinesis Data Analytics Studio notebook, it is * INTERACTIVE.

*/ inline ApplicationSummary& WithApplicationMode(ApplicationMode&& value) { SetApplicationMode(std::move(value)); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_applicationARN; bool m_applicationARNHasBeenSet = false; ApplicationStatus m_applicationStatus; bool m_applicationStatusHasBeenSet = false; long long m_applicationVersionId; bool m_applicationVersionIdHasBeenSet = false; RuntimeEnvironment m_runtimeEnvironment; bool m_runtimeEnvironmentHasBeenSet = false; ApplicationMode m_applicationMode; bool m_applicationModeHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws