AWS SDK for C++  1.9.104
AWS SDK for C++
PartnerIntegrationInfo.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace Redshift
24 {
25 namespace Model
26 {
27 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
48 
52  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
53 
57  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
58 
62  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
63 
67  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
68 
72  inline PartnerIntegrationInfo& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
73 
77  inline PartnerIntegrationInfo& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
78 
82  inline PartnerIntegrationInfo& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
83 
84 
88  inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
89 
93  inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
94 
98  inline void SetPartnerName(const Aws::String& value) { m_partnerNameHasBeenSet = true; m_partnerName = value; }
99 
103  inline void SetPartnerName(Aws::String&& value) { m_partnerNameHasBeenSet = true; m_partnerName = std::move(value); }
104 
108  inline void SetPartnerName(const char* value) { m_partnerNameHasBeenSet = true; m_partnerName.assign(value); }
109 
113  inline PartnerIntegrationInfo& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
114 
118  inline PartnerIntegrationInfo& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
119 
123  inline PartnerIntegrationInfo& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
124 
125 
129  inline const PartnerIntegrationStatus& GetStatus() const{ return m_status; }
130 
134  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 
139  inline void SetStatus(const PartnerIntegrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
140 
144  inline void SetStatus(PartnerIntegrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
145 
149  inline PartnerIntegrationInfo& WithStatus(const PartnerIntegrationStatus& value) { SetStatus(value); return *this;}
150 
154  inline PartnerIntegrationInfo& WithStatus(PartnerIntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
155 
156 
160  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
161 
165  inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
166 
170  inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
171 
175  inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
176 
180  inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
181 
185  inline PartnerIntegrationInfo& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
186 
190  inline PartnerIntegrationInfo& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
191 
195  inline PartnerIntegrationInfo& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
196 
197 
201  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
202 
206  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
207 
211  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
212 
216  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
217 
221  inline PartnerIntegrationInfo& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
222 
226  inline PartnerIntegrationInfo& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
227 
228 
233  inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
234 
239  inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
240 
245  inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
246 
251  inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
252 
257  inline PartnerIntegrationInfo& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
258 
263  inline PartnerIntegrationInfo& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
264 
265  private:
266 
267  Aws::String m_databaseName;
268  bool m_databaseNameHasBeenSet;
269 
270  Aws::String m_partnerName;
271  bool m_partnerNameHasBeenSet;
272 
273  PartnerIntegrationStatus m_status;
274  bool m_statusHasBeenSet;
275 
276  Aws::String m_statusMessage;
277  bool m_statusMessageHasBeenSet;
278 
279  Aws::Utils::DateTime m_createdAt;
280  bool m_createdAtHasBeenSet;
281 
282  Aws::Utils::DateTime m_updatedAt;
283  bool m_updatedAtHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace Redshift
288 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Redshift::Model::PartnerIntegrationInfo::SetPartnerName
void SetPartnerName(Aws::String &&value)
Definition: PartnerIntegrationInfo.h:103
Aws::Redshift::Model::PartnerIntegrationInfo::SetUpdatedAt
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition: PartnerIntegrationInfo.h:251
Aws::Redshift::Model::PartnerIntegrationInfo::WithStatusMessage
PartnerIntegrationInfo & WithStatusMessage(const char *value)
Definition: PartnerIntegrationInfo.h:195
Aws::Redshift::Model::PartnerIntegrationInfo::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: PartnerIntegrationInfo.h:201
Aws::Redshift::Model::PartnerIntegrationInfo::SetStatusMessage
void SetStatusMessage(Aws::String &&value)
Definition: PartnerIntegrationInfo.h:175
Aws::Redshift::Model::PartnerIntegrationInfo::StatusMessageHasBeenSet
bool StatusMessageHasBeenSet() const
Definition: PartnerIntegrationInfo.h:165
Aws::Redshift::Model::PartnerIntegrationInfo::WithPartnerName
PartnerIntegrationInfo & WithPartnerName(Aws::String &&value)
Definition: PartnerIntegrationInfo.h:118
Aws::Redshift::Model::PartnerIntegrationInfo::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: PartnerIntegrationInfo.h:62
Aws::Redshift::Model::PartnerIntegrationInfo::SetStatus
void SetStatus(PartnerIntegrationStatus &&value)
Definition: PartnerIntegrationInfo.h:144
DateTime.h
Aws::Redshift::Model::PartnerIntegrationInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::PartnerIntegrationInfo::operator=
PartnerIntegrationInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::PartnerIntegrationInfo::SetUpdatedAt
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition: PartnerIntegrationInfo.h:245
Aws::Redshift::Model::PartnerIntegrationInfo::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: PartnerIntegrationInfo.h:52
Aws::Redshift::Model::PartnerIntegrationInfo::SetStatus
void SetStatus(const PartnerIntegrationStatus &value)
Definition: PartnerIntegrationInfo.h:139
AWSStreamFwd.h
Aws::Redshift::Model::PartnerIntegrationInfo::GetStatusMessage
const Aws::String & GetStatusMessage() const
Definition: PartnerIntegrationInfo.h:160
Aws::Redshift::Model::PartnerIntegrationInfo::SetPartnerName
void SetPartnerName(const char *value)
Definition: PartnerIntegrationInfo.h:108
Aws::Redshift::Model::PartnerIntegrationInfo::GetUpdatedAt
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition: PartnerIntegrationInfo.h:233
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::PartnerIntegrationInfo::WithDatabaseName
PartnerIntegrationInfo & WithDatabaseName(const Aws::String &value)
Definition: PartnerIntegrationInfo.h:72
Aws::Redshift::Model::PartnerIntegrationInfo::UpdatedAtHasBeenSet
bool UpdatedAtHasBeenSet() const
Definition: PartnerIntegrationInfo.h:239
Aws::Redshift::Model::PartnerIntegrationInfo::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: PartnerIntegrationInfo.h:216
Aws::Redshift::Model::PartnerIntegrationInfo::WithDatabaseName
PartnerIntegrationInfo & WithDatabaseName(const char *value)
Definition: PartnerIntegrationInfo.h:82
PartnerIntegrationStatus.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::PartnerIntegrationInfo::PartnerIntegrationInfo
PartnerIntegrationInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::PartnerIntegrationInfo::WithUpdatedAt
PartnerIntegrationInfo & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition: PartnerIntegrationInfo.h:257
Aws::Redshift::Model::PartnerIntegrationInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::PartnerIntegrationStatus
PartnerIntegrationStatus
Definition: PartnerIntegrationStatus.h:17
Aws::Redshift::Model::PartnerIntegrationInfo::WithPartnerName
PartnerIntegrationInfo & WithPartnerName(const char *value)
Definition: PartnerIntegrationInfo.h:123
Aws::Redshift::Model::PartnerIntegrationInfo::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: PartnerIntegrationInfo.h:134
Aws::Redshift::Model::PartnerIntegrationInfo::PartnerNameHasBeenSet
bool PartnerNameHasBeenSet() const
Definition: PartnerIntegrationInfo.h:93
Aws::Redshift::Model::PartnerIntegrationInfo::WithDatabaseName
PartnerIntegrationInfo & WithDatabaseName(Aws::String &&value)
Definition: PartnerIntegrationInfo.h:77
Aws::Redshift::Model::PartnerIntegrationInfo::PartnerIntegrationInfo
PartnerIntegrationInfo()
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::PartnerIntegrationInfo::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: PartnerIntegrationInfo.h:206
Aws::Redshift::Model::PartnerIntegrationInfo::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: PartnerIntegrationInfo.h:211
Aws::Redshift::Model::PartnerIntegrationInfo::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: PartnerIntegrationInfo.h:57
AWSString.h
Aws::Redshift::Model::PartnerIntegrationInfo::GetStatus
const PartnerIntegrationStatus & GetStatus() const
Definition: PartnerIntegrationInfo.h:129
Aws::Redshift::Model::PartnerIntegrationInfo::WithStatus
PartnerIntegrationInfo & WithStatus(const PartnerIntegrationStatus &value)
Definition: PartnerIntegrationInfo.h:149
Aws::Redshift::Model::PartnerIntegrationInfo::WithCreatedAt
PartnerIntegrationInfo & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: PartnerIntegrationInfo.h:221
Aws::Redshift::Model::PartnerIntegrationInfo::WithCreatedAt
PartnerIntegrationInfo & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: PartnerIntegrationInfo.h:226
Aws::Redshift::Model::PartnerIntegrationInfo::SetStatusMessage
void SetStatusMessage(const Aws::String &value)
Definition: PartnerIntegrationInfo.h:170
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::PartnerIntegrationInfo::WithStatusMessage
PartnerIntegrationInfo & WithStatusMessage(Aws::String &&value)
Definition: PartnerIntegrationInfo.h:190
Redshift_EXPORTS.h
Aws::Redshift::Model::PartnerIntegrationInfo::WithStatus
PartnerIntegrationInfo & WithStatus(PartnerIntegrationStatus &&value)
Definition: PartnerIntegrationInfo.h:154
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::PartnerIntegrationInfo::GetPartnerName
const Aws::String & GetPartnerName() const
Definition: PartnerIntegrationInfo.h:88
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::PartnerIntegrationInfo::SetPartnerName
void SetPartnerName(const Aws::String &value)
Definition: PartnerIntegrationInfo.h:98
Aws::Redshift::Model::PartnerIntegrationInfo::SetStatusMessage
void SetStatusMessage(const char *value)
Definition: PartnerIntegrationInfo.h:180
Aws::Redshift::Model::PartnerIntegrationInfo::WithPartnerName
PartnerIntegrationInfo & WithPartnerName(const Aws::String &value)
Definition: PartnerIntegrationInfo.h:113
Aws::Redshift::Model::PartnerIntegrationInfo::WithStatusMessage
PartnerIntegrationInfo & WithStatusMessage(const Aws::String &value)
Definition: PartnerIntegrationInfo.h:185
Aws::Redshift::Model::PartnerIntegrationInfo::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: PartnerIntegrationInfo.h:67
Aws::Redshift::Model::PartnerIntegrationInfo::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: PartnerIntegrationInfo.h:47
Aws::Redshift::Model::PartnerIntegrationInfo::WithUpdatedAt
PartnerIntegrationInfo & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition: PartnerIntegrationInfo.h:263
Aws::Redshift::Model::PartnerIntegrationInfo
Definition: PartnerIntegrationInfo.h:34