AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Pipe.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/RequestedPipeState.h>
10#include <aws/pipes/model/PipeState.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Pipes
25{
26namespace Model
27{
28
36 class Pipe
37 {
38 public:
39 AWS_PIPES_API Pipe();
40 AWS_PIPES_API Pipe(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PIPES_API Pipe& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline Pipe& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline Pipe& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline Pipe& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline Pipe& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline Pipe& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline Pipe& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const RequestedPipeState& GetDesiredState() const{ return m_desiredState; }
78 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
79 inline void SetDesiredState(const RequestedPipeState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
80 inline void SetDesiredState(RequestedPipeState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
81 inline Pipe& WithDesiredState(const RequestedPipeState& value) { SetDesiredState(value); return *this;}
82 inline Pipe& WithDesiredState(RequestedPipeState&& value) { SetDesiredState(std::move(value)); return *this;}
84
86
89 inline const PipeState& GetCurrentState() const{ return m_currentState; }
90 inline bool CurrentStateHasBeenSet() const { return m_currentStateHasBeenSet; }
91 inline void SetCurrentState(const PipeState& value) { m_currentStateHasBeenSet = true; m_currentState = value; }
92 inline void SetCurrentState(PipeState&& value) { m_currentStateHasBeenSet = true; m_currentState = std::move(value); }
93 inline Pipe& WithCurrentState(const PipeState& value) { SetCurrentState(value); return *this;}
94 inline Pipe& WithCurrentState(PipeState&& value) { SetCurrentState(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
102 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
103 inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
104 inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
105 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
106 inline Pipe& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
107 inline Pipe& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
108 inline Pipe& WithStateReason(const char* value) { SetStateReason(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
116 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
117 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
118 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
119 inline Pipe& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
120 inline Pipe& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
122
124
129 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
130 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
131 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
132 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
133 inline Pipe& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
134 inline Pipe& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
136
138
141 inline const Aws::String& GetSource() const{ return m_source; }
142 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
143 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
144 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
145 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
146 inline Pipe& WithSource(const Aws::String& value) { SetSource(value); return *this;}
147 inline Pipe& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
148 inline Pipe& WithSource(const char* value) { SetSource(value); return *this;}
150
152
155 inline const Aws::String& GetTarget() const{ return m_target; }
156 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
157 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
158 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
159 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
160 inline Pipe& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
161 inline Pipe& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
162 inline Pipe& WithTarget(const char* value) { SetTarget(value); return *this;}
164
166
169 inline const Aws::String& GetEnrichment() const{ return m_enrichment; }
170 inline bool EnrichmentHasBeenSet() const { return m_enrichmentHasBeenSet; }
171 inline void SetEnrichment(const Aws::String& value) { m_enrichmentHasBeenSet = true; m_enrichment = value; }
172 inline void SetEnrichment(Aws::String&& value) { m_enrichmentHasBeenSet = true; m_enrichment = std::move(value); }
173 inline void SetEnrichment(const char* value) { m_enrichmentHasBeenSet = true; m_enrichment.assign(value); }
174 inline Pipe& WithEnrichment(const Aws::String& value) { SetEnrichment(value); return *this;}
175 inline Pipe& WithEnrichment(Aws::String&& value) { SetEnrichment(std::move(value)); return *this;}
176 inline Pipe& WithEnrichment(const char* value) { SetEnrichment(value); return *this;}
178 private:
179
180 Aws::String m_name;
181 bool m_nameHasBeenSet = false;
182
183 Aws::String m_arn;
184 bool m_arnHasBeenSet = false;
185
186 RequestedPipeState m_desiredState;
187 bool m_desiredStateHasBeenSet = false;
188
189 PipeState m_currentState;
190 bool m_currentStateHasBeenSet = false;
191
192 Aws::String m_stateReason;
193 bool m_stateReasonHasBeenSet = false;
194
195 Aws::Utils::DateTime m_creationTime;
196 bool m_creationTimeHasBeenSet = false;
197
198 Aws::Utils::DateTime m_lastModifiedTime;
199 bool m_lastModifiedTimeHasBeenSet = false;
200
201 Aws::String m_source;
202 bool m_sourceHasBeenSet = false;
203
204 Aws::String m_target;
205 bool m_targetHasBeenSet = false;
206
207 Aws::String m_enrichment;
208 bool m_enrichmentHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace Pipes
213} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
Definition Pipe.h:115
void SetName(const char *value)
Definition Pipe.h:53
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Pipe.h:132
bool CurrentStateHasBeenSet() const
Definition Pipe.h:90
void SetCurrentState(PipeState &&value)
Definition Pipe.h:92
void SetCurrentState(const PipeState &value)
Definition Pipe.h:91
void SetEnrichment(const char *value)
Definition Pipe.h:173
void SetSource(const char *value)
Definition Pipe.h:145
bool SourceHasBeenSet() const
Definition Pipe.h:142
const Aws::String & GetName() const
Definition Pipe.h:49
void SetStateReason(const Aws::String &value)
Definition Pipe.h:103
Pipe & WithCurrentState(PipeState &&value)
Definition Pipe.h:94
const Aws::String & GetEnrichment() const
Definition Pipe.h:169
void SetSource(const Aws::String &value)
Definition Pipe.h:143
const PipeState & GetCurrentState() const
Definition Pipe.h:89
Pipe & WithArn(Aws::String &&value)
Definition Pipe.h:69
AWS_PIPES_API Pipe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
Definition Pipe.h:65
bool ArnHasBeenSet() const
Definition Pipe.h:64
void SetName(Aws::String &&value)
Definition Pipe.h:52
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Pipe.h:131
bool EnrichmentHasBeenSet() const
Definition Pipe.h:170
void SetArn(Aws::String &&value)
Definition Pipe.h:66
void SetStateReason(Aws::String &&value)
Definition Pipe.h:104
bool DesiredStateHasBeenSet() const
Definition Pipe.h:78
Pipe & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Pipe.h:120
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Pipe.h:129
void SetStateReason(const char *value)
Definition Pipe.h:105
Pipe & WithSource(const Aws::String &value)
Definition Pipe.h:146
Pipe & WithTarget(const char *value)
Definition Pipe.h:162
const Aws::String & GetStateReason() const
Definition Pipe.h:101
Pipe & WithDesiredState(const RequestedPipeState &value)
Definition Pipe.h:81
Pipe & WithStateReason(Aws::String &&value)
Definition Pipe.h:107
Pipe & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Pipe.h:119
void SetSource(Aws::String &&value)
Definition Pipe.h:144
void SetArn(const char *value)
Definition Pipe.h:67
AWS_PIPES_API Pipe(Aws::Utils::Json::JsonView jsonValue)
bool TargetHasBeenSet() const
Definition Pipe.h:156
void SetEnrichment(const Aws::String &value)
Definition Pipe.h:171
Pipe & WithName(const Aws::String &value)
Definition Pipe.h:54
Pipe & WithTarget(Aws::String &&value)
Definition Pipe.h:161
Pipe & WithSource(Aws::String &&value)
Definition Pipe.h:147
Pipe & WithStateReason(const char *value)
Definition Pipe.h:108
void SetDesiredState(RequestedPipeState &&value)
Definition Pipe.h:80
bool NameHasBeenSet() const
Definition Pipe.h:50
Pipe & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Pipe.h:134
Pipe & WithEnrichment(const char *value)
Definition Pipe.h:176
Pipe & WithName(Aws::String &&value)
Definition Pipe.h:55
Pipe & WithEnrichment(Aws::String &&value)
Definition Pipe.h:175
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Pipe.h:117
void SetName(const Aws::String &value)
Definition Pipe.h:51
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Pipe.h:118
Pipe & WithStateReason(const Aws::String &value)
Definition Pipe.h:106
Pipe & WithArn(const char *value)
Definition Pipe.h:70
void SetTarget(const char *value)
Definition Pipe.h:159
Pipe & WithSource(const char *value)
Definition Pipe.h:148
Pipe & WithTarget(const Aws::String &value)
Definition Pipe.h:160
Pipe & WithCurrentState(const PipeState &value)
Definition Pipe.h:93
Pipe & WithDesiredState(RequestedPipeState &&value)
Definition Pipe.h:82
const RequestedPipeState & GetDesiredState() const
Definition Pipe.h:77
Pipe & WithName(const char *value)
Definition Pipe.h:56
Pipe & WithArn(const Aws::String &value)
Definition Pipe.h:68
const Aws::String & GetArn() const
Definition Pipe.h:63
Pipe & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Pipe.h:133
const Aws::String & GetTarget() const
Definition Pipe.h:155
void SetTarget(Aws::String &&value)
Definition Pipe.h:158
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreationTimeHasBeenSet() const
Definition Pipe.h:116
const Aws::String & GetSource() const
Definition Pipe.h:141
bool StateReasonHasBeenSet() const
Definition Pipe.h:102
bool LastModifiedTimeHasBeenSet() const
Definition Pipe.h:130
void SetDesiredState(const RequestedPipeState &value)
Definition Pipe.h:79
void SetEnrichment(Aws::String &&value)
Definition Pipe.h:172
void SetTarget(const Aws::String &value)
Definition Pipe.h:157
Pipe & WithEnrichment(const Aws::String &value)
Definition Pipe.h:174
AWS_PIPES_API Pipe()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue