AWS SDK for C++  1.9.67
AWS SDK for C++
IntegrateServices.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::Vector<AthenaIntegration>& GetAthenaIntegrations() const{ return m_athenaIntegrations; }
48 
52  inline bool AthenaIntegrationsHasBeenSet() const { return m_athenaIntegrationsHasBeenSet; }
53 
57  inline void SetAthenaIntegrations(const Aws::Vector<AthenaIntegration>& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations = value; }
58 
62  inline void SetAthenaIntegrations(Aws::Vector<AthenaIntegration>&& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations = std::move(value); }
63 
67  inline IntegrateServices& WithAthenaIntegrations(const Aws::Vector<AthenaIntegration>& value) { SetAthenaIntegrations(value); return *this;}
68 
72  inline IntegrateServices& WithAthenaIntegrations(Aws::Vector<AthenaIntegration>&& value) { SetAthenaIntegrations(std::move(value)); return *this;}
73 
77  inline IntegrateServices& AddAthenaIntegrations(const AthenaIntegration& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations.push_back(value); return *this; }
78 
82  inline IntegrateServices& AddAthenaIntegrations(AthenaIntegration&& value) { m_athenaIntegrationsHasBeenSet = true; m_athenaIntegrations.push_back(std::move(value)); return *this; }
83 
84  private:
85 
86  Aws::Vector<AthenaIntegration> m_athenaIntegrations;
87  bool m_athenaIntegrationsHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace EC2
92 } // namespace Aws
Aws::EC2::Model::IntegrateServices
Definition: IntegrateServices.h:34
Aws::EC2::Model::IntegrateServices::WithAthenaIntegrations
IntegrateServices & WithAthenaIntegrations(Aws::Vector< AthenaIntegration > &&value)
Definition: IntegrateServices.h:72
Aws::EC2::Model::IntegrateServices::SetAthenaIntegrations
void SetAthenaIntegrations(Aws::Vector< AthenaIntegration > &&value)
Definition: IntegrateServices.h:62
Aws::EC2::Model::AthenaIntegration
Definition: AthenaIntegration.h:35
Aws::EC2::Model::IntegrateServices::SetAthenaIntegrations
void SetAthenaIntegrations(const Aws::Vector< AthenaIntegration > &value)
Definition: IntegrateServices.h:57
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::IntegrateServices::IntegrateServices
IntegrateServices(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::IntegrateServices::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
AWSVector.h
Aws::EC2::Model::IntegrateServices::GetAthenaIntegrations
const Aws::Vector< AthenaIntegration > & GetAthenaIntegrations() const
Definition: IntegrateServices.h:47
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::IntegrateServices::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::IntegrateServices::AddAthenaIntegrations
IntegrateServices & AddAthenaIntegrations(const AthenaIntegration &value)
Definition: IntegrateServices.h:77
AthenaIntegration.h
Aws::EC2::Model::IntegrateServices::operator=
IntegrateServices & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::IntegrateServices::AthenaIntegrationsHasBeenSet
bool AthenaIntegrationsHasBeenSet() const
Definition: IntegrateServices.h:52
Aws::EC2::Model::IntegrateServices::IntegrateServices
IntegrateServices()
Aws::EC2::Model::IntegrateServices::WithAthenaIntegrations
IntegrateServices & WithAthenaIntegrations(const Aws::Vector< AthenaIntegration > &value)
Definition: IntegrateServices.h:67
Aws::EC2::Model::IntegrateServices::AddAthenaIntegrations
IntegrateServices & AddAthenaIntegrations(AthenaIntegration &&value)
Definition: IntegrateServices.h:82
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h