/** * 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 ApplicationInsights { namespace Model { class CreateApplicationResult { public: AWS_APPLICATIONINSIGHTS_API CreateApplicationResult(); AWS_APPLICATIONINSIGHTS_API CreateApplicationResult(const Aws::AmazonWebServiceResult& result); AWS_APPLICATIONINSIGHTS_API CreateApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the application.

*/ inline const ApplicationInfo& GetApplicationInfo() const{ return m_applicationInfo; } /** *

Information about the application.

*/ inline void SetApplicationInfo(const ApplicationInfo& value) { m_applicationInfo = value; } /** *

Information about the application.

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

Information about the application.

*/ inline CreateApplicationResult& WithApplicationInfo(const ApplicationInfo& value) { SetApplicationInfo(value); return *this;} /** *

Information about the application.

*/ inline CreateApplicationResult& WithApplicationInfo(ApplicationInfo&& value) { SetApplicationInfo(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 CreateApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ApplicationInfo m_applicationInfo; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws