AWS SDK for C++  1.9.160
AWS SDK for C++
TaskExecutionListEntry.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace DataSync
23 {
24 namespace Model
25 {
26 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetTaskExecutionArn() const{ return m_taskExecutionArn; }
49 
53  inline bool TaskExecutionArnHasBeenSet() const { return m_taskExecutionArnHasBeenSet; }
54 
58  inline void SetTaskExecutionArn(const Aws::String& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = value; }
59 
63  inline void SetTaskExecutionArn(Aws::String&& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = std::move(value); }
64 
68  inline void SetTaskExecutionArn(const char* value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn.assign(value); }
69 
73  inline TaskExecutionListEntry& WithTaskExecutionArn(const Aws::String& value) { SetTaskExecutionArn(value); return *this;}
74 
78  inline TaskExecutionListEntry& WithTaskExecutionArn(Aws::String&& value) { SetTaskExecutionArn(std::move(value)); return *this;}
79 
83  inline TaskExecutionListEntry& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(value); return *this;}
84 
85 
89  inline const TaskExecutionStatus& GetStatus() const{ return m_status; }
90 
94  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 
99  inline void SetStatus(const TaskExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
100 
104  inline void SetStatus(TaskExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 
109  inline TaskExecutionListEntry& WithStatus(const TaskExecutionStatus& value) { SetStatus(value); return *this;}
110 
114  inline TaskExecutionListEntry& WithStatus(TaskExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
115 
116  private:
117 
118  Aws::String m_taskExecutionArn;
119  bool m_taskExecutionArnHasBeenSet;
120 
121  TaskExecutionStatus m_status;
122  bool m_statusHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace DataSync
127 } // namespace Aws
Aws::DataSync::Model::TaskExecutionListEntry::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TaskExecutionListEntry.h:94
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::TaskExecutionListEntry::TaskExecutionListEntry
TaskExecutionListEntry()
Aws::DataSync::Model::TaskExecutionListEntry::SetStatus
void SetStatus(const TaskExecutionStatus &value)
Definition: TaskExecutionListEntry.h:99
Aws::DataSync::Model::TaskExecutionListEntry::SetTaskExecutionArn
void SetTaskExecutionArn(const char *value)
Definition: TaskExecutionListEntry.h:68
TaskExecutionStatus.h
Aws::DataSync::Model::TaskExecutionListEntry::TaskExecutionListEntry
TaskExecutionListEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::DataSync::Model::TaskExecutionListEntry::GetTaskExecutionArn
const Aws::String & GetTaskExecutionArn() const
Definition: TaskExecutionListEntry.h:48
Aws::DataSync::Model::TaskExecutionListEntry::WithTaskExecutionArn
TaskExecutionListEntry & WithTaskExecutionArn(const Aws::String &value)
Definition: TaskExecutionListEntry.h:73
Aws::DataSync::Model::TaskExecutionListEntry::SetStatus
void SetStatus(TaskExecutionStatus &&value)
Definition: TaskExecutionListEntry.h:104
Aws::DataSync::Model::TaskExecutionListEntry::SetTaskExecutionArn
void SetTaskExecutionArn(Aws::String &&value)
Definition: TaskExecutionListEntry.h:63
Aws::DataSync::Model::TaskExecutionListEntry::WithTaskExecutionArn
TaskExecutionListEntry & WithTaskExecutionArn(const char *value)
Definition: TaskExecutionListEntry.h:83
Aws::DataSync::Model::TaskExecutionListEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DataSync::Model::TaskExecutionListEntry::operator=
TaskExecutionListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DataSync::Model::TaskExecutionListEntry::WithTaskExecutionArn
TaskExecutionListEntry & WithTaskExecutionArn(Aws::String &&value)
Definition: TaskExecutionListEntry.h:78
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DataSync::Model::TaskExecutionStatus
TaskExecutionStatus
Definition: TaskExecutionStatus.h:17
DataSync_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::DataSync::Model::TaskExecutionListEntry::WithStatus
TaskExecutionListEntry & WithStatus(const TaskExecutionStatus &value)
Definition: TaskExecutionListEntry.h:109
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::TaskExecutionListEntry::GetStatus
const TaskExecutionStatus & GetStatus() const
Definition: TaskExecutionListEntry.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::TaskExecutionListEntry::SetTaskExecutionArn
void SetTaskExecutionArn(const Aws::String &value)
Definition: TaskExecutionListEntry.h:58
Aws::DataSync::Model::TaskExecutionListEntry::TaskExecutionArnHasBeenSet
bool TaskExecutionArnHasBeenSet() const
Definition: TaskExecutionListEntry.h:53
Aws::DataSync::Model::TaskExecutionListEntry
Definition: TaskExecutionListEntry.h:37
Aws::DataSync::Model::TaskExecutionListEntry::WithStatus
TaskExecutionListEntry & WithStatus(TaskExecutionStatus &&value)
Definition: TaskExecutionListEntry.h:114