AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ClusterAssociatedToSchedule.h
Go to the documentation of this file.
1
6#pragma once
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:
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
46 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
47
51 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
52
56 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
57
61 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
62
66 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
67
72
76 inline ClusterAssociatedToSchedule& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
77
81 inline ClusterAssociatedToSchedule& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
82
83
87 inline const ScheduleState& GetScheduleAssociationState() const{ return m_scheduleAssociationState; }
88
92 inline bool ScheduleAssociationStateHasBeenSet() const { return m_scheduleAssociationStateHasBeenSet; }
93
97 inline void SetScheduleAssociationState(const ScheduleState& value) { m_scheduleAssociationStateHasBeenSet = true; m_scheduleAssociationState = value; }
98
102 inline void SetScheduleAssociationState(ScheduleState&& value) { m_scheduleAssociationStateHasBeenSet = true; m_scheduleAssociationState = std::move(value); }
103
108
113
114 private:
115
116 Aws::String m_clusterIdentifier;
117 bool m_clusterIdentifierHasBeenSet = false;
118
119 ScheduleState m_scheduleAssociationState;
120 bool m_scheduleAssociationStateHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Redshift
125} // namespace Aws
#define AWS_REDSHIFT_API
AWS_REDSHIFT_API ClusterAssociatedToSchedule(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterAssociatedToSchedule & WithScheduleAssociationState(ScheduleState &&value)
AWS_REDSHIFT_API ClusterAssociatedToSchedule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterAssociatedToSchedule & WithClusterIdentifier(const Aws::String &value)
ClusterAssociatedToSchedule & WithScheduleAssociationState(const ScheduleState &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClusterAssociatedToSchedule & WithClusterIdentifier(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClusterAssociatedToSchedule & WithClusterIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream