/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace AuditManager { namespace Model { /** */ class GetSettingsRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API GetSettingsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetSettings"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; /** *

The list of setting attribute enum values.

*/ inline const SettingAttribute& GetAttribute() const{ return m_attribute; } /** *

The list of setting attribute enum values.

*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *

The list of setting attribute enum values.

*/ inline void SetAttribute(const SettingAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *

The list of setting attribute enum values.

*/ inline void SetAttribute(SettingAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *

The list of setting attribute enum values.

*/ inline GetSettingsRequest& WithAttribute(const SettingAttribute& value) { SetAttribute(value); return *this;} /** *

The list of setting attribute enum values.

*/ inline GetSettingsRequest& WithAttribute(SettingAttribute&& value) { SetAttribute(std::move(value)); return *this;} private: SettingAttribute m_attribute; bool m_attributeHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws