AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LandingZoneOperationDetail.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/controltower/model/LandingZoneOperationType.h>
11#include <aws/controltower/model/LandingZoneOperationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ControlTower
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONTROLTOWER_API LandingZoneOperationDetail() = default;
40 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
48 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
49 template<typename EndTimeT = Aws::Utils::DateTime>
50 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
51 template<typename EndTimeT = Aws::Utils::DateTime>
52 LandingZoneOperationDetail& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
54
56
59 inline const Aws::String& GetOperationIdentifier() const { return m_operationIdentifier; }
60 inline bool OperationIdentifierHasBeenSet() const { return m_operationIdentifierHasBeenSet; }
61 template<typename OperationIdentifierT = Aws::String>
62 void SetOperationIdentifier(OperationIdentifierT&& value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier = std::forward<OperationIdentifierT>(value); }
63 template<typename OperationIdentifierT = Aws::String>
64 LandingZoneOperationDetail& WithOperationIdentifier(OperationIdentifierT&& value) { SetOperationIdentifier(std::forward<OperationIdentifierT>(value)); return *this;}
66
68
76 inline LandingZoneOperationType GetOperationType() const { return m_operationType; }
77 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
78 inline void SetOperationType(LandingZoneOperationType value) { m_operationTypeHasBeenSet = true; m_operationType = value; }
81
83
86 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
87 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
88 template<typename StartTimeT = Aws::Utils::DateTime>
89 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
90 template<typename StartTimeT = Aws::Utils::DateTime>
91 LandingZoneOperationDetail& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
93
95
101 inline LandingZoneOperationStatus GetStatus() const { return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(LandingZoneOperationStatus value) { m_statusHasBeenSet = true; m_status = value; }
106
108
112 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
113 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
114 template<typename StatusMessageT = Aws::String>
115 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
116 template<typename StatusMessageT = Aws::String>
117 LandingZoneOperationDetail& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
119 private:
120
121 Aws::Utils::DateTime m_endTime{};
122 bool m_endTimeHasBeenSet = false;
123
124 Aws::String m_operationIdentifier;
125 bool m_operationIdentifierHasBeenSet = false;
126
128 bool m_operationTypeHasBeenSet = false;
129
130 Aws::Utils::DateTime m_startTime{};
131 bool m_startTimeHasBeenSet = false;
132
134 bool m_statusHasBeenSet = false;
135
136 Aws::String m_statusMessage;
137 bool m_statusMessageHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ControlTower
142} // 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