/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An SAP application registered with AWS Systems Manager for SAP.See
* Also:
AWS
* API Reference
The ID of the application.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the application.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the application.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the application.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the application.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the application.
*/ inline Application& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the application.
*/ inline Application& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the application.
*/ inline Application& WithId(const char* value) { SetId(value); return *this;} /** *The type of the application.
*/ inline const ApplicationType& GetType() const{ return m_type; } /** *The type of the application.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the application.
*/ inline void SetType(const ApplicationType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the application.
*/ inline void SetType(ApplicationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the application.
*/ inline Application& WithType(const ApplicationType& value) { SetType(value); return *this;} /** *The type of the application.
*/ inline Application& WithType(ApplicationType&& value) { SetType(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the application.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the application.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the application.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the application.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the application.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the application.
*/ inline Application& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the application.
*/ inline Application& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the application.
*/ inline Application& WithArn(const char* value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline const Aws::String& GetAppRegistryArn() const{ return m_appRegistryArn; } /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline bool AppRegistryArnHasBeenSet() const { return m_appRegistryArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline void SetAppRegistryArn(const Aws::String& value) { m_appRegistryArnHasBeenSet = true; m_appRegistryArn = value; } /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline void SetAppRegistryArn(Aws::String&& value) { m_appRegistryArnHasBeenSet = true; m_appRegistryArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline void SetAppRegistryArn(const char* value) { m_appRegistryArnHasBeenSet = true; m_appRegistryArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline Application& WithAppRegistryArn(const Aws::String& value) { SetAppRegistryArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline Application& WithAppRegistryArn(Aws::String&& value) { SetAppRegistryArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Application Registry.
*/ inline Application& WithAppRegistryArn(const char* value) { SetAppRegistryArn(value); return *this;} /** *The status of the application.
*/ inline const ApplicationStatus& 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 ApplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the application.
*/ inline void SetStatus(ApplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the application.
*/ inline Application& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;} /** *The status of the application.
*/ inline Application& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The latest discovery result for the application.
*/ inline const ApplicationDiscoveryStatus& GetDiscoveryStatus() const{ return m_discoveryStatus; } /** *The latest discovery result for the application.
*/ inline bool DiscoveryStatusHasBeenSet() const { return m_discoveryStatusHasBeenSet; } /** *The latest discovery result for the application.
*/ inline void SetDiscoveryStatus(const ApplicationDiscoveryStatus& value) { m_discoveryStatusHasBeenSet = true; m_discoveryStatus = value; } /** *The latest discovery result for the application.
*/ inline void SetDiscoveryStatus(ApplicationDiscoveryStatus&& value) { m_discoveryStatusHasBeenSet = true; m_discoveryStatus = std::move(value); } /** *The latest discovery result for the application.
*/ inline Application& WithDiscoveryStatus(const ApplicationDiscoveryStatus& value) { SetDiscoveryStatus(value); return *this;} /** *The latest discovery result for the application.
*/ inline Application& WithDiscoveryStatus(ApplicationDiscoveryStatus&& value) { SetDiscoveryStatus(std::move(value)); return *this;} /** *The components of the application.
*/ inline const Aws::VectorThe components of the application.
*/ inline bool ComponentsHasBeenSet() const { return m_componentsHasBeenSet; } /** *The components of the application.
*/ inline void SetComponents(const Aws::VectorThe components of the application.
*/ inline void SetComponents(Aws::VectorThe components of the application.
*/ inline Application& WithComponents(const Aws::VectorThe components of the application.
*/ inline Application& WithComponents(Aws::VectorThe components of the application.
*/ inline Application& AddComponents(const Aws::String& value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; } /** *The components of the application.
*/ inline Application& AddComponents(Aws::String&& value) { m_componentsHasBeenSet = true; m_components.push_back(std::move(value)); return *this; } /** *The components of the application.
*/ inline Application& AddComponents(const char* value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; } /** *The time at which the application was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *The time at which the application was last updated.
*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *The time at which the application was last updated.
*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *The time at which the application was last updated.
*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *The time at which the application was last updated.
*/ inline Application& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *The time at which the application was last updated.
*/ inline Application& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} /** *The status message.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The status message.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The status message.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The status message.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The status message.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The status message.
*/ inline Application& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The status message.
*/ inline Application& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The status message.
*/ inline Application& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; ApplicationType m_type; bool m_typeHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_appRegistryArn; bool m_appRegistryArnHasBeenSet = false; ApplicationStatus m_status; bool m_statusHasBeenSet = false; ApplicationDiscoveryStatus m_discoveryStatus; bool m_discoveryStatusHasBeenSet = false; Aws::Vector