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

The settings object that holds all supported Audit Manager settings.

*/ inline const Settings& GetSettings() const{ return m_settings; } /** *

The settings object that holds all supported Audit Manager settings.

*/ inline void SetSettings(const Settings& value) { m_settings = value; } /** *

The settings object that holds all supported Audit Manager settings.

*/ inline void SetSettings(Settings&& value) { m_settings = std::move(value); } /** *

The settings object that holds all supported Audit Manager settings.

*/ inline GetSettingsResult& WithSettings(const Settings& value) { SetSettings(value); return *this;} /** *

The settings object that holds all supported Audit Manager settings.

*/ inline GetSettingsResult& WithSettings(Settings&& value) { SetSettings(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 GetSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Settings m_settings; Aws::String m_requestId; }; } // namespace Model } // namespace AuditManager } // namespace Aws