AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
LandingZoneOperationDetail.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/model/LandingZoneOperationStatus.h>
9#include <aws/controltower/model/LandingZoneOperationType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ControlTower {
23namespace Model {
24
31 public:
32 AWS_CONTROLTOWER_API LandingZoneOperationDetail() = default;
35 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
46 inline LandingZoneOperationType GetOperationType() const { return m_operationType; }
47 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
49 m_operationTypeHasBeenSet = true;
50 m_operationType = value;
51 }
53 SetOperationType(value);
54 return *this;
55 }
57
59
62 inline const Aws::String& GetOperationIdentifier() const { return m_operationIdentifier; }
63 inline bool OperationIdentifierHasBeenSet() const { return m_operationIdentifierHasBeenSet; }
64 template <typename OperationIdentifierT = Aws::String>
65 void SetOperationIdentifier(OperationIdentifierT&& value) {
66 m_operationIdentifierHasBeenSet = true;
67 m_operationIdentifier = std::forward<OperationIdentifierT>(value);
68 }
69 template <typename OperationIdentifierT = Aws::String>
70 LandingZoneOperationDetail& WithOperationIdentifier(OperationIdentifierT&& value) {
71 SetOperationIdentifier(std::forward<OperationIdentifierT>(value));
72 return *this;
73 }
75
77
83 inline LandingZoneOperationStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 m_statusHasBeenSet = true;
87 m_status = value;
88 }
90 SetStatus(value);
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
100 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
101 template <typename StartTimeT = Aws::Utils::DateTime>
102 void SetStartTime(StartTimeT&& value) {
103 m_startTimeHasBeenSet = true;
104 m_startTime = std::forward<StartTimeT>(value);
105 }
106 template <typename StartTimeT = Aws::Utils::DateTime>
108 SetStartTime(std::forward<StartTimeT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
118 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
119 template <typename EndTimeT = Aws::Utils::DateTime>
120 void SetEndTime(EndTimeT&& value) {
121 m_endTimeHasBeenSet = true;
122 m_endTime = std::forward<EndTimeT>(value);
123 }
124 template <typename EndTimeT = Aws::Utils::DateTime>
126 SetEndTime(std::forward<EndTimeT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
137 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
138 template <typename StatusMessageT = Aws::String>
139 void SetStatusMessage(StatusMessageT&& value) {
140 m_statusMessageHasBeenSet = true;
141 m_statusMessage = std::forward<StatusMessageT>(value);
142 }
143 template <typename StatusMessageT = Aws::String>
145 SetStatusMessage(std::forward<StatusMessageT>(value));
146 return *this;
147 }
149 private:
151
152 Aws::String m_operationIdentifier;
153
155
156 Aws::Utils::DateTime m_startTime{};
157
158 Aws::Utils::DateTime m_endTime{};
159
160 Aws::String m_statusMessage;
161 bool m_operationTypeHasBeenSet = false;
162 bool m_operationIdentifierHasBeenSet = false;
163 bool m_statusHasBeenSet = false;
164 bool m_startTimeHasBeenSet = false;
165 bool m_endTimeHasBeenSet = false;
166 bool m_statusMessageHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace ControlTower
171} // namespace Aws
LandingZoneOperationDetail & WithEndTime(EndTimeT &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
LandingZoneOperationDetail & WithStatusMessage(StatusMessageT &&value)
LandingZoneOperationDetail & WithOperationType(LandingZoneOperationType value)
AWS_CONTROLTOWER_API LandingZoneOperationDetail()=default
AWS_CONTROLTOWER_API LandingZoneOperationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
LandingZoneOperationDetail & WithStatus(LandingZoneOperationStatus value)
AWS_CONTROLTOWER_API LandingZoneOperationDetail(Aws::Utils::Json::JsonView jsonValue)
LandingZoneOperationDetail & WithStartTime(StartTimeT &&value)
LandingZoneOperationDetail & WithOperationIdentifier(OperationIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue