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

The application ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The application ID.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The application ID.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The application ID.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The application ID.

*/ inline GetApplicationResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The application ID.

*/ inline GetApplicationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The application ID.

*/ inline GetApplicationResult& WithId(const char* value) { SetId(value); return *this;} /** *

The application name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The application name.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The application name.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The application name.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The application name.

*/ inline GetApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The application name.

*/ inline GetApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The application name.

*/ inline GetApplicationResult& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the application.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the application.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the application.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description of the application.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the application.

*/ inline GetApplicationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the application.

*/ inline GetApplicationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the application.

*/ inline GetApplicationResult& WithDescription(const char* value) { SetDescription(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: Aws::String m_id; Aws::String m_name; Aws::String m_description; Aws::String m_requestId; }; } // namespace Model } // namespace AppConfig } // namespace Aws