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

The input for the SetLoggingOptions operation.

See Also:

AWS * API Reference

*/ class SetLoggingOptionsRequest : public IoTRequest { public: AWS_IOT_API SetLoggingOptionsRequest(); // 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 "SetLoggingOptions"; } AWS_IOT_API Aws::String SerializePayload() const override; /** *

The logging options payload.

*/ inline const LoggingOptionsPayload& GetLoggingOptionsPayload() const{ return m_loggingOptionsPayload; } /** *

The logging options payload.

*/ inline bool LoggingOptionsPayloadHasBeenSet() const { return m_loggingOptionsPayloadHasBeenSet; } /** *

The logging options payload.

*/ inline void SetLoggingOptionsPayload(const LoggingOptionsPayload& value) { m_loggingOptionsPayloadHasBeenSet = true; m_loggingOptionsPayload = value; } /** *

The logging options payload.

*/ inline void SetLoggingOptionsPayload(LoggingOptionsPayload&& value) { m_loggingOptionsPayloadHasBeenSet = true; m_loggingOptionsPayload = std::move(value); } /** *

The logging options payload.

*/ inline SetLoggingOptionsRequest& WithLoggingOptionsPayload(const LoggingOptionsPayload& value) { SetLoggingOptionsPayload(value); return *this;} /** *

The logging options payload.

*/ inline SetLoggingOptionsRequest& WithLoggingOptionsPayload(LoggingOptionsPayload&& value) { SetLoggingOptionsPayload(std::move(value)); return *this;} private: LoggingOptionsPayload m_loggingOptionsPayload; bool m_loggingOptionsPayloadHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws