AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateDestinationRequest.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/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/model/DeliveryDestinationType.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 CreateDestinationRequest() = 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 "CreateDestination"; }
33
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDeliveryDestinationArn() const { return m_deliveryDestinationArn; }
42 inline bool DeliveryDestinationArnHasBeenSet() const { return m_deliveryDestinationArnHasBeenSet; }
43 template<typename DeliveryDestinationArnT = Aws::String>
44 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) { m_deliveryDestinationArnHasBeenSet = true; m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value); }
45 template<typename DeliveryDestinationArnT = Aws::String>
46 CreateDestinationRequest& WithDeliveryDestinationArn(DeliveryDestinationArnT&& value) { SetDeliveryDestinationArn(std::forward<DeliveryDestinationArnT>(value)); return *this;}
48
50
53 inline DeliveryDestinationType GetDeliveryDestinationType() const { return m_deliveryDestinationType; }
54 inline bool DeliveryDestinationTypeHasBeenSet() const { return m_deliveryDestinationTypeHasBeenSet; }
55 inline void SetDeliveryDestinationType(DeliveryDestinationType value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = value; }
58
60
63 inline const Aws::String& GetName() const { return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 CreateDestinationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
76 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
77 template<typename RoleArnT = Aws::String>
78 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
79 template<typename RoleArnT = Aws::String>
80 CreateDestinationRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
82
84
89 inline const Aws::String& GetClientToken() const { return m_clientToken; }
90 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
91 template<typename ClientTokenT = Aws::String>
92 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
93 template<typename ClientTokenT = Aws::String>
94 CreateDestinationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
96
98
101 inline const Aws::String& GetDescription() const { return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 template<typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
105 template<typename DescriptionT = Aws::String>
106 CreateDestinationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
108 private:
109
110 Aws::String m_deliveryDestinationArn;
111 bool m_deliveryDestinationArnHasBeenSet = false;
112
114 bool m_deliveryDestinationTypeHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_roleArn;
120 bool m_roleArnHasBeenSet = false;
121
123 bool m_clientTokenHasBeenSet = true;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IoTManagedIntegrations
131} // namespace Aws
CreateDestinationRequest & WithClientToken(ClientTokenT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateDestinationRequest()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
CreateDestinationRequest & WithDescription(DescriptionT &&value)
CreateDestinationRequest & WithDeliveryDestinationArn(DeliveryDestinationArnT &&value)
CreateDestinationRequest & WithDeliveryDestinationType(DeliveryDestinationType value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String