AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModifySnapshotScheduleRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REDSHIFT_API ModifySnapshotScheduleRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifySnapshotSchedule"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetScheduleIdentifier() const { return m_scheduleIdentifier; }
45 inline bool ScheduleIdentifierHasBeenSet() const { return m_scheduleIdentifierHasBeenSet; }
46 template<typename ScheduleIdentifierT = Aws::String>
47 void SetScheduleIdentifier(ScheduleIdentifierT&& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value); }
48 template<typename ScheduleIdentifierT = Aws::String>
49 ModifySnapshotScheduleRequest& WithScheduleIdentifier(ScheduleIdentifierT&& value) { SetScheduleIdentifier(std::forward<ScheduleIdentifierT>(value)); return *this;}
51
53
57 inline const Aws::Vector<Aws::String>& GetScheduleDefinitions() const { return m_scheduleDefinitions; }
58 inline bool ScheduleDefinitionsHasBeenSet() const { return m_scheduleDefinitionsHasBeenSet; }
59 template<typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
60 void SetScheduleDefinitions(ScheduleDefinitionsT&& value) { m_scheduleDefinitionsHasBeenSet = true; m_scheduleDefinitions = std::forward<ScheduleDefinitionsT>(value); }
61 template<typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
62 ModifySnapshotScheduleRequest& WithScheduleDefinitions(ScheduleDefinitionsT&& value) { SetScheduleDefinitions(std::forward<ScheduleDefinitionsT>(value)); return *this;}
63 template<typename ScheduleDefinitionsT = Aws::String>
64 ModifySnapshotScheduleRequest& AddScheduleDefinitions(ScheduleDefinitionsT&& value) { m_scheduleDefinitionsHasBeenSet = true; m_scheduleDefinitions.emplace_back(std::forward<ScheduleDefinitionsT>(value)); return *this; }
66 private:
67
68 Aws::String m_scheduleIdentifier;
69 bool m_scheduleIdentifierHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_scheduleDefinitions;
72 bool m_scheduleDefinitionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Redshift
77} // namespace Aws
ModifySnapshotScheduleRequest & AddScheduleDefinitions(ScheduleDefinitionsT &&value)
ModifySnapshotScheduleRequest & WithScheduleDefinitions(ScheduleDefinitionsT &&value)
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
AWS_REDSHIFT_API ModifySnapshotScheduleRequest()=default
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifySnapshotScheduleRequest & WithScheduleIdentifier(ScheduleIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector