/** * 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 IoTSiteWise { namespace Model { /** */ class PutLoggingOptionsRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API PutLoggingOptionsRequest(); // 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 "PutLoggingOptions"; } AWS_IOTSITEWISE_API Aws::String SerializePayload() const override; /** *

The logging options to set.

*/ inline const LoggingOptions& GetLoggingOptions() const{ return m_loggingOptions; } /** *

The logging options to set.

*/ inline bool LoggingOptionsHasBeenSet() const { return m_loggingOptionsHasBeenSet; } /** *

The logging options to set.

*/ inline void SetLoggingOptions(const LoggingOptions& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = value; } /** *

The logging options to set.

*/ inline void SetLoggingOptions(LoggingOptions&& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = std::move(value); } /** *

The logging options to set.

*/ inline PutLoggingOptionsRequest& WithLoggingOptions(const LoggingOptions& value) { SetLoggingOptions(value); return *this;} /** *

The logging options to set.

*/ inline PutLoggingOptionsRequest& WithLoggingOptions(LoggingOptions&& value) { SetLoggingOptions(std::move(value)); return *this;} private: LoggingOptions m_loggingOptions; bool m_loggingOptionsHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws