/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SimSpaceWeaver { namespace Model { class DescribeAppResult { public: AWS_SIMSPACEWEAVER_API DescribeAppResult(); AWS_SIMSPACEWEAVER_API DescribeAppResult(const Aws::AmazonWebServiceResult& result); AWS_SIMSPACEWEAVER_API DescribeAppResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The description of the app.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the app.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the app.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description of the app.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the app.

*/ inline DescribeAppResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the app.

*/ inline DescribeAppResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the app.

*/ inline DescribeAppResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name of the domain of the app.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

The name of the domain of the app.

*/ inline void SetDomain(const Aws::String& value) { m_domain = value; } /** *

The name of the domain of the app.

*/ inline void SetDomain(Aws::String&& value) { m_domain = std::move(value); } /** *

The name of the domain of the app.

*/ inline void SetDomain(const char* value) { m_domain.assign(value); } /** *

The name of the domain of the app.

*/ inline DescribeAppResult& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

The name of the domain of the app.

*/ inline DescribeAppResult& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

The name of the domain of the app.

*/ inline DescribeAppResult& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

Information about the network endpoint for the custom app. You can use the * endpoint to connect to the custom app.

*/ inline const SimulationAppEndpointInfo& GetEndpointInfo() const{ return m_endpointInfo; } /** *

Information about the network endpoint for the custom app. You can use the * endpoint to connect to the custom app.

*/ inline void SetEndpointInfo(const SimulationAppEndpointInfo& value) { m_endpointInfo = value; } /** *

Information about the network endpoint for the custom app. You can use the * endpoint to connect to the custom app.

*/ inline void SetEndpointInfo(SimulationAppEndpointInfo&& value) { m_endpointInfo = std::move(value); } /** *

Information about the network endpoint for the custom app. You can use the * endpoint to connect to the custom app.

*/ inline DescribeAppResult& WithEndpointInfo(const SimulationAppEndpointInfo& value) { SetEndpointInfo(value); return *this;} /** *

Information about the network endpoint for the custom app. You can use the * endpoint to connect to the custom app.

*/ inline DescribeAppResult& WithEndpointInfo(SimulationAppEndpointInfo&& value) { SetEndpointInfo(std::move(value)); return *this;} inline const LaunchOverrides& GetLaunchOverrides() const{ return m_launchOverrides; } inline void SetLaunchOverrides(const LaunchOverrides& value) { m_launchOverrides = value; } inline void SetLaunchOverrides(LaunchOverrides&& value) { m_launchOverrides = std::move(value); } inline DescribeAppResult& WithLaunchOverrides(const LaunchOverrides& value) { SetLaunchOverrides(value); return *this;} inline DescribeAppResult& WithLaunchOverrides(LaunchOverrides&& value) { SetLaunchOverrides(std::move(value)); return *this;} /** *

The name of the app.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the app.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the app.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the app.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the app.

*/ inline DescribeAppResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the app.

*/ inline DescribeAppResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the app.

*/ inline DescribeAppResult& WithName(const char* value) { SetName(value); return *this;} /** *

The name of the simulation of the app.

*/ inline const Aws::String& GetSimulation() const{ return m_simulation; } /** *

The name of the simulation of the app.

*/ inline void SetSimulation(const Aws::String& value) { m_simulation = value; } /** *

The name of the simulation of the app.

*/ inline void SetSimulation(Aws::String&& value) { m_simulation = std::move(value); } /** *

The name of the simulation of the app.

*/ inline void SetSimulation(const char* value) { m_simulation.assign(value); } /** *

The name of the simulation of the app.

*/ inline DescribeAppResult& WithSimulation(const Aws::String& value) { SetSimulation(value); return *this;} /** *

The name of the simulation of the app.

*/ inline DescribeAppResult& WithSimulation(Aws::String&& value) { SetSimulation(std::move(value)); return *this;} /** *

The name of the simulation of the app.

*/ inline DescribeAppResult& WithSimulation(const char* value) { SetSimulation(value); return *this;} /** *

The current lifecycle state of the custom app.

*/ inline const SimulationAppStatus& GetStatus() const{ return m_status; } /** *

The current lifecycle state of the custom app.

*/ inline void SetStatus(const SimulationAppStatus& value) { m_status = value; } /** *

The current lifecycle state of the custom app.

*/ inline void SetStatus(SimulationAppStatus&& value) { m_status = std::move(value); } /** *

The current lifecycle state of the custom app.

*/ inline DescribeAppResult& WithStatus(const SimulationAppStatus& value) { SetStatus(value); return *this;} /** *

The current lifecycle state of the custom app.

*/ inline DescribeAppResult& WithStatus(SimulationAppStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The desired lifecycle state of the custom app.

*/ inline const SimulationAppTargetStatus& GetTargetStatus() const{ return m_targetStatus; } /** *

The desired lifecycle state of the custom app.

*/ inline void SetTargetStatus(const SimulationAppTargetStatus& value) { m_targetStatus = value; } /** *

The desired lifecycle state of the custom app.

*/ inline void SetTargetStatus(SimulationAppTargetStatus&& value) { m_targetStatus = std::move(value); } /** *

The desired lifecycle state of the custom app.

*/ inline DescribeAppResult& WithTargetStatus(const SimulationAppTargetStatus& value) { SetTargetStatus(value); return *this;} /** *

The desired lifecycle state of the custom app.

*/ inline DescribeAppResult& WithTargetStatus(SimulationAppTargetStatus&& value) { SetTargetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAppResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_description; Aws::String m_domain; SimulationAppEndpointInfo m_endpointInfo; LaunchOverrides m_launchOverrides; Aws::String m_name; Aws::String m_simulation; SimulationAppStatus m_status; SimulationAppTargetStatus m_targetStatus; Aws::String m_requestId; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws