AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 GetScheduleGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
55 template<typename CreationDateT = Aws::Utils::DateTime>
56 GetScheduleGroupResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetLastModificationDate() const { return m_lastModificationDate; }
64 template<typename LastModificationDateT = Aws::Utils::DateTime>
65 void SetLastModificationDate(LastModificationDateT&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::forward<LastModificationDateT>(value); }
66 template<typename LastModificationDateT = Aws::Utils::DateTime>
67 GetScheduleGroupResult& WithLastModificationDate(LastModificationDateT&& value) { SetLastModificationDate(std::forward<LastModificationDateT>(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 GetScheduleGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
85 inline ScheduleGroupState GetState() const { return m_state; }
86 inline void SetState(ScheduleGroupState value) { m_stateHasBeenSet = true; m_state = value; }
87 inline GetScheduleGroupResult& WithState(ScheduleGroupState value) { SetState(value); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 GetScheduleGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_arn;
101 bool m_arnHasBeenSet = false;
102
103 Aws::Utils::DateTime m_creationDate{};
104 bool m_creationDateHasBeenSet = false;
105
106 Aws::Utils::DateTime m_lastModificationDate{};
107 bool m_lastModificationDateHasBeenSet = false;
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
113 bool m_stateHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Scheduler
121} // 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