7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ZeroETLIntegrationStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/redshift/model/IntegrationError.h>
52 template<
typename IntegrationArnT = Aws::String>
53 void SetIntegrationArn(IntegrationArnT&& value) { m_integrationArnHasBeenSet =
true; m_integrationArn = std::forward<IntegrationArnT>(value); }
54 template<
typename IntegrationArnT = Aws::String>
64 template<
typename SourceArnT = Aws::String>
65 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet =
true; m_sourceArn = std::forward<SourceArnT>(value); }
66 template<
typename SourceArnT = Aws::String>
76 template<
typename TargetArnT = Aws::String>
77 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
78 template<
typename TargetArnT = Aws::String>
99 template<
typename ErrorsT = Aws::Vector<IntegrationError>>
100 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
101 template<
typename ErrorsT = Aws::Vector<IntegrationError>>
103 template<
typename ErrorsT = IntegrationError>
113 template<
typename CreateTimeT = Aws::Utils::DateTime>
114 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
115 template<
typename CreateTimeT = Aws::Utils::DateTime>
121 bool m_integrationArnHasBeenSet =
false;
124 bool m_sourceArnHasBeenSet =
false;
127 bool m_targetArnHasBeenSet =
false;
130 bool m_statusHasBeenSet =
false;
133 bool m_errorsHasBeenSet =
false;
136 bool m_createTimeHasBeenSet =
false;
InboundIntegration & WithSourceArn(SourceArnT &&value)
InboundIntegration & WithIntegrationArn(IntegrationArnT &&value)
const Aws::String & GetSourceArn() const
bool StatusHasBeenSet() const
InboundIntegration & WithErrors(ErrorsT &&value)
bool IntegrationArnHasBeenSet() const
void SetTargetArn(TargetArnT &&value)
bool TargetArnHasBeenSet() const
void SetSourceArn(SourceArnT &&value)
const Aws::Vector< IntegrationError > & GetErrors() const
AWS_REDSHIFT_API InboundIntegration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CreateTimeHasBeenSet() const
const Aws::String & GetIntegrationArn() const
void SetIntegrationArn(IntegrationArnT &&value)
InboundIntegration & WithTargetArn(TargetArnT &&value)
AWS_REDSHIFT_API InboundIntegration()=default
const Aws::Utils::DateTime & GetCreateTime() const
ZeroETLIntegrationStatus GetStatus() const
void SetCreateTime(CreateTimeT &&value)
void SetStatus(ZeroETLIntegrationStatus value)
bool SourceArnHasBeenSet() const
InboundIntegration & WithStatus(ZeroETLIntegrationStatus value)
InboundIntegration & AddErrors(ErrorsT &&value)
InboundIntegration & WithCreateTime(CreateTimeT &&value)
AWS_REDSHIFT_API InboundIntegration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetTargetArn() const
bool ErrorsHasBeenSet() const
void SetErrors(ErrorsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream