/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A PutRecords
request.See Also:
AWS
* API Reference
The records associated with the request.
*/ inline const Aws::VectorThe records associated with the request.
*/ inline bool RecordsHasBeenSet() const { return m_recordsHasBeenSet; } /** *The records associated with the request.
*/ inline void SetRecords(const Aws::VectorThe records associated with the request.
*/ inline void SetRecords(Aws::VectorThe records associated with the request.
*/ inline PutRecordsRequest& WithRecords(const Aws::VectorThe records associated with the request.
*/ inline PutRecordsRequest& WithRecords(Aws::VectorThe records associated with the request.
*/ inline PutRecordsRequest& AddRecords(const PutRecordsRequestEntry& value) { m_recordsHasBeenSet = true; m_records.push_back(value); return *this; } /** *The records associated with the request.
*/ inline PutRecordsRequest& AddRecords(PutRecordsRequestEntry&& value) { m_recordsHasBeenSet = true; m_records.push_back(std::move(value)); return *this; } /** *The stream name associated with the request.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The stream name associated with the request.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The stream name associated with the request.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The stream name associated with the request.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The stream name associated with the request.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The stream name associated with the request.
*/ inline PutRecordsRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The stream name associated with the request.
*/ inline PutRecordsRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The stream name associated with the request.
*/ inline PutRecordsRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;} private: Aws::Vector