/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace MigrationHubRefactorSpaces { namespace Model { /** */ class GetApplicationRequest : public MigrationHubRefactorSpacesRequest { public: AWS_MIGRATIONHUBREFACTORSPACES_API GetApplicationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetApplication"; } AWS_MIGRATIONHUBREFACTORSPACES_API Aws::String SerializePayload() const override; /** *

The ID of the application.

*/ inline const Aws::String& GetApplicationIdentifier() const{ return m_applicationIdentifier; } /** *

The ID of the application.

*/ inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; } /** *

The ID of the application.

*/ inline void SetApplicationIdentifier(const Aws::String& value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier = value; } /** *

The ID of the application.

*/ inline void SetApplicationIdentifier(Aws::String&& value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier = std::move(value); } /** *

The ID of the application.

*/ inline void SetApplicationIdentifier(const char* value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier.assign(value); } /** *

The ID of the application.

*/ inline GetApplicationRequest& WithApplicationIdentifier(const Aws::String& value) { SetApplicationIdentifier(value); return *this;} /** *

The ID of the application.

*/ inline GetApplicationRequest& WithApplicationIdentifier(Aws::String&& value) { SetApplicationIdentifier(std::move(value)); return *this;} /** *

The ID of the application.

*/ inline GetApplicationRequest& WithApplicationIdentifier(const char* value) { SetApplicationIdentifier(value); return *this;} /** *

The ID of the environment.

*/ inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; } /** *

The ID of the environment.

*/ inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; } /** *

The ID of the environment.

*/ inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; } /** *

The ID of the environment.

*/ inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); } /** *

The ID of the environment.

*/ inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); } /** *

The ID of the environment.

*/ inline GetApplicationRequest& WithEnvironmentIdentifier(const Aws::String& value) { SetEnvironmentIdentifier(value); return *this;} /** *

The ID of the environment.

*/ inline GetApplicationRequest& WithEnvironmentIdentifier(Aws::String&& value) { SetEnvironmentIdentifier(std::move(value)); return *this;} /** *

The ID of the environment.

*/ inline GetApplicationRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;} private: Aws::String m_applicationIdentifier; bool m_applicationIdentifierHasBeenSet = false; Aws::String m_environmentIdentifier; bool m_environmentIdentifierHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws