7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/SegmentDimensions.h>
10#include <aws/pinpoint/model/SegmentReference.h>
11#include <aws/pinpoint/model/SourceType.h>
12#include <aws/pinpoint/model/Type.h>
46 template <
typename DimensionsT = Aws::Vector<SegmentDimensions>>
48 m_dimensionsHasBeenSet =
true;
49 m_dimensions = std::forward<DimensionsT>(value);
51 template <
typename DimensionsT = Aws::Vector<SegmentDimensions>>
56 template <
typename DimensionsT = SegmentDimensions>
58 m_dimensionsHasBeenSet =
true;
59 m_dimensions.emplace_back(std::forward<DimensionsT>(value));
77 template <
typename SourceSegmentsT = Aws::Vector<SegmentReference>>
79 m_sourceSegmentsHasBeenSet =
true;
80 m_sourceSegments = std::forward<SourceSegmentsT>(value);
82 template <
typename SourceSegmentsT = Aws::Vector<SegmentReference>>
87 template <
typename SourceSegmentsT = SegmentReference>
89 m_sourceSegmentsHasBeenSet =
true;
90 m_sourceSegments.emplace_back(std::forward<SourceSegmentsT>(value));
104 m_sourceTypeHasBeenSet =
true;
105 m_sourceType = value;
122 m_typeHasBeenSet =
true;
138 bool m_dimensionsHasBeenSet =
false;
139 bool m_sourceSegmentsHasBeenSet =
false;
140 bool m_sourceTypeHasBeenSet =
false;
141 bool m_typeHasBeenSet =
false;
const Aws::Vector< SegmentReference > & GetSourceSegments() const
void SetSourceSegments(SourceSegmentsT &&value)
SegmentGroup & AddSourceSegments(SourceSegmentsT &&value)
SegmentGroup & WithSourceSegments(SourceSegmentsT &&value)
SegmentGroup & WithSourceType(SourceType value)
void SetDimensions(DimensionsT &&value)
SegmentGroup & WithDimensions(DimensionsT &&value)
AWS_PINPOINT_API SegmentGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API SegmentGroup()=default
AWS_PINPOINT_API SegmentGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SegmentDimensions > & GetDimensions() const
bool SourceSegmentsHasBeenSet() const
bool DimensionsHasBeenSet() const
bool TypeHasBeenSet() const
SourceType GetSourceType() const
SegmentGroup & WithType(Type value)
SegmentGroup & AddDimensions(DimensionsT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceType(SourceType value)
bool SourceTypeHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue