AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CaseEventIncludedData.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connectcases/model/FieldIdentifier.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 ConnectCases
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECTCASES_API CaseEventIncludedData();
37 AWS_CONNECTCASES_API CaseEventIncludedData(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<FieldIdentifier>& GetFields() const{ return m_fields; }
47 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
48 inline void SetFields(const Aws::Vector<FieldIdentifier>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
49 inline void SetFields(Aws::Vector<FieldIdentifier>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
50 inline CaseEventIncludedData& WithFields(const Aws::Vector<FieldIdentifier>& value) { SetFields(value); return *this;}
51 inline CaseEventIncludedData& WithFields(Aws::Vector<FieldIdentifier>&& value) { SetFields(std::move(value)); return *this;}
52 inline CaseEventIncludedData& AddFields(const FieldIdentifier& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
53 inline CaseEventIncludedData& AddFields(FieldIdentifier&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_fieldsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ConnectCases
63} // namespace Aws
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
CaseEventIncludedData & AddFields(const FieldIdentifier &value)
CaseEventIncludedData & WithFields(const Aws::Vector< FieldIdentifier > &value)
void SetFields(const Aws::Vector< FieldIdentifier > &value)
CaseEventIncludedData & AddFields(FieldIdentifier &&value)
AWS_CONNECTCASES_API CaseEventIncludedData(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FieldIdentifier > & GetFields() const
CaseEventIncludedData & WithFields(Aws::Vector< FieldIdentifier > &&value)
void SetFields(Aws::Vector< FieldIdentifier > &&value)
AWS_CONNECTCASES_API CaseEventIncludedData & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue