AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCaseActionDefinition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/FieldValue.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 Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API UpdateCaseActionDefinition();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<FieldValue>& GetFields() const{ return m_fields; }
46 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
47 inline void SetFields(const Aws::Vector<FieldValue>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
48 inline void SetFields(Aws::Vector<FieldValue>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
49 inline UpdateCaseActionDefinition& WithFields(const Aws::Vector<FieldValue>& value) { SetFields(value); return *this;}
50 inline UpdateCaseActionDefinition& WithFields(Aws::Vector<FieldValue>&& value) { SetFields(std::move(value)); return *this;}
51 inline UpdateCaseActionDefinition& AddFields(const FieldValue& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
52 inline UpdateCaseActionDefinition& AddFields(FieldValue&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
54 private:
55
57 bool m_fieldsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Connect
62} // namespace Aws
AWS_CONNECT_API UpdateCaseActionDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateCaseActionDefinition & WithFields(Aws::Vector< FieldValue > &&value)
AWS_CONNECT_API UpdateCaseActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateCaseActionDefinition & AddFields(const FieldValue &value)
void SetFields(Aws::Vector< FieldValue > &&value)
UpdateCaseActionDefinition & AddFields(FieldValue &&value)
void SetFields(const Aws::Vector< FieldValue > &value)
const Aws::Vector< FieldValue > & GetFields() const
UpdateCaseActionDefinition & WithFields(const Aws::Vector< FieldValue > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue