/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ConnectCases
{
namespace Model
{
/**
* Ordered list containing different kinds of sections that can be added. A
* LayoutSections object can only contain one section.
See Also:
* AWS
* API Reference
*/
class LayoutSections
{
public:
AWS_CONNECTCASES_API LayoutSections();
AWS_CONNECTCASES_API LayoutSections(Aws::Utils::Json::JsonView jsonValue);
AWS_CONNECTCASES_API LayoutSections& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
inline const Aws::Vector& GetSections() const{ return m_sections; }
inline bool SectionsHasBeenSet() const { return m_sectionsHasBeenSet; }
inline void SetSections(const Aws::Vector& value) { m_sectionsHasBeenSet = true; m_sections = value; }
inline void SetSections(Aws::Vector&& value) { m_sectionsHasBeenSet = true; m_sections = std::move(value); }
inline LayoutSections& WithSections(const Aws::Vector& value) { SetSections(value); return *this;}
inline LayoutSections& WithSections(Aws::Vector&& value) { SetSections(std::move(value)); return *this;}
inline LayoutSections& AddSections(const Section& value) { m_sectionsHasBeenSet = true; m_sections.push_back(value); return *this; }
inline LayoutSections& AddSections(Section&& value) { m_sectionsHasBeenSet = true; m_sections.push_back(std::move(value)); return *this; }
private:
Aws::Vector m_sections;
bool m_sectionsHasBeenSet = false;
};
} // namespace Model
} // namespace ConnectCases
} // namespace Aws