/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MigrationHubRefactorSpaces { namespace Model { class DeleteRouteResult { public: AWS_MIGRATIONHUBREFACTORSPACES_API DeleteRouteResult(); AWS_MIGRATIONHUBREFACTORSPACES_API DeleteRouteResult(const Aws::AmazonWebServiceResult& result); AWS_MIGRATIONHUBREFACTORSPACES_API DeleteRouteResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the application that the route belongs to.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The ID of the application that the route belongs to.

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

The ID of the application that the route belongs to.

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

The ID of the application that the route belongs to.

*/ inline void SetApplicationId(const char* value) { m_applicationId.assign(value); } /** *

The ID of the application that the route belongs to.

*/ inline DeleteRouteResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The ID of the application that the route belongs to.

*/ inline DeleteRouteResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The ID of the application that the route belongs to.

*/ inline DeleteRouteResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the route.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the route.

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

The Amazon Resource Name (ARN) of the route.

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

The Amazon Resource Name (ARN) of the route.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the route.

*/ inline DeleteRouteResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the route.

*/ inline DeleteRouteResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the route.

*/ inline DeleteRouteResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

A timestamp that indicates when the route was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

A timestamp that indicates when the route was last updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; } /** *

A timestamp that indicates when the route was last updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); } /** *

A timestamp that indicates when the route was last updated.

*/ inline DeleteRouteResult& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

A timestamp that indicates when the route was last updated.

*/ inline DeleteRouteResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The ID of the route to delete.

*/ inline const Aws::String& GetRouteId() const{ return m_routeId; } /** *

The ID of the route to delete.

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

The ID of the route to delete.

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

The ID of the route to delete.

*/ inline void SetRouteId(const char* value) { m_routeId.assign(value); } /** *

The ID of the route to delete.

*/ inline DeleteRouteResult& WithRouteId(const Aws::String& value) { SetRouteId(value); return *this;} /** *

The ID of the route to delete.

*/ inline DeleteRouteResult& WithRouteId(Aws::String&& value) { SetRouteId(std::move(value)); return *this;} /** *

The ID of the route to delete.

*/ inline DeleteRouteResult& WithRouteId(const char* value) { SetRouteId(value); return *this;} /** *

The ID of the service that the route belongs to.

*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *

The ID of the service that the route belongs to.

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

The ID of the service that the route belongs to.

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

The ID of the service that the route belongs to.

*/ inline void SetServiceId(const char* value) { m_serviceId.assign(value); } /** *

The ID of the service that the route belongs to.

*/ inline DeleteRouteResult& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *

The ID of the service that the route belongs to.

*/ inline DeleteRouteResult& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *

The ID of the service that the route belongs to.

*/ inline DeleteRouteResult& WithServiceId(const char* value) { SetServiceId(value); return *this;} /** *

The current state of the route.

*/ inline const RouteState& GetState() const{ return m_state; } /** *

The current state of the route.

*/ inline void SetState(const RouteState& value) { m_state = value; } /** *

The current state of the route.

*/ inline void SetState(RouteState&& value) { m_state = std::move(value); } /** *

The current state of the route.

*/ inline DeleteRouteResult& WithState(const RouteState& value) { SetState(value); return *this;} /** *

The current state of the route.

*/ inline DeleteRouteResult& WithState(RouteState&& value) { SetState(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 DeleteRouteResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteRouteResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteRouteResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; Aws::String m_arn; Aws::Utils::DateTime m_lastUpdatedTime; Aws::String m_routeId; Aws::String m_serviceId; RouteState m_state; Aws::String m_requestId; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws