/**
* 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 ConfigService
{
namespace Model
{
/**
* Details about the query.
See Also:
AWS
* API Reference
*/
class QueryInfo
{
public:
AWS_CONFIGSERVICE_API QueryInfo();
AWS_CONFIGSERVICE_API QueryInfo(Aws::Utils::Json::JsonView jsonValue);
AWS_CONFIGSERVICE_API QueryInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Returns a FieldInfo
object.
*/
inline const Aws::Vector& GetSelectFields() const{ return m_selectFields; }
/**
* Returns a FieldInfo
object.
*/
inline bool SelectFieldsHasBeenSet() const { return m_selectFieldsHasBeenSet; }
/**
* Returns a FieldInfo
object.
*/
inline void SetSelectFields(const Aws::Vector& value) { m_selectFieldsHasBeenSet = true; m_selectFields = value; }
/**
* Returns a FieldInfo
object.
*/
inline void SetSelectFields(Aws::Vector&& value) { m_selectFieldsHasBeenSet = true; m_selectFields = std::move(value); }
/**
* Returns a FieldInfo
object.
*/
inline QueryInfo& WithSelectFields(const Aws::Vector& value) { SetSelectFields(value); return *this;}
/**
* Returns a FieldInfo
object.
*/
inline QueryInfo& WithSelectFields(Aws::Vector&& value) { SetSelectFields(std::move(value)); return *this;}
/**
* Returns a FieldInfo
object.
*/
inline QueryInfo& AddSelectFields(const FieldInfo& value) { m_selectFieldsHasBeenSet = true; m_selectFields.push_back(value); return *this; }
/**
* Returns a FieldInfo
object.
*/
inline QueryInfo& AddSelectFields(FieldInfo&& value) { m_selectFieldsHasBeenSet = true; m_selectFields.push_back(std::move(value)); return *this; }
private:
Aws::Vector m_selectFields;
bool m_selectFieldsHasBeenSet = false;
};
} // namespace Model
} // namespace ConfigService
} // namespace Aws