7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/model/Revision.h>
9#include <aws/proton/model/ResourceSyncAttempt.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename DesiredStateT = Revision>
43 void SetDesiredState(DesiredStateT&& value) { m_desiredStateHasBeenSet =
true; m_desiredState = std::forward<DesiredStateT>(value); }
44 template<
typename DesiredStateT = Revision>
54 template<
typename LatestSuccessfulSyncT = ResourceSyncAttempt>
55 void SetLatestSuccessfulSync(LatestSuccessfulSyncT&& value) { m_latestSuccessfulSyncHasBeenSet =
true; m_latestSuccessfulSync = std::forward<LatestSuccessfulSyncT>(value); }
56 template<
typename LatestSuccessfulSyncT = ResourceSyncAttempt>
65 template<
typename LatestSyncT = ResourceSyncAttempt>
66 void SetLatestSync(LatestSyncT&& value) { m_latestSyncHasBeenSet =
true; m_latestSync = std::forward<LatestSyncT>(value); }
67 template<
typename LatestSyncT = ResourceSyncAttempt>
74 template<
typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
76 template<
typename RequestIdT = Aws::String>
82 bool m_desiredStateHasBeenSet =
false;
85 bool m_latestSuccessfulSyncHasBeenSet =
false;
88 bool m_latestSyncHasBeenSet =
false;
91 bool m_requestIdHasBeenSet =
false;
const ResourceSyncAttempt & GetLatestSuccessfulSync() const
void SetLatestSuccessfulSync(LatestSuccessfulSyncT &&value)
const Aws::String & GetRequestId() const
AWS_PROTON_API GetServiceInstanceSyncStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceInstanceSyncStatusResult & WithLatestSuccessfulSync(LatestSuccessfulSyncT &&value)
void SetLatestSync(LatestSyncT &&value)
GetServiceInstanceSyncStatusResult & WithDesiredState(DesiredStateT &&value)
AWS_PROTON_API GetServiceInstanceSyncStatusResult()=default
GetServiceInstanceSyncStatusResult & WithRequestId(RequestIdT &&value)
const ResourceSyncAttempt & GetLatestSync() const
void SetDesiredState(DesiredStateT &&value)
const Revision & GetDesiredState() const
GetServiceInstanceSyncStatusResult & WithLatestSync(LatestSyncT &&value)
void SetRequestId(RequestIdT &&value)
AWS_PROTON_API GetServiceInstanceSyncStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue