AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename FieldsT = Aws::Vector<FieldIdentifier>>
49 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
50 template<typename FieldsT = Aws::Vector<FieldIdentifier>>
51 CaseEventIncludedData& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
52 template<typename FieldsT = FieldIdentifier>
53 CaseEventIncludedData& AddFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields.emplace_back(std::forward<FieldsT>(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
AWS_CONNECTCASES_API CaseEventIncludedData()=default
CaseEventIncludedData & AddFields(FieldsT &&value)
AWS_CONNECTCASES_API CaseEventIncludedData(Aws::Utils::Json::JsonView jsonValue)
CaseEventIncludedData & WithFields(FieldsT &&value)
const Aws::Vector< FieldIdentifier > & GetFields() const
AWS_CONNECTCASES_API CaseEventIncludedData & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue