7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/FieldItem.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace ConnectCases {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename FieldsT = Aws::Vector<FieldItem>>
63 m_fieldsHasBeenSet =
true;
64 m_fields = std::forward<FieldsT>(value);
66 template <
typename FieldsT = Aws::Vector<FieldItem>>
71 template <
typename FieldsT = FieldItem>
73 m_fieldsHasBeenSet =
true;
74 m_fields.emplace_back(std::forward<FieldsT>(value));
82 bool m_nameHasBeenSet =
false;
83 bool m_fieldsHasBeenSet =
false;
FieldGroup & WithFields(FieldsT &&value)
AWS_CONNECTCASES_API FieldGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::Vector< FieldItem > & GetFields() const
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFields(FieldsT &&value)
bool FieldsHasBeenSet() const
AWS_CONNECTCASES_API FieldGroup()=default
AWS_CONNECTCASES_API FieldGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
FieldGroup & AddFields(FieldsT &&value)
bool NameHasBeenSet() const
FieldGroup & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue