AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CaseEventIncludedData.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/FieldIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectCases {
21namespace Model {
22
30 public:
31 AWS_CONNECTCASES_API CaseEventIncludedData() = default;
32 AWS_CONNECTCASES_API CaseEventIncludedData(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<FieldIdentifier>& GetFields() const { return m_fields; }
41 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
42 template <typename FieldsT = Aws::Vector<FieldIdentifier>>
43 void SetFields(FieldsT&& value) {
44 m_fieldsHasBeenSet = true;
45 m_fields = std::forward<FieldsT>(value);
46 }
47 template <typename FieldsT = Aws::Vector<FieldIdentifier>>
49 SetFields(std::forward<FieldsT>(value));
50 return *this;
51 }
52 template <typename FieldsT = FieldIdentifier>
53 CaseEventIncludedData& AddFields(FieldsT&& value) {
54 m_fieldsHasBeenSet = true;
55 m_fields.emplace_back(std::forward<FieldsT>(value));
56 return *this;
57 }
59 private:
61 bool m_fieldsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace ConnectCases
66} // 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