AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleSummary.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/ScheduleState.h>
11#include <aws/scheduler/model/TargetSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Scheduler
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SCHEDULER_API ScheduleSummary();
38 AWS_SCHEDULER_API ScheduleSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ScheduleSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ScheduleSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ScheduleSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
62 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
63 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
64 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
65 inline ScheduleSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
66 inline ScheduleSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetGroupName() const{ return m_groupName; }
74 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
75 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
76 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
77 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
78 inline ScheduleSummary& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
79 inline ScheduleSummary& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
80 inline ScheduleSummary& WithGroupName(const char* value) { SetGroupName(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
88 inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; }
89 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = value; }
90 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::move(value); }
92 inline ScheduleSummary& WithLastModificationDate(Aws::Utils::DateTime&& value) { SetLastModificationDate(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetName() const{ return m_name; }
100 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
102 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
104 inline ScheduleSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
105 inline ScheduleSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 inline ScheduleSummary& WithName(const char* value) { SetName(value); return *this;}
108
110
113 inline const ScheduleState& GetState() const{ return m_state; }
114 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
115 inline void SetState(const ScheduleState& value) { m_stateHasBeenSet = true; m_state = value; }
116 inline void SetState(ScheduleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
117 inline ScheduleSummary& WithState(const ScheduleState& value) { SetState(value); return *this;}
118 inline ScheduleSummary& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;}
120
122
125 inline const TargetSummary& GetTarget() const{ return m_target; }
126 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
127 inline void SetTarget(const TargetSummary& value) { m_targetHasBeenSet = true; m_target = value; }
128 inline void SetTarget(TargetSummary&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
129 inline ScheduleSummary& WithTarget(const TargetSummary& value) { SetTarget(value); return *this;}
130 inline ScheduleSummary& WithTarget(TargetSummary&& value) { SetTarget(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_arn;
135 bool m_arnHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationDate;
138 bool m_creationDateHasBeenSet = false;
139
140 Aws::String m_groupName;
141 bool m_groupNameHasBeenSet = false;
142
143 Aws::Utils::DateTime m_lastModificationDate;
144 bool m_lastModificationDateHasBeenSet = false;
145
146 Aws::String m_name;
147 bool m_nameHasBeenSet = false;
148
149 ScheduleState m_state;
150 bool m_stateHasBeenSet = false;
151
152 TargetSummary m_target;
153 bool m_targetHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Scheduler
158} // namespace Aws
void SetState(ScheduleState &&value)
ScheduleSummary & WithTarget(TargetSummary &&value)
void SetLastModificationDate(const Aws::Utils::DateTime &value)
const TargetSummary & GetTarget() const
ScheduleSummary & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetTarget(TargetSummary &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEDULER_API ScheduleSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTarget(const TargetSummary &value)
ScheduleSummary & WithName(const char *value)
ScheduleSummary & WithCreationDate(const Aws::Utils::DateTime &value)
ScheduleSummary & WithState(ScheduleState &&value)
ScheduleSummary & WithName(const Aws::String &value)
ScheduleSummary & WithTarget(const TargetSummary &value)
ScheduleSummary & WithCreationDate(Aws::Utils::DateTime &&value)
ScheduleSummary & WithGroupName(const char *value)
void SetState(const ScheduleState &value)
void SetName(const Aws::String &value)
ScheduleSummary & WithGroupName(Aws::String &&value)
void SetGroupName(Aws::String &&value)
ScheduleSummary & WithLastModificationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetGroupName(const Aws::String &value)
const Aws::String & GetName() const
ScheduleSummary & WithArn(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
ScheduleSummary & WithName(Aws::String &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetLastModificationDate() const
ScheduleSummary & WithGroupName(const Aws::String &value)
ScheduleSummary & WithState(const ScheduleState &value)
void SetLastModificationDate(Aws::Utils::DateTime &&value)
ScheduleSummary & WithArn(const char *value)
const ScheduleState & GetState() const
ScheduleSummary & WithLastModificationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetGroupName() const
AWS_SCHEDULER_API ScheduleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue