AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetScheduleGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/scheduler/Scheduler_EXPORTS.h>
11#include <aws/scheduler/model/ScheduleGroupState.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Scheduler {
25namespace Model {
27 public:
28 AWS_SCHEDULER_API GetScheduleGroupResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
54 template <typename CreationDateT = Aws::Utils::DateTime>
55 void SetCreationDate(CreationDateT&& value) {
56 m_creationDateHasBeenSet = true;
57 m_creationDate = std::forward<CreationDateT>(value);
58 }
59 template <typename CreationDateT = Aws::Utils::DateTime>
60 GetScheduleGroupResult& WithCreationDate(CreationDateT&& value) {
61 SetCreationDate(std::forward<CreationDateT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetLastModificationDate() const { return m_lastModificationDate; }
71 template <typename LastModificationDateT = Aws::Utils::DateTime>
72 void SetLastModificationDate(LastModificationDateT&& value) {
73 m_lastModificationDateHasBeenSet = true;
74 m_lastModificationDate = std::forward<LastModificationDateT>(value);
75 }
76 template <typename LastModificationDateT = Aws::Utils::DateTime>
77 GetScheduleGroupResult& WithLastModificationDate(LastModificationDateT&& value) {
78 SetLastModificationDate(std::forward<LastModificationDateT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetName() const { return m_name; }
88 template <typename NameT = Aws::String>
89 void SetName(NameT&& value) {
90 m_nameHasBeenSet = true;
91 m_name = std::forward<NameT>(value);
92 }
93 template <typename NameT = Aws::String>
95 SetName(std::forward<NameT>(value));
96 return *this;
97 }
99
101
104 inline ScheduleGroupState GetState() const { return m_state; }
105 inline void SetState(ScheduleGroupState value) {
106 m_stateHasBeenSet = true;
107 m_state = value;
108 }
110 SetState(value);
111 return *this;
112 }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template <typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) {
120 m_requestIdHasBeenSet = true;
121 m_requestId = std::forward<RequestIdT>(value);
122 }
123 template <typename RequestIdT = Aws::String>
125 SetRequestId(std::forward<RequestIdT>(value));
126 return *this;
127 }
129 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
130
131 private:
132 Aws::String m_arn;
133
134 Aws::Utils::DateTime m_creationDate{};
135
136 Aws::Utils::DateTime m_lastModificationDate{};
137
138 Aws::String m_name;
139
141
142 Aws::String m_requestId;
143 Aws::Http::HttpResponseCode m_HttpResponseCode;
144 bool m_arnHasBeenSet = false;
145 bool m_creationDateHasBeenSet = false;
146 bool m_lastModificationDateHasBeenSet = false;
147 bool m_nameHasBeenSet = false;
148 bool m_stateHasBeenSet = false;
149 bool m_requestIdHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace Scheduler
154} // namespace Aws
GetScheduleGroupResult & WithLastModificationDate(LastModificationDateT &&value)
GetScheduleGroupResult & WithArn(ArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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