AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskTemplateDefaults.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/TaskTemplateDefaultFieldValue.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
34 {
35 public:
36 AWS_CONNECT_API TaskTemplateDefaults();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<TaskTemplateDefaultFieldValue>& GetDefaultFieldValues() const{ return m_defaultFieldValues; }
47 inline bool DefaultFieldValuesHasBeenSet() const { return m_defaultFieldValuesHasBeenSet; }
48 inline void SetDefaultFieldValues(const Aws::Vector<TaskTemplateDefaultFieldValue>& value) { m_defaultFieldValuesHasBeenSet = true; m_defaultFieldValues = value; }
49 inline void SetDefaultFieldValues(Aws::Vector<TaskTemplateDefaultFieldValue>&& value) { m_defaultFieldValuesHasBeenSet = true; m_defaultFieldValues = std::move(value); }
52 inline TaskTemplateDefaults& AddDefaultFieldValues(const TaskTemplateDefaultFieldValue& value) { m_defaultFieldValuesHasBeenSet = true; m_defaultFieldValues.push_back(value); return *this; }
53 inline TaskTemplateDefaults& AddDefaultFieldValues(TaskTemplateDefaultFieldValue&& value) { m_defaultFieldValuesHasBeenSet = true; m_defaultFieldValues.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_defaultFieldValuesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Connect
63} // namespace Aws
TaskTemplateDefaults & WithDefaultFieldValues(Aws::Vector< TaskTemplateDefaultFieldValue > &&value)
TaskTemplateDefaults & AddDefaultFieldValues(TaskTemplateDefaultFieldValue &&value)
const Aws::Vector< TaskTemplateDefaultFieldValue > & GetDefaultFieldValues() const
void SetDefaultFieldValues(const Aws::Vector< TaskTemplateDefaultFieldValue > &value)
TaskTemplateDefaults & WithDefaultFieldValues(const Aws::Vector< TaskTemplateDefaultFieldValue > &value)
TaskTemplateDefaults & AddDefaultFieldValues(const TaskTemplateDefaultFieldValue &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API TaskTemplateDefaults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API TaskTemplateDefaults(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultFieldValues(Aws::Vector< TaskTemplateDefaultFieldValue > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue