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

A list of header labels for the records.

*/ inline const Aws::Vector& GetHeaderValues() const{ return m_headerValues; } /** *

A list of header labels for the records.

*/ inline void SetHeaderValues(const Aws::Vector& value) { m_headerValues = value; } /** *

A list of header labels for the records.

*/ inline void SetHeaderValues(Aws::Vector&& value) { m_headerValues = std::move(value); } /** *

A list of header labels for the records.

*/ inline GetSampleDataResult& WithHeaderValues(const Aws::Vector& value) { SetHeaderValues(value); return *this;} /** *

A list of header labels for the records.

*/ inline GetSampleDataResult& WithHeaderValues(Aws::Vector&& value) { SetHeaderValues(std::move(value)); return *this;} /** *

A list of header labels for the records.

*/ inline GetSampleDataResult& AddHeaderValues(const Aws::String& value) { m_headerValues.push_back(value); return *this; } /** *

A list of header labels for the records.

*/ inline GetSampleDataResult& AddHeaderValues(Aws::String&& value) { m_headerValues.push_back(std::move(value)); return *this; } /** *

A list of header labels for the records.

*/ inline GetSampleDataResult& AddHeaderValues(const char* value) { m_headerValues.push_back(value); return *this; } /** *

A list of records.

*/ inline const Aws::Vector>& GetSampleRows() const{ return m_sampleRows; } /** *

A list of records.

*/ inline void SetSampleRows(const Aws::Vector>& value) { m_sampleRows = value; } /** *

A list of records.

*/ inline void SetSampleRows(Aws::Vector>&& value) { m_sampleRows = std::move(value); } /** *

A list of records.

*/ inline GetSampleDataResult& WithSampleRows(const Aws::Vector>& value) { SetSampleRows(value); return *this;} /** *

A list of records.

*/ inline GetSampleDataResult& WithSampleRows(Aws::Vector>&& value) { SetSampleRows(std::move(value)); return *this;} /** *

A list of records.

*/ inline GetSampleDataResult& AddSampleRows(const Aws::Vector& value) { m_sampleRows.push_back(value); return *this; } /** *

A list of records.

*/ inline GetSampleDataResult& AddSampleRows(Aws::Vector&& value) { m_sampleRows.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetSampleDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSampleDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSampleDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_headerValues; Aws::Vector> m_sampleRows; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws