AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetScheduleGroupResult.h
1
6#pragma once
7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/scheduler/model/ScheduleGroupState.h>
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:
32 AWS_SCHEDULER_API GetScheduleGroupResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetScheduleGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetScheduleGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetScheduleGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
55 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
56 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
57 inline GetScheduleGroupResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
58 inline GetScheduleGroupResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
66 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDate = value; }
67 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDate = std::move(value); }
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline void SetName(const Aws::String& value) { m_name = value; }
78 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
79 inline void SetName(const char* value) { m_name.assign(value); }
80 inline GetScheduleGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline GetScheduleGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline GetScheduleGroupResult& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const ScheduleGroupState& GetState() const{ return m_state; }
90 inline void SetState(const ScheduleGroupState& value) { m_state = value; }
91 inline void SetState(ScheduleGroupState&& value) { m_state = std::move(value); }
92 inline GetScheduleGroupResult& WithState(const ScheduleGroupState& value) { SetState(value); return *this;}
93 inline GetScheduleGroupResult& WithState(ScheduleGroupState&& value) { SetState(std::move(value)); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline GetScheduleGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline GetScheduleGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline GetScheduleGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_arn;
109
110 Aws::Utils::DateTime m_creationDate;
111
112 Aws::Utils::DateTime m_lastModificationDate;
113
114 Aws::String m_name;
115
116 ScheduleGroupState m_state;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace Scheduler
123} // namespace Aws
void SetCreationDate(Aws::Utils::DateTime &&value)
GetScheduleGroupResult & WithState(ScheduleGroupState &&value)
GetScheduleGroupResult & WithRequestId(const char *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 & WithRequestId(const Aws::String &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)
GetScheduleGroupResult & WithRequestId(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue