AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateCloudConnectorRequest.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/EndpointConfig.h>
12#include <aws/iot-managed-integrations/model/EndpointType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace IoTManagedIntegrations {
18namespace Model {
19
23 public:
24 AWS_IOTMANAGEDINTEGRATIONS_API CreateCloudConnectorRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateCloudConnector"; }
31
32 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
57 inline const EndpointConfig& GetEndpointConfig() const { return m_endpointConfig; }
58 inline bool EndpointConfigHasBeenSet() const { return m_endpointConfigHasBeenSet; }
59 template <typename EndpointConfigT = EndpointConfig>
60 void SetEndpointConfig(EndpointConfigT&& value) {
61 m_endpointConfigHasBeenSet = true;
62 m_endpointConfig = std::forward<EndpointConfigT>(value);
63 }
64 template <typename EndpointConfigT = EndpointConfig>
66 SetEndpointConfig(std::forward<EndpointConfigT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
94 inline EndpointType GetEndpointType() const { return m_endpointType; }
95 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
96 inline void SetEndpointType(EndpointType value) {
97 m_endpointTypeHasBeenSet = true;
98 m_endpointType = value;
99 }
101 SetEndpointType(value);
102 return *this;
103 }
105
107
112 inline const Aws::String& GetClientToken() const { return m_clientToken; }
113 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
114 template <typename ClientTokenT = Aws::String>
115 void SetClientToken(ClientTokenT&& value) {
116 m_clientTokenHasBeenSet = true;
117 m_clientToken = std::forward<ClientTokenT>(value);
118 }
119 template <typename ClientTokenT = Aws::String>
121 SetClientToken(std::forward<ClientTokenT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_name;
127
128 EndpointConfig m_endpointConfig;
129
130 Aws::String m_description;
131
132 EndpointType m_endpointType{EndpointType::NOT_SET};
133
135 bool m_nameHasBeenSet = false;
136 bool m_endpointConfigHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138 bool m_endpointTypeHasBeenSet = false;
139 bool m_clientTokenHasBeenSet = true;
140};
141
142} // namespace Model
143} // namespace IoTManagedIntegrations
144} // namespace Aws
CreateCloudConnectorRequest & WithEndpointType(EndpointType value)
CreateCloudConnectorRequest & WithDescription(DescriptionT &&value)
CreateCloudConnectorRequest & WithClientToken(ClientTokenT &&value)
CreateCloudConnectorRequest & WithEndpointConfig(EndpointConfigT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
AWS_IOTMANAGEDINTEGRATIONS_API CreateCloudConnectorRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String