AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeConnectorProfilesRequest.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/AWSVector.h>
10#include <aws/appflow/model/ConnectorType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Appflow
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPFLOW_API DescribeConnectorProfilesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeConnectorProfiles"; }
33
34 AWS_APPFLOW_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::Vector<Aws::String>& GetConnectorProfileNames() const { return m_connectorProfileNames; }
43 inline bool ConnectorProfileNamesHasBeenSet() const { return m_connectorProfileNamesHasBeenSet; }
44 template<typename ConnectorProfileNamesT = Aws::Vector<Aws::String>>
45 void SetConnectorProfileNames(ConnectorProfileNamesT&& value) { m_connectorProfileNamesHasBeenSet = true; m_connectorProfileNames = std::forward<ConnectorProfileNamesT>(value); }
46 template<typename ConnectorProfileNamesT = Aws::Vector<Aws::String>>
47 DescribeConnectorProfilesRequest& WithConnectorProfileNames(ConnectorProfileNamesT&& value) { SetConnectorProfileNames(std::forward<ConnectorProfileNamesT>(value)); return *this;}
48 template<typename ConnectorProfileNamesT = Aws::String>
49 DescribeConnectorProfilesRequest& AddConnectorProfileNames(ConnectorProfileNamesT&& value) { m_connectorProfileNamesHasBeenSet = true; m_connectorProfileNames.emplace_back(std::forward<ConnectorProfileNamesT>(value)); return *this; }
51
53
56 inline ConnectorType GetConnectorType() const { return m_connectorType; }
57 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
58 inline void SetConnectorType(ConnectorType value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
61
63
68 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
69 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
70 template<typename ConnectorLabelT = Aws::String>
71 void SetConnectorLabel(ConnectorLabelT&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::forward<ConnectorLabelT>(value); }
72 template<typename ConnectorLabelT = Aws::String>
73 DescribeConnectorProfilesRequest& WithConnectorLabel(ConnectorLabelT&& value) { SetConnectorLabel(std::forward<ConnectorLabelT>(value)); return *this;}
75
77
82 inline int GetMaxResults() const { return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline DescribeConnectorProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87
89
92 inline const Aws::String& GetNextToken() const { return m_nextToken; }
93 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 template<typename NextTokenT = Aws::String>
95 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
96 template<typename NextTokenT = Aws::String>
97 DescribeConnectorProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
99 private:
100
101 Aws::Vector<Aws::String> m_connectorProfileNames;
102 bool m_connectorProfileNamesHasBeenSet = false;
103
104 ConnectorType m_connectorType{ConnectorType::NOT_SET};
105 bool m_connectorTypeHasBeenSet = false;
106
107 Aws::String m_connectorLabel;
108 bool m_connectorLabelHasBeenSet = false;
109
110 int m_maxResults{0};
111 bool m_maxResultsHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Appflow
119} // namespace Aws
DescribeConnectorProfilesRequest & WithConnectorProfileNames(ConnectorProfileNamesT &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
DescribeConnectorProfilesRequest & WithMaxResults(int value)
const Aws::Vector< Aws::String > & GetConnectorProfileNames() const
DescribeConnectorProfilesRequest & WithNextToken(NextTokenT &&value)
AWS_APPFLOW_API DescribeConnectorProfilesRequest()=default
DescribeConnectorProfilesRequest & WithConnectorLabel(ConnectorLabelT &&value)
DescribeConnectorProfilesRequest & WithConnectorType(ConnectorType value)
DescribeConnectorProfilesRequest & AddConnectorProfileNames(ConnectorProfileNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector