AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateCloudConnectorRequest.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/EndpointConfig.h>
11#include <aws/iot-managed-integrations/model/EndpointType.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace IoTManagedIntegrations
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API CreateCloudConnectorRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateCloudConnector"; }
34
35 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 CreateCloudConnectorRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
55 inline const EndpointConfig& GetEndpointConfig() const { return m_endpointConfig; }
56 inline bool EndpointConfigHasBeenSet() const { return m_endpointConfigHasBeenSet; }
57 template<typename EndpointConfigT = EndpointConfig>
58 void SetEndpointConfig(EndpointConfigT&& value) { m_endpointConfigHasBeenSet = true; m_endpointConfig = std::forward<EndpointConfigT>(value); }
59 template<typename EndpointConfigT = EndpointConfig>
60 CreateCloudConnectorRequest& WithEndpointConfig(EndpointConfigT&& value) { SetEndpointConfig(std::forward<EndpointConfigT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 CreateCloudConnectorRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
80 inline EndpointType GetEndpointType() const { return m_endpointType; }
81 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
82 inline void SetEndpointType(EndpointType value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
85
87
92 inline const Aws::String& GetClientToken() const { return m_clientToken; }
93 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
94 template<typename ClientTokenT = Aws::String>
95 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
96 template<typename ClientTokenT = Aws::String>
97 CreateCloudConnectorRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 EndpointConfig m_endpointConfig;
105 bool m_endpointConfigHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110 EndpointType m_endpointType{EndpointType::NOT_SET};
111 bool m_endpointTypeHasBeenSet = false;
112
114 bool m_clientTokenHasBeenSet = true;
115 };
116
117} // namespace Model
118} // namespace IoTManagedIntegrations
119} // 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