AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnapshotSortingEntity.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/redshift/model/SnapshotAttributeToSortBy.h>
10#include <aws/redshift/model/SortByOrder.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_REDSHIFT_API SnapshotSortingEntity() = default;
36 AWS_REDSHIFT_API SnapshotSortingEntity(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_REDSHIFT_API SnapshotSortingEntity& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline SnapshotAttributeToSortBy GetAttribute() const { return m_attribute; }
48 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
49 inline void SetAttribute(SnapshotAttributeToSortBy value) { m_attributeHasBeenSet = true; m_attribute = value; }
52
54
57 inline SortByOrder GetSortOrder() const { return m_sortOrder; }
58 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
59 inline void SetSortOrder(SortByOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
60 inline SnapshotSortingEntity& WithSortOrder(SortByOrder value) { SetSortOrder(value); return *this;}
62 private:
63
65 bool m_attributeHasBeenSet = false;
66
68 bool m_sortOrderHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Redshift
73} // namespace Aws
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SnapshotSortingEntity & WithSortOrder(SortByOrder value)
SnapshotSortingEntity & WithAttribute(SnapshotAttributeToSortBy value)
AWS_REDSHIFT_API SnapshotSortingEntity(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API SnapshotSortingEntity & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAttribute(SnapshotAttributeToSortBy value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API SnapshotSortingEntity()=default
SnapshotAttributeToSortBy GetAttribute() const
std::basic_ostream< char, std::char_traits< char > > OStream