/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes service integrations with VPC Flow logs.

See Also:

* AWS * API Reference

*/ class IntegrateServices { public: AWS_EC2_API IntegrateServices(); AWS_EC2_API IntegrateServices(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API IntegrateServices& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Information about the integration with Amazon Athena.

*/ inline const Aws::Vector& GetAthenaIntegrations() const{ return m_athenaIntegrations; } /** *

Information about the integration with Amazon Athena.

*/ inline bool AthenaIntegrationsHasBeenSet() const { return m_athenaIntegrationsHasBeenSet; } /** *

Information about the integration with Amazon Athena.

*/ inline void SetAthenaIntegrations(const Aws::Vector& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations = value; } /** *

Information about the integration with Amazon Athena.

*/ inline void SetAthenaIntegrations(Aws::Vector&& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations = std::move(value); } /** *

Information about the integration with Amazon Athena.

*/ inline IntegrateServices& WithAthenaIntegrations(const Aws::Vector& value) { SetAthenaIntegrations(value); return *this;} /** *

Information about the integration with Amazon Athena.

*/ inline IntegrateServices& WithAthenaIntegrations(Aws::Vector&& value) { SetAthenaIntegrations(std::move(value)); return *this;} /** *

Information about the integration with Amazon Athena.

*/ inline IntegrateServices& AddAthenaIntegrations(const AthenaIntegration& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations.push_back(value); return *this; } /** *

Information about the integration with Amazon Athena.

*/ inline IntegrateServices& AddAthenaIntegrations(AthenaIntegration&& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations.push_back(std::move(value)); return *this; } private: Aws::Vector m_athenaIntegrations; bool m_athenaIntegrationsHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws