AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskTemplateConstraints.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/RequiredFieldInfo.h>
10#include <aws/connect/model/ReadOnlyFieldInfo.h>
11#include <aws/connect/model/InvisibleFieldInfo.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECT_API TaskTemplateConstraints();
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<RequiredFieldInfo>& GetRequiredFields() const{ return m_requiredFields; }
49 inline bool RequiredFieldsHasBeenSet() const { return m_requiredFieldsHasBeenSet; }
50 inline void SetRequiredFields(const Aws::Vector<RequiredFieldInfo>& value) { m_requiredFieldsHasBeenSet = true; m_requiredFields = value; }
51 inline void SetRequiredFields(Aws::Vector<RequiredFieldInfo>&& value) { m_requiredFieldsHasBeenSet = true; m_requiredFields = std::move(value); }
54 inline TaskTemplateConstraints& AddRequiredFields(const RequiredFieldInfo& value) { m_requiredFieldsHasBeenSet = true; m_requiredFields.push_back(value); return *this; }
55 inline TaskTemplateConstraints& AddRequiredFields(RequiredFieldInfo&& value) { m_requiredFieldsHasBeenSet = true; m_requiredFields.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<ReadOnlyFieldInfo>& GetReadOnlyFields() const{ return m_readOnlyFields; }
63 inline bool ReadOnlyFieldsHasBeenSet() const { return m_readOnlyFieldsHasBeenSet; }
64 inline void SetReadOnlyFields(const Aws::Vector<ReadOnlyFieldInfo>& value) { m_readOnlyFieldsHasBeenSet = true; m_readOnlyFields = value; }
65 inline void SetReadOnlyFields(Aws::Vector<ReadOnlyFieldInfo>&& value) { m_readOnlyFieldsHasBeenSet = true; m_readOnlyFields = std::move(value); }
68 inline TaskTemplateConstraints& AddReadOnlyFields(const ReadOnlyFieldInfo& value) { m_readOnlyFieldsHasBeenSet = true; m_readOnlyFields.push_back(value); return *this; }
69 inline TaskTemplateConstraints& AddReadOnlyFields(ReadOnlyFieldInfo&& value) { m_readOnlyFieldsHasBeenSet = true; m_readOnlyFields.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<InvisibleFieldInfo>& GetInvisibleFields() const{ return m_invisibleFields; }
77 inline bool InvisibleFieldsHasBeenSet() const { return m_invisibleFieldsHasBeenSet; }
78 inline void SetInvisibleFields(const Aws::Vector<InvisibleFieldInfo>& value) { m_invisibleFieldsHasBeenSet = true; m_invisibleFields = value; }
79 inline void SetInvisibleFields(Aws::Vector<InvisibleFieldInfo>&& value) { m_invisibleFieldsHasBeenSet = true; m_invisibleFields = std::move(value); }
82 inline TaskTemplateConstraints& AddInvisibleFields(const InvisibleFieldInfo& value) { m_invisibleFieldsHasBeenSet = true; m_invisibleFields.push_back(value); return *this; }
83 inline TaskTemplateConstraints& AddInvisibleFields(InvisibleFieldInfo&& value) { m_invisibleFieldsHasBeenSet = true; m_invisibleFields.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::Vector<RequiredFieldInfo> m_requiredFields;
88 bool m_requiredFieldsHasBeenSet = false;
89
90 Aws::Vector<ReadOnlyFieldInfo> m_readOnlyFields;
91 bool m_readOnlyFieldsHasBeenSet = false;
92
93 Aws::Vector<InvisibleFieldInfo> m_invisibleFields;
94 bool m_invisibleFieldsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Connect
99} // namespace Aws
TaskTemplateConstraints & AddRequiredFields(RequiredFieldInfo &&value)
TaskTemplateConstraints & WithReadOnlyFields(const Aws::Vector< ReadOnlyFieldInfo > &value)
TaskTemplateConstraints & AddReadOnlyFields(const ReadOnlyFieldInfo &value)
AWS_CONNECT_API TaskTemplateConstraints(Aws::Utils::Json::JsonView jsonValue)
TaskTemplateConstraints & WithInvisibleFields(Aws::Vector< InvisibleFieldInfo > &&value)
void SetInvisibleFields(const Aws::Vector< InvisibleFieldInfo > &value)
void SetInvisibleFields(Aws::Vector< InvisibleFieldInfo > &&value)
AWS_CONNECT_API TaskTemplateConstraints & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
TaskTemplateConstraints & AddRequiredFields(const RequiredFieldInfo &value)
const Aws::Vector< ReadOnlyFieldInfo > & GetReadOnlyFields() const
TaskTemplateConstraints & WithInvisibleFields(const Aws::Vector< InvisibleFieldInfo > &value)
TaskTemplateConstraints & WithReadOnlyFields(Aws::Vector< ReadOnlyFieldInfo > &&value)
const Aws::Vector< RequiredFieldInfo > & GetRequiredFields() const
TaskTemplateConstraints & WithRequiredFields(Aws::Vector< RequiredFieldInfo > &&value)
void SetRequiredFields(Aws::Vector< RequiredFieldInfo > &&value)
void SetReadOnlyFields(Aws::Vector< ReadOnlyFieldInfo > &&value)
void SetReadOnlyFields(const Aws::Vector< ReadOnlyFieldInfo > &value)
const Aws::Vector< InvisibleFieldInfo > & GetInvisibleFields() const
TaskTemplateConstraints & WithRequiredFields(const Aws::Vector< RequiredFieldInfo > &value)
TaskTemplateConstraints & AddInvisibleFields(InvisibleFieldInfo &&value)
TaskTemplateConstraints & AddReadOnlyFields(ReadOnlyFieldInfo &&value)
void SetRequiredFields(const Aws::Vector< RequiredFieldInfo > &value)
TaskTemplateConstraints & AddInvisibleFields(const InvisibleFieldInfo &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue