7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/Redshift_EXPORTS.h>
12#include <aws/redshift/model/IntegrationError.h>
13#include <aws/redshift/model/ZeroETLIntegrationStatus.h>
46 template <
typename IntegrationArnT = Aws::String>
48 m_integrationArnHasBeenSet =
true;
49 m_integrationArn = std::forward<IntegrationArnT>(value);
51 template <
typename IntegrationArnT = Aws::String>
64 template <
typename SourceArnT = Aws::String>
66 m_sourceArnHasBeenSet =
true;
67 m_sourceArn = std::forward<SourceArnT>(value);
69 template <
typename SourceArnT = Aws::String>
82 template <
typename TargetArnT = Aws::String>
84 m_targetArnHasBeenSet =
true;
85 m_targetArn = std::forward<TargetArnT>(value);
87 template <
typename TargetArnT = Aws::String>
101 m_statusHasBeenSet =
true;
117 template <
typename ErrorsT = Aws::Vector<IntegrationError>>
119 m_errorsHasBeenSet =
true;
120 m_errors = std::forward<ErrorsT>(value);
122 template <
typename ErrorsT = Aws::Vector<IntegrationError>>
127 template <
typename ErrorsT = IntegrationError>
129 m_errorsHasBeenSet =
true;
130 m_errors.emplace_back(std::forward<ErrorsT>(value));
141 template <
typename CreateTimeT = Aws::Utils::DateTime>
143 m_createTimeHasBeenSet =
true;
144 m_createTime = std::forward<CreateTimeT>(value);
146 template <
typename CreateTimeT = Aws::Utils::DateTime>
164 bool m_integrationArnHasBeenSet =
false;
165 bool m_sourceArnHasBeenSet =
false;
166 bool m_targetArnHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
168 bool m_errorsHasBeenSet =
false;
169 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