/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a segment to associate with an activity in a journey.See
* Also:
AWS
* API Reference
The unique identifier for the segment to associate with the activity.
*/ inline const Aws::String& GetSegmentId() const{ return m_segmentId; } /** *The unique identifier for the segment to associate with the activity.
*/ inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; } /** *The unique identifier for the segment to associate with the activity.
*/ inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; } /** *The unique identifier for the segment to associate with the activity.
*/ inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); } /** *The unique identifier for the segment to associate with the activity.
*/ inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); } /** *The unique identifier for the segment to associate with the activity.
*/ inline SegmentCondition& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;} /** *The unique identifier for the segment to associate with the activity.
*/ inline SegmentCondition& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;} /** *The unique identifier for the segment to associate with the activity.
*/ inline SegmentCondition& WithSegmentId(const char* value) { SetSegmentId(value); return *this;} private: Aws::String m_segmentId; bool m_segmentIdHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws