AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BaselineOperation.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/BaselineOperationType.h>
11#include <aws/controltower/model/BaselineOperationStatus.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
36 {
37 public:
38 AWS_CONTROLTOWER_API BaselineOperation();
39 AWS_CONTROLTOWER_API BaselineOperation(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONTROLTOWER_API BaselineOperation& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
49 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
50 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
51 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
52 inline BaselineOperation& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
53 inline BaselineOperation& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetOperationIdentifier() const{ return m_operationIdentifier; }
61 inline bool OperationIdentifierHasBeenSet() const { return m_operationIdentifierHasBeenSet; }
62 inline void SetOperationIdentifier(const Aws::String& value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier = value; }
63 inline void SetOperationIdentifier(Aws::String&& value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier = std::move(value); }
64 inline void SetOperationIdentifier(const char* value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier.assign(value); }
65 inline BaselineOperation& WithOperationIdentifier(const Aws::String& value) { SetOperationIdentifier(value); return *this;}
66 inline BaselineOperation& WithOperationIdentifier(Aws::String&& value) { SetOperationIdentifier(std::move(value)); return *this;}
67 inline BaselineOperation& WithOperationIdentifier(const char* value) { SetOperationIdentifier(value); return *this;}
69
71
77 inline const BaselineOperationType& GetOperationType() const{ return m_operationType; }
78 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
79 inline void SetOperationType(const BaselineOperationType& value) { m_operationTypeHasBeenSet = true; m_operationType = value; }
80 inline void SetOperationType(BaselineOperationType&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); }
81 inline BaselineOperation& WithOperationType(const BaselineOperationType& value) { SetOperationType(value); return *this;}
82 inline BaselineOperation& WithOperationType(BaselineOperationType&& value) { SetOperationType(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
90 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
91 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
92 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
93 inline BaselineOperation& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
94 inline BaselineOperation& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
96
98
102 inline const BaselineOperationStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const BaselineOperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(BaselineOperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline BaselineOperation& WithStatus(const BaselineOperationStatus& value) { SetStatus(value); return *this;}
107 inline BaselineOperation& WithStatus(BaselineOperationStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
115 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
116 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
117 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
118 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
119 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
120 inline BaselineOperation& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
121 inline BaselineOperation& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
122 inline BaselineOperation& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
124 private:
125
126 Aws::Utils::DateTime m_endTime;
127 bool m_endTimeHasBeenSet = false;
128
129 Aws::String m_operationIdentifier;
130 bool m_operationIdentifierHasBeenSet = false;
131
132 BaselineOperationType m_operationType;
133 bool m_operationTypeHasBeenSet = false;
134
135 Aws::Utils::DateTime m_startTime;
136 bool m_startTimeHasBeenSet = false;
137
139 bool m_statusHasBeenSet = false;
140
141 Aws::String m_statusMessage;
142 bool m_statusMessageHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace ControlTower
147} // namespace Aws
BaselineOperation & WithStatusMessage(const char *value)
BaselineOperation & WithOperationType(const BaselineOperationType &value)
BaselineOperation & WithEndTime(Aws::Utils::DateTime &&value)
const BaselineOperationStatus & GetStatus() const
BaselineOperation & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
BaselineOperation & WithStatusMessage(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
const BaselineOperationType & GetOperationType() const
BaselineOperation & WithEndTime(const Aws::Utils::DateTime &value)
void SetOperationType(const BaselineOperationType &value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
BaselineOperation & WithStatus(const BaselineOperationStatus &value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetStatusMessage(const Aws::String &value)
BaselineOperation & WithStatusMessage(const Aws::String &value)
const Aws::String & GetOperationIdentifier() const
BaselineOperation & WithOperationType(BaselineOperationType &&value)
BaselineOperation & WithStatus(BaselineOperationStatus &&value)
void SetOperationType(BaselineOperationType &&value)
BaselineOperation & WithOperationIdentifier(const Aws::String &value)
BaselineOperation & WithStartTime(const Aws::Utils::DateTime &value)
void SetStatus(const BaselineOperationStatus &value)
BaselineOperation & WithOperationIdentifier(const char *value)
void SetOperationIdentifier(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_CONTROLTOWER_API BaselineOperation(Aws::Utils::Json::JsonView jsonValue)
BaselineOperation & WithOperationIdentifier(Aws::String &&value)
AWS_CONTROLTOWER_API BaselineOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(BaselineOperationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue