AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SegmentGroupList.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/model/Include.h>
10#include <aws/pinpoint/model/SegmentGroup.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINT_API SegmentGroupList();
38 AWS_PINPOINT_API SegmentGroupList(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<SegmentGroup>& GetGroups() const{ return m_groups; }
49 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
50 inline void SetGroups(const Aws::Vector<SegmentGroup>& value) { m_groupsHasBeenSet = true; m_groups = value; }
51 inline void SetGroups(Aws::Vector<SegmentGroup>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
52 inline SegmentGroupList& WithGroups(const Aws::Vector<SegmentGroup>& value) { SetGroups(value); return *this;}
53 inline SegmentGroupList& WithGroups(Aws::Vector<SegmentGroup>&& value) { SetGroups(std::move(value)); return *this;}
54 inline SegmentGroupList& AddGroups(const SegmentGroup& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
55 inline SegmentGroupList& AddGroups(SegmentGroup&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
57
59
64 inline const Include& GetInclude() const{ return m_include; }
65 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
66 inline void SetInclude(const Include& value) { m_includeHasBeenSet = true; m_include = value; }
67 inline void SetInclude(Include&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
68 inline SegmentGroupList& WithInclude(const Include& value) { SetInclude(value); return *this;}
69 inline SegmentGroupList& WithInclude(Include&& value) { SetInclude(std::move(value)); return *this;}
71 private:
72
74 bool m_groupsHasBeenSet = false;
75
76 Include m_include;
77 bool m_includeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Pinpoint
82} // namespace Aws
SegmentGroupList & AddGroups(SegmentGroup &&value)
void SetGroups(const Aws::Vector< SegmentGroup > &value)
SegmentGroupList & WithInclude(Include &&value)
SegmentGroupList & AddGroups(const SegmentGroup &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< SegmentGroup > & GetGroups() const
void SetInclude(const Include &value)
SegmentGroupList & WithInclude(const Include &value)
SegmentGroupList & WithGroups(Aws::Vector< SegmentGroup > &&value)
AWS_PINPOINT_API SegmentGroupList & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentGroupList & WithGroups(const Aws::Vector< SegmentGroup > &value)
AWS_PINPOINT_API SegmentGroupList(Aws::Utils::Json::JsonView jsonValue)
void SetGroups(Aws::Vector< SegmentGroup > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue