AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
UpdateConnectorDestinationRequest.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/AuthConfigUpdate.h>
11#include <aws/iot-managed-integrations/model/AuthType.h>
12#include <aws/iot-managed-integrations/model/SecretsManager.h>
13
14#include <utility>
15
16namespace Aws {
17namespace IoTManagedIntegrations {
18namespace Model {
19
23 public:
24 AWS_IOTMANAGEDINTEGRATIONS_API UpdateConnectorDestinationRequest() = 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 "UpdateConnectorDestination"; }
31
32 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetIdentifier() const { return m_identifier; }
39 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
40 template <typename IdentifierT = Aws::String>
41 void SetIdentifier(IdentifierT&& value) {
42 m_identifierHasBeenSet = true;
43 m_identifier = std::forward<IdentifierT>(value);
44 }
45 template <typename IdentifierT = Aws::String>
47 SetIdentifier(std::forward<IdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline AuthType GetAuthType() const { return m_authType; }
93 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
94 inline void SetAuthType(AuthType value) {
95 m_authTypeHasBeenSet = true;
96 m_authType = value;
97 }
99 SetAuthType(value);
100 return *this;
101 }
103
105
109 inline const AuthConfigUpdate& GetAuthConfig() const { return m_authConfig; }
110 inline bool AuthConfigHasBeenSet() const { return m_authConfigHasBeenSet; }
111 template <typename AuthConfigT = AuthConfigUpdate>
112 void SetAuthConfig(AuthConfigT&& value) {
113 m_authConfigHasBeenSet = true;
114 m_authConfig = std::forward<AuthConfigT>(value);
115 }
116 template <typename AuthConfigT = AuthConfigUpdate>
118 SetAuthConfig(std::forward<AuthConfigT>(value));
119 return *this;
120 }
122
124
128 inline const SecretsManager& GetSecretsManager() const { return m_secretsManager; }
129 inline bool SecretsManagerHasBeenSet() const { return m_secretsManagerHasBeenSet; }
130 template <typename SecretsManagerT = SecretsManager>
131 void SetSecretsManager(SecretsManagerT&& value) {
132 m_secretsManagerHasBeenSet = true;
133 m_secretsManager = std::forward<SecretsManagerT>(value);
134 }
135 template <typename SecretsManagerT = SecretsManager>
137 SetSecretsManager(std::forward<SecretsManagerT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_identifier;
143
144 Aws::String m_description;
145
146 Aws::String m_name;
147
148 AuthType m_authType{AuthType::NOT_SET};
149
150 AuthConfigUpdate m_authConfig;
151
152 SecretsManager m_secretsManager;
153 bool m_identifierHasBeenSet = false;
154 bool m_descriptionHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_authTypeHasBeenSet = false;
157 bool m_authConfigHasBeenSet = false;
158 bool m_secretsManagerHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace IoTManagedIntegrations
163} // namespace Aws
UpdateConnectorDestinationRequest & WithDescription(DescriptionT &&value)
UpdateConnectorDestinationRequest & WithIdentifier(IdentifierT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API UpdateConnectorDestinationRequest()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
UpdateConnectorDestinationRequest & WithSecretsManager(SecretsManagerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String