AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListConnectionsRequest.h
1
6#pragma once
7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/CodeConnectionsRequest.h>
9#include <aws/codeconnections/model/ProviderType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeConnections
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODECONNECTIONS_API ListConnectionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListConnections"; }
32
33 AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override;
34
35 AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline ProviderType GetProviderTypeFilter() const { return m_providerTypeFilter; }
44 inline bool ProviderTypeFilterHasBeenSet() const { return m_providerTypeFilterHasBeenSet; }
45 inline void SetProviderTypeFilter(ProviderType value) { m_providerTypeFilterHasBeenSet = true; m_providerTypeFilter = value; }
48
50
54 inline const Aws::String& GetHostArnFilter() const { return m_hostArnFilter; }
55 inline bool HostArnFilterHasBeenSet() const { return m_hostArnFilterHasBeenSet; }
56 template<typename HostArnFilterT = Aws::String>
57 void SetHostArnFilter(HostArnFilterT&& value) { m_hostArnFilterHasBeenSet = true; m_hostArnFilter = std::forward<HostArnFilterT>(value); }
58 template<typename HostArnFilterT = Aws::String>
59 ListConnectionsRequest& WithHostArnFilter(HostArnFilterT&& value) { SetHostArnFilter(std::forward<HostArnFilterT>(value)); return *this;}
61
63
68 inline int GetMaxResults() const { return m_maxResults; }
69 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
70 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
71 inline ListConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
73
75
79 inline const Aws::String& GetNextToken() const { return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 template<typename NextTokenT = Aws::String>
82 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
83 template<typename NextTokenT = Aws::String>
84 ListConnectionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
86 private:
87
88 ProviderType m_providerTypeFilter{ProviderType::NOT_SET};
89 bool m_providerTypeFilterHasBeenSet = false;
90
91 Aws::String m_hostArnFilter;
92 bool m_hostArnFilterHasBeenSet = false;
93
94 int m_maxResults{0};
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CodeConnections
103} // namespace Aws
ListConnectionsRequest & WithProviderTypeFilter(ProviderType value)
AWS_CODECONNECTIONS_API ListConnectionsRequest()=default
ListConnectionsRequest & WithNextToken(NextTokenT &&value)
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListConnectionsRequest & WithHostArnFilter(HostArnFilterT &&value)
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String