AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ScheduleGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ScheduleGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ScheduleGroupSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
61 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
62 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
63 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
64 inline ScheduleGroupSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
65 inline ScheduleGroupSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
73 inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; }
74 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = value; }
75 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::move(value); }
79
81
84 inline const Aws::String& GetName() const{ return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
88 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 inline ScheduleGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline ScheduleGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline ScheduleGroupSummary& WithName(const char* value) { SetName(value); return *this;}
93
95
98 inline const ScheduleGroupState& GetState() const{ return m_state; }
99 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
100 inline void SetState(const ScheduleGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
101 inline void SetState(ScheduleGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
102 inline ScheduleGroupSummary& WithState(const ScheduleGroupState& value) { SetState(value); return *this;}
103 inline ScheduleGroupSummary& WithState(ScheduleGroupState&& value) { SetState(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_arn;
108 bool m_arnHasBeenSet = false;
109
110 Aws::Utils::DateTime m_creationDate;
111 bool m_creationDateHasBeenSet = false;
112
113 Aws::Utils::DateTime m_lastModificationDate;
114 bool m_lastModificationDateHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 ScheduleGroupState m_state;
120 bool m_stateHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Scheduler
125} // namespace Aws
AWS_SCHEDULER_API ScheduleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
ScheduleGroupSummary & WithState(const ScheduleGroupState &value)
void SetLastModificationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModificationDate() const
ScheduleGroupSummary & WithArn(const char *value)
void SetState(const ScheduleGroupState &value)
void SetLastModificationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
ScheduleGroupSummary & WithState(ScheduleGroupState &&value)
ScheduleGroupSummary & WithCreationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
ScheduleGroupSummary & WithCreationDate(Aws::Utils::DateTime &&value)
ScheduleGroupSummary & WithLastModificationDate(const Aws::Utils::DateTime &value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleGroupSummary & WithName(Aws::String &&value)
const ScheduleGroupState & GetState() const
ScheduleGroupSummary & WithName(const Aws::String &value)
AWS_SCHEDULER_API ScheduleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleGroupSummary & WithName(const char *value)
ScheduleGroupSummary & WithArn(const Aws::String &value)
ScheduleGroupSummary & WithLastModificationDate(Aws::Utils::DateTime &&value)
ScheduleGroupSummary & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue