AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
UpdateNotificationConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/EventType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTManagedIntegrations {
16namespace Model {
17
21 public:
22 AWS_IOTMANAGEDINTEGRATIONS_API UpdateNotificationConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotificationConfiguration"; }
29
30 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
31
33
37 inline EventType GetEventType() const { return m_eventType; }
38 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
39 inline void SetEventType(EventType value) {
40 m_eventTypeHasBeenSet = true;
41 m_eventType = value;
42 }
44 SetEventType(value);
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
54 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
55 template <typename DestinationNameT = Aws::String>
56 void SetDestinationName(DestinationNameT&& value) {
57 m_destinationNameHasBeenSet = true;
58 m_destinationName = std::forward<DestinationNameT>(value);
59 }
60 template <typename DestinationNameT = Aws::String>
62 SetDestinationName(std::forward<DestinationNameT>(value));
63 return *this;
64 }
66 private:
67 EventType m_eventType{EventType::NOT_SET};
68
69 Aws::String m_destinationName;
70 bool m_eventTypeHasBeenSet = false;
71 bool m_destinationNameHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace IoTManagedIntegrations
76} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API UpdateNotificationConfigurationRequest()=default
UpdateNotificationConfigurationRequest & WithDestinationName(DestinationNameT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String