AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetScheduleGroupResult.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Scheduler
26{
27namespace Model
28{
30 {
31 public:
35
36
40 inline const Aws::String& GetArn() const{ return m_arn; }
41
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46
50 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51
55 inline void SetArn(const char* value) { m_arn.assign(value); }
56
60 inline GetScheduleGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61
65 inline GetScheduleGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66
70 inline GetScheduleGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
71
72
76 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
77
81 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
82
86 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
87
91 inline GetScheduleGroupResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
92
96 inline GetScheduleGroupResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
97
98
102 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
103
107 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDate = value; }
108
112 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDate = std::move(value); }
113
118
123
124
128 inline const Aws::String& GetName() const{ return m_name; }
129
133 inline void SetName(const Aws::String& value) { m_name = value; }
134
138 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
139
143 inline void SetName(const char* value) { m_name.assign(value); }
144
148 inline GetScheduleGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
149
153 inline GetScheduleGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
154
158 inline GetScheduleGroupResult& WithName(const char* value) { SetName(value); return *this;}
159
160
164 inline const ScheduleGroupState& GetState() const{ return m_state; }
165
169 inline void SetState(const ScheduleGroupState& value) { m_state = value; }
170
174 inline void SetState(ScheduleGroupState&& value) { m_state = std::move(value); }
175
179 inline GetScheduleGroupResult& WithState(const ScheduleGroupState& value) { SetState(value); return *this;}
180
184 inline GetScheduleGroupResult& WithState(ScheduleGroupState&& value) { SetState(std::move(value)); return *this;}
185
186 private:
187
188 Aws::String m_arn;
189
190 Aws::Utils::DateTime m_creationDate;
191
192 Aws::Utils::DateTime m_lastModificationDate;
193
194 Aws::String m_name;
195
196 ScheduleGroupState m_state;
197 };
198
199} // namespace Model
200} // namespace Scheduler
201} // namespace Aws
#define AWS_SCHEDULER_API
void SetCreationDate(Aws::Utils::DateTime &&value)
GetScheduleGroupResult & WithState(ScheduleGroupState &&value)
GetScheduleGroupResult & WithLastModificationDate(const Aws::Utils::DateTime &value)
void SetState(const ScheduleGroupState &value)
GetScheduleGroupResult & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModificationDate() const
GetScheduleGroupResult & WithName(const char *value)
GetScheduleGroupResult & WithArn(const char *value)
GetScheduleGroupResult & WithLastModificationDate(Aws::Utils::DateTime &&value)
AWS_SCHEDULER_API GetScheduleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDate() const
GetScheduleGroupResult & WithArn(const Aws::String &value)
AWS_SCHEDULER_API GetScheduleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetScheduleGroupResult & WithCreationDate(Aws::Utils::DateTime &&value)
void SetLastModificationDate(const Aws::Utils::DateTime &value)
GetScheduleGroupResult & WithCreationDate(const Aws::Utils::DateTime &value)
void SetLastModificationDate(Aws::Utils::DateTime &&value)
GetScheduleGroupResult & WithArn(Aws::String &&value)
GetScheduleGroupResult & WithName(const Aws::String &value)
GetScheduleGroupResult & WithState(const ScheduleGroupState &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String