/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Firehose { namespace Model { class AWS_FIREHOSE_API PutRecordResult { public: PutRecordResult(); PutRecordResult(const Aws::AmazonWebServiceResult& result); PutRecordResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the record.

*/ inline const Aws::String& GetRecordId() const{ return m_recordId; } /** *

The ID of the record.

*/ inline void SetRecordId(const Aws::String& value) { m_recordId = value; } /** *

The ID of the record.

*/ inline void SetRecordId(Aws::String&& value) { m_recordId = std::move(value); } /** *

The ID of the record.

*/ inline void SetRecordId(const char* value) { m_recordId.assign(value); } /** *

The ID of the record.

*/ inline PutRecordResult& WithRecordId(const Aws::String& value) { SetRecordId(value); return *this;} /** *

The ID of the record.

*/ inline PutRecordResult& WithRecordId(Aws::String&& value) { SetRecordId(std::move(value)); return *this;} /** *

The ID of the record.

*/ inline PutRecordResult& WithRecordId(const char* value) { SetRecordId(value); return *this;} /** *

Indicates whether server-side encryption (SSE) was enabled during this * operation.

*/ inline bool GetEncrypted() const{ return m_encrypted; } /** *

Indicates whether server-side encryption (SSE) was enabled during this * operation.

*/ inline void SetEncrypted(bool value) { m_encrypted = value; } /** *

Indicates whether server-side encryption (SSE) was enabled during this * operation.

*/ inline PutRecordResult& WithEncrypted(bool value) { SetEncrypted(value); return *this;} private: Aws::String m_recordId; bool m_encrypted; }; } // namespace Model } // namespace Firehose } // namespace Aws