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

This represents a sections within a panel or tab of the page * layout.

See Also:

AWS * API Reference

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

Consists of a group of fields and associated properties.

*/ inline const FieldGroup& GetFieldGroup() const{ return m_fieldGroup; } /** *

Consists of a group of fields and associated properties.

*/ inline bool FieldGroupHasBeenSet() const { return m_fieldGroupHasBeenSet; } /** *

Consists of a group of fields and associated properties.

*/ inline void SetFieldGroup(const FieldGroup& value) { m_fieldGroupHasBeenSet = true; m_fieldGroup = value; } /** *

Consists of a group of fields and associated properties.

*/ inline void SetFieldGroup(FieldGroup&& value) { m_fieldGroupHasBeenSet = true; m_fieldGroup = std::move(value); } /** *

Consists of a group of fields and associated properties.

*/ inline Section& WithFieldGroup(const FieldGroup& value) { SetFieldGroup(value); return *this;} /** *

Consists of a group of fields and associated properties.

*/ inline Section& WithFieldGroup(FieldGroup&& value) { SetFieldGroup(std::move(value)); return *this;} private: FieldGroup m_fieldGroup; bool m_fieldGroupHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws