AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteScheduleRequest.h
1
6#pragma once
7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/scheduler/SchedulerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Scheduler
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SCHEDULER_API DeleteScheduleRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteSchedule"; }
36
37 AWS_SCHEDULER_API Aws::String SerializePayload() const override;
38
39 AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const Aws::String& GetClientToken() const { return m_clientToken; }
49 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
50 template<typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<typename ClientTokenT = Aws::String>
53 DeleteScheduleRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
55
57
61 inline const Aws::String& GetGroupName() const { return m_groupName; }
62 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
63 template<typename GroupNameT = Aws::String>
64 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
65 template<typename GroupNameT = Aws::String>
66 DeleteScheduleRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 DeleteScheduleRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80 private:
81
83 bool m_clientTokenHasBeenSet = true;
84
85 Aws::String m_groupName;
86 bool m_groupNameHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Scheduler
94} // namespace Aws
AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteScheduleRequest & WithGroupName(GroupNameT &&value)
AWS_SCHEDULER_API DeleteScheduleRequest()=default
AWS_SCHEDULER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteScheduleRequest & WithClientToken(ClientTokenT &&value)
DeleteScheduleRequest & WithName(NameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String