/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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.See Also:
AWS
* API Reference
The code of the cross-regional warning.
*/ inline const Aws::String& GetCode() const{ return m_code; } /** *The code of the cross-regional warning.
*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** *The code of the cross-regional warning.
*/ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } /** *The code of the cross-regional warning.
*/ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** *The code of the cross-regional warning.
*/ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } /** *The code of the cross-regional warning.
*/ inline Warning& WithCode(const Aws::String& value) { SetCode(value); return *this;} /** *The code of the cross-regional warning.
*/ inline Warning& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} /** *The code of the cross-regional warning.
*/ inline Warning& WithCode(const char* value) { SetCode(value); return *this;} /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline Warning& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline Warning& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The message explaining what resources are in a different region from the * pipeline.
AWS KMS keys must be in the same region as the * pipeline.
*/ inline Warning& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_code; bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws