AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMaintenanceWindowExecutionResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/model/MaintenanceWindowExecutionStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SSM
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
43 inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionId = value; }
44 inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionId = std::move(value); }
45 inline void SetWindowExecutionId(const char* value) { m_windowExecutionId.assign(value); }
48 inline GetMaintenanceWindowExecutionResult& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetTaskIds() const{ return m_taskIds; }
56 inline void SetTaskIds(const Aws::Vector<Aws::String>& value) { m_taskIds = value; }
57 inline void SetTaskIds(Aws::Vector<Aws::String>&& value) { m_taskIds = std::move(value); }
59 inline GetMaintenanceWindowExecutionResult& WithTaskIds(Aws::Vector<Aws::String>&& value) { SetTaskIds(std::move(value)); return *this;}
60 inline GetMaintenanceWindowExecutionResult& AddTaskIds(const Aws::String& value) { m_taskIds.push_back(value); return *this; }
61 inline GetMaintenanceWindowExecutionResult& AddTaskIds(Aws::String&& value) { m_taskIds.push_back(std::move(value)); return *this; }
62 inline GetMaintenanceWindowExecutionResult& AddTaskIds(const char* value) { m_taskIds.push_back(value); return *this; }
64
66
69 inline const MaintenanceWindowExecutionStatus& GetStatus() const{ return m_status; }
70 inline void SetStatus(const MaintenanceWindowExecutionStatus& value) { m_status = value; }
71 inline void SetStatus(MaintenanceWindowExecutionStatus&& value) { m_status = std::move(value); }
75
77
80 inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
81 inline void SetStatusDetails(const Aws::String& value) { m_statusDetails = value; }
82 inline void SetStatusDetails(Aws::String&& value) { m_statusDetails = std::move(value); }
83 inline void SetStatusDetails(const char* value) { m_statusDetails.assign(value); }
85 inline GetMaintenanceWindowExecutionResult& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;}
86 inline GetMaintenanceWindowExecutionResult& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
94 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
95 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
97 inline GetMaintenanceWindowExecutionResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
105 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
106 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
108 inline GetMaintenanceWindowExecutionResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline GetMaintenanceWindowExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline GetMaintenanceWindowExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline GetMaintenanceWindowExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_windowExecutionId;
124
125 Aws::Vector<Aws::String> m_taskIds;
126
128
129 Aws::String m_statusDetails;
130
131 Aws::Utils::DateTime m_startTime;
132
133 Aws::Utils::DateTime m_endTime;
134
135 Aws::String m_requestId;
136 };
137
138} // namespace Model
139} // namespace SSM
140} // namespace Aws
GetMaintenanceWindowExecutionResult & WithTaskIds(const Aws::Vector< Aws::String > &value)
GetMaintenanceWindowExecutionResult & WithEndTime(Aws::Utils::DateTime &&value)
GetMaintenanceWindowExecutionResult & AddTaskIds(const char *value)
GetMaintenanceWindowExecutionResult & AddTaskIds(Aws::String &&value)
GetMaintenanceWindowExecutionResult & WithStatus(MaintenanceWindowExecutionStatus &&value)
AWS_SSM_API GetMaintenanceWindowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMaintenanceWindowExecutionResult & WithWindowExecutionId(const char *value)
GetMaintenanceWindowExecutionResult & WithRequestId(const char *value)
GetMaintenanceWindowExecutionResult & AddTaskIds(const Aws::String &value)
AWS_SSM_API GetMaintenanceWindowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMaintenanceWindowExecutionResult & WithWindowExecutionId(const Aws::String &value)
GetMaintenanceWindowExecutionResult & WithRequestId(const Aws::String &value)
GetMaintenanceWindowExecutionResult & WithStatusDetails(const Aws::String &value)
GetMaintenanceWindowExecutionResult & WithStartTime(const Aws::Utils::DateTime &value)
GetMaintenanceWindowExecutionResult & WithStatus(const MaintenanceWindowExecutionStatus &value)
GetMaintenanceWindowExecutionResult & WithStatusDetails(Aws::String &&value)
GetMaintenanceWindowExecutionResult & WithWindowExecutionId(Aws::String &&value)
GetMaintenanceWindowExecutionResult & WithTaskIds(Aws::Vector< Aws::String > &&value)
GetMaintenanceWindowExecutionResult & WithRequestId(Aws::String &&value)
GetMaintenanceWindowExecutionResult & WithStatusDetails(const char *value)
const MaintenanceWindowExecutionStatus & GetStatus() const
GetMaintenanceWindowExecutionResult & WithStartTime(Aws::Utils::DateTime &&value)
void SetStatus(const MaintenanceWindowExecutionStatus &value)
GetMaintenanceWindowExecutionResult & WithEndTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue