/** * 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 { class Value; /** *

A structure value 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 StructValue { public: AWS_RDSDATASERVICE_API StructValue(); AWS_RDSDATASERVICE_API StructValue(Aws::Utils::Json::JsonView jsonValue); AWS_RDSDATASERVICE_API StructValue& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_RDSDATASERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The attributes returned in the record.

*/ inline const Aws::Vector& GetAttributes() const{ return m_attributes; } /** *

The attributes returned in the record.

*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *

The attributes returned in the record.

*/ inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *

The attributes returned in the record.

*/ inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *

The attributes returned in the record.

*/ inline StructValue& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} /** *

The attributes returned in the record.

*/ inline StructValue& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} /** *

The attributes returned in the record.

*/ inline StructValue& AddAttributes(const Value& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } /** *

The attributes returned in the record.

*/ inline StructValue& AddAttributes(Value&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } private: Aws::Vector m_attributes; bool m_attributesHasBeenSet = false; }; } // namespace Model } // namespace RDSDataService } // namespace Aws