AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateNotificationConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/EventType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoTManagedIntegrations {
17namespace Model {
18
22 public:
23 AWS_IOTMANAGEDINTEGRATIONS_API CreateNotificationConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateNotificationConfiguration"; }
30
31 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
32
34
38 inline EventType GetEventType() const { return m_eventType; }
39 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
40 inline void SetEventType(EventType value) {
41 m_eventTypeHasBeenSet = true;
42 m_eventType = value;
43 }
45 SetEventType(value);
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
55 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
56 template <typename DestinationNameT = Aws::String>
57 void SetDestinationName(DestinationNameT&& value) {
58 m_destinationNameHasBeenSet = true;
59 m_destinationName = std::forward<DestinationNameT>(value);
60 }
61 template <typename DestinationNameT = Aws::String>
63 SetDestinationName(std::forward<DestinationNameT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::String& GetClientToken() const { return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 template <typename ClientTokenT = Aws::String>
77 void SetClientToken(ClientTokenT&& value) {
78 m_clientTokenHasBeenSet = true;
79 m_clientToken = std::forward<ClientTokenT>(value);
80 }
81 template <typename ClientTokenT = Aws::String>
83 SetClientToken(std::forward<ClientTokenT>(value));
84 return *this;
85 }
87 private:
88 EventType m_eventType{EventType::NOT_SET};
89
90 Aws::String m_destinationName;
91
93 bool m_eventTypeHasBeenSet = false;
94 bool m_destinationNameHasBeenSet = false;
95 bool m_clientTokenHasBeenSet = true;
96};
97
98} // namespace Model
99} // namespace IoTManagedIntegrations
100} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
CreateNotificationConfigurationRequest & WithDestinationName(DestinationNameT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateNotificationConfigurationRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String