AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
UpdateDestinationRequest.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/DeliveryDestinationType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTManagedIntegrations {
16namespace Model {
17
21 public:
22 AWS_IOTMANAGEDINTEGRATIONS_API UpdateDestinationRequest() = 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 "UpdateDestination"; }
29
30 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDeliveryDestinationArn() const { return m_deliveryDestinationArn; }
55 inline bool DeliveryDestinationArnHasBeenSet() const { return m_deliveryDestinationArnHasBeenSet; }
56 template <typename DeliveryDestinationArnT = Aws::String>
57 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) {
58 m_deliveryDestinationArnHasBeenSet = true;
59 m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value);
60 }
61 template <typename DeliveryDestinationArnT = Aws::String>
62 UpdateDestinationRequest& WithDeliveryDestinationArn(DeliveryDestinationArnT&& value) {
63 SetDeliveryDestinationArn(std::forward<DeliveryDestinationArnT>(value));
64 return *this;
65 }
67
69
72 inline DeliveryDestinationType GetDeliveryDestinationType() const { return m_deliveryDestinationType; }
73 inline bool DeliveryDestinationTypeHasBeenSet() const { return m_deliveryDestinationTypeHasBeenSet; }
75 m_deliveryDestinationTypeHasBeenSet = true;
76 m_deliveryDestinationType = value;
77 }
83
85
88 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
89 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
90 template <typename RoleArnT = Aws::String>
91 void SetRoleArn(RoleArnT&& value) {
92 m_roleArnHasBeenSet = true;
93 m_roleArn = std::forward<RoleArnT>(value);
94 }
95 template <typename RoleArnT = Aws::String>
97 SetRoleArn(std::forward<RoleArnT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetDescription() const { return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 template <typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) {
110 m_descriptionHasBeenSet = true;
111 m_description = std::forward<DescriptionT>(value);
112 }
113 template <typename DescriptionT = Aws::String>
115 SetDescription(std::forward<DescriptionT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_name;
121
122 Aws::String m_deliveryDestinationArn;
123
125
126 Aws::String m_roleArn;
127
128 Aws::String m_description;
129 bool m_nameHasBeenSet = false;
130 bool m_deliveryDestinationArnHasBeenSet = false;
131 bool m_deliveryDestinationTypeHasBeenSet = false;
132 bool m_roleArnHasBeenSet = false;
133 bool m_descriptionHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace IoTManagedIntegrations
138} // namespace Aws
UpdateDestinationRequest & WithDeliveryDestinationType(DeliveryDestinationType value)
UpdateDestinationRequest & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API UpdateDestinationRequest()=default
UpdateDestinationRequest & WithDeliveryDestinationArn(DeliveryDestinationArnT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String