AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCases {
20namespace Model {
21
28class Section {
29 public:
30 AWS_CONNECTCASES_API Section() = default;
31 AWS_CONNECTCASES_API Section(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCASES_API Section& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const FieldGroup& GetFieldGroup() const { return m_fieldGroup; }
40 inline bool FieldGroupHasBeenSet() const { return m_fieldGroupHasBeenSet; }
41 template <typename FieldGroupT = FieldGroup>
42 void SetFieldGroup(FieldGroupT&& value) {
43 m_fieldGroupHasBeenSet = true;
44 m_fieldGroup = std::forward<FieldGroupT>(value);
45 }
46 template <typename FieldGroupT = FieldGroup>
47 Section& WithFieldGroup(FieldGroupT&& value) {
48 SetFieldGroup(std::forward<FieldGroupT>(value));
49 return *this;
50 }
52 private:
53 FieldGroup m_fieldGroup;
54 bool m_fieldGroupHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace ConnectCases
59} // 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:47
void SetFieldGroup(FieldGroupT &&value)
Definition Section.h:42
AWS_CONNECTCASES_API Section(Aws::Utils::Json::JsonView jsonValue)
const FieldGroup & GetFieldGroup() const
Definition Section.h:39
Aws::Utils::Json::JsonValue JsonValue