/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConnectCases { namespace Model { /** *

Object for the summarized details of the field.

See Also:

AWS * API Reference

*/ class FieldSummary { public: AWS_CONNECTCASES_API FieldSummary(); AWS_CONNECTCASES_API FieldSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCASES_API FieldSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 FieldSummary& WithFieldArn(const Aws::String& value) { SetFieldArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the field.

*/ inline FieldSummary& WithFieldArn(Aws::String&& value) { SetFieldArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the field.

*/ inline FieldSummary& WithFieldArn(const char* value) { SetFieldArn(value); return *this;} /** *

The unique identifier of a field.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The unique identifier of a field.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The unique identifier of a field.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The unique identifier of a field.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The unique identifier of a field.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The unique identifier of a field.

*/ inline FieldSummary& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The unique identifier of a field.

*/ inline FieldSummary& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The unique identifier of a field.

*/ inline FieldSummary& 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 FieldSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Name of the field.

*/ inline FieldSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Name of the field.

*/ inline FieldSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The namespace of a field.

*/ inline const FieldNamespace& GetNamespace() const{ return m_namespace; } /** *

The namespace of a field.

*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *

The namespace of a field.

*/ inline void SetNamespace(const FieldNamespace& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *

The namespace of a field.

*/ inline void SetNamespace(FieldNamespace&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *

The namespace of a field.

*/ inline FieldSummary& WithNamespace(const FieldNamespace& value) { SetNamespace(value); return *this;} /** *

The namespace of a field.

*/ inline FieldSummary& WithNamespace(FieldNamespace&& value) { SetNamespace(std::move(value)); return *this;} /** *

The type of a field.

*/ inline const FieldType& GetType() const{ return m_type; } /** *

The type of a field.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of a field.

*/ inline void SetType(const FieldType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of a field.

*/ inline void SetType(FieldType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of a field.

*/ inline FieldSummary& WithType(const FieldType& value) { SetType(value); return *this;} /** *

The type of a field.

*/ inline FieldSummary& WithType(FieldType&& value) { SetType(std::move(value)); return *this;} private: 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; FieldType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws