7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/LastResourceDataSyncStatus.h>
11#include <aws/ssm/model/ResourceDataSyncS3Destination.h>
12#include <aws/ssm/model/ResourceDataSyncSourceWithState.h>
45 template <
typename SyncNameT = Aws::String>
47 m_syncNameHasBeenSet =
true;
48 m_syncName = std::forward<SyncNameT>(value);
50 template <
typename SyncNameT = Aws::String>
67 template <
typename SyncTypeT = Aws::String>
69 m_syncTypeHasBeenSet =
true;
70 m_syncType = std::forward<SyncTypeT>(value);
72 template <
typename SyncTypeT = Aws::String>
85 template <
typename SyncSourceT = ResourceDataSyncSourceWithState>
87 m_syncSourceHasBeenSet =
true;
88 m_syncSource = std::forward<SyncSourceT>(value);
90 template <
typename SyncSourceT = ResourceDataSyncSourceWithState>
103 template <
typename S3DestinationT = ResourceDataSyncS3Destination>
105 m_s3DestinationHasBeenSet =
true;
106 m_s3Destination = std::forward<S3DestinationT>(value);
108 template <
typename S3DestinationT = ResourceDataSyncS3Destination>
121 template <
typename LastSyncTimeT = Aws::Utils::DateTime>
123 m_lastSyncTimeHasBeenSet =
true;
124 m_lastSyncTime = std::forward<LastSyncTimeT>(value);
126 template <
typename LastSyncTimeT = Aws::Utils::DateTime>
140 template <
typename LastSuccessfulSyncTimeT = Aws::Utils::DateTime>
142 m_lastSuccessfulSyncTimeHasBeenSet =
true;
143 m_lastSuccessfulSyncTime = std::forward<LastSuccessfulSyncTimeT>(value);
145 template <
typename LastSuccessfulSyncTimeT = Aws::Utils::DateTime>
158 template <
typename SyncLastModifiedTimeT = Aws::Utils::DateTime>
160 m_syncLastModifiedTimeHasBeenSet =
true;
161 m_syncLastModifiedTime = std::forward<SyncLastModifiedTimeT>(value);
163 template <
typename SyncLastModifiedTimeT = Aws::Utils::DateTime>
177 m_lastStatusHasBeenSet =
true;
178 m_lastStatus = value;
192 template <
typename SyncCreatedTimeT = Aws::Utils::DateTime>
194 m_syncCreatedTimeHasBeenSet =
true;
195 m_syncCreatedTime = std::forward<SyncCreatedTimeT>(value);
197 template <
typename SyncCreatedTimeT = Aws::Utils::DateTime>
210 template <
typename LastSyncStatusMessageT = Aws::String>
212 m_lastSyncStatusMessageHasBeenSet =
true;
213 m_lastSyncStatusMessage = std::forward<LastSyncStatusMessageT>(value);
215 template <
typename LastSyncStatusMessageT = Aws::String>
241 bool m_syncNameHasBeenSet =
false;
242 bool m_syncTypeHasBeenSet =
false;
243 bool m_syncSourceHasBeenSet =
false;
244 bool m_s3DestinationHasBeenSet =
false;
245 bool m_lastSyncTimeHasBeenSet =
false;
246 bool m_lastSuccessfulSyncTimeHasBeenSet =
false;
247 bool m_syncLastModifiedTimeHasBeenSet =
false;
248 bool m_lastStatusHasBeenSet =
false;
249 bool m_syncCreatedTimeHasBeenSet =
false;
250 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