/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes constraints that apply to the template fields.See
* Also:
AWS
* API Reference
Lists the fields that are required to be filled by agents.
*/ inline const Aws::VectorLists the fields that are required to be filled by agents.
*/ inline bool RequiredFieldsHasBeenSet() const { return m_requiredFieldsHasBeenSet; } /** *Lists the fields that are required to be filled by agents.
*/ inline void SetRequiredFields(const Aws::VectorLists the fields that are required to be filled by agents.
*/ inline void SetRequiredFields(Aws::VectorLists the fields that are required to be filled by agents.
*/ inline TaskTemplateConstraints& WithRequiredFields(const Aws::VectorLists the fields that are required to be filled by agents.
*/ inline TaskTemplateConstraints& WithRequiredFields(Aws::VectorLists the fields that are required to be filled by agents.
*/ inline TaskTemplateConstraints& AddRequiredFields(const RequiredFieldInfo& value) { m_requiredFieldsHasBeenSet = true; m_requiredFields.push_back(value); return *this; } /** *Lists the fields that are required to be filled by agents.
*/ inline TaskTemplateConstraints& AddRequiredFields(RequiredFieldInfo&& value) { m_requiredFieldsHasBeenSet = true; m_requiredFields.push_back(std::move(value)); return *this; } /** *Lists the fields that are read-only to agents, and cannot be edited.
*/ inline const Aws::VectorLists the fields that are read-only to agents, and cannot be edited.
*/ inline bool ReadOnlyFieldsHasBeenSet() const { return m_readOnlyFieldsHasBeenSet; } /** *Lists the fields that are read-only to agents, and cannot be edited.
*/ inline void SetReadOnlyFields(const Aws::VectorLists the fields that are read-only to agents, and cannot be edited.
*/ inline void SetReadOnlyFields(Aws::VectorLists the fields that are read-only to agents, and cannot be edited.
*/ inline TaskTemplateConstraints& WithReadOnlyFields(const Aws::VectorLists the fields that are read-only to agents, and cannot be edited.
*/ inline TaskTemplateConstraints& WithReadOnlyFields(Aws::VectorLists the fields that are read-only to agents, and cannot be edited.
*/ inline TaskTemplateConstraints& AddReadOnlyFields(const ReadOnlyFieldInfo& value) { m_readOnlyFieldsHasBeenSet = true; m_readOnlyFields.push_back(value); return *this; } /** *Lists the fields that are read-only to agents, and cannot be edited.
*/ inline TaskTemplateConstraints& AddReadOnlyFields(ReadOnlyFieldInfo&& value) { m_readOnlyFieldsHasBeenSet = true; m_readOnlyFields.push_back(std::move(value)); return *this; } /** *Lists the fields that are invisible to agents.
*/ inline const Aws::VectorLists the fields that are invisible to agents.
*/ inline bool InvisibleFieldsHasBeenSet() const { return m_invisibleFieldsHasBeenSet; } /** *Lists the fields that are invisible to agents.
*/ inline void SetInvisibleFields(const Aws::VectorLists the fields that are invisible to agents.
*/ inline void SetInvisibleFields(Aws::VectorLists the fields that are invisible to agents.
*/ inline TaskTemplateConstraints& WithInvisibleFields(const Aws::VectorLists the fields that are invisible to agents.
*/ inline TaskTemplateConstraints& WithInvisibleFields(Aws::VectorLists the fields that are invisible to agents.
*/ inline TaskTemplateConstraints& AddInvisibleFields(const InvisibleFieldInfo& value) { m_invisibleFieldsHasBeenSet = true; m_invisibleFields.push_back(value); return *this; } /** *Lists the fields that are invisible to agents.
*/ inline TaskTemplateConstraints& AddInvisibleFields(InvisibleFieldInfo&& value) { m_invisibleFieldsHasBeenSet = true; m_invisibleFields.push_back(std::move(value)); return *this; } private: Aws::Vector