7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/AggregatedSourceStatusType.h>
9#include <aws/config/model/AggregatedSourceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ConfigService {
44 template <
typename SourceIdT = Aws::String>
46 m_sourceIdHasBeenSet =
true;
47 m_sourceId = std::forward<SourceIdT>(value);
49 template <
typename SourceIdT = Aws::String>
63 m_sourceTypeHasBeenSet =
true;
78 template <
typename AwsRegionT = Aws::String>
80 m_awsRegionHasBeenSet =
true;
81 m_awsRegion = std::forward<AwsRegionT>(value);
83 template <
typename AwsRegionT = Aws::String>
100 m_lastUpdateStatusHasBeenSet =
true;
101 m_lastUpdateStatus = value;
115 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
117 m_lastUpdateTimeHasBeenSet =
true;
118 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
120 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
134 template <
typename LastErrorCodeT = Aws::String>
136 m_lastErrorCodeHasBeenSet =
true;
137 m_lastErrorCode = std::forward<LastErrorCodeT>(value);
139 template <
typename LastErrorCodeT = Aws::String>
153 template <
typename LastErrorMessageT = Aws::String>
155 m_lastErrorMessageHasBeenSet =
true;
156 m_lastErrorMessage = std::forward<LastErrorMessageT>(value);
158 template <
typename LastErrorMessageT = Aws::String>
178 bool m_sourceIdHasBeenSet =
false;
179 bool m_sourceTypeHasBeenSet =
false;
180 bool m_awsRegionHasBeenSet =
false;
181 bool m_lastUpdateStatusHasBeenSet =
false;
182 bool m_lastUpdateTimeHasBeenSet =
false;
183 bool m_lastErrorCodeHasBeenSet =
false;
184 bool m_lastErrorMessageHasBeenSet =
false;
AggregatedSourceStatus & WithLastErrorMessage(LastErrorMessageT &&value)
AggregatedSourceStatus & WithLastUpdateStatus(AggregatedSourceStatusType value)
AggregatedSourceType GetSourceType() const
void SetSourceId(SourceIdT &&value)
const Aws::String & GetLastErrorCode() const
bool LastErrorMessageHasBeenSet() const
bool LastUpdateStatusHasBeenSet() const
AWS_CONFIGSERVICE_API AggregatedSourceStatus(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(LastUpdateTimeT &&value)
AggregatedSourceStatus & WithLastErrorCode(LastErrorCodeT &&value)
AggregatedSourceStatus & WithSourceType(AggregatedSourceType value)
void SetSourceType(AggregatedSourceType value)
void SetLastErrorMessage(LastErrorMessageT &&value)
const Aws::String & GetLastErrorMessage() const
AggregatedSourceStatus & WithAwsRegion(AwsRegionT &&value)
bool SourceIdHasBeenSet() const
AWS_CONFIGSERVICE_API AggregatedSourceStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastUpdateTimeHasBeenSet() const
const Aws::String & GetAwsRegion() const
AggregatedSourceStatusType GetLastUpdateStatus() const
void SetLastUpdateStatus(AggregatedSourceStatusType value)
bool AwsRegionHasBeenSet() const
bool SourceTypeHasBeenSet() const
bool LastErrorCodeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
AWS_CONFIGSERVICE_API AggregatedSourceStatus()=default
AggregatedSourceStatus & WithLastUpdateTime(LastUpdateTimeT &&value)
void SetLastErrorCode(LastErrorCodeT &&value)
AggregatedSourceStatus & WithSourceId(SourceIdT &&value)
void SetAwsRegion(AwsRegionT &&value)
const Aws::String & GetSourceId() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AggregatedSourceStatusType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue