AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutLoggingOptionsRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/iotanalytics/model/LoggingOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoTAnalytics
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOTANALYTICS_API PutLoggingOptionsRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "PutLoggingOptions"; }
31
32 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const LoggingOptions& GetLoggingOptions() const{ return m_loggingOptions; }
40 inline bool LoggingOptionsHasBeenSet() const { return m_loggingOptionsHasBeenSet; }
41 inline void SetLoggingOptions(const LoggingOptions& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = value; }
42 inline void SetLoggingOptions(LoggingOptions&& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = std::move(value); }
43 inline PutLoggingOptionsRequest& WithLoggingOptions(const LoggingOptions& value) { SetLoggingOptions(value); return *this;}
44 inline PutLoggingOptionsRequest& WithLoggingOptions(LoggingOptions&& value) { SetLoggingOptions(std::move(value)); return *this;}
46 private:
47
48 LoggingOptions m_loggingOptions;
49 bool m_loggingOptionsHasBeenSet = false;
50 };
51
52} // namespace Model
53} // namespace IoTAnalytics
54} // namespace Aws
virtual const char * GetServiceRequestName() const override
PutLoggingOptionsRequest & WithLoggingOptions(const LoggingOptions &value)
PutLoggingOptionsRequest & WithLoggingOptions(LoggingOptions &&value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String