AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetScheduleRequest.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
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Scheduler
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SCHEDULER_API GetScheduleRequest();
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
36 AWS_SCHEDULER_API Aws::String SerializePayload() const override;
37
38 AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
47 inline const Aws::String& GetGroupName() const{ return m_groupName; }
48 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
49 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
50 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
51 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
52 inline GetScheduleRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
53 inline GetScheduleRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
54 inline GetScheduleRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline GetScheduleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline GetScheduleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline GetScheduleRequest& WithName(const char* value) { SetName(value); return *this;}
70 private:
71
72 Aws::String m_groupName;
73 bool m_groupNameHasBeenSet = false;
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Scheduler
81} // namespace Aws
GetScheduleRequest & WithName(const char *value)
void SetName(const Aws::String &value)
AWS_SCHEDULER_API Aws::String SerializePayload() const override
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