/** * 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 CloudWatchLogs { namespace Model { class AWS_CLOUDWATCHLOGS_API GetLogGroupFieldsResult { public: GetLogGroupFieldsResult(); GetLogGroupFieldsResult(const Aws::AmazonWebServiceResult& result); GetLogGroupFieldsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The array of fields found in the query. Each object in the array contains the * name of the field, along with the percentage of time it appeared in the log * events that were queried.

*/ inline const Aws::Vector& GetLogGroupFields() const{ return m_logGroupFields; } /** *

The array of fields found in the query. Each object in the array contains the * name of the field, along with the percentage of time it appeared in the log * events that were queried.

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

The array of fields found in the query. Each object in the array contains the * name of the field, along with the percentage of time it appeared in the log * events that were queried.

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

The array of fields found in the query. Each object in the array contains the * name of the field, along with the percentage of time it appeared in the log * events that were queried.

*/ inline GetLogGroupFieldsResult& WithLogGroupFields(const Aws::Vector& value) { SetLogGroupFields(value); return *this;} /** *

The array of fields found in the query. Each object in the array contains the * name of the field, along with the percentage of time it appeared in the log * events that were queried.

*/ inline GetLogGroupFieldsResult& WithLogGroupFields(Aws::Vector&& value) { SetLogGroupFields(std::move(value)); return *this;} /** *

The array of fields found in the query. Each object in the array contains the * name of the field, along with the percentage of time it appeared in the log * events that were queried.

*/ inline GetLogGroupFieldsResult& AddLogGroupFields(const LogGroupField& value) { m_logGroupFields.push_back(value); return *this; } /** *

The array of fields found in the query. Each object in the array contains the * name of the field, along with the percentage of time it appeared in the log * events that were queried.

*/ inline GetLogGroupFieldsResult& AddLogGroupFields(LogGroupField&& value) { m_logGroupFields.push_back(std::move(value)); return *this; } private: Aws::Vector m_logGroupFields; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws