/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 GetApplicationResult { public: AWS_CODEDEPLOY_API GetApplicationResult(); AWS_CODEDEPLOY_API GetApplicationResult(const Aws::AmazonWebServiceResult& result); AWS_CODEDEPLOY_API 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;} 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 GetApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ApplicationInfo m_application; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws