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>
51 template<
typename SyncNameT = Aws::String>
52 void SetSyncName(SyncNameT&& value) { m_syncNameHasBeenSet =
true; m_syncName = std::forward<SyncNameT>(value); }
53 template<
typename SyncNameT = Aws::String>
67 template<
typename SyncTypeT = Aws::String>
68 void SetSyncType(SyncTypeT&& value) { m_syncTypeHasBeenSet =
true; m_syncType = std::forward<SyncTypeT>(value); }
69 template<
typename SyncTypeT = Aws::String>
79 template<
typename SyncSourceT = ResourceDataSyncSourceWithState>
80 void SetSyncSource(SyncSourceT&& value) { m_syncSourceHasBeenSet =
true; m_syncSource = std::forward<SyncSourceT>(value); }
81 template<
typename SyncSourceT = ResourceDataSyncSourceWithState>
91 template<
typename S3DestinationT = ResourceDataSyncS3Destination>
92 void SetS3Destination(S3DestinationT&& value) { m_s3DestinationHasBeenSet =
true; m_s3Destination = std::forward<S3DestinationT>(value); }
93 template<
typename S3DestinationT = ResourceDataSyncS3Destination>
103 template<
typename LastSyncTimeT = Aws::Utils::DateTime>
104 void SetLastSyncTime(LastSyncTimeT&& value) { m_lastSyncTimeHasBeenSet =
true; m_lastSyncTime = std::forward<LastSyncTimeT>(value); }
105 template<
typename LastSyncTimeT = Aws::Utils::DateTime>
116 template<
typename LastSuccessfulSyncTimeT = Aws::Utils::DateTime>
117 void SetLastSuccessfulSyncTime(LastSuccessfulSyncTimeT&& value) { m_lastSuccessfulSyncTimeHasBeenSet =
true; m_lastSuccessfulSyncTime = std::forward<LastSuccessfulSyncTimeT>(value); }
118 template<
typename LastSuccessfulSyncTimeT = Aws::Utils::DateTime>
128 template<
typename SyncLastModifiedTimeT = Aws::Utils::DateTime>
129 void SetSyncLastModifiedTime(SyncLastModifiedTimeT&& value) { m_syncLastModifiedTimeHasBeenSet =
true; m_syncLastModifiedTime = std::forward<SyncLastModifiedTimeT>(value); }
130 template<
typename SyncLastModifiedTimeT = Aws::Utils::DateTime>
150 template<
typename SyncCreatedTimeT = Aws::Utils::DateTime>
151 void SetSyncCreatedTime(SyncCreatedTimeT&& value) { m_syncCreatedTimeHasBeenSet =
true; m_syncCreatedTime = std::forward<SyncCreatedTimeT>(value); }
152 template<
typename SyncCreatedTimeT = Aws::Utils::DateTime>
162 template<
typename LastSyncStatusMessageT = Aws::String>
163 void SetLastSyncStatusMessage(LastSyncStatusMessageT&& value) { m_lastSyncStatusMessageHasBeenSet =
true; m_lastSyncStatusMessage = std::forward<LastSyncStatusMessageT>(value); }
164 template<
typename LastSyncStatusMessageT = Aws::String>
170 bool m_syncNameHasBeenSet =
false;
173 bool m_syncTypeHasBeenSet =
false;
176 bool m_syncSourceHasBeenSet =
false;
179 bool m_s3DestinationHasBeenSet =
false;
182 bool m_lastSyncTimeHasBeenSet =
false;
185 bool m_lastSuccessfulSyncTimeHasBeenSet =
false;
188 bool m_syncLastModifiedTimeHasBeenSet =
false;
191 bool m_lastStatusHasBeenSet =
false;
194 bool m_syncCreatedTimeHasBeenSet =
false;
197 bool m_lastSyncStatusMessageHasBeenSet =
false;
void SetSyncSource(SyncSourceT &&value)
ResourceDataSyncItem & WithLastSyncTime(LastSyncTimeT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDataSyncItem & WithSyncSource(SyncSourceT &&value)
bool SyncSourceHasBeenSet() const
const Aws::Utils::DateTime & GetLastSyncTime() const
ResourceDataSyncItem & WithLastSuccessfulSyncTime(LastSuccessfulSyncTimeT &&value)
ResourceDataSyncItem & WithSyncCreatedTime(SyncCreatedTimeT &&value)
AWS_SSM_API ResourceDataSyncItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncItem & WithSyncType(SyncTypeT &&value)
void SetLastSuccessfulSyncTime(LastSuccessfulSyncTimeT &&value)
void SetSyncType(SyncTypeT &&value)
void SetLastStatus(LastResourceDataSyncStatus value)
bool LastSyncTimeHasBeenSet() const
void SetLastSyncStatusMessage(LastSyncStatusMessageT &&value)
const Aws::Utils::DateTime & GetSyncLastModifiedTime() const
bool SyncLastModifiedTimeHasBeenSet() const
LastResourceDataSyncStatus GetLastStatus() const
const Aws::Utils::DateTime & GetLastSuccessfulSyncTime() const
ResourceDataSyncItem & WithSyncName(SyncNameT &&value)
bool SyncNameHasBeenSet() const
AWS_SSM_API ResourceDataSyncItem()=default
bool LastSyncStatusMessageHasBeenSet() const
const Aws::String & GetSyncName() const
ResourceDataSyncItem & WithLastSyncStatusMessage(LastSyncStatusMessageT &&value)
void SetSyncCreatedTime(SyncCreatedTimeT &&value)
bool LastSuccessfulSyncTimeHasBeenSet() const
const Aws::String & GetLastSyncStatusMessage() const
ResourceDataSyncItem & WithLastStatus(LastResourceDataSyncStatus value)
ResourceDataSyncItem & WithSyncLastModifiedTime(SyncLastModifiedTimeT &&value)
const Aws::String & GetSyncType() const
void SetSyncName(SyncNameT &&value)
void SetS3Destination(S3DestinationT &&value)
const Aws::Utils::DateTime & GetSyncCreatedTime() const
const ResourceDataSyncSourceWithState & GetSyncSource() const
bool SyncCreatedTimeHasBeenSet() const
AWS_SSM_API ResourceDataSyncItem(Aws::Utils::Json::JsonView jsonValue)
bool SyncTypeHasBeenSet() const
const ResourceDataSyncS3Destination & GetS3Destination() const
bool LastStatusHasBeenSet() const
void SetLastSyncTime(LastSyncTimeT &&value)
void SetSyncLastModifiedTime(SyncLastModifiedTimeT &&value)
ResourceDataSyncItem & WithS3Destination(S3DestinationT &&value)
bool S3DestinationHasBeenSet() const
LastResourceDataSyncStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue