AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetConnectorProfileNames(const Aws::Vector<Aws::String>& value) { m_connectorProfileNamesHasBeenSet = true; m_connectorProfileNames = value; }
45 inline void SetConnectorProfileNames(Aws::Vector<Aws::String>&& value) { m_connectorProfileNamesHasBeenSet = true; m_connectorProfileNames = std::move(value); }
48 inline DescribeConnectorProfilesRequest& AddConnectorProfileNames(const Aws::String& value) { m_connectorProfileNamesHasBeenSet = true; m_connectorProfileNames.push_back(value); return *this; }
49 inline DescribeConnectorProfilesRequest& AddConnectorProfileNames(Aws::String&& value) { m_connectorProfileNamesHasBeenSet = true; m_connectorProfileNames.push_back(std::move(value)); return *this; }
50 inline DescribeConnectorProfilesRequest& AddConnectorProfileNames(const char* value) { m_connectorProfileNamesHasBeenSet = true; m_connectorProfileNames.push_back(value); return *this; }
52
54
57 inline const ConnectorType& GetConnectorType() const{ return m_connectorType; }
58 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
59 inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
60 inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); }
62 inline DescribeConnectorProfilesRequest& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;}
64
66
71 inline const Aws::String& GetConnectorLabel() const{ return m_connectorLabel; }
72 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
73 inline void SetConnectorLabel(const Aws::String& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = value; }
74 inline void SetConnectorLabel(Aws::String&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::move(value); }
75 inline void SetConnectorLabel(const char* value) { m_connectorLabelHasBeenSet = true; m_connectorLabel.assign(value); }
77 inline DescribeConnectorProfilesRequest& WithConnectorLabel(Aws::String&& value) { SetConnectorLabel(std::move(value)); return *this;}
78 inline DescribeConnectorProfilesRequest& WithConnectorLabel(const char* value) { SetConnectorLabel(value); return *this;}
80
82
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline DescribeConnectorProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
94
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline DescribeConnectorProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline DescribeConnectorProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline DescribeConnectorProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106 private:
107
108 Aws::Vector<Aws::String> m_connectorProfileNames;
109 bool m_connectorProfileNamesHasBeenSet = false;
110
111 ConnectorType m_connectorType;
112 bool m_connectorTypeHasBeenSet = false;
113
114 Aws::String m_connectorLabel;
115 bool m_connectorLabelHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Appflow
126} // namespace Aws
DescribeConnectorProfilesRequest & WithConnectorProfileNames(const Aws::Vector< Aws::String > &value)
DescribeConnectorProfilesRequest & AddConnectorProfileNames(const char *value)
DescribeConnectorProfilesRequest & WithConnectorType(const ConnectorType &value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
DescribeConnectorProfilesRequest & WithConnectorLabel(const char *value)
DescribeConnectorProfilesRequest & WithConnectorType(ConnectorType &&value)
DescribeConnectorProfilesRequest & WithConnectorLabel(const Aws::String &value)
void SetConnectorProfileNames(const Aws::Vector< Aws::String > &value)
DescribeConnectorProfilesRequest & WithNextToken(const Aws::String &value)
DescribeConnectorProfilesRequest & WithConnectorProfileNames(Aws::Vector< Aws::String > &&value)
DescribeConnectorProfilesRequest & WithConnectorLabel(Aws::String &&value)
DescribeConnectorProfilesRequest & WithMaxResults(int value)
DescribeConnectorProfilesRequest & AddConnectorProfileNames(Aws::String &&value)
const Aws::Vector< Aws::String > & GetConnectorProfileNames() const
DescribeConnectorProfilesRequest & WithNextToken(Aws::String &&value)
DescribeConnectorProfilesRequest & AddConnectorProfileNames(const Aws::String &value)
DescribeConnectorProfilesRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector