AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateConnectorV2Request.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/ProviderUpdateConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityHub {
16namespace Model {
17
21 public:
22 AWS_SECURITYHUB_API UpdateConnectorV2Request() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateConnectorV2"; }
29
30 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetConnectorId() const { return m_connectorId; }
37 inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; }
38 template <typename ConnectorIdT = Aws::String>
39 void SetConnectorId(ConnectorIdT&& value) {
40 m_connectorIdHasBeenSet = true;
41 m_connectorId = std::forward<ConnectorIdT>(value);
42 }
43 template <typename ConnectorIdT = Aws::String>
45 SetConnectorId(std::forward<ConnectorIdT>(value));
46 return *this;
47 }
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) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
72 inline const ProviderUpdateConfiguration& GetProvider() const { return m_provider; }
73 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
74 template <typename ProviderT = ProviderUpdateConfiguration>
75 void SetProvider(ProviderT&& value) {
76 m_providerHasBeenSet = true;
77 m_provider = std::forward<ProviderT>(value);
78 }
79 template <typename ProviderT = ProviderUpdateConfiguration>
81 SetProvider(std::forward<ProviderT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_connectorId;
87
88 Aws::String m_description;
89
91 bool m_connectorIdHasBeenSet = false;
92 bool m_descriptionHasBeenSet = false;
93 bool m_providerHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace SecurityHub
98} // 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 & WithProvider(ProviderT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String