/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A subset of the possible application attributes. Used in the application
* list.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the application.
*/ inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; } /** *The Amazon Resource Name (ARN) of the application.
*/ inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the application.
*/ inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; } /** *The Amazon Resource Name (ARN) of the application.
*/ inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the application.
*/ inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the application.
*/ inline ApplicationSummary& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the application.
*/ inline ApplicationSummary& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the application.
*/ inline ApplicationSummary& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;} /** *The unique identifier of the application.
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The unique identifier of the application.
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The unique identifier of the application.
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The unique identifier of the application.
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The unique identifier of the application.
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The unique identifier of the application.
*/ inline ApplicationSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier of the application.
*/ inline ApplicationSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier of the application.
*/ inline ApplicationSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *The version of the application.
*/ inline int GetApplicationVersion() const{ return m_applicationVersion; } /** *The version of the application.
*/ inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } /** *The version of the application.
*/ inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; } /** *The version of the application.
*/ inline ApplicationSummary& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;} /** *The timestamp when the application was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The timestamp when the application was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The timestamp when the application was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The timestamp when the application was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The timestamp when the application was created.
*/ inline ApplicationSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The timestamp when the application was created.
*/ inline ApplicationSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *Indicates either an ongoing deployment or if the application has ever * deployed successfully.
*/ inline const ApplicationDeploymentLifecycle& GetDeploymentStatus() const{ return m_deploymentStatus; } /** *Indicates either an ongoing deployment or if the application has ever * deployed successfully.
*/ inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; } /** *Indicates either an ongoing deployment or if the application has ever * deployed successfully.
*/ inline void SetDeploymentStatus(const ApplicationDeploymentLifecycle& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; } /** *Indicates either an ongoing deployment or if the application has ever * deployed successfully.
*/ inline void SetDeploymentStatus(ApplicationDeploymentLifecycle&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); } /** *Indicates either an ongoing deployment or if the application has ever * deployed successfully.
*/ inline ApplicationSummary& WithDeploymentStatus(const ApplicationDeploymentLifecycle& value) { SetDeploymentStatus(value); return *this;} /** *Indicates either an ongoing deployment or if the application has ever * deployed successfully.
*/ inline ApplicationSummary& WithDeploymentStatus(ApplicationDeploymentLifecycle&& value) { SetDeploymentStatus(std::move(value)); return *this;} /** *The description of the application.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the application.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the application.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the application.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the application.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the application.
*/ inline ApplicationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the application.
*/ inline ApplicationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the application.
*/ inline ApplicationSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The type of the target platform for this application.
*/ inline const EngineType& GetEngineType() const{ return m_engineType; } /** *The type of the target platform for this application.
*/ inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; } /** *The type of the target platform for this application.
*/ inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; } /** *The type of the target platform for this application.
*/ inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); } /** *The type of the target platform for this application.
*/ inline ApplicationSummary& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;} /** *The type of the target platform for this application.
*/ inline ApplicationSummary& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;} /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline ApplicationSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline ApplicationSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *The unique identifier of the runtime environment that hosts this * application.
*/ inline ApplicationSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *The timestamp when you last started the application. Null until the * application runs for the first time.
*/ inline const Aws::Utils::DateTime& GetLastStartTime() const{ return m_lastStartTime; } /** *The timestamp when you last started the application. Null until the * application runs for the first time.
*/ inline bool LastStartTimeHasBeenSet() const { return m_lastStartTimeHasBeenSet; } /** *The timestamp when you last started the application. Null until the * application runs for the first time.
*/ inline void SetLastStartTime(const Aws::Utils::DateTime& value) { m_lastStartTimeHasBeenSet = true; m_lastStartTime = value; } /** *The timestamp when you last started the application. Null until the * application runs for the first time.
*/ inline void SetLastStartTime(Aws::Utils::DateTime&& value) { m_lastStartTimeHasBeenSet = true; m_lastStartTime = std::move(value); } /** *The timestamp when you last started the application. Null until the * application runs for the first time.
*/ inline ApplicationSummary& WithLastStartTime(const Aws::Utils::DateTime& value) { SetLastStartTime(value); return *this;} /** *The timestamp when you last started the application. Null until the * application runs for the first time.
*/ inline ApplicationSummary& WithLastStartTime(Aws::Utils::DateTime&& value) { SetLastStartTime(std::move(value)); return *this;} /** *The name of the application.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the application.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the application.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the application.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the application.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the application.
*/ inline ApplicationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the application.
*/ inline ApplicationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the application.
*/ inline ApplicationSummary& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline ApplicationSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline ApplicationSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the role associated with the * application.
*/ inline ApplicationSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The status of the application.
*/ inline const ApplicationLifecycle& GetStatus() const{ return m_status; } /** *The status of the application.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the application.
*/ inline void SetStatus(const ApplicationLifecycle& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the application.
*/ inline void SetStatus(ApplicationLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the application.
*/ inline ApplicationSummary& WithStatus(const ApplicationLifecycle& value) { SetStatus(value); return *this;} /** *The status of the application.
*/ inline ApplicationSummary& WithStatus(ApplicationLifecycle&& value) { SetStatus(std::move(value)); return *this;} /** *Indicates the status of the latest version of the application.
*/ inline const ApplicationVersionLifecycle& GetVersionStatus() const{ return m_versionStatus; } /** *Indicates the status of the latest version of the application.
*/ inline bool VersionStatusHasBeenSet() const { return m_versionStatusHasBeenSet; } /** *Indicates the status of the latest version of the application.
*/ inline void SetVersionStatus(const ApplicationVersionLifecycle& value) { m_versionStatusHasBeenSet = true; m_versionStatus = value; } /** *Indicates the status of the latest version of the application.
*/ inline void SetVersionStatus(ApplicationVersionLifecycle&& value) { m_versionStatusHasBeenSet = true; m_versionStatus = std::move(value); } /** *Indicates the status of the latest version of the application.
*/ inline ApplicationSummary& WithVersionStatus(const ApplicationVersionLifecycle& value) { SetVersionStatus(value); return *this;} /** *Indicates the status of the latest version of the application.
*/ inline ApplicationSummary& WithVersionStatus(ApplicationVersionLifecycle&& value) { SetVersionStatus(std::move(value)); return *this;} private: Aws::String m_applicationArn; bool m_applicationArnHasBeenSet = false; Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; int m_applicationVersion; bool m_applicationVersionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; ApplicationDeploymentLifecycle m_deploymentStatus; bool m_deploymentStatusHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; EngineType m_engineType; bool m_engineTypeHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::Utils::DateTime m_lastStartTime; bool m_lastStartTimeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; ApplicationLifecycle m_status; bool m_statusHasBeenSet = false; ApplicationVersionLifecycle m_versionStatus; bool m_versionStatusHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws