AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateDestinationRequest.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
13namespace Aws
14{
15namespace IoTManagedIntegrations
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTMANAGEDINTEGRATIONS_API UpdateDestinationRequest() = 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 "UpdateDestination"; }
32
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 UpdateDestinationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDeliveryDestinationArn() const { return m_deliveryDestinationArn; }
53 inline bool DeliveryDestinationArnHasBeenSet() const { return m_deliveryDestinationArnHasBeenSet; }
54 template<typename DeliveryDestinationArnT = Aws::String>
55 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) { m_deliveryDestinationArnHasBeenSet = true; m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value); }
56 template<typename DeliveryDestinationArnT = Aws::String>
57 UpdateDestinationRequest& WithDeliveryDestinationArn(DeliveryDestinationArnT&& value) { SetDeliveryDestinationArn(std::forward<DeliveryDestinationArnT>(value)); return *this;}
59
61
64 inline DeliveryDestinationType GetDeliveryDestinationType() const { return m_deliveryDestinationType; }
65 inline bool DeliveryDestinationTypeHasBeenSet() const { return m_deliveryDestinationTypeHasBeenSet; }
66 inline void SetDeliveryDestinationType(DeliveryDestinationType value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = value; }
69
71
74 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
75 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
76 template<typename RoleArnT = Aws::String>
77 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
78 template<typename RoleArnT = Aws::String>
79 UpdateDestinationRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 UpdateDestinationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_deliveryDestinationArn;
99 bool m_deliveryDestinationArnHasBeenSet = false;
100
102 bool m_deliveryDestinationTypeHasBeenSet = false;
103
104 Aws::String m_roleArn;
105 bool m_roleArnHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace IoTManagedIntegrations
113} // 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