7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/config/model/RecorderStatus.h>
23namespace ConfigService
50 template<
typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
74 template<
typename LastStartTimeT = Aws::Utils::DateTime>
75 void SetLastStartTime(LastStartTimeT&& value) { m_lastStartTimeHasBeenSet =
true; m_lastStartTime = std::forward<LastStartTimeT>(value); }
76 template<
typename LastStartTimeT = Aws::Utils::DateTime>
86 template<
typename LastStopTimeT = Aws::Utils::DateTime>
87 void SetLastStopTime(LastStopTimeT&& value) { m_lastStopTimeHasBeenSet =
true; m_lastStopTime = std::forward<LastStopTimeT>(value); }
88 template<
typename LastStopTimeT = Aws::Utils::DateTime>
98 inline void SetRecording(
bool value) { m_recordingHasBeenSet =
true; m_recording = value; }
118 template<
typename LastErrorCodeT = Aws::String>
119 void SetLastErrorCode(LastErrorCodeT&& value) { m_lastErrorCodeHasBeenSet =
true; m_lastErrorCode = std::forward<LastErrorCodeT>(value); }
120 template<
typename LastErrorCodeT = Aws::String>
130 template<
typename LastErrorMessageT = Aws::String>
131 void SetLastErrorMessage(LastErrorMessageT&& value) { m_lastErrorMessageHasBeenSet =
true; m_lastErrorMessage = std::forward<LastErrorMessageT>(value); }
132 template<
typename LastErrorMessageT = Aws::String>
143 template<
typename LastStatusChangeTimeT = Aws::Utils::DateTime>
144 void SetLastStatusChangeTime(LastStatusChangeTimeT&& value) { m_lastStatusChangeTimeHasBeenSet =
true; m_lastStatusChangeTime = std::forward<LastStatusChangeTimeT>(value); }
145 template<
typename LastStatusChangeTimeT = Aws::Utils::DateTime>
156 template<
typename ServicePrincipalT = Aws::String>
157 void SetServicePrincipal(ServicePrincipalT&& value) { m_servicePrincipalHasBeenSet =
true; m_servicePrincipal = std::forward<ServicePrincipalT>(value); }
158 template<
typename ServicePrincipalT = Aws::String>
164 bool m_arnHasBeenSet =
false;
167 bool m_nameHasBeenSet =
false;
170 bool m_lastStartTimeHasBeenSet =
false;
173 bool m_lastStopTimeHasBeenSet =
false;
175 bool m_recording{
false};
176 bool m_recordingHasBeenSet =
false;
179 bool m_lastStatusHasBeenSet =
false;
182 bool m_lastErrorCodeHasBeenSet =
false;
185 bool m_lastErrorMessageHasBeenSet =
false;
188 bool m_lastStatusChangeTimeHasBeenSet =
false;
191 bool m_servicePrincipalHasBeenSet =
false;
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecordingHasBeenSet() const
ConfigurationRecorderStatus & WithLastStartTime(LastStartTimeT &&value)
const Aws::String & GetServicePrincipal() const
ConfigurationRecorderStatus & WithName(NameT &&value)
AWS_CONFIGSERVICE_API ConfigurationRecorderStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetLastStatusChangeTime() const
bool LastStopTimeHasBeenSet() const
bool NameHasBeenSet() const
void SetLastErrorMessage(LastErrorMessageT &&value)
void SetLastStopTime(LastStopTimeT &&value)
const Aws::Utils::DateTime & GetLastStartTime() const
ConfigurationRecorderStatus & WithArn(ArnT &&value)
RecorderStatus GetLastStatus() const
ConfigurationRecorderStatus & WithLastStatusChangeTime(LastStatusChangeTimeT &&value)
bool LastStatusChangeTimeHasBeenSet() const
void SetName(NameT &&value)
bool LastStartTimeHasBeenSet() const
void SetArn(ArnT &&value)
AWS_CONFIGSERVICE_API ConfigurationRecorderStatus()=default
ConfigurationRecorderStatus & WithLastStopTime(LastStopTimeT &&value)
bool ArnHasBeenSet() const
bool LastStatusHasBeenSet() const
ConfigurationRecorderStatus & WithLastErrorCode(LastErrorCodeT &&value)
bool LastErrorMessageHasBeenSet() const
const Aws::Utils::DateTime & GetLastStopTime() const
const Aws::String & GetLastErrorCode() const
void SetLastErrorCode(LastErrorCodeT &&value)
const Aws::String & GetLastErrorMessage() const
ConfigurationRecorderStatus & WithRecording(bool value)
bool GetRecording() const
bool ServicePrincipalHasBeenSet() const
void SetServicePrincipal(ServicePrincipalT &&value)
void SetLastStatusChangeTime(LastStatusChangeTimeT &&value)
AWS_CONFIGSERVICE_API ConfigurationRecorderStatus(Aws::Utils::Json::JsonView jsonValue)
void SetRecording(bool value)
bool LastErrorCodeHasBeenSet() const
void SetLastStatus(RecorderStatus value)
ConfigurationRecorderStatus & WithServicePrincipal(ServicePrincipalT &&value)
ConfigurationRecorderStatus & WithLastStatus(RecorderStatus value)
void SetLastStartTime(LastStartTimeT &&value)
ConfigurationRecorderStatus & WithLastErrorMessage(LastErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue