/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ElasticTranscoder { namespace Model { /** *

When you create a pipeline, Elastic Transcoder returns the values that you * specified in the request.

See Also:

AWS * API Reference

*/ class CreatePipelineResult { public: AWS_ELASTICTRANSCODER_API CreatePipelineResult(); AWS_ELASTICTRANSCODER_API CreatePipelineResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICTRANSCODER_API CreatePipelineResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A section of the response body that provides information about the pipeline * that is created.

*/ inline const Pipeline& GetPipeline() const{ return m_pipeline; } /** *

A section of the response body that provides information about the pipeline * that is created.

*/ inline void SetPipeline(const Pipeline& value) { m_pipeline = value; } /** *

A section of the response body that provides information about the pipeline * that is created.

*/ inline void SetPipeline(Pipeline&& value) { m_pipeline = std::move(value); } /** *

A section of the response body that provides information about the pipeline * that is created.

*/ inline CreatePipelineResult& WithPipeline(const Pipeline& value) { SetPipeline(value); return *this;} /** *

A section of the response body that provides information about the pipeline * that is created.

*/ inline CreatePipelineResult& WithPipeline(Pipeline&& value) { SetPipeline(std::move(value)); return *this;} /** *

Elastic Transcoder returns a warning if the resources used by your pipeline * are not in the same region as the pipeline.

Using resources in the same * region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS * KMS key, reduces processing time and prevents cross-regional charges.

*/ inline const Aws::Vector& GetWarnings() const{ return m_warnings; } /** *

Elastic Transcoder returns a warning if the resources used by your pipeline * are not in the same region as the pipeline.

Using resources in the same * region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS * KMS key, reduces processing time and prevents cross-regional charges.

*/ inline void SetWarnings(const Aws::Vector& value) { m_warnings = value; } /** *

Elastic Transcoder returns a warning if the resources used by your pipeline * are not in the same region as the pipeline.

Using resources in the same * region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS * KMS key, reduces processing time and prevents cross-regional charges.

*/ inline void SetWarnings(Aws::Vector&& value) { m_warnings = std::move(value); } /** *

Elastic Transcoder returns a warning if the resources used by your pipeline * are not in the same region as the pipeline.

Using resources in the same * region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS * KMS key, reduces processing time and prevents cross-regional charges.

*/ inline CreatePipelineResult& WithWarnings(const Aws::Vector& value) { SetWarnings(value); return *this;} /** *

Elastic Transcoder returns a warning if the resources used by your pipeline * are not in the same region as the pipeline.

Using resources in the same * region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS * KMS key, reduces processing time and prevents cross-regional charges.

*/ inline CreatePipelineResult& WithWarnings(Aws::Vector&& value) { SetWarnings(std::move(value)); return *this;} /** *

Elastic Transcoder returns a warning if the resources used by your pipeline * are not in the same region as the pipeline.

Using resources in the same * region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS * KMS key, reduces processing time and prevents cross-regional charges.

*/ inline CreatePipelineResult& AddWarnings(const Warning& value) { m_warnings.push_back(value); return *this; } /** *

Elastic Transcoder returns a warning if the resources used by your pipeline * are not in the same region as the pipeline.

Using resources in the same * region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS * KMS key, reduces processing time and prevents cross-regional charges.

*/ inline CreatePipelineResult& AddWarnings(Warning&& value) { m_warnings.push_back(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 CreatePipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreatePipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreatePipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Pipeline m_pipeline; Aws::Vector m_warnings; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws