AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
51 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
52 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
53 inline DeleteScheduleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
54 inline DeleteScheduleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
55 inline DeleteScheduleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
57
59
63 inline const Aws::String& GetGroupName() const{ return m_groupName; }
64 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
65 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
66 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
67 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
68 inline DeleteScheduleRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
69 inline DeleteScheduleRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
70 inline DeleteScheduleRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline DeleteScheduleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline DeleteScheduleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline DeleteScheduleRequest& WithName(const char* value) { SetName(value); return *this;}
86 private:
87
88 Aws::String m_clientToken;
89 bool m_clientTokenHasBeenSet = false;
90
91 Aws::String m_groupName;
92 bool m_groupNameHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Scheduler
100} // namespace Aws
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