AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
50 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
51 inline LandingZoneOperationDetail& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
52 inline LandingZoneOperationDetail& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetOperationIdentifier() const{ return m_operationIdentifier; }
60 inline bool OperationIdentifierHasBeenSet() const { return m_operationIdentifierHasBeenSet; }
61 inline void SetOperationIdentifier(const Aws::String& value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier = value; }
62 inline void SetOperationIdentifier(Aws::String&& value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier = std::move(value); }
63 inline void SetOperationIdentifier(const char* value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier.assign(value); }
65 inline LandingZoneOperationDetail& WithOperationIdentifier(Aws::String&& value) { SetOperationIdentifier(std::move(value)); return *this;}
66 inline LandingZoneOperationDetail& WithOperationIdentifier(const char* value) { SetOperationIdentifier(value); return *this;}
68
70
78 inline const LandingZoneOperationType& GetOperationType() const{ return m_operationType; }
79 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
80 inline void SetOperationType(const LandingZoneOperationType& value) { m_operationTypeHasBeenSet = true; m_operationType = value; }
81 inline void SetOperationType(LandingZoneOperationType&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); }
85
87
90 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
91 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
92 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
93 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
94 inline LandingZoneOperationDetail& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
95 inline LandingZoneOperationDetail& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
97
99
105 inline const LandingZoneOperationStatus& GetStatus() const{ return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(const LandingZoneOperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
108 inline void SetStatus(LandingZoneOperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
109 inline LandingZoneOperationDetail& WithStatus(const LandingZoneOperationStatus& value) { SetStatus(value); return *this;}
110 inline LandingZoneOperationDetail& WithStatus(LandingZoneOperationStatus&& value) { SetStatus(std::move(value)); return *this;}
112
114
118 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
119 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
120 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
121 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
122 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
123 inline LandingZoneOperationDetail& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
124 inline LandingZoneOperationDetail& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
125 inline LandingZoneOperationDetail& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
127 private:
128
129 Aws::Utils::DateTime m_endTime;
130 bool m_endTimeHasBeenSet = false;
131
132 Aws::String m_operationIdentifier;
133 bool m_operationIdentifierHasBeenSet = false;
134
135 LandingZoneOperationType m_operationType;
136 bool m_operationTypeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_startTime;
139 bool m_startTimeHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143
144 Aws::String m_statusMessage;
145 bool m_statusMessageHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace ControlTower
150} // namespace Aws
LandingZoneOperationDetail & WithOperationType(const LandingZoneOperationType &value)
const LandingZoneOperationType & GetOperationType() const
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
LandingZoneOperationDetail & WithOperationType(LandingZoneOperationType &&value)
LandingZoneOperationDetail & WithEndTime(Aws::Utils::DateTime &&value)
LandingZoneOperationDetail & WithOperationIdentifier(Aws::String &&value)
LandingZoneOperationDetail & WithStatus(LandingZoneOperationStatus &&value)
LandingZoneOperationDetail & WithStatus(const LandingZoneOperationStatus &value)
LandingZoneOperationDetail & WithOperationIdentifier(const Aws::String &value)
void SetStatus(const LandingZoneOperationStatus &value)
LandingZoneOperationDetail & WithStatusMessage(const Aws::String &value)
LandingZoneOperationDetail & WithStatusMessage(const char *value)
LandingZoneOperationDetail & WithOperationIdentifier(const char *value)
LandingZoneOperationDetail & WithEndTime(const Aws::Utils::DateTime &value)
LandingZoneOperationDetail & WithStartTime(const Aws::Utils::DateTime &value)
LandingZoneOperationDetail & WithStartTime(Aws::Utils::DateTime &&value)
AWS_CONTROLTOWER_API LandingZoneOperationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperationType(const LandingZoneOperationType &value)
AWS_CONTROLTOWER_API LandingZoneOperationDetail(Aws::Utils::Json::JsonView jsonValue)
LandingZoneOperationDetail & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue