/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure representing the getProfileResponse.See Also:
* AWS
* API Reference
The content encoding of the profile.
*/ inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; } /** *The content encoding of the profile.
*/ inline void SetContentEncoding(const Aws::String& value) { m_contentEncoding = value; } /** *The content encoding of the profile.
*/ inline void SetContentEncoding(Aws::String&& value) { m_contentEncoding = std::move(value); } /** *The content encoding of the profile.
*/ inline void SetContentEncoding(const char* value) { m_contentEncoding.assign(value); } /** *The content encoding of the profile.
*/ inline GetProfileResult& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;} /** *The content encoding of the profile.
*/ inline GetProfileResult& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;} /** *The content encoding of the profile.
*/ inline GetProfileResult& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;} /** *The content type of the profile in the payload. It is either
* application/json or the default
* application/x-amzn-ion.
The content type of the profile in the payload. It is either
* application/json or the default
* application/x-amzn-ion.
The content type of the profile in the payload. It is either
* application/json or the default
* application/x-amzn-ion.
The content type of the profile in the payload. It is either
* application/json or the default
* application/x-amzn-ion.
The content type of the profile in the payload. It is either
* application/json or the default
* application/x-amzn-ion.
The content type of the profile in the payload. It is either
* application/json or the default
* application/x-amzn-ion.
The content type of the profile in the payload. It is either
* application/json or the default
* application/x-amzn-ion.
Information about the profile.
*/ inline Aws::IOStream& GetProfile() { return m_profile.GetUnderlyingStream(); } /** *Information about the profile.
*/ inline void ReplaceBody(Aws::IOStream* body) { m_profile = Aws::Utils::Stream::ResponseStream(body); } private: Aws::String m_contentEncoding; Aws::String m_contentType; Aws::Utils::Stream::ResponseStream m_profile; }; } // namespace Model } // namespace CodeGuruProfiler } // namespace Aws