/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace RDSDataService { namespace Model { /** *

A record returned by a call.

This data structure is only used * with the deprecated ExecuteSql operation. Use the * BatchExecuteStatement or ExecuteStatement operation * instead.

See Also:

AWS API * Reference

*/ class Record { public: AWS_RDSDATASERVICE_API Record(); AWS_RDSDATASERVICE_API Record(Aws::Utils::Json::JsonView jsonValue); AWS_RDSDATASERVICE_API Record& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_RDSDATASERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The values returned in the record.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

The values returned in the record.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

The values returned in the record.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

The values returned in the record.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

The values returned in the record.

*/ inline Record& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

The values returned in the record.

*/ inline Record& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

The values returned in the record.

*/ inline Record& AddValues(const Value& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The values returned in the record.

*/ inline Record& AddValues(Value&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } private: Aws::Vector m_values; bool m_valuesHasBeenSet = false; }; } // namespace Model } // namespace RDSDataService } // namespace Aws