AWS SDK for C++  1.9.108
AWS SDK for C++
JobListEntry.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace Snowball
26 {
27 namespace Model
28 {
29 
38  {
39  public:
44 
45 
50  inline const Aws::String& GetJobId() const{ return m_jobId; }
51 
56  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
57 
62  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
63 
68  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
69 
74  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
75 
80  inline JobListEntry& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
81 
86  inline JobListEntry& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
87 
92  inline JobListEntry& WithJobId(const char* value) { SetJobId(value); return *this;}
93 
94 
98  inline const JobState& GetJobState() const{ return m_jobState; }
99 
103  inline bool JobStateHasBeenSet() const { return m_jobStateHasBeenSet; }
104 
108  inline void SetJobState(const JobState& value) { m_jobStateHasBeenSet = true; m_jobState = value; }
109 
113  inline void SetJobState(JobState&& value) { m_jobStateHasBeenSet = true; m_jobState = std::move(value); }
114 
118  inline JobListEntry& WithJobState(const JobState& value) { SetJobState(value); return *this;}
119 
123  inline JobListEntry& WithJobState(JobState&& value) { SetJobState(std::move(value)); return *this;}
124 
125 
134  inline bool GetIsMaster() const{ return m_isMaster; }
135 
144  inline bool IsMasterHasBeenSet() const { return m_isMasterHasBeenSet; }
145 
154  inline void SetIsMaster(bool value) { m_isMasterHasBeenSet = true; m_isMaster = value; }
155 
164  inline JobListEntry& WithIsMaster(bool value) { SetIsMaster(value); return *this;}
165 
166 
170  inline const JobType& GetJobType() const{ return m_jobType; }
171 
175  inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
176 
180  inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
181 
185  inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
186 
190  inline JobListEntry& WithJobType(const JobType& value) { SetJobType(value); return *this;}
191 
195  inline JobListEntry& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
196 
197 
201  inline const SnowballType& GetSnowballType() const{ return m_snowballType; }
202 
206  inline bool SnowballTypeHasBeenSet() const { return m_snowballTypeHasBeenSet; }
207 
211  inline void SetSnowballType(const SnowballType& value) { m_snowballTypeHasBeenSet = true; m_snowballType = value; }
212 
216  inline void SetSnowballType(SnowballType&& value) { m_snowballTypeHasBeenSet = true; m_snowballType = std::move(value); }
217 
221  inline JobListEntry& WithSnowballType(const SnowballType& value) { SetSnowballType(value); return *this;}
222 
226  inline JobListEntry& WithSnowballType(SnowballType&& value) { SetSnowballType(std::move(value)); return *this;}
227 
228 
232  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
233 
237  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
238 
242  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
243 
247  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
248 
252  inline JobListEntry& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
253 
257  inline JobListEntry& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
258 
259 
264  inline const Aws::String& GetDescription() const{ return m_description; }
265 
270  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
271 
276  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
277 
282  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
283 
288  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
289 
294  inline JobListEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
295 
300  inline JobListEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
301 
306  inline JobListEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
307 
308  private:
309 
310  Aws::String m_jobId;
311  bool m_jobIdHasBeenSet;
312 
313  JobState m_jobState;
314  bool m_jobStateHasBeenSet;
315 
316  bool m_isMaster;
317  bool m_isMasterHasBeenSet;
318 
319  JobType m_jobType;
320  bool m_jobTypeHasBeenSet;
321 
322  SnowballType m_snowballType;
323  bool m_snowballTypeHasBeenSet;
324 
325  Aws::Utils::DateTime m_creationDate;
326  bool m_creationDateHasBeenSet;
327 
328  Aws::String m_description;
329  bool m_descriptionHasBeenSet;
330  };
331 
332 } // namespace Model
333 } // namespace Snowball
334 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Snowball::Model::JobListEntry::GetSnowballType
const SnowballType & GetSnowballType() const
Definition: JobListEntry.h:201
Aws::Snowball::Model::JobListEntry::WithDescription
JobListEntry & WithDescription(const char *value)
Definition: JobListEntry.h:306
Aws::Snowball::Model::JobListEntry::SetJobState
void SetJobState(JobState &&value)
Definition: JobListEntry.h:113
Aws::Snowball::Model::JobListEntry::SetSnowballType
void SetSnowballType(SnowballType &&value)
Definition: JobListEntry.h:216
Aws::Snowball::Model::JobListEntry::WithSnowballType
JobListEntry & WithSnowballType(const SnowballType &value)
Definition: JobListEntry.h:221
Aws::Snowball::Model::JobListEntry::SetDescription
void SetDescription(const char *value)
Definition: JobListEntry.h:288
Aws::Snowball::Model::JobListEntry::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: JobListEntry.h:242
Aws::Snowball::Model::JobListEntry::SetSnowballType
void SetSnowballType(const SnowballType &value)
Definition: JobListEntry.h:211
Aws::Snowball::Model::JobListEntry::GetIsMaster
bool GetIsMaster() const
Definition: JobListEntry.h:134
DateTime.h
Aws::Snowball::Model::JobListEntry::WithCreationDate
JobListEntry & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: JobListEntry.h:257
Aws::Snowball::Model::JobListEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Snowball::Model::JobListEntry::SetJobType
void SetJobType(JobType &&value)
Definition: JobListEntry.h:185
Aws::Snowball::Model::JobListEntry::JobListEntry
JobListEntry(Aws::Utils::Json::JsonView jsonValue)
SnowballType.h
Aws::Snowball::Model::JobListEntry::GetDescription
const Aws::String & GetDescription() const
Definition: JobListEntry.h:264
JobState.h
JobType.h
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::JobType
JobType
Definition: JobType.h:17
Aws::Snowball::Model::JobListEntry::GetJobType
const JobType & GetJobType() const
Definition: JobListEntry.h:170
Aws::Snowball::Model::JobListEntry::JobStateHasBeenSet
bool JobStateHasBeenSet() const
Definition: JobListEntry.h:103
Aws::Snowball::Model::JobListEntry::operator=
JobListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::JobListEntry::JobListEntry
JobListEntry()
Aws::Snowball::Model::JobListEntry::SetDescription
void SetDescription(const Aws::String &value)
Definition: JobListEntry.h:276
Aws::Snowball::Model::JobListEntry::SetJobId
void SetJobId(const char *value)
Definition: JobListEntry.h:74
Aws::Snowball::Model::JobListEntry::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: JobListEntry.h:270
Aws::Snowball::Model::JobListEntry::WithCreationDate
JobListEntry & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: JobListEntry.h:252
Aws::Snowball::Model::JobListEntry::WithJobId
JobListEntry & WithJobId(const char *value)
Definition: JobListEntry.h:92
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Snowball::Model::JobListEntry::WithJobType
JobListEntry & WithJobType(JobType &&value)
Definition: JobListEntry.h:195
Aws::Snowball::Model::JobListEntry::WithDescription
JobListEntry & WithDescription(const Aws::String &value)
Definition: JobListEntry.h:294
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::JobListEntry::SetJobState
void SetJobState(const JobState &value)
Definition: JobListEntry.h:108
Aws::Snowball::Model::JobListEntry
Definition: JobListEntry.h:38
Aws::Snowball::Model::JobListEntry::SetIsMaster
void SetIsMaster(bool value)
Definition: JobListEntry.h:154
Aws::Snowball::Model::JobListEntry::IsMasterHasBeenSet
bool IsMasterHasBeenSet() const
Definition: JobListEntry.h:144
Aws::Snowball::Model::JobListEntry::WithJobState
JobListEntry & WithJobState(const JobState &value)
Definition: JobListEntry.h:118
Aws::Snowball::Model::JobListEntry::WithJobId
JobListEntry & WithJobId(Aws::String &&value)
Definition: JobListEntry.h:86
Aws::Snowball::Model::JobListEntry::SnowballTypeHasBeenSet
bool SnowballTypeHasBeenSet() const
Definition: JobListEntry.h:206
Aws::Snowball::Model::JobListEntry::WithDescription
JobListEntry & WithDescription(Aws::String &&value)
Definition: JobListEntry.h:300
Aws::Snowball::Model::JobListEntry::WithJobType
JobListEntry & WithJobType(const JobType &value)
Definition: JobListEntry.h:190
Aws::Snowball::Model::JobListEntry::WithJobState
JobListEntry & WithJobState(JobState &&value)
Definition: JobListEntry.h:123
Aws::Snowball::Model::JobListEntry::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: JobListEntry.h:247
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::JobListEntry::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: JobListEntry.h:237
Aws::Snowball::Model::JobListEntry::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: JobListEntry.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::JobListEntry::SetJobId
void SetJobId(const Aws::String &value)
Definition: JobListEntry.h:62
Aws::Snowball::Model::JobListEntry::SetJobId
void SetJobId(Aws::String &&value)
Definition: JobListEntry.h:68
Aws::Snowball::Model::JobListEntry::JobTypeHasBeenSet
bool JobTypeHasBeenSet() const
Definition: JobListEntry.h:175
Aws::Snowball::Model::JobListEntry::SetJobType
void SetJobType(const JobType &value)
Definition: JobListEntry.h:180
Aws::Snowball::Model::JobListEntry::GetJobId
const Aws::String & GetJobId() const
Definition: JobListEntry.h:50
Snowball_EXPORTS.h
Aws::Snowball::Model::JobListEntry::WithJobId
JobListEntry & WithJobId(const Aws::String &value)
Definition: JobListEntry.h:80
Aws::Snowball::Model::JobListEntry::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: JobListEntry.h:232
Aws::Snowball::Model::JobListEntry::GetJobState
const JobState & GetJobState() const
Definition: JobListEntry.h:98
Aws::Snowball::Model::JobListEntry::WithSnowballType
JobListEntry & WithSnowballType(SnowballType &&value)
Definition: JobListEntry.h:226
Aws::Snowball::Model::JobState
JobState
Definition: JobState.h:17
Aws::Snowball::Model::JobListEntry::WithIsMaster
JobListEntry & WithIsMaster(bool value)
Definition: JobListEntry.h:164
Aws::Snowball::Model::SnowballType
SnowballType
Definition: SnowballType.h:17
Aws::Snowball::Model::JobListEntry::SetDescription
void SetDescription(Aws::String &&value)
Definition: JobListEntry.h:282