AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetScheduleRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Scheduler
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetSchedule"; }
35
37
39
40
46 inline const Aws::String& GetGroupName() const{ return m_groupName; }
47
53 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
54
60 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
61
67 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
68
74 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
75
81 inline GetScheduleRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
82
88 inline GetScheduleRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
89
95 inline GetScheduleRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
96
97
101 inline const Aws::String& GetName() const{ return m_name; }
102
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107
111 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
112
116 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
117
121 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
122
126 inline GetScheduleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
127
131 inline GetScheduleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
132
136 inline GetScheduleRequest& WithName(const char* value) { SetName(value); return *this;}
137
138 private:
139
140 Aws::String m_groupName;
141 bool m_groupNameHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Scheduler
149} // namespace Aws
#define AWS_SCHEDULER_API
GetScheduleRequest & WithName(const char *value)
void SetName(const Aws::String &value)
AWS_SCHEDULER_API Aws::String SerializePayload() const override
const Aws::String & GetGroupName() const
GetScheduleRequest & WithName(Aws::String &&value)
void SetGroupName(const Aws::String &value)
AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetScheduleRequest & WithGroupName(const Aws::String &value)
GetScheduleRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetScheduleRequest & WithGroupName(const char *value)
GetScheduleRequest & WithGroupName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String