/**
* 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;} /** *The ARN of the stream.
*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *The ARN of the stream.
*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *The ARN of the stream.
*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *The ARN of the stream.
*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *The ARN of the stream.
*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *The ARN of the stream.
*/ inline PutRecordsRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *The ARN of the stream.
*/ inline PutRecordsRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *The ARN of the stream.
*/ inline PutRecordsRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} private: Aws::Vector