AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceIntegrationsUnion.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/LakeFormationScopeUnion.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_REDSHIFT_API ServiceIntegrationsUnion();
36 AWS_REDSHIFT_API ServiceIntegrationsUnion(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::Vector<LakeFormationScopeUnion>& GetLakeFormation() const{ return m_lakeFormation; }
48 inline bool LakeFormationHasBeenSet() const { return m_lakeFormationHasBeenSet; }
49 inline void SetLakeFormation(const Aws::Vector<LakeFormationScopeUnion>& value) { m_lakeFormationHasBeenSet = true; m_lakeFormation = value; }
50 inline void SetLakeFormation(Aws::Vector<LakeFormationScopeUnion>&& value) { m_lakeFormationHasBeenSet = true; m_lakeFormation = std::move(value); }
53 inline ServiceIntegrationsUnion& AddLakeFormation(const LakeFormationScopeUnion& value) { m_lakeFormationHasBeenSet = true; m_lakeFormation.push_back(value); return *this; }
54 inline ServiceIntegrationsUnion& AddLakeFormation(LakeFormationScopeUnion&& value) { m_lakeFormationHasBeenSet = true; m_lakeFormation.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_lakeFormationHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Redshift
64} // namespace Aws
ServiceIntegrationsUnion & AddLakeFormation(LakeFormationScopeUnion &&value)
ServiceIntegrationsUnion & WithLakeFormation(const Aws::Vector< LakeFormationScopeUnion > &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API ServiceIntegrationsUnion(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceIntegrationsUnion & AddLakeFormation(const LakeFormationScopeUnion &value)
AWS_REDSHIFT_API ServiceIntegrationsUnion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< LakeFormationScopeUnion > & GetLakeFormation() const
void SetLakeFormation(Aws::Vector< LakeFormationScopeUnion > &&value)
void SetLakeFormation(const Aws::Vector< LakeFormationScopeUnion > &value)
ServiceIntegrationsUnion & WithLakeFormation(Aws::Vector< LakeFormationScopeUnion > &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream