/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the base segments and dimensions for a segment, and the
* relationships between these base segments and dimensions.See
* Also:
AWS
* API Reference
An array that defines the dimensions for the segment.
*/ inline const Aws::VectorAn array that defines the dimensions for the segment.
*/ inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; } /** *An array that defines the dimensions for the segment.
*/ inline void SetDimensions(const Aws::VectorAn array that defines the dimensions for the segment.
*/ inline void SetDimensions(Aws::VectorAn array that defines the dimensions for the segment.
*/ inline SegmentGroup& WithDimensions(const Aws::VectorAn array that defines the dimensions for the segment.
*/ inline SegmentGroup& WithDimensions(Aws::VectorAn array that defines the dimensions for the segment.
*/ inline SegmentGroup& AddDimensions(const SegmentDimensions& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; } /** *An array that defines the dimensions for the segment.
*/ inline SegmentGroup& AddDimensions(SegmentDimensions&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; } /** *The base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline const Aws::VectorThe base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline bool SourceSegmentsHasBeenSet() const { return m_sourceSegmentsHasBeenSet; } /** *The base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline void SetSourceSegments(const Aws::VectorThe base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline void SetSourceSegments(Aws::VectorThe base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline SegmentGroup& WithSourceSegments(const Aws::VectorThe base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline SegmentGroup& WithSourceSegments(Aws::VectorThe base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline SegmentGroup& AddSourceSegments(const SegmentReference& value) { m_sourceSegmentsHasBeenSet = true; m_sourceSegments.push_back(value); return *this; } /** *The base segment to build the segment on. A base segment, also referred to as * a source segment, defines the initial population of endpoints for a * segment. When you add dimensions to a segment, Amazon Pinpoint filters the base * segment by using the dimensions that you specify.
You can specify more * than one dimensional segment or only one imported segment. If you specify an * imported segment, the Amazon Pinpoint console displays a segment size estimate * that indicates the size of the imported segment without any filters applied to * it.
*/ inline SegmentGroup& AddSourceSegments(SegmentReference&& value) { m_sourceSegmentsHasBeenSet = true; m_sourceSegments.push_back(std::move(value)); return *this; } /** *Specifies how to handle multiple base segments for the segment. For example, * if you specify three base segments for the segment, whether the resulting * segment is based on all, any, or none of the base segments.
*/ inline const SourceType& GetSourceType() const{ return m_sourceType; } /** *Specifies how to handle multiple base segments for the segment. For example, * if you specify three base segments for the segment, whether the resulting * segment is based on all, any, or none of the base segments.
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *Specifies how to handle multiple base segments for the segment. For example, * if you specify three base segments for the segment, whether the resulting * segment is based on all, any, or none of the base segments.
*/ inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *Specifies how to handle multiple base segments for the segment. For example, * if you specify three base segments for the segment, whether the resulting * segment is based on all, any, or none of the base segments.
*/ inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *Specifies how to handle multiple base segments for the segment. For example, * if you specify three base segments for the segment, whether the resulting * segment is based on all, any, or none of the base segments.
*/ inline SegmentGroup& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;} /** *Specifies how to handle multiple base segments for the segment. For example, * if you specify three base segments for the segment, whether the resulting * segment is based on all, any, or none of the base segments.
*/ inline SegmentGroup& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;} /** *Specifies how to handle multiple dimensions for the segment. For example, if * you specify three dimensions for the segment, whether the resulting segment * includes endpoints that match all, any, or none of the dimensions.
*/ inline const Type& GetType() const{ return m_type; } /** *Specifies how to handle multiple dimensions for the segment. For example, if * you specify three dimensions for the segment, whether the resulting segment * includes endpoints that match all, any, or none of the dimensions.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Specifies how to handle multiple dimensions for the segment. For example, if * you specify three dimensions for the segment, whether the resulting segment * includes endpoints that match all, any, or none of the dimensions.
*/ inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } /** *Specifies how to handle multiple dimensions for the segment. For example, if * you specify three dimensions for the segment, whether the resulting segment * includes endpoints that match all, any, or none of the dimensions.
*/ inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Specifies how to handle multiple dimensions for the segment. For example, if * you specify three dimensions for the segment, whether the resulting segment * includes endpoints that match all, any, or none of the dimensions.
*/ inline SegmentGroup& WithType(const Type& value) { SetType(value); return *this;} /** *Specifies how to handle multiple dimensions for the segment. For example, if * you specify three dimensions for the segment, whether the resulting segment * includes endpoints that match all, any, or none of the dimensions.
*/ inline SegmentGroup& WithType(Type&& value) { SetType(std::move(value)); return *this;} private: Aws::Vector