AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateConnectorV2Request.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/ProviderUpdateConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SECURITYHUB_API UpdateConnectorV2Request() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateConnectorV2"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetConnectorId() const { return m_connectorId; }
41 inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; }
42 template<typename ConnectorIdT = Aws::String>
43 void SetConnectorId(ConnectorIdT&& value) { m_connectorIdHasBeenSet = true; m_connectorId = std::forward<ConnectorIdT>(value); }
44 template<typename ConnectorIdT = Aws::String>
45 UpdateConnectorV2Request& WithConnectorId(ConnectorIdT&& value) { SetConnectorId(std::forward<ConnectorIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
53 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
54 template<typename ClientSecretT = Aws::String>
55 void SetClientSecret(ClientSecretT&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::forward<ClientSecretT>(value); }
56 template<typename ClientSecretT = Aws::String>
57 UpdateConnectorV2Request& WithClientSecret(ClientSecretT&& value) { SetClientSecret(std::forward<ClientSecretT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 UpdateConnectorV2Request& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
76 inline const ProviderUpdateConfiguration& GetProvider() const { return m_provider; }
77 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
78 template<typename ProviderT = ProviderUpdateConfiguration>
79 void SetProvider(ProviderT&& value) { m_providerHasBeenSet = true; m_provider = std::forward<ProviderT>(value); }
80 template<typename ProviderT = ProviderUpdateConfiguration>
81 UpdateConnectorV2Request& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
83 private:
84
85 Aws::String m_connectorId;
86 bool m_connectorIdHasBeenSet = false;
87
88 Aws::String m_clientSecret;
89 bool m_clientSecretHasBeenSet = false;
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93
95 bool m_providerHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SecurityHub
100} // namespace Aws
UpdateConnectorV2Request & WithConnectorId(ConnectorIdT &&value)
virtual const char * GetServiceRequestName() const override
const ProviderUpdateConfiguration & GetProvider() const
AWS_SECURITYHUB_API UpdateConnectorV2Request()=default
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateConnectorV2Request & WithDescription(DescriptionT &&value)
UpdateConnectorV2Request & WithClientSecret(ClientSecretT &&value)
UpdateConnectorV2Request & WithProvider(ProviderT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String