AWS SDK for C++  1.9.66
AWS SDK for C++
PutLoggingOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoTEvents
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
38  inline const LoggingOptions& GetLoggingOptions() const{ return m_loggingOptions; }
39 
43  inline bool LoggingOptionsHasBeenSet() const { return m_loggingOptionsHasBeenSet; }
44 
48  inline void SetLoggingOptions(const LoggingOptions& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = value; }
49 
53  inline void SetLoggingOptions(LoggingOptions&& value) { m_loggingOptionsHasBeenSet = true; m_loggingOptions = std::move(value); }
54 
58  inline PutLoggingOptionsRequest& WithLoggingOptions(const LoggingOptions& value) { SetLoggingOptions(value); return *this;}
59 
63  inline PutLoggingOptionsRequest& WithLoggingOptions(LoggingOptions&& value) { SetLoggingOptions(std::move(value)); return *this;}
64 
65  private:
66 
67  LoggingOptions m_loggingOptions;
68  bool m_loggingOptionsHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace IoTEvents
73 } // namespace Aws
IoTEventsRequest.h
Aws::IoTEvents::Model::PutLoggingOptionsRequest
Definition: PutLoggingOptionsRequest.h:22
Aws::IoTEvents::Model::PutLoggingOptionsRequest::LoggingOptionsHasBeenSet
bool LoggingOptionsHasBeenSet() const
Definition: PutLoggingOptionsRequest.h:43
Aws::IoTEvents::Model::PutLoggingOptionsRequest::SetLoggingOptions
void SetLoggingOptions(const LoggingOptions &value)
Definition: PutLoggingOptionsRequest.h:48
Aws::IoTEvents::Model::PutLoggingOptionsRequest::PutLoggingOptionsRequest
PutLoggingOptionsRequest()
Aws::IoTEvents::Model::LoggingOptions
Definition: LoggingOptions.h:36
LoggingOptions.h
Aws::IoTEvents::IoTEventsRequest
Definition: IoTEventsRequest.h:17
Aws::IoTEvents::Model::PutLoggingOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutLoggingOptionsRequest.h:30
Aws::IoTEvents::Model::PutLoggingOptionsRequest::WithLoggingOptions
PutLoggingOptionsRequest & WithLoggingOptions(const LoggingOptions &value)
Definition: PutLoggingOptionsRequest.h:58
Aws::IoTEvents::Model::PutLoggingOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::PutLoggingOptionsRequest::GetLoggingOptions
const LoggingOptions & GetLoggingOptions() const
Definition: PutLoggingOptionsRequest.h:38
Aws::IoTEvents::Model::PutLoggingOptionsRequest::WithLoggingOptions
PutLoggingOptionsRequest & WithLoggingOptions(LoggingOptions &&value)
Definition: PutLoggingOptionsRequest.h:63
Aws::IoTEvents::Model::PutLoggingOptionsRequest::SetLoggingOptions
void SetLoggingOptions(LoggingOptions &&value)
Definition: PutLoggingOptionsRequest.h:53