7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/model/SourceType.h>
10#include <aws/pinpoint/model/Type.h>
11#include <aws/pinpoint/model/SegmentDimensions.h>
12#include <aws/pinpoint/model/SegmentReference.h>
52 template<
typename DimensionsT = Aws::Vector<SegmentDimensions>>
53 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
54 template<
typename DimensionsT = Aws::Vector<SegmentDimensions>>
56 template<
typename DimensionsT = SegmentDimensions>
57 SegmentGroup&
AddDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions.emplace_back(std::forward<DimensionsT>(value));
return *
this; }
73 template<
typename SourceSegmentsT = Aws::Vector<SegmentReference>>
74 void SetSourceSegments(SourceSegmentsT&& value) { m_sourceSegmentsHasBeenSet =
true; m_sourceSegments = std::forward<SourceSegmentsT>(value); }
75 template<
typename SourceSegmentsT = Aws::Vector<SegmentReference>>
77 template<
typename SourceSegmentsT = SegmentReference>
78 SegmentGroup&
AddSourceSegments(SourceSegmentsT&& value) { m_sourceSegmentsHasBeenSet =
true; m_sourceSegments.emplace_back(std::forward<SourceSegmentsT>(value));
return *
this; }
101 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
107 bool m_dimensionsHasBeenSet =
false;
110 bool m_sourceSegmentsHasBeenSet =
false;
113 bool m_sourceTypeHasBeenSet =
false;
116 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