AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionSummary.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/snow-device-management/model/ExecutionState.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SnowDeviceManagement
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SNOWDEVICEMANAGEMENT_API ExecutionSummary();
37 AWS_SNOWDEVICEMANAGEMENT_API ExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SNOWDEVICEMANAGEMENT_API ExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
47 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
48 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
49 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
50 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
51 inline ExecutionSummary& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
52 inline ExecutionSummary& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
53 inline ExecutionSummary& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
55
57
60 inline const Aws::String& GetManagedDeviceId() const{ return m_managedDeviceId; }
61 inline bool ManagedDeviceIdHasBeenSet() const { return m_managedDeviceIdHasBeenSet; }
62 inline void SetManagedDeviceId(const Aws::String& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = value; }
63 inline void SetManagedDeviceId(Aws::String&& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = std::move(value); }
64 inline void SetManagedDeviceId(const char* value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId.assign(value); }
65 inline ExecutionSummary& WithManagedDeviceId(const Aws::String& value) { SetManagedDeviceId(value); return *this;}
66 inline ExecutionSummary& WithManagedDeviceId(Aws::String&& value) { SetManagedDeviceId(std::move(value)); return *this;}
67 inline ExecutionSummary& WithManagedDeviceId(const char* value) { SetManagedDeviceId(value); return *this;}
69
71
74 inline const ExecutionState& GetState() const{ return m_state; }
75 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
76 inline void SetState(const ExecutionState& value) { m_stateHasBeenSet = true; m_state = value; }
77 inline void SetState(ExecutionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
78 inline ExecutionSummary& WithState(const ExecutionState& value) { SetState(value); return *this;}
79 inline ExecutionSummary& WithState(ExecutionState&& value) { SetState(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetTaskId() const{ return m_taskId; }
87 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
88 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
89 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
90 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
91 inline ExecutionSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
92 inline ExecutionSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
93 inline ExecutionSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;}
95 private:
96
97 Aws::String m_executionId;
98 bool m_executionIdHasBeenSet = false;
99
100 Aws::String m_managedDeviceId;
101 bool m_managedDeviceIdHasBeenSet = false;
102
103 ExecutionState m_state;
104 bool m_stateHasBeenSet = false;
105
106 Aws::String m_taskId;
107 bool m_taskIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SnowDeviceManagement
112} // namespace Aws
ExecutionSummary & WithExecutionId(const Aws::String &value)
ExecutionSummary & WithState(ExecutionState &&value)
ExecutionSummary & WithTaskId(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API ExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionSummary & WithManagedDeviceId(Aws::String &&value)
ExecutionSummary & WithManagedDeviceId(const Aws::String &value)
AWS_SNOWDEVICEMANAGEMENT_API ExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
ExecutionSummary & WithExecutionId(Aws::String &&value)
ExecutionSummary & WithTaskId(Aws::String &&value)
ExecutionSummary & WithState(const ExecutionState &value)
ExecutionSummary & WithExecutionId(const char *value)
ExecutionSummary & WithTaskId(const Aws::String &value)
ExecutionSummary & WithManagedDeviceId(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API ExecutionSummary()
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue