AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GetScheduleGroupResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/scheduler/Scheduler_EXPORTS.h>
10#include <aws/scheduler/model/ScheduleGroupState.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Scheduler {
24namespace Model {
26 public:
27 AWS_SCHEDULER_API GetScheduleGroupResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
53 template <typename CreationDateT = Aws::Utils::DateTime>
54 void SetCreationDate(CreationDateT&& value) {
55 m_creationDateHasBeenSet = true;
56 m_creationDate = std::forward<CreationDateT>(value);
57 }
58 template <typename CreationDateT = Aws::Utils::DateTime>
59 GetScheduleGroupResult& WithCreationDate(CreationDateT&& value) {
60 SetCreationDate(std::forward<CreationDateT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Utils::DateTime& GetLastModificationDate() const { return m_lastModificationDate; }
70 template <typename LastModificationDateT = Aws::Utils::DateTime>
71 void SetLastModificationDate(LastModificationDateT&& value) {
72 m_lastModificationDateHasBeenSet = true;
73 m_lastModificationDate = std::forward<LastModificationDateT>(value);
74 }
75 template <typename LastModificationDateT = Aws::Utils::DateTime>
76 GetScheduleGroupResult& WithLastModificationDate(LastModificationDateT&& value) {
77 SetLastModificationDate(std::forward<LastModificationDateT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetName() const { return m_name; }
87 template <typename NameT = Aws::String>
88 void SetName(NameT&& value) {
89 m_nameHasBeenSet = true;
90 m_name = std::forward<NameT>(value);
91 }
92 template <typename NameT = Aws::String>
94 SetName(std::forward<NameT>(value));
95 return *this;
96 }
98
100
103 inline ScheduleGroupState GetState() const { return m_state; }
104 inline void SetState(ScheduleGroupState value) {
105 m_stateHasBeenSet = true;
106 m_state = value;
107 }
109 SetState(value);
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_arn;
130
131 Aws::Utils::DateTime m_creationDate{};
132
133 Aws::Utils::DateTime m_lastModificationDate{};
134
135 Aws::String m_name;
136
138
139 Aws::String m_requestId;
140 bool m_arnHasBeenSet = false;
141 bool m_creationDateHasBeenSet = false;
142 bool m_lastModificationDateHasBeenSet = false;
143 bool m_nameHasBeenSet = false;
144 bool m_stateHasBeenSet = false;
145 bool m_requestIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Scheduler
150} // namespace Aws
GetScheduleGroupResult & WithLastModificationDate(LastModificationDateT &&value)
GetScheduleGroupResult & WithArn(ArnT &&value)
GetScheduleGroupResult & WithState(ScheduleGroupState value)
const Aws::Utils::DateTime & GetLastModificationDate() const
void SetLastModificationDate(LastModificationDateT &&value)
AWS_SCHEDULER_API GetScheduleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDate() const
GetScheduleGroupResult & WithCreationDate(CreationDateT &&value)
AWS_SCHEDULER_API GetScheduleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetScheduleGroupResult & WithName(NameT &&value)
AWS_SCHEDULER_API GetScheduleGroupResult()=default
GetScheduleGroupResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue