/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a metric attribution associated with an event. For
* more information about metric attributions, see Measuring
* impact of recommendations.See Also:
AWS
* API Reference
The source of the event, such as a third party.
*/ inline const Aws::String& GetEventAttributionSource() const{ return m_eventAttributionSource; } /** *The source of the event, such as a third party.
*/ inline bool EventAttributionSourceHasBeenSet() const { return m_eventAttributionSourceHasBeenSet; } /** *The source of the event, such as a third party.
*/ inline void SetEventAttributionSource(const Aws::String& value) { m_eventAttributionSourceHasBeenSet = true; m_eventAttributionSource = value; } /** *The source of the event, such as a third party.
*/ inline void SetEventAttributionSource(Aws::String&& value) { m_eventAttributionSourceHasBeenSet = true; m_eventAttributionSource = std::move(value); } /** *The source of the event, such as a third party.
*/ inline void SetEventAttributionSource(const char* value) { m_eventAttributionSourceHasBeenSet = true; m_eventAttributionSource.assign(value); } /** *The source of the event, such as a third party.
*/ inline MetricAttribution& WithEventAttributionSource(const Aws::String& value) { SetEventAttributionSource(value); return *this;} /** *The source of the event, such as a third party.
*/ inline MetricAttribution& WithEventAttributionSource(Aws::String&& value) { SetEventAttributionSource(std::move(value)); return *this;} /** *The source of the event, such as a third party.
*/ inline MetricAttribution& WithEventAttributionSource(const char* value) { SetEventAttributionSource(value); return *this;} private: Aws::String m_eventAttributionSource; bool m_eventAttributionSourceHasBeenSet = false; }; } // namespace Model } // namespace PersonalizeEvents } // namespace Aws