AWS SDK for C++

AWS SDK for C++ Version 1.11.715

Loading...
Searching...
No Matches
ModifyClusterSnapshotScheduleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
20 public:
21 AWS_REDSHIFT_API ModifyClusterSnapshotScheduleRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ModifyClusterSnapshotSchedule"; }
28
29 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
40 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
41 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
42 template <typename ClusterIdentifierT = Aws::String>
43 void SetClusterIdentifier(ClusterIdentifierT&& value) {
44 m_clusterIdentifierHasBeenSet = true;
45 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
46 }
47 template <typename ClusterIdentifierT = Aws::String>
49 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetScheduleIdentifier() const { return m_scheduleIdentifier; }
60 inline bool ScheduleIdentifierHasBeenSet() const { return m_scheduleIdentifierHasBeenSet; }
61 template <typename ScheduleIdentifierT = Aws::String>
62 void SetScheduleIdentifier(ScheduleIdentifierT&& value) {
63 m_scheduleIdentifierHasBeenSet = true;
64 m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value);
65 }
66 template <typename ScheduleIdentifierT = Aws::String>
68 SetScheduleIdentifier(std::forward<ScheduleIdentifierT>(value));
69 return *this;
70 }
72
74
78 inline bool GetDisassociateSchedule() const { return m_disassociateSchedule; }
79 inline bool DisassociateScheduleHasBeenSet() const { return m_disassociateScheduleHasBeenSet; }
80 inline void SetDisassociateSchedule(bool value) {
81 m_disassociateScheduleHasBeenSet = true;
82 m_disassociateSchedule = value;
83 }
86 return *this;
87 }
89 private:
90 Aws::String m_clusterIdentifier;
91
92 Aws::String m_scheduleIdentifier;
93
94 bool m_disassociateSchedule{false};
95 bool m_clusterIdentifierHasBeenSet = false;
96 bool m_scheduleIdentifierHasBeenSet = false;
97 bool m_disassociateScheduleHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Redshift
102} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
ModifyClusterSnapshotScheduleRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
ModifyClusterSnapshotScheduleRequest & WithDisassociateSchedule(bool value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyClusterSnapshotScheduleRequest & WithScheduleIdentifier(ScheduleIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String