AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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