AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
42 inline void SetExecutionId(const Aws::String& value) { m_executionId = value; }
43 inline void SetExecutionId(Aws::String&& value) { m_executionId = std::move(value); }
44 inline void SetExecutionId(const char* value) { m_executionId.assign(value); }
45 inline DescribeExecutionResult& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
46 inline DescribeExecutionResult& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
47 inline DescribeExecutionResult& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
55 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
56 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
58 inline DescribeExecutionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetManagedDeviceId() const{ return m_managedDeviceId; }
66 inline void SetManagedDeviceId(const Aws::String& value) { m_managedDeviceId = value; }
67 inline void SetManagedDeviceId(Aws::String&& value) { m_managedDeviceId = std::move(value); }
68 inline void SetManagedDeviceId(const char* value) { m_managedDeviceId.assign(value); }
69 inline DescribeExecutionResult& WithManagedDeviceId(const Aws::String& value) { SetManagedDeviceId(value); return *this;}
70 inline DescribeExecutionResult& WithManagedDeviceId(Aws::String&& value) { SetManagedDeviceId(std::move(value)); return *this;}
71 inline DescribeExecutionResult& WithManagedDeviceId(const char* value) { SetManagedDeviceId(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
79 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
80 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
81 inline DescribeExecutionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
82 inline DescribeExecutionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
84
86
89 inline const ExecutionState& GetState() const{ return m_state; }
90 inline void SetState(const ExecutionState& value) { m_state = value; }
91 inline void SetState(ExecutionState&& value) { m_state = std::move(value); }
92 inline DescribeExecutionResult& WithState(const ExecutionState& value) { SetState(value); return *this;}
93 inline DescribeExecutionResult& WithState(ExecutionState&& value) { SetState(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetTaskId() const{ return m_taskId; }
101 inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
102 inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
103 inline void SetTaskId(const char* value) { m_taskId.assign(value); }
104 inline DescribeExecutionResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
105 inline DescribeExecutionResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
106 inline DescribeExecutionResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline DescribeExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline DescribeExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline DescribeExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Aws::String m_executionId;
122
123 Aws::Utils::DateTime m_lastUpdatedAt;
124
125 Aws::String m_managedDeviceId;
126
127 Aws::Utils::DateTime m_startedAt;
128
129 ExecutionState m_state;
130
131 Aws::String m_taskId;
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace SnowDeviceManagement
138} // namespace Aws
DescribeExecutionResult & WithExecutionId(const char *value)
DescribeExecutionResult & WithRequestId(const Aws::String &value)
DescribeExecutionResult & WithManagedDeviceId(Aws::String &&value)
DescribeExecutionResult & WithExecutionId(Aws::String &&value)
DescribeExecutionResult & WithState(const ExecutionState &value)
DescribeExecutionResult & WithStartedAt(const Aws::Utils::DateTime &value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithState(ExecutionState &&value)
DescribeExecutionResult & WithTaskId(Aws::String &&value)
DescribeExecutionResult & WithManagedDeviceId(const Aws::String &value)
DescribeExecutionResult & WithTaskId(const char *value)
DescribeExecutionResult & WithExecutionId(const Aws::String &value)
DescribeExecutionResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
DescribeExecutionResult & WithManagedDeviceId(const char *value)
DescribeExecutionResult & WithRequestId(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithTaskId(const Aws::String &value)
DescribeExecutionResult & WithRequestId(Aws::String &&value)
DescribeExecutionResult & WithStartedAt(Aws::Utils::DateTime &&value)
DescribeExecutionResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue