AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IntegrateServices.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/AthenaIntegration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EC2_API IntegrateServices() = default;
37 AWS_EC2_API IntegrateServices(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::Vector<AthenaIntegration>& GetAthenaIntegrations() const { return m_athenaIntegrations; }
49 inline bool AthenaIntegrationsHasBeenSet() const { return m_athenaIntegrationsHasBeenSet; }
50 template<typename AthenaIntegrationsT = Aws::Vector<AthenaIntegration>>
51 void SetAthenaIntegrations(AthenaIntegrationsT&& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations = std::forward<AthenaIntegrationsT>(value); }
52 template<typename AthenaIntegrationsT = Aws::Vector<AthenaIntegration>>
53 IntegrateServices& WithAthenaIntegrations(AthenaIntegrationsT&& value) { SetAthenaIntegrations(std::forward<AthenaIntegrationsT>(value)); return *this;}
54 template<typename AthenaIntegrationsT = AthenaIntegration>
55 IntegrateServices& AddAthenaIntegrations(AthenaIntegrationsT&& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations.emplace_back(std::forward<AthenaIntegrationsT>(value)); return *this; }
57 private:
58
59 Aws::Vector<AthenaIntegration> m_athenaIntegrations;
60 bool m_athenaIntegrationsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace EC2
65} // namespace Aws
AWS_EC2_API IntegrateServices(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API IntegrateServices()=default
void SetAthenaIntegrations(AthenaIntegrationsT &&value)
IntegrateServices & AddAthenaIntegrations(AthenaIntegrationsT &&value)
const Aws::Vector< AthenaIntegration > & GetAthenaIntegrations() const
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
AWS_EC2_API IntegrateServices & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IntegrateServices & WithAthenaIntegrations(AthenaIntegrationsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream