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>
39 AWS_PIPES_API
Pipe() =
default;
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
65 template<
typename ArnT = Aws::String>
95 template<
typename StateReasonT = Aws::String>
96 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
97 template<
typename StateReasonT = Aws::String>
107 template<
typename CreationTimeT = Aws::Utils::DateTime>
108 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
109 template<
typename CreationTimeT = Aws::Utils::DateTime>
121 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
122 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
123 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
133 template<
typename SourceT = Aws::String>
134 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
135 template<
typename SourceT = Aws::String>
145 template<
typename TargetT = Aws::String>
146 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
147 template<
typename TargetT = Aws::String>
157 template<
typename EnrichmentT = Aws::String>
158 void SetEnrichment(EnrichmentT&& value) { m_enrichmentHasBeenSet =
true; m_enrichment = std::forward<EnrichmentT>(value); }
159 template<
typename EnrichmentT = Aws::String>
165 bool m_nameHasBeenSet =
false;
168 bool m_arnHasBeenSet =
false;
171 bool m_desiredStateHasBeenSet =
false;
174 bool m_currentStateHasBeenSet =
false;
177 bool m_stateReasonHasBeenSet =
false;
180 bool m_creationTimeHasBeenSet =
false;
183 bool m_lastModifiedTimeHasBeenSet =
false;
186 bool m_sourceHasBeenSet =
false;
189 bool m_targetHasBeenSet =
false;
192 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