AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectorProfileRequest.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/AppflowRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appflow/model/ConnectionMode.h>
11#include <aws/appflow/model/ConnectorProfileConfig.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace Appflow
18{
19namespace Model
20{
21
25 {
26 public:
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 "UpdateConnectorProfile"; }
34
35 AWS_APPFLOW_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetConnectorProfileName() const{ return m_connectorProfileName; }
44 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
45 inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; }
46 inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); }
47 inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); }
50 inline UpdateConnectorProfileRequest& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;}
52
54
57 inline const ConnectionMode& GetConnectionMode() const{ return m_connectionMode; }
58 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
59 inline void SetConnectionMode(const ConnectionMode& value) { m_connectionModeHasBeenSet = true; m_connectionMode = value; }
60 inline void SetConnectionMode(ConnectionMode&& value) { m_connectionModeHasBeenSet = true; m_connectionMode = std::move(value); }
62 inline UpdateConnectorProfileRequest& WithConnectionMode(ConnectionMode&& value) { SetConnectionMode(std::move(value)); return *this;}
64
66
69 inline const ConnectorProfileConfig& GetConnectorProfileConfig() const{ return m_connectorProfileConfig; }
70 inline bool ConnectorProfileConfigHasBeenSet() const { return m_connectorProfileConfigHasBeenSet; }
71 inline void SetConnectorProfileConfig(const ConnectorProfileConfig& value) { m_connectorProfileConfigHasBeenSet = true; m_connectorProfileConfig = value; }
72 inline void SetConnectorProfileConfig(ConnectorProfileConfig&& value) { m_connectorProfileConfigHasBeenSet = true; m_connectorProfileConfig = std::move(value); }
76
78
91 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
92 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
93 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
94 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
95 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
96 inline UpdateConnectorProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
97 inline UpdateConnectorProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
98 inline UpdateConnectorProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
100 private:
101
102 Aws::String m_connectorProfileName;
103 bool m_connectorProfileNameHasBeenSet = false;
104
105 ConnectionMode m_connectionMode;
106 bool m_connectionModeHasBeenSet = false;
107
108 ConnectorProfileConfig m_connectorProfileConfig;
109 bool m_connectorProfileConfigHasBeenSet = false;
110
111 Aws::String m_clientToken;
112 bool m_clientTokenHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Appflow
117} // namespace Aws
UpdateConnectorProfileRequest & WithClientToken(const char *value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
UpdateConnectorProfileRequest & WithConnectorProfileName(Aws::String &&value)
UpdateConnectorProfileRequest & WithConnectorProfileConfig(ConnectorProfileConfig &&value)
UpdateConnectorProfileRequest & WithConnectorProfileConfig(const ConnectorProfileConfig &value)
UpdateConnectorProfileRequest & WithConnectorProfileName(const char *value)
UpdateConnectorProfileRequest & WithConnectionMode(ConnectionMode &&value)
UpdateConnectorProfileRequest & WithConnectorProfileName(const Aws::String &value)
UpdateConnectorProfileRequest & WithClientToken(Aws::String &&value)
UpdateConnectorProfileRequest & WithClientToken(const Aws::String &value)
UpdateConnectorProfileRequest & WithConnectionMode(const ConnectionMode &value)
const ConnectorProfileConfig & GetConnectorProfileConfig() const
void SetConnectorProfileConfig(const ConnectorProfileConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String