AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PartnerIntegrationInfo.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/PartnerIntegrationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace Redshift
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_REDSHIFT_API PartnerIntegrationInfo();
37 AWS_REDSHIFT_API PartnerIntegrationInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
49 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
50 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
51 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
52 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
53 inline PartnerIntegrationInfo& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
54 inline PartnerIntegrationInfo& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
55 inline PartnerIntegrationInfo& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
57
59
62 inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
63 inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
64 inline void SetPartnerName(const Aws::String& value) { m_partnerNameHasBeenSet = true; m_partnerName = value; }
65 inline void SetPartnerName(Aws::String&& value) { m_partnerNameHasBeenSet = true; m_partnerName = std::move(value); }
66 inline void SetPartnerName(const char* value) { m_partnerNameHasBeenSet = true; m_partnerName.assign(value); }
67 inline PartnerIntegrationInfo& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
68 inline PartnerIntegrationInfo& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
69 inline PartnerIntegrationInfo& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
71
73
76 inline const PartnerIntegrationStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const PartnerIntegrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(PartnerIntegrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline PartnerIntegrationInfo& WithStatus(const PartnerIntegrationStatus& value) { SetStatus(value); return *this;}
81 inline PartnerIntegrationInfo& WithStatus(PartnerIntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
89 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
90 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
91 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
92 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
93 inline PartnerIntegrationInfo& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
94 inline PartnerIntegrationInfo& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
95 inline PartnerIntegrationInfo& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
103 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
104 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
105 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
106 inline PartnerIntegrationInfo& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 inline PartnerIntegrationInfo& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
109
111
115 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
116 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
117 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
118 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
119 inline PartnerIntegrationInfo& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
120 inline PartnerIntegrationInfo& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_databaseName;
125 bool m_databaseNameHasBeenSet = false;
126
127 Aws::String m_partnerName;
128 bool m_partnerNameHasBeenSet = false;
129
131 bool m_statusHasBeenSet = false;
132
133 Aws::String m_statusMessage;
134 bool m_statusMessageHasBeenSet = false;
135
136 Aws::Utils::DateTime m_createdAt;
137 bool m_createdAtHasBeenSet = false;
138
139 Aws::Utils::DateTime m_updatedAt;
140 bool m_updatedAtHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Redshift
145} // namespace Aws
PartnerIntegrationInfo & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
PartnerIntegrationInfo & WithStatusMessage(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const PartnerIntegrationStatus & GetStatus() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_REDSHIFT_API PartnerIntegrationInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PartnerIntegrationInfo & WithDatabaseName(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PartnerIntegrationInfo & WithPartnerName(const Aws::String &value)
PartnerIntegrationInfo & WithPartnerName(Aws::String &&value)
PartnerIntegrationInfo & WithDatabaseName(const char *value)
AWS_REDSHIFT_API PartnerIntegrationInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
PartnerIntegrationInfo & WithCreatedAt(Aws::Utils::DateTime &&value)
PartnerIntegrationInfo & WithStatusMessage(const Aws::String &value)
PartnerIntegrationInfo & WithDatabaseName(const Aws::String &value)
PartnerIntegrationInfo & WithUpdatedAt(const Aws::Utils::DateTime &value)
PartnerIntegrationInfo & WithCreatedAt(const Aws::Utils::DateTime &value)
PartnerIntegrationInfo & WithStatus(PartnerIntegrationStatus &&value)
void SetStatus(PartnerIntegrationStatus &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
PartnerIntegrationInfo & WithStatusMessage(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
PartnerIntegrationInfo & WithPartnerName(const char *value)
void SetStatus(const PartnerIntegrationStatus &value)
PartnerIntegrationInfo & WithStatus(const PartnerIntegrationStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream