This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iotanalytics/include/aws/iotanalytics/model/PutLoggingOptionsRequest.h

74 lines
2.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/iotanalytics/model/LoggingOptions.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API PutLoggingOptionsRequest : public IoTAnalyticsRequest
{
public:
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::String SerializePayload() const override;
/**
* <p>The new values of the AWS IoT Analytics logging options.</p>
*/
inline const LoggingOptions& GetLoggingOptions() const{ return m_loggingOptions; }
/**
* <p>The new values of the AWS IoT Analytics logging options.</p>
*/
inline bool LoggingOptionsHasBeenSet() const { return m_loggingOptionsHasBeenSet; }
/**
* <p>The new values of the AWS IoT Analytics logging options.</p>
*/
inline void SetLoggingOptions(const LoggingOptions& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = value; }
/**
* <p>The new values of the AWS IoT Analytics logging options.</p>
*/
inline void SetLoggingOptions(LoggingOptions&& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = std::move(value); }
/**
* <p>The new values of the AWS IoT Analytics logging options.</p>
*/
inline PutLoggingOptionsRequest& WithLoggingOptions(const LoggingOptions& value) { SetLoggingOptions(value); return *this;}
/**
* <p>The new values of the AWS IoT Analytics logging options.</p>
*/
inline PutLoggingOptionsRequest& WithLoggingOptions(LoggingOptions&& value) { SetLoggingOptions(std::move(value)); return *this;}
private:
LoggingOptions m_loggingOptions;
bool m_loggingOptionsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws