/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 AWS_ELASTICTRANSCODER_API CreatePipelineResult { public: CreatePipelineResult(); CreatePipelineResult(const Aws::AmazonWebServiceResult& result); 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; } private: Pipeline m_pipeline; Aws::Vector m_warnings; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws