AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateConnectorDestinationRequest.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/AuthConfigUpdate.h>
12#include <aws/iot-managed-integrations/model/SecretsManager.h>
13#include <utility>
14
15namespace Aws
16{
17namespace IoTManagedIntegrations
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API UpdateConnectorDestinationRequest() = 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 "UpdateConnectorDestination"; }
34
35 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetIdentifier() const { return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 template<typename IdentifierT = Aws::String>
45 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
46 template<typename IdentifierT = Aws::String>
47 UpdateConnectorDestinationRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 UpdateConnectorDestinationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 UpdateConnectorDestinationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
78 inline AuthType GetAuthType() const { return m_authType; }
79 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
80 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
83
85
89 inline const AuthConfigUpdate& GetAuthConfig() const { return m_authConfig; }
90 inline bool AuthConfigHasBeenSet() const { return m_authConfigHasBeenSet; }
91 template<typename AuthConfigT = AuthConfigUpdate>
92 void SetAuthConfig(AuthConfigT&& value) { m_authConfigHasBeenSet = true; m_authConfig = std::forward<AuthConfigT>(value); }
93 template<typename AuthConfigT = AuthConfigUpdate>
94 UpdateConnectorDestinationRequest& WithAuthConfig(AuthConfigT&& value) { SetAuthConfig(std::forward<AuthConfigT>(value)); return *this;}
96
98
102 inline const SecretsManager& GetSecretsManager() const { return m_secretsManager; }
103 inline bool SecretsManagerHasBeenSet() const { return m_secretsManagerHasBeenSet; }
104 template<typename SecretsManagerT = SecretsManager>
105 void SetSecretsManager(SecretsManagerT&& value) { m_secretsManagerHasBeenSet = true; m_secretsManager = std::forward<SecretsManagerT>(value); }
106 template<typename SecretsManagerT = SecretsManager>
107 UpdateConnectorDestinationRequest& WithSecretsManager(SecretsManagerT&& value) { SetSecretsManager(std::forward<SecretsManagerT>(value)); return *this;}
109 private:
110
111 Aws::String m_identifier;
112 bool m_identifierHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 AuthType m_authType{AuthType::NOT_SET};
121 bool m_authTypeHasBeenSet = false;
122
123 AuthConfigUpdate m_authConfig;
124 bool m_authConfigHasBeenSet = false;
125
126 SecretsManager m_secretsManager;
127 bool m_secretsManagerHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace IoTManagedIntegrations
132} // namespace Aws
UpdateConnectorDestinationRequest & WithDescription(DescriptionT &&value)
UpdateConnectorDestinationRequest & WithAuthConfig(AuthConfigT &&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