/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Pipes { namespace Model { class DescribePipeResult { public: AWS_PIPES_API DescribePipeResult(); AWS_PIPES_API DescribePipeResult(const Aws::AmazonWebServiceResult& result); AWS_PIPES_API DescribePipeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the pipe.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the pipe.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The ARN of the pipe.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The ARN of the pipe.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the pipe.

*/ inline DescribePipeResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the pipe.

*/ inline DescribePipeResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the pipe.

*/ inline DescribePipeResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The time the pipe was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time the pipe was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time the pipe was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The time the pipe was created.

*/ inline DescribePipeResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time the pipe was created.

*/ inline DescribePipeResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The state the pipe is in.

*/ inline const PipeState& GetCurrentState() const{ return m_currentState; } /** *

The state the pipe is in.

*/ inline void SetCurrentState(const PipeState& value) { m_currentState = value; } /** *

The state the pipe is in.

*/ inline void SetCurrentState(PipeState&& value) { m_currentState = std::move(value); } /** *

The state the pipe is in.

*/ inline DescribePipeResult& WithCurrentState(const PipeState& value) { SetCurrentState(value); return *this;} /** *

The state the pipe is in.

*/ inline DescribePipeResult& WithCurrentState(PipeState&& value) { SetCurrentState(std::move(value)); return *this;} /** *

A description of the pipe.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the pipe.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

A description of the pipe.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

A description of the pipe.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

A description of the pipe.

*/ inline DescribePipeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the pipe.

*/ inline DescribePipeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the pipe.

*/ inline DescribePipeResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The state the pipe should be in.

*/ inline const RequestedPipeStateDescribeResponse& GetDesiredState() const{ return m_desiredState; } /** *

The state the pipe should be in.

*/ inline void SetDesiredState(const RequestedPipeStateDescribeResponse& value) { m_desiredState = value; } /** *

The state the pipe should be in.

*/ inline void SetDesiredState(RequestedPipeStateDescribeResponse&& value) { m_desiredState = std::move(value); } /** *

The state the pipe should be in.

*/ inline DescribePipeResult& WithDesiredState(const RequestedPipeStateDescribeResponse& value) { SetDesiredState(value); return *this;} /** *

The state the pipe should be in.

*/ inline DescribePipeResult& WithDesiredState(RequestedPipeStateDescribeResponse&& value) { SetDesiredState(std::move(value)); return *this;} /** *

The ARN of the enrichment resource.

*/ inline const Aws::String& GetEnrichment() const{ return m_enrichment; } /** *

The ARN of the enrichment resource.

*/ inline void SetEnrichment(const Aws::String& value) { m_enrichment = value; } /** *

The ARN of the enrichment resource.

*/ inline void SetEnrichment(Aws::String&& value) { m_enrichment = std::move(value); } /** *

The ARN of the enrichment resource.

*/ inline void SetEnrichment(const char* value) { m_enrichment.assign(value); } /** *

The ARN of the enrichment resource.

*/ inline DescribePipeResult& WithEnrichment(const Aws::String& value) { SetEnrichment(value); return *this;} /** *

The ARN of the enrichment resource.

*/ inline DescribePipeResult& WithEnrichment(Aws::String&& value) { SetEnrichment(std::move(value)); return *this;} /** *

The ARN of the enrichment resource.

*/ inline DescribePipeResult& WithEnrichment(const char* value) { SetEnrichment(value); return *this;} /** *

The parameters required to set up enrichment on your pipe.

*/ inline const PipeEnrichmentParameters& GetEnrichmentParameters() const{ return m_enrichmentParameters; } /** *

The parameters required to set up enrichment on your pipe.

*/ inline void SetEnrichmentParameters(const PipeEnrichmentParameters& value) { m_enrichmentParameters = value; } /** *

The parameters required to set up enrichment on your pipe.

*/ inline void SetEnrichmentParameters(PipeEnrichmentParameters&& value) { m_enrichmentParameters = std::move(value); } /** *

The parameters required to set up enrichment on your pipe.

*/ inline DescribePipeResult& WithEnrichmentParameters(const PipeEnrichmentParameters& value) { SetEnrichmentParameters(value); return *this;} /** *

The parameters required to set up enrichment on your pipe.

*/ inline DescribePipeResult& WithEnrichmentParameters(PipeEnrichmentParameters&& value) { SetEnrichmentParameters(std::move(value)); return *this;} /** *

When the pipe was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

When the pipe was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

When the pipe was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } /** *

When the pipe was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline DescribePipeResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

When the pipe was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline DescribePipeResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The name of the pipe.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the pipe.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the pipe.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the pipe.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the pipe.

*/ inline DescribePipeResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the pipe.

*/ inline DescribePipeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the pipe.

*/ inline DescribePipeResult& WithName(const char* value) { SetName(value); return *this;} /** *

The ARN of the role that allows the pipe to send data to the target.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The ARN of the role that allows the pipe to send data to the target.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The ARN of the role that allows the pipe to send data to the target.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The ARN of the role that allows the pipe to send data to the target.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The ARN of the role that allows the pipe to send data to the target.

*/ inline DescribePipeResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The ARN of the role that allows the pipe to send data to the target.

*/ inline DescribePipeResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The ARN of the role that allows the pipe to send data to the target.

*/ inline DescribePipeResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The ARN of the source resource.

*/ inline const Aws::String& GetSource() const{ return m_source; } /** *

The ARN of the source resource.

*/ inline void SetSource(const Aws::String& value) { m_source = value; } /** *

The ARN of the source resource.

*/ inline void SetSource(Aws::String&& value) { m_source = std::move(value); } /** *

The ARN of the source resource.

*/ inline void SetSource(const char* value) { m_source.assign(value); } /** *

The ARN of the source resource.

*/ inline DescribePipeResult& WithSource(const Aws::String& value) { SetSource(value); return *this;} /** *

The ARN of the source resource.

*/ inline DescribePipeResult& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} /** *

The ARN of the source resource.

*/ inline DescribePipeResult& WithSource(const char* value) { SetSource(value); return *this;} /** *

The parameters required to set up a source for your pipe.

*/ inline const PipeSourceParameters& GetSourceParameters() const{ return m_sourceParameters; } /** *

The parameters required to set up a source for your pipe.

*/ inline void SetSourceParameters(const PipeSourceParameters& value) { m_sourceParameters = value; } /** *

The parameters required to set up a source for your pipe.

*/ inline void SetSourceParameters(PipeSourceParameters&& value) { m_sourceParameters = std::move(value); } /** *

The parameters required to set up a source for your pipe.

*/ inline DescribePipeResult& WithSourceParameters(const PipeSourceParameters& value) { SetSourceParameters(value); return *this;} /** *

The parameters required to set up a source for your pipe.

*/ inline DescribePipeResult& WithSourceParameters(PipeSourceParameters&& value) { SetSourceParameters(std::move(value)); return *this;} /** *

The reason the pipe is in its current state.

*/ inline const Aws::String& GetStateReason() const{ return m_stateReason; } /** *

The reason the pipe is in its current state.

*/ inline void SetStateReason(const Aws::String& value) { m_stateReason = value; } /** *

The reason the pipe is in its current state.

*/ inline void SetStateReason(Aws::String&& value) { m_stateReason = std::move(value); } /** *

The reason the pipe is in its current state.

*/ inline void SetStateReason(const char* value) { m_stateReason.assign(value); } /** *

The reason the pipe is in its current state.

*/ inline DescribePipeResult& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;} /** *

The reason the pipe is in its current state.

*/ inline DescribePipeResult& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;} /** *

The reason the pipe is in its current state.

*/ inline DescribePipeResult& WithStateReason(const char* value) { SetStateReason(value); return *this;} /** *

The list of key-value pairs to associate with the pipe.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The list of key-value pairs to associate with the pipe.

*/ inline DescribePipeResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The ARN of the target resource.

*/ inline const Aws::String& GetTarget() const{ return m_target; } /** *

The ARN of the target resource.

*/ inline void SetTarget(const Aws::String& value) { m_target = value; } /** *

The ARN of the target resource.

*/ inline void SetTarget(Aws::String&& value) { m_target = std::move(value); } /** *

The ARN of the target resource.

*/ inline void SetTarget(const char* value) { m_target.assign(value); } /** *

The ARN of the target resource.

*/ inline DescribePipeResult& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** *

The ARN of the target resource.

*/ inline DescribePipeResult& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** *

The ARN of the target resource.

*/ inline DescribePipeResult& WithTarget(const char* value) { SetTarget(value); return *this;} /** *

The parameters required to set up a target for your pipe.

*/ inline const PipeTargetParameters& GetTargetParameters() const{ return m_targetParameters; } /** *

The parameters required to set up a target for your pipe.

*/ inline void SetTargetParameters(const PipeTargetParameters& value) { m_targetParameters = value; } /** *

The parameters required to set up a target for your pipe.

*/ inline void SetTargetParameters(PipeTargetParameters&& value) { m_targetParameters = std::move(value); } /** *

The parameters required to set up a target for your pipe.

*/ inline DescribePipeResult& WithTargetParameters(const PipeTargetParameters& value) { SetTargetParameters(value); return *this;} /** *

The parameters required to set up a target for your pipe.

*/ inline DescribePipeResult& WithTargetParameters(PipeTargetParameters&& value) { SetTargetParameters(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribePipeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribePipeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribePipeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_creationTime; PipeState m_currentState; Aws::String m_description; RequestedPipeStateDescribeResponse m_desiredState; Aws::String m_enrichment; PipeEnrichmentParameters m_enrichmentParameters; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_name; Aws::String m_roleArn; Aws::String m_source; PipeSourceParameters m_sourceParameters; Aws::String m_stateReason; Aws::Map m_tags; Aws::String m_target; PipeTargetParameters m_targetParameters; Aws::String m_requestId; }; } // namespace Model } // namespace Pipes } // namespace Aws