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/ReservedNodeExchangeStatusType.h>
11#include <aws/core/utils/DateTime.h>
94 inline void SetSourceReservedNodeId(
const char* value) { m_sourceReservedNodeIdHasBeenSet =
true; m_sourceReservedNodeId.assign(value); }
108 inline void SetSourceReservedNodeType(
const char* value) { m_sourceReservedNodeTypeHasBeenSet =
true; m_sourceReservedNodeType.assign(value); }
146 inline void SetTargetReservedNodeType(
const char* value) { m_targetReservedNodeTypeHasBeenSet =
true; m_targetReservedNodeType.assign(value); }
164 bool m_reservedNodeExchangeRequestIdHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
170 bool m_requestTimeHasBeenSet =
false;
173 bool m_sourceReservedNodeIdHasBeenSet =
false;
176 bool m_sourceReservedNodeTypeHasBeenSet =
false;
178 int m_sourceReservedNodeCount;
179 bool m_sourceReservedNodeCountHasBeenSet =
false;
182 bool m_targetReservedNodeOfferingIdHasBeenSet =
false;
185 bool m_targetReservedNodeTypeHasBeenSet =
false;
187 int m_targetReservedNodeCount;
188 bool m_targetReservedNodeCountHasBeenSet =
false;
void SetStatus(const ReservedNodeExchangeStatusType &value)
ReservedNodeExchangeStatus & WithReservedNodeExchangeRequestId(const char *value)
const Aws::String & GetTargetReservedNodeType() const
const ReservedNodeExchangeStatusType & GetStatus() const
bool StatusHasBeenSet() const
void SetSourceReservedNodeType(const char *value)
ReservedNodeExchangeStatus & WithStatus(ReservedNodeExchangeStatusType &&value)
const Aws::String & GetSourceReservedNodeType() const
ReservedNodeExchangeStatus & WithTargetReservedNodeCount(int value)
void SetSourceReservedNodeType(const Aws::String &value)
const Aws::String & GetTargetReservedNodeOfferingId() const
const Aws::Utils::DateTime & GetRequestTime() const
bool RequestTimeHasBeenSet() const
const Aws::String & GetReservedNodeExchangeRequestId() const
int GetSourceReservedNodeCount() const
void SetTargetReservedNodeOfferingId(const Aws::String &value)
bool TargetReservedNodeTypeHasBeenSet() const
bool SourceReservedNodeCountHasBeenSet() const
void SetTargetReservedNodeOfferingId(Aws::String &&value)
void SetSourceReservedNodeId(const Aws::String &value)
AWS_REDSHIFT_API ReservedNodeExchangeStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetReservedNodeExchangeRequestId(const Aws::String &value)
ReservedNodeExchangeStatus & WithRequestTime(Aws::Utils::DateTime &&value)
void SetReservedNodeExchangeRequestId(Aws::String &&value)
void SetSourceReservedNodeCount(int value)
void SetStatus(ReservedNodeExchangeStatusType &&value)
bool SourceReservedNodeTypeHasBeenSet() const
AWS_REDSHIFT_API ReservedNodeExchangeStatus()
ReservedNodeExchangeStatus & WithSourceReservedNodeId(const char *value)
bool ReservedNodeExchangeRequestIdHasBeenSet() const
bool SourceReservedNodeIdHasBeenSet() const
ReservedNodeExchangeStatus & WithTargetReservedNodeOfferingId(const Aws::String &value)
ReservedNodeExchangeStatus & WithTargetReservedNodeType(const Aws::String &value)
AWS_REDSHIFT_API ReservedNodeExchangeStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceReservedNodeType(Aws::String &&value)
ReservedNodeExchangeStatus & WithSourceReservedNodeId(const Aws::String &value)
void SetReservedNodeExchangeRequestId(const char *value)
void SetTargetReservedNodeOfferingId(const char *value)
ReservedNodeExchangeStatus & WithSourceReservedNodeType(const char *value)
void SetSourceReservedNodeId(Aws::String &&value)
bool TargetReservedNodeCountHasBeenSet() const
ReservedNodeExchangeStatus & WithTargetReservedNodeType(Aws::String &&value)
void SetRequestTime(const Aws::Utils::DateTime &value)
void SetTargetReservedNodeType(const Aws::String &value)
ReservedNodeExchangeStatus & WithSourceReservedNodeId(Aws::String &&value)
ReservedNodeExchangeStatus & WithTargetReservedNodeOfferingId(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
int GetTargetReservedNodeCount() const
ReservedNodeExchangeStatus & WithTargetReservedNodeType(const char *value)
void SetTargetReservedNodeType(Aws::String &&value)
void SetRequestTime(Aws::Utils::DateTime &&value)
ReservedNodeExchangeStatus & WithTargetReservedNodeOfferingId(Aws::String &&value)
ReservedNodeExchangeStatus & WithReservedNodeExchangeRequestId(Aws::String &&value)
ReservedNodeExchangeStatus & WithRequestTime(const Aws::Utils::DateTime &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservedNodeExchangeStatus & WithStatus(const ReservedNodeExchangeStatusType &value)
bool TargetReservedNodeOfferingIdHasBeenSet() const
ReservedNodeExchangeStatus & WithReservedNodeExchangeRequestId(const Aws::String &value)
ReservedNodeExchangeStatus & WithSourceReservedNodeType(Aws::String &&value)
ReservedNodeExchangeStatus & WithSourceReservedNodeCount(int value)
const Aws::String & GetSourceReservedNodeId() const
ReservedNodeExchangeStatus & WithSourceReservedNodeType(const Aws::String &value)
void SetTargetReservedNodeCount(int value)
void SetTargetReservedNodeType(const char *value)
void SetSourceReservedNodeId(const char *value)
ReservedNodeExchangeStatusType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream