AWS SDK for C++  1.8.126
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 IoTAnalytics
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 IoTAnalytics
73 } // namespace Aws
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::LoggingOptionsHasBeenSet
bool LoggingOptionsHasBeenSet() const
Definition: PutLoggingOptionsRequest.h:43
AWS_IOTANALYTICS_API
#define AWS_IOTANALYTICS_API
Definition: IoTAnalytics_EXPORTS.h:28
LoggingOptions.h
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::WithLoggingOptions
PutLoggingOptionsRequest & WithLoggingOptions(LoggingOptions &&value)
Definition: PutLoggingOptionsRequest.h:63
Aws::IoTAnalytics::IoTAnalyticsRequest
Definition: IoTAnalyticsRequest.h:17
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest
Definition: PutLoggingOptionsRequest.h:22
IoTAnalyticsRequest.h
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::PutLoggingOptionsRequest
PutLoggingOptionsRequest()
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::SetLoggingOptions
void SetLoggingOptions(const LoggingOptions &value)
Definition: PutLoggingOptionsRequest.h:48
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::WithLoggingOptions
PutLoggingOptionsRequest & WithLoggingOptions(const LoggingOptions &value)
Definition: PutLoggingOptionsRequest.h:58
Aws::IoTAnalytics::Model::LoggingOptions
Definition: LoggingOptions.h:33
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutLoggingOptionsRequest.h:30
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::SetLoggingOptions
void SetLoggingOptions(LoggingOptions &&value)
Definition: PutLoggingOptionsRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::IoTAnalytics::Model::PutLoggingOptionsRequest::GetLoggingOptions
const LoggingOptions & GetLoggingOptions() const
Definition: PutLoggingOptionsRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTAnalytics_EXPORTS.h