AWS SDK for C++  1.9.124
AWS SDK for C++
SetLoggingOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "SetLoggingOptions"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const LoggingOptionsPayload& GetLoggingOptionsPayload() const{ return m_loggingOptionsPayload; }
42 
46  inline bool LoggingOptionsPayloadHasBeenSet() const { return m_loggingOptionsPayloadHasBeenSet; }
47 
51  inline void SetLoggingOptionsPayload(const LoggingOptionsPayload& value) { m_loggingOptionsPayloadHasBeenSet = true; m_loggingOptionsPayload = value; }
52 
56  inline void SetLoggingOptionsPayload(LoggingOptionsPayload&& value) { m_loggingOptionsPayloadHasBeenSet = true; m_loggingOptionsPayload = std::move(value); }
57 
61  inline SetLoggingOptionsRequest& WithLoggingOptionsPayload(const LoggingOptionsPayload& value) { SetLoggingOptionsPayload(value); return *this;}
62 
66  inline SetLoggingOptionsRequest& WithLoggingOptionsPayload(LoggingOptionsPayload&& value) { SetLoggingOptionsPayload(std::move(value)); return *this;}
67 
68  private:
69 
70  LoggingOptionsPayload m_loggingOptionsPayload;
71  bool m_loggingOptionsPayloadHasBeenSet;
72  };
73 
74 } // namespace Model
75 } // namespace IoT
76 } // namespace Aws
LoggingOptionsPayload.h
Aws::IoT::Model::SetLoggingOptionsRequest::GetLoggingOptionsPayload
const LoggingOptionsPayload & GetLoggingOptionsPayload() const
Definition: SetLoggingOptionsRequest.h:41
Aws::IoT::Model::SetLoggingOptionsRequest::WithLoggingOptionsPayload
SetLoggingOptionsRequest & WithLoggingOptionsPayload(LoggingOptionsPayload &&value)
Definition: SetLoggingOptionsRequest.h:66
Aws::IoT::Model::SetLoggingOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetLoggingOptionsRequest.h:33
Aws::IoT::Model::SetLoggingOptionsRequest::LoggingOptionsPayloadHasBeenSet
bool LoggingOptionsPayloadHasBeenSet() const
Definition: SetLoggingOptionsRequest.h:46
Aws::IoT::Model::SetLoggingOptionsRequest::SetLoggingOptionsPayload
void SetLoggingOptionsPayload(LoggingOptionsPayload &&value)
Definition: SetLoggingOptionsRequest.h:56
Aws::IoT::Model::SetLoggingOptionsRequest::WithLoggingOptionsPayload
SetLoggingOptionsRequest & WithLoggingOptionsPayload(const LoggingOptionsPayload &value)
Definition: SetLoggingOptionsRequest.h:61
Aws::IoT::Model::SetLoggingOptionsRequest
Definition: SetLoggingOptionsRequest.h:25
Aws::IoT::Model::SetLoggingOptionsRequest::SetLoggingOptionsRequest
SetLoggingOptionsRequest()
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::SetLoggingOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::SetLoggingOptionsRequest::SetLoggingOptionsPayload
void SetLoggingOptionsPayload(const LoggingOptionsPayload &value)
Definition: SetLoggingOptionsRequest.h:51
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
Aws::IoT::Model::LoggingOptionsPayload
Definition: LoggingOptionsPayload.h:33
IoT_EXPORTS.h