AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskExecutionListEntry.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/TaskExecutionStatus.h>
10#include <aws/datasync/model/TaskMode.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 DataSync
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_DATASYNC_API TaskExecutionListEntry();
42 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetTaskExecutionArn() const{ return m_taskExecutionArn; }
50 inline bool TaskExecutionArnHasBeenSet() const { return m_taskExecutionArnHasBeenSet; }
51 inline void SetTaskExecutionArn(const Aws::String& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = value; }
52 inline void SetTaskExecutionArn(Aws::String&& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = std::move(value); }
53 inline void SetTaskExecutionArn(const char* value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn.assign(value); }
54 inline TaskExecutionListEntry& WithTaskExecutionArn(const Aws::String& value) { SetTaskExecutionArn(value); return *this;}
55 inline TaskExecutionListEntry& WithTaskExecutionArn(Aws::String&& value) { SetTaskExecutionArn(std::move(value)); return *this;}
56 inline TaskExecutionListEntry& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(value); return *this;}
58
60
65 inline const TaskExecutionStatus& GetStatus() const{ return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 inline void SetStatus(const TaskExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
68 inline void SetStatus(TaskExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
69 inline TaskExecutionListEntry& WithStatus(const TaskExecutionStatus& value) { SetStatus(value); return *this;}
70 inline TaskExecutionListEntry& WithStatus(TaskExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
72
74
79 inline const TaskMode& GetTaskMode() const{ return m_taskMode; }
80 inline bool TaskModeHasBeenSet() const { return m_taskModeHasBeenSet; }
81 inline void SetTaskMode(const TaskMode& value) { m_taskModeHasBeenSet = true; m_taskMode = value; }
82 inline void SetTaskMode(TaskMode&& value) { m_taskModeHasBeenSet = true; m_taskMode = std::move(value); }
83 inline TaskExecutionListEntry& WithTaskMode(const TaskMode& value) { SetTaskMode(value); return *this;}
84 inline TaskExecutionListEntry& WithTaskMode(TaskMode&& value) { SetTaskMode(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_taskExecutionArn;
89 bool m_taskExecutionArnHasBeenSet = false;
90
91 TaskExecutionStatus m_status;
92 bool m_statusHasBeenSet = false;
93
94 TaskMode m_taskMode;
95 bool m_taskModeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace DataSync
100} // namespace Aws
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const TaskMode & GetTaskMode() const
TaskExecutionListEntry & WithTaskMode(TaskMode &&value)
TaskExecutionListEntry & WithTaskExecutionArn(const Aws::String &value)
AWS_DATASYNC_API TaskExecutionListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTaskMode(TaskMode &&value)
TaskExecutionListEntry & WithTaskMode(const TaskMode &value)
void SetTaskExecutionArn(Aws::String &&value)
const Aws::String & GetTaskExecutionArn() const
bool TaskModeHasBeenSet() const
TaskExecutionListEntry & WithStatus(const TaskExecutionStatus &value)
bool StatusHasBeenSet() const
void SetStatus(TaskExecutionStatus &&value)
TaskExecutionListEntry & WithTaskExecutionArn(const char *value)
bool TaskExecutionArnHasBeenSet() const
AWS_DATASYNC_API TaskExecutionListEntry()
TaskExecutionListEntry & WithStatus(TaskExecutionStatus &&value)
void SetStatus(const TaskExecutionStatus &value)
AWS_DATASYNC_API TaskExecutionListEntry(Aws::Utils::Json::JsonView jsonValue)
void SetTaskMode(const TaskMode &value)
void SetTaskExecutionArn(const char *value)
const TaskExecutionStatus & GetStatus() const
void SetTaskExecutionArn(const Aws::String &value)
TaskExecutionListEntry & WithTaskExecutionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue