/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Object to store detailed field information.See Also:
AWS
* API Reference
Description of the field.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Description of the field.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Description of the field.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Description of the field.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Description of the field.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Description of the field.
*/ inline GetFieldResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Description of the field.
*/ inline GetFieldResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Description of the field.
*/ inline GetFieldResponse& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The Amazon Resource Name (ARN) of the field.
*/ inline const Aws::String& GetFieldArn() const{ return m_fieldArn; } /** *The Amazon Resource Name (ARN) of the field.
*/ inline bool FieldArnHasBeenSet() const { return m_fieldArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the field.
*/ inline void SetFieldArn(const Aws::String& value) { m_fieldArnHasBeenSet = true; m_fieldArn = value; } /** *The Amazon Resource Name (ARN) of the field.
*/ inline void SetFieldArn(Aws::String&& value) { m_fieldArnHasBeenSet = true; m_fieldArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the field.
*/ inline void SetFieldArn(const char* value) { m_fieldArnHasBeenSet = true; m_fieldArn.assign(value); } /** *The Amazon Resource Name (ARN) of the field.
*/ inline GetFieldResponse& WithFieldArn(const Aws::String& value) { SetFieldArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the field.
*/ inline GetFieldResponse& WithFieldArn(Aws::String&& value) { SetFieldArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the field.
*/ inline GetFieldResponse& WithFieldArn(const char* value) { SetFieldArn(value); return *this;} /** *Unique identifier of the field.
*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *Unique identifier of the field.
*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *Unique identifier of the field.
*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *Unique identifier of the field.
*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *Unique identifier of the field.
*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *Unique identifier of the field.
*/ inline GetFieldResponse& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *Unique identifier of the field.
*/ inline GetFieldResponse& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *Unique identifier of the field.
*/ inline GetFieldResponse& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *Name of the field.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of the field.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of the field.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of the field.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of the field.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of the field.
*/ inline GetFieldResponse& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of the field.
*/ inline GetFieldResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of the field.
*/ inline GetFieldResponse& WithName(const char* value) { SetName(value); return *this;} /** *Namespace of the field.
*/ inline const FieldNamespace& GetNamespace() const{ return m_namespace; } /** *Namespace of the field.
*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *Namespace of the field.
*/ inline void SetNamespace(const FieldNamespace& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *Namespace of the field.
*/ inline void SetNamespace(FieldNamespace&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *Namespace of the field.
*/ inline GetFieldResponse& WithNamespace(const FieldNamespace& value) { SetNamespace(value); return *this;} /** *Namespace of the field.
*/ inline GetFieldResponse& WithNamespace(FieldNamespace&& value) { SetNamespace(std::move(value)); return *this;} /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline const Aws::MapA map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline void SetTags(const Aws::MapA map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline void SetTags(Aws::MapA map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& WithTags(const Aws::MapA map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& WithTags(Aws::MapA map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A map of of key-value pairs that represent tags on a resource. Tags are used * to organize, track, or control access for this resource.
*/ inline GetFieldResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Type of the field.
*/ inline const FieldType& GetType() const{ return m_type; } /** *Type of the field.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Type of the field.
*/ inline void SetType(const FieldType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Type of the field.
*/ inline void SetType(FieldType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Type of the field.
*/ inline GetFieldResponse& WithType(const FieldType& value) { SetType(value); return *this;} /** *Type of the field.
*/ inline GetFieldResponse& WithType(FieldType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_fieldArn; bool m_fieldArnHasBeenSet = false; Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; FieldNamespace m_namespace; bool m_namespaceHasBeenSet = false; Aws::Map