/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the application.See Also:
AWS API
* Reference
The unique ID of the application.
*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *The unique ID of the application.
*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *The unique ID of the application.
*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *The unique ID of the application.
*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *The unique ID of the application.
*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *The unique ID of the application.
*/ inline AppSummary& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The unique ID of the application.
*/ inline AppSummary& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The unique ID of the application.
*/ inline AppSummary& WithAppId(const char* value) { SetAppId(value); return *this;} /** *The ID of the application.
*/ inline const Aws::String& GetImportedAppId() const{ return m_importedAppId; } /** *The ID of the application.
*/ inline bool ImportedAppIdHasBeenSet() const { return m_importedAppIdHasBeenSet; } /** *The ID of the application.
*/ inline void SetImportedAppId(const Aws::String& value) { m_importedAppIdHasBeenSet = true; m_importedAppId = value; } /** *The ID of the application.
*/ inline void SetImportedAppId(Aws::String&& value) { m_importedAppIdHasBeenSet = true; m_importedAppId = std::move(value); } /** *The ID of the application.
*/ inline void SetImportedAppId(const char* value) { m_importedAppIdHasBeenSet = true; m_importedAppId.assign(value); } /** *The ID of the application.
*/ inline AppSummary& WithImportedAppId(const Aws::String& value) { SetImportedAppId(value); return *this;} /** *The ID of the application.
*/ inline AppSummary& WithImportedAppId(Aws::String&& value) { SetImportedAppId(std::move(value)); return *this;} /** *The ID of the application.
*/ inline AppSummary& WithImportedAppId(const char* value) { SetImportedAppId(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 AppSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the application.
*/ inline AppSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the application.
*/ inline AppSummary& WithName(const char* value) { SetName(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 AppSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the application.
*/ inline AppSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the application.
*/ inline AppSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Status of the application.
*/ inline const AppStatus& GetStatus() const{ return m_status; } /** *Status of the application.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of the application.
*/ inline void SetStatus(const AppStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of the application.
*/ inline void SetStatus(AppStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of the application.
*/ inline AppSummary& WithStatus(const AppStatus& value) { SetStatus(value); return *this;} /** *Status of the application.
*/ inline AppSummary& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A message related to the status of the application
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A message related to the status of the application
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A message related to the status of the application
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A message related to the status of the application
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A message related to the status of the application
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A message related to the status of the application
*/ inline AppSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A message related to the status of the application
*/ inline AppSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A message related to the status of the application
*/ inline AppSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *Status of the replication configuration.
*/ inline const AppReplicationConfigurationStatus& GetReplicationConfigurationStatus() const{ return m_replicationConfigurationStatus; } /** *Status of the replication configuration.
*/ inline bool ReplicationConfigurationStatusHasBeenSet() const { return m_replicationConfigurationStatusHasBeenSet; } /** *Status of the replication configuration.
*/ inline void SetReplicationConfigurationStatus(const AppReplicationConfigurationStatus& value) { m_replicationConfigurationStatusHasBeenSet = true; m_replicationConfigurationStatus = value; } /** *Status of the replication configuration.
*/ inline void SetReplicationConfigurationStatus(AppReplicationConfigurationStatus&& value) { m_replicationConfigurationStatusHasBeenSet = true; m_replicationConfigurationStatus = std::move(value); } /** *Status of the replication configuration.
*/ inline AppSummary& WithReplicationConfigurationStatus(const AppReplicationConfigurationStatus& value) { SetReplicationConfigurationStatus(value); return *this;} /** *Status of the replication configuration.
*/ inline AppSummary& WithReplicationConfigurationStatus(AppReplicationConfigurationStatus&& value) { SetReplicationConfigurationStatus(std::move(value)); return *this;} /** *The replication status of the application.
*/ inline const AppReplicationStatus& GetReplicationStatus() const{ return m_replicationStatus; } /** *The replication status of the application.
*/ inline bool ReplicationStatusHasBeenSet() const { return m_replicationStatusHasBeenSet; } /** *The replication status of the application.
*/ inline void SetReplicationStatus(const AppReplicationStatus& value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = value; } /** *The replication status of the application.
*/ inline void SetReplicationStatus(AppReplicationStatus&& value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = std::move(value); } /** *The replication status of the application.
*/ inline AppSummary& WithReplicationStatus(const AppReplicationStatus& value) { SetReplicationStatus(value); return *this;} /** *The replication status of the application.
*/ inline AppSummary& WithReplicationStatus(AppReplicationStatus&& value) { SetReplicationStatus(std::move(value)); return *this;} /** *A message related to the replication status of the application.
*/ inline const Aws::String& GetReplicationStatusMessage() const{ return m_replicationStatusMessage; } /** *A message related to the replication status of the application.
*/ inline bool ReplicationStatusMessageHasBeenSet() const { return m_replicationStatusMessageHasBeenSet; } /** *A message related to the replication status of the application.
*/ inline void SetReplicationStatusMessage(const Aws::String& value) { m_replicationStatusMessageHasBeenSet = true; m_replicationStatusMessage = value; } /** *A message related to the replication status of the application.
*/ inline void SetReplicationStatusMessage(Aws::String&& value) { m_replicationStatusMessageHasBeenSet = true; m_replicationStatusMessage = std::move(value); } /** *A message related to the replication status of the application.
*/ inline void SetReplicationStatusMessage(const char* value) { m_replicationStatusMessageHasBeenSet = true; m_replicationStatusMessage.assign(value); } /** *A message related to the replication status of the application.
*/ inline AppSummary& WithReplicationStatusMessage(const Aws::String& value) { SetReplicationStatusMessage(value); return *this;} /** *A message related to the replication status of the application.
*/ inline AppSummary& WithReplicationStatusMessage(Aws::String&& value) { SetReplicationStatusMessage(std::move(value)); return *this;} /** *A message related to the replication status of the application.
*/ inline AppSummary& WithReplicationStatusMessage(const char* value) { SetReplicationStatusMessage(value); return *this;} /** *The timestamp of the application's most recent successful replication.
*/ inline const Aws::Utils::DateTime& GetLatestReplicationTime() const{ return m_latestReplicationTime; } /** *The timestamp of the application's most recent successful replication.
*/ inline bool LatestReplicationTimeHasBeenSet() const { return m_latestReplicationTimeHasBeenSet; } /** *The timestamp of the application's most recent successful replication.
*/ inline void SetLatestReplicationTime(const Aws::Utils::DateTime& value) { m_latestReplicationTimeHasBeenSet = true; m_latestReplicationTime = value; } /** *The timestamp of the application's most recent successful replication.
*/ inline void SetLatestReplicationTime(Aws::Utils::DateTime&& value) { m_latestReplicationTimeHasBeenSet = true; m_latestReplicationTime = std::move(value); } /** *The timestamp of the application's most recent successful replication.
*/ inline AppSummary& WithLatestReplicationTime(const Aws::Utils::DateTime& value) { SetLatestReplicationTime(value); return *this;} /** *The timestamp of the application's most recent successful replication.
*/ inline AppSummary& WithLatestReplicationTime(Aws::Utils::DateTime&& value) { SetLatestReplicationTime(std::move(value)); return *this;} /** *Status of the launch configuration.
*/ inline const AppLaunchConfigurationStatus& GetLaunchConfigurationStatus() const{ return m_launchConfigurationStatus; } /** *Status of the launch configuration.
*/ inline bool LaunchConfigurationStatusHasBeenSet() const { return m_launchConfigurationStatusHasBeenSet; } /** *Status of the launch configuration.
*/ inline void SetLaunchConfigurationStatus(const AppLaunchConfigurationStatus& value) { m_launchConfigurationStatusHasBeenSet = true; m_launchConfigurationStatus = value; } /** *Status of the launch configuration.
*/ inline void SetLaunchConfigurationStatus(AppLaunchConfigurationStatus&& value) { m_launchConfigurationStatusHasBeenSet = true; m_launchConfigurationStatus = std::move(value); } /** *Status of the launch configuration.
*/ inline AppSummary& WithLaunchConfigurationStatus(const AppLaunchConfigurationStatus& value) { SetLaunchConfigurationStatus(value); return *this;} /** *Status of the launch configuration.
*/ inline AppSummary& WithLaunchConfigurationStatus(AppLaunchConfigurationStatus&& value) { SetLaunchConfigurationStatus(std::move(value)); return *this;} /** *The launch status of the application.
*/ inline const AppLaunchStatus& GetLaunchStatus() const{ return m_launchStatus; } /** *The launch status of the application.
*/ inline bool LaunchStatusHasBeenSet() const { return m_launchStatusHasBeenSet; } /** *The launch status of the application.
*/ inline void SetLaunchStatus(const AppLaunchStatus& value) { m_launchStatusHasBeenSet = true; m_launchStatus = value; } /** *The launch status of the application.
*/ inline void SetLaunchStatus(AppLaunchStatus&& value) { m_launchStatusHasBeenSet = true; m_launchStatus = std::move(value); } /** *The launch status of the application.
*/ inline AppSummary& WithLaunchStatus(const AppLaunchStatus& value) { SetLaunchStatus(value); return *this;} /** *The launch status of the application.
*/ inline AppSummary& WithLaunchStatus(AppLaunchStatus&& value) { SetLaunchStatus(std::move(value)); return *this;} /** *A message related to the launch status of the application.
*/ inline const Aws::String& GetLaunchStatusMessage() const{ return m_launchStatusMessage; } /** *A message related to the launch status of the application.
*/ inline bool LaunchStatusMessageHasBeenSet() const { return m_launchStatusMessageHasBeenSet; } /** *A message related to the launch status of the application.
*/ inline void SetLaunchStatusMessage(const Aws::String& value) { m_launchStatusMessageHasBeenSet = true; m_launchStatusMessage = value; } /** *A message related to the launch status of the application.
*/ inline void SetLaunchStatusMessage(Aws::String&& value) { m_launchStatusMessageHasBeenSet = true; m_launchStatusMessage = std::move(value); } /** *A message related to the launch status of the application.
*/ inline void SetLaunchStatusMessage(const char* value) { m_launchStatusMessageHasBeenSet = true; m_launchStatusMessage.assign(value); } /** *A message related to the launch status of the application.
*/ inline AppSummary& WithLaunchStatusMessage(const Aws::String& value) { SetLaunchStatusMessage(value); return *this;} /** *A message related to the launch status of the application.
*/ inline AppSummary& WithLaunchStatusMessage(Aws::String&& value) { SetLaunchStatusMessage(std::move(value)); return *this;} /** *A message related to the launch status of the application.
*/ inline AppSummary& WithLaunchStatusMessage(const char* value) { SetLaunchStatusMessage(value); return *this;} /** *Details about the latest launch of the application.
*/ inline const LaunchDetails& GetLaunchDetails() const{ return m_launchDetails; } /** *Details about the latest launch of the application.
*/ inline bool LaunchDetailsHasBeenSet() const { return m_launchDetailsHasBeenSet; } /** *Details about the latest launch of the application.
*/ inline void SetLaunchDetails(const LaunchDetails& value) { m_launchDetailsHasBeenSet = true; m_launchDetails = value; } /** *Details about the latest launch of the application.
*/ inline void SetLaunchDetails(LaunchDetails&& value) { m_launchDetailsHasBeenSet = true; m_launchDetails = std::move(value); } /** *Details about the latest launch of the application.
*/ inline AppSummary& WithLaunchDetails(const LaunchDetails& value) { SetLaunchDetails(value); return *this;} /** *Details about the latest launch of the application.
*/ inline AppSummary& WithLaunchDetails(LaunchDetails&& value) { SetLaunchDetails(std::move(value)); return *this;} /** *The creation time of the application.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The creation time of the application.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The creation time of the application.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The creation time of the application.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The creation time of the application.
*/ inline AppSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The creation time of the application.
*/ inline AppSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last modified time of the application.
*/ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } /** *The last modified time of the application.
*/ inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } /** *The last modified time of the application.
*/ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** *The last modified time of the application.
*/ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } /** *The last modified time of the application.
*/ inline AppSummary& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} /** *The last modified time of the application.
*/ inline AppSummary& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline const Aws::String& GetRoleName() const{ return m_roleName; } /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; } /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; } /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); } /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); } /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline AppSummary& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;} /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline AppSummary& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;} /** *The name of the service role in the customer's account used by Server * Migration Service.
*/ inline AppSummary& WithRoleName(const char* value) { SetRoleName(value); return *this;} /** *The number of server groups present in the application.
*/ inline int GetTotalServerGroups() const{ return m_totalServerGroups; } /** *The number of server groups present in the application.
*/ inline bool TotalServerGroupsHasBeenSet() const { return m_totalServerGroupsHasBeenSet; } /** *The number of server groups present in the application.
*/ inline void SetTotalServerGroups(int value) { m_totalServerGroupsHasBeenSet = true; m_totalServerGroups = value; } /** *The number of server groups present in the application.
*/ inline AppSummary& WithTotalServerGroups(int value) { SetTotalServerGroups(value); return *this;} /** *The number of servers present in the application.
*/ inline int GetTotalServers() const{ return m_totalServers; } /** *The number of servers present in the application.
*/ inline bool TotalServersHasBeenSet() const { return m_totalServersHasBeenSet; } /** *The number of servers present in the application.
*/ inline void SetTotalServers(int value) { m_totalServersHasBeenSet = true; m_totalServers = value; } /** *The number of servers present in the application.
*/ inline AppSummary& WithTotalServers(int value) { SetTotalServers(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_importedAppId; bool m_importedAppIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; AppStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; AppReplicationConfigurationStatus m_replicationConfigurationStatus; bool m_replicationConfigurationStatusHasBeenSet = false; AppReplicationStatus m_replicationStatus; bool m_replicationStatusHasBeenSet = false; Aws::String m_replicationStatusMessage; bool m_replicationStatusMessageHasBeenSet = false; Aws::Utils::DateTime m_latestReplicationTime; bool m_latestReplicationTimeHasBeenSet = false; AppLaunchConfigurationStatus m_launchConfigurationStatus; bool m_launchConfigurationStatusHasBeenSet = false; AppLaunchStatus m_launchStatus; bool m_launchStatusHasBeenSet = false; Aws::String m_launchStatusMessage; bool m_launchStatusMessageHasBeenSet = false; LaunchDetails m_launchDetails; bool m_launchDetailsHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModified; bool m_lastModifiedHasBeenSet = false; Aws::String m_roleName; bool m_roleNameHasBeenSet = false; int m_totalServerGroups; bool m_totalServerGroupsHasBeenSet = false; int m_totalServers; bool m_totalServersHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws