AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteScheduleRequest.h
Go to the documentation of this file.
1
6#pragma once
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:
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
38
40
41
47 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
48
54 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
55
61 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
62
68 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
69
75 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
76
82 inline DeleteScheduleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
83
89 inline DeleteScheduleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
90
96 inline DeleteScheduleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97
98
103 inline const Aws::String& GetGroupName() const{ return m_groupName; }
104
109 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
110
115 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
116
121 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
122
127 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
128
133 inline DeleteScheduleRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
134
139 inline DeleteScheduleRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
140
145 inline DeleteScheduleRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
146
147
151 inline const Aws::String& GetName() const{ return m_name; }
152
156 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
157
161 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
162
166 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
167
171 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
172
176 inline DeleteScheduleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
177
181 inline DeleteScheduleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
182
186 inline DeleteScheduleRequest& WithName(const char* value) { SetName(value); return *this;}
187
188 private:
189
190 Aws::String m_clientToken;
191 bool m_clientTokenHasBeenSet = false;
192
193 Aws::String m_groupName;
194 bool m_groupNameHasBeenSet = false;
195
196 Aws::String m_name;
197 bool m_nameHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace Scheduler
202} // namespace Aws
#define AWS_SCHEDULER_API
DeleteScheduleRequest & WithName(const char *value)
DeleteScheduleRequest & WithName(Aws::String &&value)
DeleteScheduleRequest & WithClientToken(Aws::String &&value)
DeleteScheduleRequest & WithClientToken(const Aws::String &value)
AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteScheduleRequest & WithGroupName(Aws::String &&value)
DeleteScheduleRequest & WithGroupName(const Aws::String &value)
AWS_SCHEDULER_API Aws::String SerializePayload() const override
DeleteScheduleRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteScheduleRequest & WithName(const Aws::String &value)
DeleteScheduleRequest & WithGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String