AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
52 inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
53 inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
54 inline ListPipesRequest& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
55 inline ListPipesRequest& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
56 inline ListPipesRequest& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
58
60
63 inline const RequestedPipeState& GetDesiredState() const{ return m_desiredState; }
64 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
65 inline void SetDesiredState(const RequestedPipeState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
66 inline void SetDesiredState(RequestedPipeState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
67 inline ListPipesRequest& WithDesiredState(const RequestedPipeState& value) { SetDesiredState(value); return *this;}
68 inline ListPipesRequest& WithDesiredState(RequestedPipeState&& value) { SetDesiredState(std::move(value)); return *this;}
70
72
75 inline const PipeState& GetCurrentState() const{ return m_currentState; }
76 inline bool CurrentStateHasBeenSet() const { return m_currentStateHasBeenSet; }
77 inline void SetCurrentState(const PipeState& value) { m_currentStateHasBeenSet = true; m_currentState = value; }
78 inline void SetCurrentState(PipeState&& value) { m_currentStateHasBeenSet = true; m_currentState = std::move(value); }
79 inline ListPipesRequest& WithCurrentState(const PipeState& value) { SetCurrentState(value); return *this;}
80 inline ListPipesRequest& WithCurrentState(PipeState&& value) { SetCurrentState(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetSourcePrefix() const{ return m_sourcePrefix; }
88 inline bool SourcePrefixHasBeenSet() const { return m_sourcePrefixHasBeenSet; }
89 inline void SetSourcePrefix(const Aws::String& value) { m_sourcePrefixHasBeenSet = true; m_sourcePrefix = value; }
90 inline void SetSourcePrefix(Aws::String&& value) { m_sourcePrefixHasBeenSet = true; m_sourcePrefix = std::move(value); }
91 inline void SetSourcePrefix(const char* value) { m_sourcePrefixHasBeenSet = true; m_sourcePrefix.assign(value); }
92 inline ListPipesRequest& WithSourcePrefix(const Aws::String& value) { SetSourcePrefix(value); return *this;}
93 inline ListPipesRequest& WithSourcePrefix(Aws::String&& value) { SetSourcePrefix(std::move(value)); return *this;}
94 inline ListPipesRequest& WithSourcePrefix(const char* value) { SetSourcePrefix(value); return *this;}
96
98
101 inline const Aws::String& GetTargetPrefix() const{ return m_targetPrefix; }
102 inline bool TargetPrefixHasBeenSet() const { return m_targetPrefixHasBeenSet; }
103 inline void SetTargetPrefix(const Aws::String& value) { m_targetPrefixHasBeenSet = true; m_targetPrefix = value; }
104 inline void SetTargetPrefix(Aws::String&& value) { m_targetPrefixHasBeenSet = true; m_targetPrefix = std::move(value); }
105 inline void SetTargetPrefix(const char* value) { m_targetPrefixHasBeenSet = true; m_targetPrefix.assign(value); }
106 inline ListPipesRequest& WithTargetPrefix(const Aws::String& value) { SetTargetPrefix(value); return *this;}
107 inline ListPipesRequest& WithTargetPrefix(Aws::String&& value) { SetTargetPrefix(std::move(value)); return *this;}
108 inline ListPipesRequest& WithTargetPrefix(const char* value) { SetTargetPrefix(value); return *this;}
110
112
119 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
120 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
121 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
122 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
123 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
124 inline ListPipesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 inline ListPipesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 inline ListPipesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128
130
133 inline int GetLimit() const{ return m_limit; }
134 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
135 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
136 inline ListPipesRequest& WithLimit(int value) { SetLimit(value); return *this;}
138 private:
139
140 Aws::String m_namePrefix;
141 bool m_namePrefixHasBeenSet = false;
142
143 RequestedPipeState m_desiredState;
144 bool m_desiredStateHasBeenSet = false;
145
146 PipeState m_currentState;
147 bool m_currentStateHasBeenSet = false;
148
149 Aws::String m_sourcePrefix;
150 bool m_sourcePrefixHasBeenSet = false;
151
152 Aws::String m_targetPrefix;
153 bool m_targetPrefixHasBeenSet = false;
154
155 Aws::String m_nextToken;
156 bool m_nextTokenHasBeenSet = false;
157
158 int m_limit;
159 bool m_limitHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Pipes
164} // namespace Aws
ListPipesRequest & WithSourcePrefix(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetTargetPrefix(Aws::String &&value)
const Aws::String & GetNextToken() const
ListPipesRequest & WithSourcePrefix(const Aws::String &value)
void SetCurrentState(const PipeState &value)
ListPipesRequest & WithNextToken(Aws::String &&value)
const PipeState & GetCurrentState() const
void SetNamePrefix(Aws::String &&value)
ListPipesRequest & WithSourcePrefix(const char *value)
void SetNextToken(const Aws::String &value)
void SetTargetPrefix(const Aws::String &value)
void SetCurrentState(PipeState &&value)
void SetTargetPrefix(const char *value)
void SetDesiredState(const RequestedPipeState &value)
void SetNamePrefix(const Aws::String &value)
void SetDesiredState(RequestedPipeState &&value)
ListPipesRequest & WithDesiredState(RequestedPipeState &&value)
ListPipesRequest & WithTargetPrefix(Aws::String &&value)
ListPipesRequest & WithNamePrefix(const Aws::String &value)
void SetNamePrefix(const char *value)
ListPipesRequest & WithNextToken(const Aws::String &value)
void SetSourcePrefix(const char *value)
void SetSourcePrefix(const Aws::String &value)
ListPipesRequest & WithNamePrefix(const char *value)
const Aws::String & GetTargetPrefix() const
ListPipesRequest & WithCurrentState(const PipeState &value)
const RequestedPipeState & GetDesiredState() const
void SetNextToken(Aws::String &&value)
ListPipesRequest & WithLimit(int value)
ListPipesRequest & WithNamePrefix(Aws::String &&value)
ListPipesRequest & WithTargetPrefix(const char *value)
const Aws::String & GetSourcePrefix() const
AWS_PIPES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListPipesRequest & WithTargetPrefix(const Aws::String &value)
ListPipesRequest & WithCurrentState(PipeState &&value)
ListPipesRequest & WithNextToken(const char *value)
ListPipesRequest & WithDesiredState(const RequestedPipeState &value)
AWS_PIPES_API Aws::String SerializePayload() const override
const Aws::String & GetNamePrefix() const
void SetSourcePrefix(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String