7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/AggregatedSourceType.h>
10#include <aws/config/model/AggregatedSourceStatusType.h>
11#include <aws/core/utils/DateTime.h>
24namespace ConfigService
50 template<
typename SourceIdT = Aws::String>
51 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
52 template<
typename SourceIdT = Aws::String>
72 template<
typename AwsRegionT = Aws::String>
73 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet =
true; m_awsRegion = std::forward<AwsRegionT>(value); }
74 template<
typename AwsRegionT = Aws::String>
97 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
98 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet =
true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
99 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
110 template<
typename LastErrorCodeT = Aws::String>
111 void SetLastErrorCode(LastErrorCodeT&& value) { m_lastErrorCodeHasBeenSet =
true; m_lastErrorCode = std::forward<LastErrorCodeT>(value); }
112 template<
typename LastErrorCodeT = Aws::String>
123 template<
typename LastErrorMessageT = Aws::String>
124 void SetLastErrorMessage(LastErrorMessageT&& value) { m_lastErrorMessageHasBeenSet =
true; m_lastErrorMessage = std::forward<LastErrorMessageT>(value); }
125 template<
typename LastErrorMessageT = Aws::String>
131 bool m_sourceIdHasBeenSet =
false;
134 bool m_sourceTypeHasBeenSet =
false;
137 bool m_awsRegionHasBeenSet =
false;
140 bool m_lastUpdateStatusHasBeenSet =
false;
143 bool m_lastUpdateTimeHasBeenSet =
false;
146 bool m_lastErrorCodeHasBeenSet =
false;
149 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