AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListPipesRequest.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/PipesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pipes/model/RequestedPipeState.h>
11#include <aws/pipes/model/PipeState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Pipes
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_PIPES_API ListPipesRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListPipes"; }
37
38 AWS_PIPES_API Aws::String SerializePayload() const override;
39
40 AWS_PIPES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetNamePrefix() const { return m_namePrefix; }
50 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
51 template<typename NamePrefixT = Aws::String>
52 void SetNamePrefix(NamePrefixT&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::forward<NamePrefixT>(value); }
53 template<typename NamePrefixT = Aws::String>
54 ListPipesRequest& WithNamePrefix(NamePrefixT&& value) { SetNamePrefix(std::forward<NamePrefixT>(value)); return *this;}
56
58
61 inline RequestedPipeState GetDesiredState() const { return m_desiredState; }
62 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
63 inline void SetDesiredState(RequestedPipeState value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
66
68
71 inline PipeState GetCurrentState() const { return m_currentState; }
72 inline bool CurrentStateHasBeenSet() const { return m_currentStateHasBeenSet; }
73 inline void SetCurrentState(PipeState value) { m_currentStateHasBeenSet = true; m_currentState = value; }
74 inline ListPipesRequest& WithCurrentState(PipeState value) { SetCurrentState(value); return *this;}
76
78
81 inline const Aws::String& GetSourcePrefix() const { return m_sourcePrefix; }
82 inline bool SourcePrefixHasBeenSet() const { return m_sourcePrefixHasBeenSet; }
83 template<typename SourcePrefixT = Aws::String>
84 void SetSourcePrefix(SourcePrefixT&& value) { m_sourcePrefixHasBeenSet = true; m_sourcePrefix = std::forward<SourcePrefixT>(value); }
85 template<typename SourcePrefixT = Aws::String>
86 ListPipesRequest& WithSourcePrefix(SourcePrefixT&& value) { SetSourcePrefix(std::forward<SourcePrefixT>(value)); return *this;}
88
90
93 inline const Aws::String& GetTargetPrefix() const { return m_targetPrefix; }
94 inline bool TargetPrefixHasBeenSet() const { return m_targetPrefixHasBeenSet; }
95 template<typename TargetPrefixT = Aws::String>
96 void SetTargetPrefix(TargetPrefixT&& value) { m_targetPrefixHasBeenSet = true; m_targetPrefix = std::forward<TargetPrefixT>(value); }
97 template<typename TargetPrefixT = Aws::String>
98 ListPipesRequest& WithTargetPrefix(TargetPrefixT&& value) { SetTargetPrefix(std::forward<TargetPrefixT>(value)); return *this;}
100
102
109 inline const Aws::String& GetNextToken() const { return m_nextToken; }
110 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 template<typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
113 template<typename NextTokenT = Aws::String>
114 ListPipesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
116
118
121 inline int GetLimit() const { return m_limit; }
122 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
123 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
124 inline ListPipesRequest& WithLimit(int value) { SetLimit(value); return *this;}
126 private:
127
128 Aws::String m_namePrefix;
129 bool m_namePrefixHasBeenSet = false;
130
132 bool m_desiredStateHasBeenSet = false;
133
134 PipeState m_currentState{PipeState::NOT_SET};
135 bool m_currentStateHasBeenSet = false;
136
137 Aws::String m_sourcePrefix;
138 bool m_sourcePrefixHasBeenSet = false;
139
140 Aws::String m_targetPrefix;
141 bool m_targetPrefixHasBeenSet = false;
142
143 Aws::String m_nextToken;
144 bool m_nextTokenHasBeenSet = false;
145
146 int m_limit{0};
147 bool m_limitHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Pipes
152} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetTargetPrefix(TargetPrefixT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
ListPipesRequest & WithCurrentState(PipeState value)
RequestedPipeState GetDesiredState() const
ListPipesRequest & WithNextToken(NextTokenT &&value)
ListPipesRequest & WithNamePrefix(NamePrefixT &&value)
ListPipesRequest & WithSourcePrefix(SourcePrefixT &&value)
const Aws::String & GetTargetPrefix() const
ListPipesRequest & WithDesiredState(RequestedPipeState value)
ListPipesRequest & WithLimit(int value)
const Aws::String & GetSourcePrefix() const
void SetSourcePrefix(SourcePrefixT &&value)
AWS_PIPES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetNamePrefix(NamePrefixT &&value)
void SetDesiredState(RequestedPipeState value)
AWS_PIPES_API Aws::String SerializePayload() const override
AWS_PIPES_API ListPipesRequest()=default
const Aws::String & GetNamePrefix() const
ListPipesRequest & WithTargetPrefix(TargetPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String