7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/DeliveryStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ConfigService {
46 m_lastStatusHasBeenSet =
true;
61 template <
typename LastErrorCodeT = Aws::String>
63 m_lastErrorCodeHasBeenSet =
true;
64 m_lastErrorCode = std::forward<LastErrorCodeT>(value);
66 template <
typename LastErrorCodeT = Aws::String>
79 template <
typename LastErrorMessageT = Aws::String>
81 m_lastErrorMessageHasBeenSet =
true;
82 m_lastErrorMessage = std::forward<LastErrorMessageT>(value);
84 template <
typename LastErrorMessageT = Aws::String>
97 template <
typename LastAttemptTimeT = Aws::Utils::DateTime>
99 m_lastAttemptTimeHasBeenSet =
true;
100 m_lastAttemptTime = std::forward<LastAttemptTimeT>(value);
102 template <
typename LastAttemptTimeT = Aws::Utils::DateTime>
115 template <
typename LastSuccessfulTimeT = Aws::Utils::DateTime>
117 m_lastSuccessfulTimeHasBeenSet =
true;
118 m_lastSuccessfulTime = std::forward<LastSuccessfulTimeT>(value);
120 template <
typename LastSuccessfulTimeT = Aws::Utils::DateTime>
133 template <
typename NextDeliveryTimeT = Aws::Utils::DateTime>
135 m_nextDeliveryTimeHasBeenSet =
true;
136 m_nextDeliveryTime = std::forward<NextDeliveryTimeT>(value);
138 template <
typename NextDeliveryTimeT = Aws::Utils::DateTime>
156 bool m_lastStatusHasBeenSet =
false;
157 bool m_lastErrorCodeHasBeenSet =
false;
158 bool m_lastErrorMessageHasBeenSet =
false;
159 bool m_lastAttemptTimeHasBeenSet =
false;
160 bool m_lastSuccessfulTimeHasBeenSet =
false;
161 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