7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/DeliveryStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
23namespace ConfigService
61 template<
typename LastErrorCodeT = Aws::String>
62 void SetLastErrorCode(LastErrorCodeT&& value) { m_lastErrorCodeHasBeenSet =
true; m_lastErrorCode = std::forward<LastErrorCodeT>(value); }
63 template<
typename LastErrorCodeT = Aws::String>
73 template<
typename LastErrorMessageT = Aws::String>
74 void SetLastErrorMessage(LastErrorMessageT&& value) { m_lastErrorMessageHasBeenSet =
true; m_lastErrorMessage = std::forward<LastErrorMessageT>(value); }
75 template<
typename LastErrorMessageT = Aws::String>
85 template<
typename LastAttemptTimeT = Aws::Utils::DateTime>
86 void SetLastAttemptTime(LastAttemptTimeT&& value) { m_lastAttemptTimeHasBeenSet =
true; m_lastAttemptTime = std::forward<LastAttemptTimeT>(value); }
87 template<
typename LastAttemptTimeT = Aws::Utils::DateTime>
97 template<
typename LastSuccessfulTimeT = Aws::Utils::DateTime>
98 void SetLastSuccessfulTime(LastSuccessfulTimeT&& value) { m_lastSuccessfulTimeHasBeenSet =
true; m_lastSuccessfulTime = std::forward<LastSuccessfulTimeT>(value); }
99 template<
typename LastSuccessfulTimeT = Aws::Utils::DateTime>
109 template<
typename NextDeliveryTimeT = Aws::Utils::DateTime>
110 void SetNextDeliveryTime(NextDeliveryTimeT&& value) { m_nextDeliveryTimeHasBeenSet =
true; m_nextDeliveryTime = std::forward<NextDeliveryTimeT>(value); }
111 template<
typename NextDeliveryTimeT = Aws::Utils::DateTime>
117 bool m_lastStatusHasBeenSet =
false;
120 bool m_lastErrorCodeHasBeenSet =
false;
123 bool m_lastErrorMessageHasBeenSet =
false;
126 bool m_lastAttemptTimeHasBeenSet =
false;
129 bool m_lastSuccessfulTimeHasBeenSet =
false;
132 bool m_nextDeliveryTimeHasBeenSet =
false;
bool LastErrorCodeHasBeenSet() const
ConfigExportDeliveryInfo & WithLastErrorCode(LastErrorCodeT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigExportDeliveryInfo & WithNextDeliveryTime(NextDeliveryTimeT &&value)
bool LastAttemptTimeHasBeenSet() const
void SetNextDeliveryTime(NextDeliveryTimeT &&value)
ConfigExportDeliveryInfo & WithLastErrorMessage(LastErrorMessageT &&value)
void SetLastAttemptTime(LastAttemptTimeT &&value)
const Aws::String & GetLastErrorCode() const
const Aws::Utils::DateTime & GetLastSuccessfulTime() const
ConfigExportDeliveryInfo & WithLastStatus(DeliveryStatus value)
const Aws::Utils::DateTime & GetLastAttemptTime() const
const Aws::String & GetLastErrorMessage() const
AWS_CONFIGSERVICE_API ConfigExportDeliveryInfo()=default
bool LastSuccessfulTimeHasBeenSet() const
AWS_CONFIGSERVICE_API ConfigExportDeliveryInfo(Aws::Utils::Json::JsonView jsonValue)
ConfigExportDeliveryInfo & WithLastAttemptTime(LastAttemptTimeT &&value)
bool LastErrorMessageHasBeenSet() const
DeliveryStatus GetLastStatus() const
const Aws::Utils::DateTime & GetNextDeliveryTime() const
void SetLastStatus(DeliveryStatus value)
void SetLastErrorMessage(LastErrorMessageT &&value)
AWS_CONFIGSERVICE_API ConfigExportDeliveryInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NextDeliveryTimeHasBeenSet() const
ConfigExportDeliveryInfo & WithLastSuccessfulTime(LastSuccessfulTimeT &&value)
void SetLastSuccessfulTime(LastSuccessfulTimeT &&value)
void SetLastErrorCode(LastErrorCodeT &&value)
bool LastStatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue