/** * 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 OpsWorks { namespace Model { /** *

Contains the response to a CreateApp request.

See * Also:

AWS * API Reference

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

The app ID.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The app ID.

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

The app ID.

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

The app ID.

*/ inline void SetAppId(const char* value) { m_appId.assign(value); } /** *

The app ID.

*/ inline CreateAppResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The app ID.

*/ inline CreateAppResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The app ID.

*/ inline CreateAppResult& WithAppId(const char* value) { SetAppId(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 CreateAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAppResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appId; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorks } // namespace Aws