/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the pinpoint-2016-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Pinpoint.Model
{
///
/// Specifies the base segments and dimensions for a segment, and the relationships between
/// these base segments and dimensions.
///
public partial class SegmentGroup
{
private List _dimensions = new List();
private List _sourceSegments = new List();
private SourceType _sourceType;
private Type _type;
///
/// Gets and sets the property Dimensions.
///
/// An array that defines the dimensions for the segment.
///
///
public List Dimensions
{
get { return this._dimensions; }
set { this._dimensions = value; }
}
// Check to see if Dimensions property is set
internal bool IsSetDimensions()
{
return this._dimensions != null && this._dimensions.Count > 0;
}
///
/// Gets and sets the property SourceSegments.
///
/// 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.
///
///
public List SourceSegments
{
get { return this._sourceSegments; }
set { this._sourceSegments = value; }
}
// Check to see if SourceSegments property is set
internal bool IsSetSourceSegments()
{
return this._sourceSegments != null && this._sourceSegments.Count > 0;
}
///
/// Gets and sets the property 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.
///
///
public SourceType SourceType
{
get { return this._sourceType; }
set { this._sourceType = value; }
}
// Check to see if SourceType property is set
internal bool IsSetSourceType()
{
return this._sourceType != null;
}
///
/// Gets and sets the property 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.
///
///
public Type Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}