/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the destination receiving events.See
* Also:
AWS
* API Reference
The type of destination for events arriving from a channel. For channels used
* for a CloudTrail Lake integration, the value is EventDataStore
. For
* service-linked channels, the value is AWS_SERVICE
.
The type of destination for events arriving from a channel. For channels used
* for a CloudTrail Lake integration, the value is EventDataStore
. For
* service-linked channels, the value is AWS_SERVICE
.
The type of destination for events arriving from a channel. For channels used
* for a CloudTrail Lake integration, the value is EventDataStore
. For
* service-linked channels, the value is AWS_SERVICE
.
The type of destination for events arriving from a channel. For channels used
* for a CloudTrail Lake integration, the value is EventDataStore
. For
* service-linked channels, the value is AWS_SERVICE
.
The type of destination for events arriving from a channel. For channels used
* for a CloudTrail Lake integration, the value is EventDataStore
. For
* service-linked channels, the value is AWS_SERVICE
.
The type of destination for events arriving from a channel. For channels used
* for a CloudTrail Lake integration, the value is EventDataStore
. For
* service-linked channels, the value is AWS_SERVICE
.
For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline Destination& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline Destination& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *For channels used for a CloudTrail Lake integration, the location is the ARN * of an event data store that receives events from a channel. For service-linked * channels, the location is the name of the Amazon Web Services service.
*/ inline Destination& WithLocation(const char* value) { SetLocation(value); return *this;} private: DestinationType m_type; bool m_typeHasBeenSet = false; Aws::String m_location; bool m_locationHasBeenSet = false; }; } // namespace Model } // namespace CloudTrail } // namespace Aws