/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains configuration information about the channel. See
* Also:
AWS
* API Reference
Specifies whether the channel applies to a single Region or to all * Regions.
*/ inline bool GetApplyToAllRegions() const{ return m_applyToAllRegions; } /** *Specifies whether the channel applies to a single Region or to all * Regions.
*/ inline bool ApplyToAllRegionsHasBeenSet() const { return m_applyToAllRegionsHasBeenSet; } /** *Specifies whether the channel applies to a single Region or to all * Regions.
*/ inline void SetApplyToAllRegions(bool value) { m_applyToAllRegionsHasBeenSet = true; m_applyToAllRegions = value; } /** *Specifies whether the channel applies to a single Region or to all * Regions.
*/ inline SourceConfig& WithApplyToAllRegions(bool value) { SetApplyToAllRegions(value); return *this;} /** *The advanced event selectors that are configured for the channel.
*/ inline const Aws::VectorThe advanced event selectors that are configured for the channel.
*/ inline bool AdvancedEventSelectorsHasBeenSet() const { return m_advancedEventSelectorsHasBeenSet; } /** *The advanced event selectors that are configured for the channel.
*/ inline void SetAdvancedEventSelectors(const Aws::VectorThe advanced event selectors that are configured for the channel.
*/ inline void SetAdvancedEventSelectors(Aws::VectorThe advanced event selectors that are configured for the channel.
*/ inline SourceConfig& WithAdvancedEventSelectors(const Aws::VectorThe advanced event selectors that are configured for the channel.
*/ inline SourceConfig& WithAdvancedEventSelectors(Aws::VectorThe advanced event selectors that are configured for the channel.
*/ inline SourceConfig& AddAdvancedEventSelectors(const AdvancedEventSelector& value) { m_advancedEventSelectorsHasBeenSet = true; m_advancedEventSelectors.push_back(value); return *this; } /** *The advanced event selectors that are configured for the channel.
*/ inline SourceConfig& AddAdvancedEventSelectors(AdvancedEventSelector&& value) { m_advancedEventSelectorsHasBeenSet = true; m_advancedEventSelectors.push_back(std::move(value)); return *this; } private: bool m_applyToAllRegions; bool m_applyToAllRegionsHasBeenSet = false; Aws::Vector