AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateConnectorDestinationRequest.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/AuthType.h>
11#include <aws/iot-managed-integrations/model/AuthConfig.h>
12#include <aws/iot-managed-integrations/model/SecretsManager.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace IoTManagedIntegrations
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTMANAGEDINTEGRATIONS_API CreateConnectorDestinationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateConnectorDestination"; }
35
36 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 CreateConnectorDestinationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 CreateConnectorDestinationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
67 inline const Aws::String& GetCloudConnectorId() const { return m_cloudConnectorId; }
68 inline bool CloudConnectorIdHasBeenSet() const { return m_cloudConnectorIdHasBeenSet; }
69 template<typename CloudConnectorIdT = Aws::String>
70 void SetCloudConnectorId(CloudConnectorIdT&& value) { m_cloudConnectorIdHasBeenSet = true; m_cloudConnectorId = std::forward<CloudConnectorIdT>(value); }
71 template<typename CloudConnectorIdT = Aws::String>
72 CreateConnectorDestinationRequest& WithCloudConnectorId(CloudConnectorIdT&& value) { SetCloudConnectorId(std::forward<CloudConnectorIdT>(value)); return *this;}
74
76
80 inline AuthType GetAuthType() const { return m_authType; }
81 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
82 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
85
87
91 inline const AuthConfig& GetAuthConfig() const { return m_authConfig; }
92 inline bool AuthConfigHasBeenSet() const { return m_authConfigHasBeenSet; }
93 template<typename AuthConfigT = AuthConfig>
94 void SetAuthConfig(AuthConfigT&& value) { m_authConfigHasBeenSet = true; m_authConfig = std::forward<AuthConfigT>(value); }
95 template<typename AuthConfigT = AuthConfig>
96 CreateConnectorDestinationRequest& WithAuthConfig(AuthConfigT&& value) { SetAuthConfig(std::forward<AuthConfigT>(value)); return *this;}
98
100
104 inline const SecretsManager& GetSecretsManager() const { return m_secretsManager; }
105 inline bool SecretsManagerHasBeenSet() const { return m_secretsManagerHasBeenSet; }
106 template<typename SecretsManagerT = SecretsManager>
107 void SetSecretsManager(SecretsManagerT&& value) { m_secretsManagerHasBeenSet = true; m_secretsManager = std::forward<SecretsManagerT>(value); }
108 template<typename SecretsManagerT = SecretsManager>
109 CreateConnectorDestinationRequest& WithSecretsManager(SecretsManagerT&& value) { SetSecretsManager(std::forward<SecretsManagerT>(value)); return *this;}
111
113
118 inline const Aws::String& GetClientToken() const { return m_clientToken; }
119 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
120 template<typename ClientTokenT = Aws::String>
121 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
122 template<typename ClientTokenT = Aws::String>
123 CreateConnectorDestinationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
125 private:
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_cloudConnectorId;
134 bool m_cloudConnectorIdHasBeenSet = false;
135
136 AuthType m_authType{AuthType::NOT_SET};
137 bool m_authTypeHasBeenSet = false;
138
139 AuthConfig m_authConfig;
140 bool m_authConfigHasBeenSet = false;
141
142 SecretsManager m_secretsManager;
143 bool m_secretsManagerHasBeenSet = false;
144
146 bool m_clientTokenHasBeenSet = true;
147 };
148
149} // namespace Model
150} // namespace IoTManagedIntegrations
151} // namespace Aws
CreateConnectorDestinationRequest & WithClientToken(ClientTokenT &&value)
CreateConnectorDestinationRequest & WithDescription(DescriptionT &&value)
CreateConnectorDestinationRequest & WithAuthConfig(AuthConfigT &&value)
CreateConnectorDestinationRequest & WithSecretsManager(SecretsManagerT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateConnectorDestinationRequest()=default
CreateConnectorDestinationRequest & WithCloudConnectorId(CloudConnectorIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String