AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ScheduleGroupSummary.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Scheduler
24{
25namespace Model
26{
27
34 {
35 public:
40
41
45 inline const Aws::String& GetArn() const{ return m_arn; }
46
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51
55 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56
60 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66
70 inline ScheduleGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71
75 inline ScheduleGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76
80 inline ScheduleGroupSummary& WithArn(const char* value) { SetArn(value); return *this;}
81
82
86 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
87
91 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
92
96 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
97
101 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
102
106 inline ScheduleGroupSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
107
111 inline ScheduleGroupSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
112
113
117 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
118
122 inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; }
123
127 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = value; }
128
132 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::move(value); }
133
138
143
144
148 inline const Aws::String& GetName() const{ return m_name; }
149
153 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
154
158 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
159
163 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
164
168 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
169
173 inline ScheduleGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
174
178 inline ScheduleGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
179
183 inline ScheduleGroupSummary& WithName(const char* value) { SetName(value); return *this;}
184
185
189 inline const ScheduleGroupState& GetState() const{ return m_state; }
190
194 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
195
199 inline void SetState(const ScheduleGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
200
204 inline void SetState(ScheduleGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
205
209 inline ScheduleGroupSummary& WithState(const ScheduleGroupState& value) { SetState(value); return *this;}
210
214 inline ScheduleGroupSummary& WithState(ScheduleGroupState&& value) { SetState(std::move(value)); return *this;}
215
216 private:
217
218 Aws::String m_arn;
219 bool m_arnHasBeenSet = false;
220
221 Aws::Utils::DateTime m_creationDate;
222 bool m_creationDateHasBeenSet = false;
223
224 Aws::Utils::DateTime m_lastModificationDate;
225 bool m_lastModificationDateHasBeenSet = false;
226
227 Aws::String m_name;
228 bool m_nameHasBeenSet = false;
229
230 ScheduleGroupState m_state;
231 bool m_stateHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace Scheduler
236} // namespace Aws
#define AWS_SCHEDULER_API
AWS_SCHEDULER_API ScheduleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
ScheduleGroupSummary & WithState(const ScheduleGroupState &value)
void SetLastModificationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModificationDate() const
ScheduleGroupSummary & WithArn(const char *value)
void SetState(ScheduleGroupState &&value)
void SetState(const ScheduleGroupState &value)
void SetLastModificationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
ScheduleGroupSummary & WithState(ScheduleGroupState &&value)
ScheduleGroupSummary & WithCreationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
ScheduleGroupSummary & WithCreationDate(Aws::Utils::DateTime &&value)
ScheduleGroupSummary & WithLastModificationDate(const Aws::Utils::DateTime &value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleGroupSummary & WithName(Aws::String &&value)
const ScheduleGroupState & GetState() const
ScheduleGroupSummary & WithName(const Aws::String &value)
AWS_SCHEDULER_API ScheduleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleGroupSummary & WithName(const char *value)
ScheduleGroupSummary & WithArn(const Aws::String &value)
ScheduleGroupSummary & WithLastModificationDate(Aws::Utils::DateTime &&value)
ScheduleGroupSummary & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String