/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeDeploy { namespace Model { /** *

Represents the output of a GetApplication * operation.

See Also:

AWS * API Reference

*/ class AWS_CODEDEPLOY_API GetApplicationResult { public: GetApplicationResult(); GetApplicationResult(const Aws::AmazonWebServiceResult& result); GetApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the application.

*/ inline const ApplicationInfo& GetApplication() const{ return m_application; } /** *

Information about the application.

*/ inline void SetApplication(const ApplicationInfo& value) { m_application = value; } /** *

Information about the application.

*/ inline void SetApplication(ApplicationInfo&& value) { m_application = std::move(value); } /** *

Information about the application.

*/ inline GetApplicationResult& WithApplication(const ApplicationInfo& value) { SetApplication(value); return *this;} /** *

Information about the application.

*/ inline GetApplicationResult& WithApplication(ApplicationInfo&& value) { SetApplication(std::move(value)); return *this;} private: ApplicationInfo m_application; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws