AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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