AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Section.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/FieldGroup.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectCases
22{
23namespace Model
24{
25
32 class Section
33 {
34 public:
35 AWS_CONNECTCASES_API Section() = default;
36 AWS_CONNECTCASES_API Section(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCASES_API Section& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FieldGroup& GetFieldGroup() const { return m_fieldGroup; }
46 inline bool FieldGroupHasBeenSet() const { return m_fieldGroupHasBeenSet; }
47 template<typename FieldGroupT = FieldGroup>
48 void SetFieldGroup(FieldGroupT&& value) { m_fieldGroupHasBeenSet = true; m_fieldGroup = std::forward<FieldGroupT>(value); }
49 template<typename FieldGroupT = FieldGroup>
50 Section& WithFieldGroup(FieldGroupT&& value) { SetFieldGroup(std::forward<FieldGroupT>(value)); return *this;}
52 private:
53
54 FieldGroup m_fieldGroup;
55 bool m_fieldGroupHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace ConnectCases
60} // namespace Aws
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCASES_API Section()=default
AWS_CONNECTCASES_API Section & operator=(Aws::Utils::Json::JsonView jsonValue)
Section & WithFieldGroup(FieldGroupT &&value)
Definition Section.h:50
void SetFieldGroup(FieldGroupT &&value)
Definition Section.h:48
AWS_CONNECTCASES_API Section(Aws::Utils::Json::JsonView jsonValue)
const FieldGroup & GetFieldGroup() const
Definition Section.h:45
Aws::Utils::Json::JsonValue JsonValue