AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LayoutSections.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connectcases/model/Section.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCases
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CONNECTCASES_API LayoutSections();
38 AWS_CONNECTCASES_API LayoutSections(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCASES_API LayoutSections& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::Vector<Section>& GetSections() const{ return m_sections; }
46 inline bool SectionsHasBeenSet() const { return m_sectionsHasBeenSet; }
47 inline void SetSections(const Aws::Vector<Section>& value) { m_sectionsHasBeenSet = true; m_sections = value; }
48 inline void SetSections(Aws::Vector<Section>&& value) { m_sectionsHasBeenSet = true; m_sections = std::move(value); }
49 inline LayoutSections& WithSections(const Aws::Vector<Section>& value) { SetSections(value); return *this;}
50 inline LayoutSections& WithSections(Aws::Vector<Section>&& value) { SetSections(std::move(value)); return *this;}
51 inline LayoutSections& AddSections(const Section& value) { m_sectionsHasBeenSet = true; m_sections.push_back(value); return *this; }
52 inline LayoutSections& AddSections(Section&& value) { m_sectionsHasBeenSet = true; m_sections.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<Section> m_sections;
57 bool m_sectionsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace ConnectCases
62} // namespace Aws
LayoutSections & WithSections(const Aws::Vector< Section > &value)
AWS_CONNECTCASES_API LayoutSections & operator=(Aws::Utils::Json::JsonView jsonValue)
LayoutSections & AddSections(const Section &value)
void SetSections(const Aws::Vector< Section > &value)
AWS_CONNECTCASES_API LayoutSections(Aws::Utils::Json::JsonView jsonValue)
LayoutSections & AddSections(Section &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSections(Aws::Vector< Section > &&value)
LayoutSections & WithSections(Aws::Vector< Section > &&value)
const Aws::Vector< Section > & GetSections() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue