/** * 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 Http { class URI; } //namespace Http namespace ServerlessApplicationRepository { namespace Model { /** */ class GetApplicationRequest : public ServerlessApplicationRepositoryRequest { public: AWS_SERVERLESSAPPLICATIONREPOSITORY_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_SERVERLESSAPPLICATIONREPOSITORY_API Aws::String SerializePayload() const override; AWS_SERVERLESSAPPLICATIONREPOSITORY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The semantic version of the application to get.

*/ inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; } /** *

The semantic version of the application to get.

*/ inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; } /** *

The semantic version of the application to get.

*/ inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = value; } /** *

The semantic version of the application to get.

*/ inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::move(value); } /** *

The semantic version of the application to get.

*/ inline void SetSemanticVersion(const char* value) { m_semanticVersionHasBeenSet = true; m_semanticVersion.assign(value); } /** *

The semantic version of the application to get.

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

The semantic version of the application to get.

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

The semantic version of the application to get.

*/ inline GetApplicationRequest& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_semanticVersion; bool m_semanticVersionHasBeenSet = false; }; } // namespace Model } // namespace ServerlessApplicationRepository } // namespace Aws