AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ClusterAssociatedToSchedule.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/ScheduleState.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 ClusterAssociatedToSchedule() = default;
36 AWS_REDSHIFT_API ClusterAssociatedToSchedule(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 const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
48 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
49 template<typename ClusterIdentifierT = Aws::String>
50 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
51 template<typename ClusterIdentifierT = Aws::String>
52 ClusterAssociatedToSchedule& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
54
56
59 inline ScheduleState GetScheduleAssociationState() const { return m_scheduleAssociationState; }
60 inline bool ScheduleAssociationStateHasBeenSet() const { return m_scheduleAssociationStateHasBeenSet; }
61 inline void SetScheduleAssociationState(ScheduleState value) { m_scheduleAssociationStateHasBeenSet = true; m_scheduleAssociationState = value; }
64 private:
65
66 Aws::String m_clusterIdentifier;
67 bool m_clusterIdentifierHasBeenSet = false;
68
69 ScheduleState m_scheduleAssociationState{ScheduleState::NOT_SET};
70 bool m_scheduleAssociationStateHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Redshift
75} // namespace Aws
ClusterAssociatedToSchedule & WithScheduleAssociationState(ScheduleState value)
AWS_REDSHIFT_API ClusterAssociatedToSchedule(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API ClusterAssociatedToSchedule()=default
AWS_REDSHIFT_API ClusterAssociatedToSchedule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClusterAssociatedToSchedule & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream