AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateNotificationConfigurationRequest.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#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace IoTManagedIntegrations
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTMANAGEDINTEGRATIONS_API CreateNotificationConfigurationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateNotificationConfiguration"; }
33
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
35
36
38
42 inline EventType GetEventType() const { return m_eventType; }
43 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
44 inline void SetEventType(EventType value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
47
49
52 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
53 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
54 template<typename DestinationNameT = Aws::String>
55 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
56 template<typename DestinationNameT = Aws::String>
57 CreateNotificationConfigurationRequest& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
59
61
66 inline const Aws::String& GetClientToken() const { return m_clientToken; }
67 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
68 template<typename ClientTokenT = Aws::String>
69 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
70 template<typename ClientTokenT = Aws::String>
71 CreateNotificationConfigurationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
73 private:
74
75 EventType m_eventType{EventType::NOT_SET};
76 bool m_eventTypeHasBeenSet = false;
77
78 Aws::String m_destinationName;
79 bool m_destinationNameHasBeenSet = false;
80
82 bool m_clientTokenHasBeenSet = true;
83 };
84
85} // namespace Model
86} // namespace IoTManagedIntegrations
87} // 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