AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterConnectorRequest.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/ConnectorProvisioningType.h>
11#include <aws/appflow/model/ConnectorProvisioningConfig.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:
27 AWS_APPFLOW_API RegisterConnectorRequest();
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 "RegisterConnector"; }
34
35 AWS_APPFLOW_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetConnectorLabel() const{ return m_connectorLabel; }
44 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
45 inline void SetConnectorLabel(const Aws::String& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = value; }
46 inline void SetConnectorLabel(Aws::String&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::move(value); }
47 inline void SetConnectorLabel(const char* value) { m_connectorLabelHasBeenSet = true; m_connectorLabel.assign(value); }
48 inline RegisterConnectorRequest& WithConnectorLabel(const Aws::String& value) { SetConnectorLabel(value); return *this;}
49 inline RegisterConnectorRequest& WithConnectorLabel(Aws::String&& value) { SetConnectorLabel(std::move(value)); return *this;}
50 inline RegisterConnectorRequest& WithConnectorLabel(const char* value) { SetConnectorLabel(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline RegisterConnectorRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline RegisterConnectorRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline RegisterConnectorRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
72 inline const ConnectorProvisioningType& GetConnectorProvisioningType() const{ return m_connectorProvisioningType; }
73 inline bool ConnectorProvisioningTypeHasBeenSet() const { return m_connectorProvisioningTypeHasBeenSet; }
74 inline void SetConnectorProvisioningType(const ConnectorProvisioningType& value) { m_connectorProvisioningTypeHasBeenSet = true; m_connectorProvisioningType = value; }
75 inline void SetConnectorProvisioningType(ConnectorProvisioningType&& value) { m_connectorProvisioningTypeHasBeenSet = true; m_connectorProvisioningType = std::move(value); }
79
81
85 inline const ConnectorProvisioningConfig& GetConnectorProvisioningConfig() const{ return m_connectorProvisioningConfig; }
86 inline bool ConnectorProvisioningConfigHasBeenSet() const { return m_connectorProvisioningConfigHasBeenSet; }
87 inline void SetConnectorProvisioningConfig(const ConnectorProvisioningConfig& value) { m_connectorProvisioningConfigHasBeenSet = true; m_connectorProvisioningConfig = value; }
88 inline void SetConnectorProvisioningConfig(ConnectorProvisioningConfig&& value) { m_connectorProvisioningConfigHasBeenSet = true; m_connectorProvisioningConfig = std::move(value); }
92
94
107 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
108 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
109 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
110 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
111 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
112 inline RegisterConnectorRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
113 inline RegisterConnectorRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
114 inline RegisterConnectorRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
116 private:
117
118 Aws::String m_connectorLabel;
119 bool m_connectorLabelHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 ConnectorProvisioningType m_connectorProvisioningType;
125 bool m_connectorProvisioningTypeHasBeenSet = false;
126
127 ConnectorProvisioningConfig m_connectorProvisioningConfig;
128 bool m_connectorProvisioningConfigHasBeenSet = false;
129
130 Aws::String m_clientToken;
131 bool m_clientTokenHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Appflow
136} // namespace Aws
const ConnectorProvisioningConfig & GetConnectorProvisioningConfig() const
RegisterConnectorRequest & WithConnectorLabel(Aws::String &&value)
RegisterConnectorRequest & WithConnectorLabel(const Aws::String &value)
RegisterConnectorRequest & WithDescription(const char *value)
RegisterConnectorRequest & WithConnectorLabel(const char *value)
void SetConnectorProvisioningConfig(const ConnectorProvisioningConfig &value)
RegisterConnectorRequest & WithConnectorProvisioningConfig(ConnectorProvisioningConfig &&value)
RegisterConnectorRequest & WithClientToken(const Aws::String &value)
RegisterConnectorRequest & WithClientToken(const char *value)
void SetConnectorProvisioningType(const ConnectorProvisioningType &value)
RegisterConnectorRequest & WithClientToken(Aws::String &&value)
RegisterConnectorRequest & WithDescription(Aws::String &&value)
RegisterConnectorRequest & WithConnectorProvisioningType(ConnectorProvisioningType &&value)
void SetConnectorProvisioningType(ConnectorProvisioningType &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
const ConnectorProvisioningType & GetConnectorProvisioningType() const
RegisterConnectorRequest & WithDescription(const Aws::String &value)
void SetConnectorProvisioningConfig(ConnectorProvisioningConfig &&value)
RegisterConnectorRequest & WithConnectorProvisioningConfig(const ConnectorProvisioningConfig &value)
virtual const char * GetServiceRequestName() const override
RegisterConnectorRequest & WithConnectorProvisioningType(const ConnectorProvisioningType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String