7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/LakeFormationScopeUnion.h>
11#include <aws/redshift/model/RedshiftScopeUnion.h>
12#include <aws/redshift/model/S3AccessGrantsScopeUnion.h>
45 template <
typename LakeFormationT = Aws::Vector<LakeFormationScopeUnion>>
47 m_lakeFormationHasBeenSet =
true;
48 m_lakeFormation = std::forward<LakeFormationT>(value);
50 template <
typename LakeFormationT = Aws::Vector<LakeFormationScopeUnion>>
55 template <
typename LakeFormationT = LakeFormationScopeUnion>
57 m_lakeFormationHasBeenSet =
true;
58 m_lakeFormation.emplace_back(std::forward<LakeFormationT>(value));
69 template <
typename S3AccessGrantsT = Aws::Vector<S3AccessGrantsScopeUnion>>
71 m_s3AccessGrantsHasBeenSet =
true;
72 m_s3AccessGrants = std::forward<S3AccessGrantsT>(value);
74 template <
typename S3AccessGrantsT = Aws::Vector<S3AccessGrantsScopeUnion>>
79 template <
typename S3AccessGrantsT = S3AccessGrantsScopeUnion>
81 m_s3AccessGrantsHasBeenSet =
true;
82 m_s3AccessGrants.emplace_back(std::forward<S3AccessGrantsT>(value));
93 template <
typename RedshiftT = Aws::Vector<RedshiftScopeUnion>>
95 m_redshiftHasBeenSet =
true;
96 m_redshift = std::forward<RedshiftT>(value);
98 template <
typename RedshiftT = Aws::Vector<RedshiftScopeUnion>>
103 template <
typename RedshiftT = RedshiftScopeUnion>
105 m_redshiftHasBeenSet =
true;
106 m_redshift.emplace_back(std::forward<RedshiftT>(value));
116 bool m_lakeFormationHasBeenSet =
false;
117 bool m_s3AccessGrantsHasBeenSet =
false;
118 bool m_redshiftHasBeenSet =
false;
ServiceIntegrationsUnion & AddLakeFormation(LakeFormationT &&value)
ServiceIntegrationsUnion & WithLakeFormation(LakeFormationT &&value)
void SetRedshift(RedshiftT &&value)
ServiceIntegrationsUnion & AddRedshift(RedshiftT &&value)
ServiceIntegrationsUnion & WithRedshift(RedshiftT &&value)
bool LakeFormationHasBeenSet() const
bool RedshiftHasBeenSet() const
bool S3AccessGrantsHasBeenSet() const
AWS_REDSHIFT_API ServiceIntegrationsUnion()=default
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API ServiceIntegrationsUnion(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API ServiceIntegrationsUnion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< LakeFormationScopeUnion > & GetLakeFormation() const
const Aws::Vector< S3AccessGrantsScopeUnion > & GetS3AccessGrants() const
const Aws::Vector< RedshiftScopeUnion > & GetRedshift() const
void SetLakeFormation(LakeFormationT &&value)
ServiceIntegrationsUnion & WithS3AccessGrants(S3AccessGrantsT &&value)
void SetS3AccessGrants(S3AccessGrantsT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServiceIntegrationsUnion & AddS3AccessGrants(S3AccessGrantsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream