AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeExecutionResult.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/core/utils/DateTime.h>
10#include <aws/snow-device-management/model/ExecutionState.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SnowDeviceManagement
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult() = default;
35
36
38
41 inline const Aws::String& GetExecutionId() const { return m_executionId; }
42 template<typename ExecutionIdT = Aws::String>
43 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet = true; m_executionId = std::forward<ExecutionIdT>(value); }
44 template<typename ExecutionIdT = Aws::String>
45 DescribeExecutionResult& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
53 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
54 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
55 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
56 DescribeExecutionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
58
60
63 inline const Aws::String& GetManagedDeviceId() const { return m_managedDeviceId; }
64 template<typename ManagedDeviceIdT = Aws::String>
65 void SetManagedDeviceId(ManagedDeviceIdT&& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = std::forward<ManagedDeviceIdT>(value); }
66 template<typename ManagedDeviceIdT = Aws::String>
67 DescribeExecutionResult& WithManagedDeviceId(ManagedDeviceIdT&& value) { SetManagedDeviceId(std::forward<ManagedDeviceIdT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
75 template<typename StartedAtT = Aws::Utils::DateTime>
76 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
77 template<typename StartedAtT = Aws::Utils::DateTime>
78 DescribeExecutionResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
80
82
85 inline ExecutionState GetState() const { return m_state; }
86 inline void SetState(ExecutionState value) { m_stateHasBeenSet = true; m_state = value; }
87 inline DescribeExecutionResult& WithState(ExecutionState value) { SetState(value); return *this;}
89
91
94 inline const Aws::String& GetTaskId() const { return m_taskId; }
95 template<typename TaskIdT = Aws::String>
96 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
97 template<typename TaskIdT = Aws::String>
98 DescribeExecutionResult& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template<typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
106 template<typename RequestIdT = Aws::String>
107 DescribeExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_executionId;
112 bool m_executionIdHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastUpdatedAt{};
115 bool m_lastUpdatedAtHasBeenSet = false;
116
117 Aws::String m_managedDeviceId;
118 bool m_managedDeviceIdHasBeenSet = false;
119
120 Aws::Utils::DateTime m_startedAt{};
121 bool m_startedAtHasBeenSet = false;
122
124 bool m_stateHasBeenSet = false;
125
126 Aws::String m_taskId;
127 bool m_taskIdHasBeenSet = false;
128
129 Aws::String m_requestId;
130 bool m_requestIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SnowDeviceManagement
135} // namespace Aws
DescribeExecutionResult & WithManagedDeviceId(ManagedDeviceIdT &&value)
DescribeExecutionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithState(ExecutionState value)
DescribeExecutionResult & WithExecutionId(ExecutionIdT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithRequestId(RequestIdT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult()=default
DescribeExecutionResult & WithStartedAt(StartedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue