/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The ReadPresetResponse
structure.See Also:
AWS
* API Reference
A section of the response body that provides information about the * preset.
*/ inline const Preset& GetPreset() const{ return m_preset; } /** *A section of the response body that provides information about the * preset.
*/ inline void SetPreset(const Preset& value) { m_preset = value; } /** *A section of the response body that provides information about the * preset.
*/ inline void SetPreset(Preset&& value) { m_preset = std::move(value); } /** *A section of the response body that provides information about the * preset.
*/ inline ReadPresetResult& WithPreset(const Preset& value) { SetPreset(value); return *this;} /** *A section of the response body that provides information about the * preset.
*/ inline ReadPresetResult& WithPreset(Preset&& value) { SetPreset(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 ReadPresetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ReadPresetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ReadPresetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Preset m_preset; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws