AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateConnectorProfileRequest.h
1
6#pragma once
7#include <aws/appflow/AppflowRequest.h>
8#include <aws/appflow/Appflow_EXPORTS.h>
9#include <aws/appflow/model/ConnectionMode.h>
10#include <aws/appflow/model/ConnectorProfileConfig.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Appflow {
18namespace Model {
19
23 public:
24 AWS_APPFLOW_API UpdateConnectorProfileRequest() = 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 "UpdateConnectorProfile"; }
31
32 AWS_APPFLOW_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
40 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
41 template <typename ConnectorProfileNameT = Aws::String>
42 void SetConnectorProfileName(ConnectorProfileNameT&& value) {
43 m_connectorProfileNameHasBeenSet = true;
44 m_connectorProfileName = std::forward<ConnectorProfileNameT>(value);
45 }
46 template <typename ConnectorProfileNameT = Aws::String>
48 SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value));
49 return *this;
50 }
52
54
57 inline ConnectionMode GetConnectionMode() const { return m_connectionMode; }
58 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
59 inline void SetConnectionMode(ConnectionMode value) {
60 m_connectionModeHasBeenSet = true;
61 m_connectionMode = value;
62 }
64 SetConnectionMode(value);
65 return *this;
66 }
68
70
73 inline const ConnectorProfileConfig& GetConnectorProfileConfig() const { return m_connectorProfileConfig; }
74 inline bool ConnectorProfileConfigHasBeenSet() const { return m_connectorProfileConfigHasBeenSet; }
75 template <typename ConnectorProfileConfigT = ConnectorProfileConfig>
76 void SetConnectorProfileConfig(ConnectorProfileConfigT&& value) {
77 m_connectorProfileConfigHasBeenSet = true;
78 m_connectorProfileConfig = std::forward<ConnectorProfileConfigT>(value);
79 }
80 template <typename ConnectorProfileConfigT = ConnectorProfileConfig>
82 SetConnectorProfileConfig(std::forward<ConnectorProfileConfigT>(value));
83 return *this;
84 }
86
88
101 inline const Aws::String& GetClientToken() const { return m_clientToken; }
102 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
103 template <typename ClientTokenT = Aws::String>
104 void SetClientToken(ClientTokenT&& value) {
105 m_clientTokenHasBeenSet = true;
106 m_clientToken = std::forward<ClientTokenT>(value);
107 }
108 template <typename ClientTokenT = Aws::String>
110 SetClientToken(std::forward<ClientTokenT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_connectorProfileName;
116
117 ConnectionMode m_connectionMode{ConnectionMode::NOT_SET};
118
119 ConnectorProfileConfig m_connectorProfileConfig;
120
122 bool m_connectorProfileNameHasBeenSet = false;
123 bool m_connectionModeHasBeenSet = false;
124 bool m_connectorProfileConfigHasBeenSet = false;
125 bool m_clientTokenHasBeenSet = true;
126};
127
128} // namespace Model
129} // namespace Appflow
130} // namespace Aws
void SetConnectorProfileConfig(ConnectorProfileConfigT &&value)
AWS_APPFLOW_API UpdateConnectorProfileRequest()=default
UpdateConnectorProfileRequest & WithConnectionMode(ConnectionMode value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
UpdateConnectorProfileRequest & WithClientToken(ClientTokenT &&value)
UpdateConnectorProfileRequest & WithConnectorProfileConfig(ConnectorProfileConfigT &&value)
UpdateConnectorProfileRequest & WithConnectorProfileName(ConnectorProfileNameT &&value)
const ConnectorProfileConfig & GetConnectorProfileConfig() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String