AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ScheduleGroupSummary.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Scheduler
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SCHEDULER_API ScheduleGroupSummary() = default;
39 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ScheduleGroupSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
59 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
60 template<typename CreationDateT = Aws::Utils::DateTime>
61 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
62 template<typename CreationDateT = Aws::Utils::DateTime>
63 ScheduleGroupSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetLastModificationDate() const { return m_lastModificationDate; }
71 inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; }
72 template<typename LastModificationDateT = Aws::Utils::DateTime>
73 void SetLastModificationDate(LastModificationDateT&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::forward<LastModificationDateT>(value); }
74 template<typename LastModificationDateT = Aws::Utils::DateTime>
75 ScheduleGroupSummary& WithLastModificationDate(LastModificationDateT&& value) { SetLastModificationDate(std::forward<LastModificationDateT>(value)); return *this;}
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 ScheduleGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89
91
94 inline ScheduleGroupState GetState() const { return m_state; }
95 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
96 inline void SetState(ScheduleGroupState value) { m_stateHasBeenSet = true; m_state = value; }
97 inline ScheduleGroupSummary& WithState(ScheduleGroupState value) { SetState(value); return *this;}
99 private:
100
101 Aws::String m_arn;
102 bool m_arnHasBeenSet = false;
103
104 Aws::Utils::DateTime m_creationDate{};
105 bool m_creationDateHasBeenSet = false;
106
107 Aws::Utils::DateTime m_lastModificationDate{};
108 bool m_lastModificationDateHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
114 bool m_stateHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Scheduler
119} // namespace Aws
AWS_SCHEDULER_API ScheduleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModificationDate() const
const Aws::Utils::DateTime & GetCreationDate() const
ScheduleGroupSummary & WithName(NameT &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModificationDate(LastModificationDateT &&value)
ScheduleGroupSummary & WithArn(ArnT &&value)
AWS_SCHEDULER_API ScheduleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEDULER_API ScheduleGroupSummary()=default
ScheduleGroupSummary & WithState(ScheduleGroupState value)
ScheduleGroupSummary & WithLastModificationDate(LastModificationDateT &&value)
ScheduleGroupSummary & WithCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue