AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryInfo.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/config/model/FieldInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONFIGSERVICE_API QueryInfo();
36 AWS_CONFIGSERVICE_API QueryInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API QueryInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<FieldInfo>& GetSelectFields() const{ return m_selectFields; }
46 inline bool SelectFieldsHasBeenSet() const { return m_selectFieldsHasBeenSet; }
47 inline void SetSelectFields(const Aws::Vector<FieldInfo>& value) { m_selectFieldsHasBeenSet = true; m_selectFields = value; }
48 inline void SetSelectFields(Aws::Vector<FieldInfo>&& value) { m_selectFieldsHasBeenSet = true; m_selectFields = std::move(value); }
49 inline QueryInfo& WithSelectFields(const Aws::Vector<FieldInfo>& value) { SetSelectFields(value); return *this;}
50 inline QueryInfo& WithSelectFields(Aws::Vector<FieldInfo>&& value) { SetSelectFields(std::move(value)); return *this;}
51 inline QueryInfo& AddSelectFields(const FieldInfo& value) { m_selectFieldsHasBeenSet = true; m_selectFields.push_back(value); return *this; }
52 inline QueryInfo& AddSelectFields(FieldInfo&& value) { m_selectFieldsHasBeenSet = true; m_selectFields.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<FieldInfo> m_selectFields;
57 bool m_selectFieldsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace ConfigService
62} // namespace Aws
QueryInfo & AddSelectFields(FieldInfo &&value)
Definition QueryInfo.h:52
const Aws::Vector< FieldInfo > & GetSelectFields() const
Definition QueryInfo.h:45
QueryInfo & WithSelectFields(const Aws::Vector< FieldInfo > &value)
Definition QueryInfo.h:49
void SetSelectFields(const Aws::Vector< FieldInfo > &value)
Definition QueryInfo.h:47
AWS_CONFIGSERVICE_API QueryInfo(Aws::Utils::Json::JsonView jsonValue)
QueryInfo & AddSelectFields(const FieldInfo &value)
Definition QueryInfo.h:51
AWS_CONFIGSERVICE_API QueryInfo()
QueryInfo & WithSelectFields(Aws::Vector< FieldInfo > &&value)
Definition QueryInfo.h:50
AWS_CONFIGSERVICE_API QueryInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSelectFields(Aws::Vector< FieldInfo > &&value)
Definition QueryInfo.h:48
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue