7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/ResourceDataSyncSourceWithState.h>
10#include <aws/ssm/model/ResourceDataSyncS3Destination.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ssm/model/LastResourceDataSyncStatus.h>
53 inline void SetSyncName(
const char* value) { m_syncNameHasBeenSet =
true; m_syncName.assign(value); }
71 inline void SetSyncType(
const char* value) { m_syncTypeHasBeenSet =
true; m_syncType.assign(value); }
170 inline void SetLastSyncStatusMessage(
const char* value) { m_lastSyncStatusMessageHasBeenSet =
true; m_lastSyncStatusMessage.assign(value); }
178 bool m_syncNameHasBeenSet =
false;
181 bool m_syncTypeHasBeenSet =
false;
184 bool m_syncSourceHasBeenSet =
false;
187 bool m_s3DestinationHasBeenSet =
false;
190 bool m_lastSyncTimeHasBeenSet =
false;
193 bool m_lastSuccessfulSyncTimeHasBeenSet =
false;
196 bool m_syncLastModifiedTimeHasBeenSet =
false;
199 bool m_lastStatusHasBeenSet =
false;
202 bool m_syncCreatedTimeHasBeenSet =
false;
205 bool m_lastSyncStatusMessageHasBeenSet =
false;
ResourceDataSyncItem & WithLastSyncStatusMessage(const Aws::String &value)
ResourceDataSyncItem & WithSyncName(const char *value)
void SetLastSyncStatusMessage(const char *value)
void SetSyncSource(ResourceDataSyncSourceWithState &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDataSyncItem & WithSyncCreatedTime(Aws::Utils::DateTime &&value)
void SetLastSyncStatusMessage(Aws::String &&value)
void SetSyncName(const char *value)
void SetLastStatus(LastResourceDataSyncStatus &&value)
void SetSyncName(const Aws::String &value)
bool SyncSourceHasBeenSet() const
const Aws::Utils::DateTime & GetLastSyncTime() const
const LastResourceDataSyncStatus & GetLastStatus() const
void SetSyncType(const Aws::String &value)
AWS_SSM_API ResourceDataSyncItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncItem & WithSyncSource(const ResourceDataSyncSourceWithState &value)
void SetSyncType(const char *value)
bool LastSyncTimeHasBeenSet() const
ResourceDataSyncItem & WithLastSyncTime(const Aws::Utils::DateTime &value)
void SetSyncLastModifiedTime(const Aws::Utils::DateTime &value)
void SetS3Destination(const ResourceDataSyncS3Destination &value)
const Aws::Utils::DateTime & GetSyncLastModifiedTime() const
bool SyncLastModifiedTimeHasBeenSet() const
void SetS3Destination(ResourceDataSyncS3Destination &&value)
void SetLastSyncTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastSuccessfulSyncTime() const
void SetLastSyncStatusMessage(const Aws::String &value)
void SetSyncCreatedTime(const Aws::Utils::DateTime &value)
void SetSyncCreatedTime(Aws::Utils::DateTime &&value)
bool SyncNameHasBeenSet() const
bool LastSyncStatusMessageHasBeenSet() const
const Aws::String & GetSyncName() const
ResourceDataSyncItem & WithS3Destination(ResourceDataSyncS3Destination &&value)
void SetLastSuccessfulSyncTime(const Aws::Utils::DateTime &value)
ResourceDataSyncItem & WithS3Destination(const ResourceDataSyncS3Destination &value)
bool LastSuccessfulSyncTimeHasBeenSet() const
void SetLastSuccessfulSyncTime(Aws::Utils::DateTime &&value)
const Aws::String & GetLastSyncStatusMessage() const
ResourceDataSyncItem & WithSyncType(const Aws::String &value)
ResourceDataSyncItem & WithLastSyncTime(Aws::Utils::DateTime &&value)
ResourceDataSyncItem & WithSyncSource(ResourceDataSyncSourceWithState &&value)
void SetSyncSource(const ResourceDataSyncSourceWithState &value)
ResourceDataSyncItem & WithSyncType(Aws::String &&value)
void SetLastStatus(const LastResourceDataSyncStatus &value)
const Aws::String & GetSyncType() const
ResourceDataSyncItem & WithLastStatus(const LastResourceDataSyncStatus &value)
ResourceDataSyncItem & WithSyncLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_SSM_API ResourceDataSyncItem()
ResourceDataSyncItem & WithSyncLastModifiedTime(Aws::Utils::DateTime &&value)
void SetSyncType(Aws::String &&value)
ResourceDataSyncItem & WithSyncName(Aws::String &&value)
const Aws::Utils::DateTime & GetSyncCreatedTime() const
const ResourceDataSyncSourceWithState & GetSyncSource() const
bool SyncCreatedTimeHasBeenSet() const
AWS_SSM_API ResourceDataSyncItem(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncItem & WithLastSyncStatusMessage(const char *value)
void SetSyncName(Aws::String &&value)
bool SyncTypeHasBeenSet() const
ResourceDataSyncItem & WithSyncCreatedTime(const Aws::Utils::DateTime &value)
const ResourceDataSyncS3Destination & GetS3Destination() const
bool LastStatusHasBeenSet() const
void SetSyncLastModifiedTime(Aws::Utils::DateTime &&value)
ResourceDataSyncItem & WithSyncType(const char *value)
ResourceDataSyncItem & WithLastStatus(LastResourceDataSyncStatus &&value)
ResourceDataSyncItem & WithLastSyncStatusMessage(Aws::String &&value)
ResourceDataSyncItem & WithLastSuccessfulSyncTime(const Aws::Utils::DateTime &value)
ResourceDataSyncItem & WithSyncName(const Aws::String &value)
ResourceDataSyncItem & WithLastSuccessfulSyncTime(Aws::Utils::DateTime &&value)
bool S3DestinationHasBeenSet() const
void SetLastSyncTime(const Aws::Utils::DateTime &value)
LastResourceDataSyncStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue