/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 AWS_KINESISANALYTICSV2_API ApplicationSummary { public: ApplicationSummary(); ApplicationSummary(Aws::Utils::Json::JsonView jsonValue); ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); 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 (SQL-1.0 or * FLINK-1_6).

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

The runtime environment for the application (SQL-1.0 or * FLINK-1_6).

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

The runtime environment for the application (SQL-1.0 or * FLINK-1_6).

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

The runtime environment for the application (SQL-1.0 or * FLINK-1_6).

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

The runtime environment for the application (SQL-1.0 or * FLINK-1_6).

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

The runtime environment for the application (SQL-1.0 or * FLINK-1_6).

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