AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Wave.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/mgn/model/WaveAggregatedStatus.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 mgn
24{
25namespace Model
26{
27
28 class Wave
29 {
30 public:
31 AWS_MGN_API Wave();
32 AWS_MGN_API Wave(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MGN_API Wave& operator=(Aws::Utils::Json::JsonView jsonValue);
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
46 inline Wave& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline Wave& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline Wave& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const Aws::String& GetCreationDateTime() const{ return m_creationDateTime; }
56 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
57 inline void SetCreationDateTime(const Aws::String& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
58 inline void SetCreationDateTime(Aws::String&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
59 inline void SetCreationDateTime(const char* value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime.assign(value); }
60 inline Wave& WithCreationDateTime(const Aws::String& value) { SetCreationDateTime(value); return *this;}
61 inline Wave& WithCreationDateTime(Aws::String&& value) { SetCreationDateTime(std::move(value)); return *this;}
62 inline Wave& WithCreationDateTime(const char* value) { SetCreationDateTime(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline Wave& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline Wave& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline Wave& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline bool GetIsArchived() const{ return m_isArchived; }
84 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
85 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
86 inline Wave& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
88
90
93 inline const Aws::String& GetLastModifiedDateTime() const{ return m_lastModifiedDateTime; }
94 inline bool LastModifiedDateTimeHasBeenSet() const { return m_lastModifiedDateTimeHasBeenSet; }
95 inline void SetLastModifiedDateTime(const Aws::String& value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime = value; }
96 inline void SetLastModifiedDateTime(Aws::String&& value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime = std::move(value); }
97 inline void SetLastModifiedDateTime(const char* value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime.assign(value); }
98 inline Wave& WithLastModifiedDateTime(const Aws::String& value) { SetLastModifiedDateTime(value); return *this;}
99 inline Wave& WithLastModifiedDateTime(Aws::String&& value) { SetLastModifiedDateTime(std::move(value)); return *this;}
100 inline Wave& WithLastModifiedDateTime(const char* value) { SetLastModifiedDateTime(value); return *this;}
102
104
107 inline const Aws::String& GetName() const{ return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
110 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
111 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
112 inline Wave& WithName(const Aws::String& value) { SetName(value); return *this;}
113 inline Wave& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 inline Wave& WithName(const char* value) { SetName(value); return *this;}
116
118
121 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
122 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
123 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
124 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
125 inline Wave& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
126 inline Wave& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
127 inline Wave& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128 inline Wave& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
129 inline Wave& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
130 inline Wave& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
131 inline Wave& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
132 inline Wave& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
133 inline Wave& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
135
137
140 inline const WaveAggregatedStatus& GetWaveAggregatedStatus() const{ return m_waveAggregatedStatus; }
141 inline bool WaveAggregatedStatusHasBeenSet() const { return m_waveAggregatedStatusHasBeenSet; }
142 inline void SetWaveAggregatedStatus(const WaveAggregatedStatus& value) { m_waveAggregatedStatusHasBeenSet = true; m_waveAggregatedStatus = value; }
143 inline void SetWaveAggregatedStatus(WaveAggregatedStatus&& value) { m_waveAggregatedStatusHasBeenSet = true; m_waveAggregatedStatus = std::move(value); }
144 inline Wave& WithWaveAggregatedStatus(const WaveAggregatedStatus& value) { SetWaveAggregatedStatus(value); return *this;}
145 inline Wave& WithWaveAggregatedStatus(WaveAggregatedStatus&& value) { SetWaveAggregatedStatus(std::move(value)); return *this;}
147
149
152 inline const Aws::String& GetWaveID() const{ return m_waveID; }
153 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
154 inline void SetWaveID(const Aws::String& value) { m_waveIDHasBeenSet = true; m_waveID = value; }
155 inline void SetWaveID(Aws::String&& value) { m_waveIDHasBeenSet = true; m_waveID = std::move(value); }
156 inline void SetWaveID(const char* value) { m_waveIDHasBeenSet = true; m_waveID.assign(value); }
157 inline Wave& WithWaveID(const Aws::String& value) { SetWaveID(value); return *this;}
158 inline Wave& WithWaveID(Aws::String&& value) { SetWaveID(std::move(value)); return *this;}
159 inline Wave& WithWaveID(const char* value) { SetWaveID(value); return *this;}
161
163
164 inline const Aws::String& GetRequestId() const{ return m_requestId; }
165 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
166 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
167 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
168 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
169 inline Wave& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
170 inline Wave& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
171 inline Wave& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 private:
174
175 Aws::String m_arn;
176 bool m_arnHasBeenSet = false;
177
178 Aws::String m_creationDateTime;
179 bool m_creationDateTimeHasBeenSet = false;
180
181 Aws::String m_description;
182 bool m_descriptionHasBeenSet = false;
183
184 bool m_isArchived;
185 bool m_isArchivedHasBeenSet = false;
186
187 Aws::String m_lastModifiedDateTime;
188 bool m_lastModifiedDateTimeHasBeenSet = false;
189
190 Aws::String m_name;
191 bool m_nameHasBeenSet = false;
192
194 bool m_tagsHasBeenSet = false;
195
196 WaveAggregatedStatus m_waveAggregatedStatus;
197 bool m_waveAggregatedStatusHasBeenSet = false;
198
199 Aws::String m_waveID;
200 bool m_waveIDHasBeenSet = false;
201
202 Aws::String m_requestId;
203 bool m_requestIdHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace mgn
208} // namespace Aws
void SetLastModifiedDateTime(Aws::String &&value)
Definition Wave.h:96
Wave & WithLastModifiedDateTime(const Aws::String &value)
Definition Wave.h:98
void SetName(const Aws::String &value)
Definition Wave.h:109
AWS_MGN_API Wave(Aws::Utils::Json::JsonView jsonValue)
Wave & AddTags(Aws::String &&key, const Aws::String &value)
Definition Wave.h:128
Wave & WithName(const Aws::String &value)
Definition Wave.h:112
Wave & AddTags(const Aws::String &key, const Aws::String &value)
Definition Wave.h:127
void SetWaveID(const char *value)
Definition Wave.h:156
bool WaveIDHasBeenSet() const
Definition Wave.h:153
void SetName(const char *value)
Definition Wave.h:111
Wave & WithArn(const Aws::String &value)
Definition Wave.h:46
Wave & WithWaveID(const Aws::String &value)
Definition Wave.h:157
const Aws::String & GetRequestId() const
Definition Wave.h:164
Wave & WithDescription(const char *value)
Definition Wave.h:76
const WaveAggregatedStatus & GetWaveAggregatedStatus() const
Definition Wave.h:140
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
Wave & WithDescription(const Aws::String &value)
Definition Wave.h:74
Wave & WithLastModifiedDateTime(Aws::String &&value)
Definition Wave.h:99
Wave & AddTags(Aws::String &&key, Aws::String &&value)
Definition Wave.h:130
Wave & WithRequestId(Aws::String &&value)
Definition Wave.h:170
void SetArn(const char *value)
Definition Wave.h:45
Wave & WithDescription(Aws::String &&value)
Definition Wave.h:75
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Wave.h:121
Wave & AddTags(Aws::String &&key, const char *value)
Definition Wave.h:132
bool NameHasBeenSet() const
Definition Wave.h:108
void SetDescription(const Aws::String &value)
Definition Wave.h:71
void SetRequestId(const char *value)
Definition Wave.h:168
void SetName(Aws::String &&value)
Definition Wave.h:110
bool GetIsArchived() const
Definition Wave.h:83
void SetIsArchived(bool value)
Definition Wave.h:85
Wave & WithIsArchived(bool value)
Definition Wave.h:86
bool LastModifiedDateTimeHasBeenSet() const
Definition Wave.h:94
bool DescriptionHasBeenSet() const
Definition Wave.h:70
Wave & WithName(Aws::String &&value)
Definition Wave.h:113
void SetRequestId(const Aws::String &value)
Definition Wave.h:166
Wave & WithArn(const char *value)
Definition Wave.h:48
Wave & WithWaveID(Aws::String &&value)
Definition Wave.h:158
void SetWaveAggregatedStatus(const WaveAggregatedStatus &value)
Definition Wave.h:142
bool WaveAggregatedStatusHasBeenSet() const
Definition Wave.h:141
AWS_MGN_API Wave()
bool TagsHasBeenSet() const
Definition Wave.h:122
void SetCreationDateTime(Aws::String &&value)
Definition Wave.h:58
Wave & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Wave.h:126
Wave & WithCreationDateTime(Aws::String &&value)
Definition Wave.h:61
void SetWaveID(const Aws::String &value)
Definition Wave.h:154
const Aws::String & GetName() const
Definition Wave.h:107
Wave & WithRequestId(const Aws::String &value)
Definition Wave.h:169
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Wave.h:124
const Aws::String & GetDescription() const
Definition Wave.h:69
void SetRequestId(Aws::String &&value)
Definition Wave.h:167
Wave & WithCreationDateTime(const Aws::String &value)
Definition Wave.h:60
bool RequestIdHasBeenSet() const
Definition Wave.h:165
bool CreationDateTimeHasBeenSet() const
Definition Wave.h:56
Wave & WithArn(Aws::String &&value)
Definition Wave.h:47
void SetLastModifiedDateTime(const Aws::String &value)
Definition Wave.h:95
bool ArnHasBeenSet() const
Definition Wave.h:42
Wave & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Wave.h:125
void SetWaveAggregatedStatus(WaveAggregatedStatus &&value)
Definition Wave.h:143
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Wave.h:123
void SetLastModifiedDateTime(const char *value)
Definition Wave.h:97
void SetDescription(const char *value)
Definition Wave.h:73
void SetCreationDateTime(const Aws::String &value)
Definition Wave.h:57
const Aws::String & GetCreationDateTime() const
Definition Wave.h:55
Wave & WithRequestId(const char *value)
Definition Wave.h:171
void SetWaveID(Aws::String &&value)
Definition Wave.h:155
void SetArn(Aws::String &&value)
Definition Wave.h:44
Wave & WithCreationDateTime(const char *value)
Definition Wave.h:62
Wave & WithName(const char *value)
Definition Wave.h:114
Wave & AddTags(const Aws::String &key, Aws::String &&value)
Definition Wave.h:129
Wave & WithWaveAggregatedStatus(WaveAggregatedStatus &&value)
Definition Wave.h:145
void SetArn(const Aws::String &value)
Definition Wave.h:43
Wave & AddTags(const char *key, const char *value)
Definition Wave.h:133
const Aws::String & GetWaveID() const
Definition Wave.h:152
void SetCreationDateTime(const char *value)
Definition Wave.h:59
bool IsArchivedHasBeenSet() const
Definition Wave.h:84
void SetDescription(Aws::String &&value)
Definition Wave.h:72
const Aws::String & GetLastModifiedDateTime() const
Definition Wave.h:93
Wave & AddTags(const char *key, Aws::String &&value)
Definition Wave.h:131
const Aws::String & GetArn() const
Definition Wave.h:41
AWS_MGN_API Wave & operator=(Aws::Utils::Json::JsonView jsonValue)
Wave & WithLastModifiedDateTime(const char *value)
Definition Wave.h:100
Wave & WithWaveAggregatedStatus(const WaveAggregatedStatus &value)
Definition Wave.h:144
Wave & WithWaveID(const char *value)
Definition Wave.h:159
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue