AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteScheduleGroupRequest.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 "DeleteScheduleGroup"; }
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 DeleteScheduleGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
83
89 inline DeleteScheduleGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
90
96 inline DeleteScheduleGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97
98
102 inline const Aws::String& GetName() const{ return m_name; }
103
107 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
108
112 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
113
117 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
118
122 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
123
127 inline DeleteScheduleGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
128
132 inline DeleteScheduleGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
133
137 inline DeleteScheduleGroupRequest& WithName(const char* value) { SetName(value); return *this;}
138
139 private:
140
141 Aws::String m_clientToken;
142 bool m_clientTokenHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Scheduler
150} // namespace Aws
#define AWS_SCHEDULER_API
DeleteScheduleGroupRequest & WithClientToken(const char *value)
DeleteScheduleGroupRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteScheduleGroupRequest & WithName(const Aws::String &value)
AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_SCHEDULER_API Aws::String SerializePayload() const override
DeleteScheduleGroupRequest & WithClientToken(const Aws::String &value)
DeleteScheduleGroupRequest & WithName(Aws::String &&value)
DeleteScheduleGroupRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String