AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
UpdateCaseActionDefinition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/FieldValue.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 Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API UpdateCaseActionDefinition() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<FieldValue>& GetFields() const { return m_fields; }
40 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
41 template <typename FieldsT = Aws::Vector<FieldValue>>
42 void SetFields(FieldsT&& value) {
43 m_fieldsHasBeenSet = true;
44 m_fields = std::forward<FieldsT>(value);
45 }
46 template <typename FieldsT = Aws::Vector<FieldValue>>
48 SetFields(std::forward<FieldsT>(value));
49 return *this;
50 }
51 template <typename FieldsT = FieldValue>
53 m_fieldsHasBeenSet = true;
54 m_fields.emplace_back(std::forward<FieldsT>(value));
55 return *this;
56 }
58 private:
60 bool m_fieldsHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace Connect
65} // namespace Aws
AWS_CONNECT_API UpdateCaseActionDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API UpdateCaseActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API UpdateCaseActionDefinition()=default
const Aws::Vector< FieldValue > & GetFields() const
UpdateCaseActionDefinition & WithFields(FieldsT &&value)
UpdateCaseActionDefinition & AddFields(FieldsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue