AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InboundIntegration.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/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>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_REDSHIFT_API InboundIntegration();
39 AWS_REDSHIFT_API InboundIntegration(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_REDSHIFT_API InboundIntegration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
51 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
52 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; }
53 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); }
54 inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); }
55 inline InboundIntegration& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;}
56 inline InboundIntegration& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
57 inline InboundIntegration& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
59
61
64 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
65 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
66 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
67 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
68 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
69 inline InboundIntegration& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
70 inline InboundIntegration& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
71 inline InboundIntegration& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
73
75
78 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
79 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
80 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
81 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
82 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
83 inline InboundIntegration& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
84 inline InboundIntegration& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
85 inline InboundIntegration& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
87
89
92 inline const ZeroETLIntegrationStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const ZeroETLIntegrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(ZeroETLIntegrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline InboundIntegration& WithStatus(const ZeroETLIntegrationStatus& value) { SetStatus(value); return *this;}
97 inline InboundIntegration& WithStatus(ZeroETLIntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
105 inline const Aws::Vector<IntegrationError>& GetErrors() const{ return m_errors; }
106 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
107 inline void SetErrors(const Aws::Vector<IntegrationError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
108 inline void SetErrors(Aws::Vector<IntegrationError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
109 inline InboundIntegration& WithErrors(const Aws::Vector<IntegrationError>& value) { SetErrors(value); return *this;}
110 inline InboundIntegration& WithErrors(Aws::Vector<IntegrationError>&& value) { SetErrors(std::move(value)); return *this;}
111 inline InboundIntegration& AddErrors(const IntegrationError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
112 inline InboundIntegration& AddErrors(IntegrationError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
114
116
119 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
120 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
121 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
122 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
123 inline InboundIntegration& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
124 inline InboundIntegration& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
126 private:
127
128 Aws::String m_integrationArn;
129 bool m_integrationArnHasBeenSet = false;
130
131 Aws::String m_sourceArn;
132 bool m_sourceArnHasBeenSet = false;
133
134 Aws::String m_targetArn;
135 bool m_targetArnHasBeenSet = false;
136
138 bool m_statusHasBeenSet = false;
139
141 bool m_errorsHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createTime;
144 bool m_createTimeHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Redshift
149} // namespace Aws
void SetSourceArn(const Aws::String &value)
InboundIntegration & WithIntegrationArn(Aws::String &&value)
void SetErrors(Aws::Vector< IntegrationError > &&value)
InboundIntegration & WithIntegrationArn(const char *value)
InboundIntegration & WithStatus(ZeroETLIntegrationStatus &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetStatus(ZeroETLIntegrationStatus &&value)
void SetTargetArn(const Aws::String &value)
InboundIntegration & WithErrors(const Aws::Vector< IntegrationError > &value)
const Aws::Vector< IntegrationError > & GetErrors() const
AWS_REDSHIFT_API InboundIntegration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InboundIntegration & WithTargetArn(const Aws::String &value)
const Aws::String & GetIntegrationArn() const
InboundIntegration & WithTargetArn(Aws::String &&value)
const ZeroETLIntegrationStatus & GetStatus() const
InboundIntegration & WithSourceArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateTime() const
InboundIntegration & WithCreateTime(Aws::Utils::DateTime &&value)
InboundIntegration & WithSourceArn(const char *value)
void SetCreateTime(Aws::Utils::DateTime &&value)
InboundIntegration & WithCreateTime(const Aws::Utils::DateTime &value)
InboundIntegration & WithTargetArn(const char *value)
InboundIntegration & WithStatus(const ZeroETLIntegrationStatus &value)
InboundIntegration & WithIntegrationArn(const Aws::String &value)
InboundIntegration & AddErrors(const IntegrationError &value)
AWS_REDSHIFT_API InboundIntegration(const Aws::Utils::Xml::XmlNode &xmlNode)
InboundIntegration & AddErrors(IntegrationError &&value)
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
void SetErrors(const Aws::Vector< IntegrationError > &value)
void SetIntegrationArn(const Aws::String &value)
InboundIntegration & WithErrors(Aws::Vector< IntegrationError > &&value)
InboundIntegration & WithSourceArn(const Aws::String &value)
void SetStatus(const ZeroETLIntegrationStatus &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