7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/Pipes_EXPORTS.h>
10#include <aws/pipes/model/PipeState.h>
11#include <aws/pipes/model/RequestedPipeState.h>
34 AWS_PIPES_API
Pipe() =
default;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename ArnT = Aws::String>
65 m_arnHasBeenSet =
true;
66 m_arn = std::forward<ArnT>(value);
68 template <
typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
82 m_desiredStateHasBeenSet =
true;
83 m_desiredState = value;
98 m_currentStateHasBeenSet =
true;
99 m_currentState = value;
113 template <
typename StateReasonT = Aws::String>
115 m_stateReasonHasBeenSet =
true;
116 m_stateReason = std::forward<StateReasonT>(value);
118 template <
typename StateReasonT = Aws::String>
131 template <
typename CreationTimeT = Aws::Utils::DateTime>
133 m_creationTimeHasBeenSet =
true;
134 m_creationTime = std::forward<CreationTimeT>(value);
136 template <
typename CreationTimeT = Aws::Utils::DateTime>
151 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
153 m_lastModifiedTimeHasBeenSet =
true;
154 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
156 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
169 template <
typename SourceT = Aws::String>
171 m_sourceHasBeenSet =
true;
172 m_source = std::forward<SourceT>(value);
174 template <
typename SourceT = Aws::String>
187 template <
typename TargetT = Aws::String>
189 m_targetHasBeenSet =
true;
190 m_target = std::forward<TargetT>(value);
192 template <
typename TargetT = Aws::String>
205 template <
typename EnrichmentT = Aws::String>
207 m_enrichmentHasBeenSet =
true;
208 m_enrichment = std::forward<EnrichmentT>(value);
210 template <
typename EnrichmentT = Aws::String>
236 bool m_nameHasBeenSet =
false;
237 bool m_arnHasBeenSet =
false;
238 bool m_desiredStateHasBeenSet =
false;
239 bool m_currentStateHasBeenSet =
false;
240 bool m_stateReasonHasBeenSet =
false;
241 bool m_creationTimeHasBeenSet =
false;
242 bool m_lastModifiedTimeHasBeenSet =
false;
243 bool m_sourceHasBeenSet =
false;
244 bool m_targetHasBeenSet =
false;
245 bool m_enrichmentHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationTime() const
bool CurrentStateHasBeenSet() const
AWS_PIPES_API Pipe()=default
bool SourceHasBeenSet() const
const Aws::String & GetName() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetEnrichment() const
Pipe & WithEnrichment(EnrichmentT &&value)
AWS_PIPES_API Pipe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentState(PipeState value)
bool ArnHasBeenSet() const
Pipe & WithName(NameT &&value)
Pipe & WithLastModifiedTime(LastModifiedTimeT &&value)
bool EnrichmentHasBeenSet() const
bool DesiredStateHasBeenSet() const
Pipe & WithDesiredState(RequestedPipeState value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
PipeState GetCurrentState() const
Pipe & WithCurrentState(PipeState value)
const Aws::String & GetStateReason() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetArn(ArnT &&value)
Pipe & WithTarget(TargetT &&value)
AWS_PIPES_API Pipe(Aws::Utils::Json::JsonView jsonValue)
bool TargetHasBeenSet() const
Pipe & WithSource(SourceT &&value)
Pipe & WithStateReason(StateReasonT &&value)
void SetTarget(TargetT &&value)
bool NameHasBeenSet() const
void SetSource(SourceT &&value)
void SetEnrichment(EnrichmentT &&value)
void SetName(NameT &&value)
Pipe & WithCreationTime(CreationTimeT &&value)
void SetDesiredState(RequestedPipeState value)
const Aws::String & GetArn() const
const Aws::String & GetTarget() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreationTimeHasBeenSet() const
RequestedPipeState GetDesiredState() const
Pipe & WithArn(ArnT &&value)
void SetStateReason(StateReasonT &&value)
const Aws::String & GetSource() const
bool StateReasonHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue