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
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetRecording(
bool value) { m_recordingHasBeenSet =
true; m_recording = value; }
113 inline void SetLastErrorCode(
const char* value) { m_lastErrorCodeHasBeenSet =
true; m_lastErrorCode.assign(value); }
127 inline void SetLastErrorMessage(
const char* value) { m_lastErrorMessageHasBeenSet =
true; m_lastErrorMessage.assign(value); }
148 bool m_nameHasBeenSet =
false;
151 bool m_lastStartTimeHasBeenSet =
false;
154 bool m_lastStopTimeHasBeenSet =
false;
157 bool m_recordingHasBeenSet =
false;
160 bool m_lastStatusHasBeenSet =
false;
163 bool m_lastErrorCodeHasBeenSet =
false;
166 bool m_lastErrorMessageHasBeenSet =
false;
169 bool m_lastStatusChangeTimeHasBeenSet =
false;
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecordingHasBeenSet() const
ConfigurationRecorderStatus & WithName(Aws::String &&value)
ConfigurationRecorderStatus & WithLastErrorMessage(Aws::String &&value)
ConfigurationRecorderStatus & WithLastErrorMessage(const char *value)
AWS_CONFIGSERVICE_API ConfigurationRecorderStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetLastStopTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastStatusChangeTime() const
bool LastStopTimeHasBeenSet() const
void SetLastErrorMessage(const Aws::String &value)
ConfigurationRecorderStatus & WithLastStartTime(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
void SetLastStatusChangeTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastStartTime() const
ConfigurationRecorderStatus & WithLastStopTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API ConfigurationRecorderStatus()
ConfigurationRecorderStatus & WithLastStatusChangeTime(const Aws::Utils::DateTime &value)
ConfigurationRecorderStatus & WithLastErrorCode(const char *value)
bool LastStatusChangeTimeHasBeenSet() const
void SetLastStatusChangeTime(const Aws::Utils::DateTime &value)
bool LastStartTimeHasBeenSet() const
void SetLastStopTime(const Aws::Utils::DateTime &value)
bool LastStatusHasBeenSet() const
void SetLastErrorCode(Aws::String &&value)
void SetLastErrorCode(const Aws::String &value)
ConfigurationRecorderStatus & WithLastStopTime(Aws::Utils::DateTime &&value)
void SetLastStatus(RecorderStatus &&value)
bool LastErrorMessageHasBeenSet() const
const Aws::Utils::DateTime & GetLastStopTime() const
void SetLastStatus(const RecorderStatus &value)
ConfigurationRecorderStatus & WithLastErrorMessage(const Aws::String &value)
void SetName(const Aws::String &value)
ConfigurationRecorderStatus & WithLastErrorCode(Aws::String &&value)
void SetLastErrorCode(const char *value)
ConfigurationRecorderStatus & WithLastErrorCode(const Aws::String &value)
const Aws::String & GetLastErrorCode() const
void SetLastErrorMessage(const char *value)
ConfigurationRecorderStatus & WithLastStatus(RecorderStatus &&value)
void SetName(const char *value)
const Aws::String & GetLastErrorMessage() const
ConfigurationRecorderStatus & WithLastStartTime(const Aws::Utils::DateTime &value)
ConfigurationRecorderStatus & WithRecording(bool value)
bool GetRecording() const
ConfigurationRecorderStatus & WithLastStatusChangeTime(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
void SetLastStartTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API ConfigurationRecorderStatus(Aws::Utils::Json::JsonView jsonValue)
ConfigurationRecorderStatus & WithName(const Aws::String &value)
void SetRecording(bool value)
const RecorderStatus & GetLastStatus() const
ConfigurationRecorderStatus & WithName(const char *value)
bool LastErrorCodeHasBeenSet() const
void SetLastErrorMessage(Aws::String &&value)
ConfigurationRecorderStatus & WithLastStatus(const RecorderStatus &value)
void SetLastStartTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue