AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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