AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetServiceInstanceSyncStatusResult.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Proton
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Revision& GetDesiredState() const{ return m_desiredState; }
42 inline void SetDesiredState(const Revision& value) { m_desiredState = value; }
43 inline void SetDesiredState(Revision&& value) { m_desiredState = std::move(value); }
44 inline GetServiceInstanceSyncStatusResult& WithDesiredState(const Revision& value) { SetDesiredState(value); return *this;}
45 inline GetServiceInstanceSyncStatusResult& WithDesiredState(Revision&& value) { SetDesiredState(std::move(value)); return *this;}
47
49
53 inline const ResourceSyncAttempt& GetLatestSuccessfulSync() const{ return m_latestSuccessfulSync; }
54 inline void SetLatestSuccessfulSync(const ResourceSyncAttempt& value) { m_latestSuccessfulSync = value; }
55 inline void SetLatestSuccessfulSync(ResourceSyncAttempt&& value) { m_latestSuccessfulSync = std::move(value); }
59
61
64 inline const ResourceSyncAttempt& GetLatestSync() const{ return m_latestSync; }
65 inline void SetLatestSync(const ResourceSyncAttempt& value) { m_latestSync = value; }
66 inline void SetLatestSync(ResourceSyncAttempt&& value) { m_latestSync = std::move(value); }
68 inline GetServiceInstanceSyncStatusResult& WithLatestSync(ResourceSyncAttempt&& value) { SetLatestSync(std::move(value)); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline GetServiceInstanceSyncStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline GetServiceInstanceSyncStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline GetServiceInstanceSyncStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Revision m_desiredState;
84
85 ResourceSyncAttempt m_latestSuccessfulSync;
86
87 ResourceSyncAttempt m_latestSync;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace Proton
94} // namespace Aws
GetServiceInstanceSyncStatusResult & WithDesiredState(const Revision &value)
GetServiceInstanceSyncStatusResult & WithRequestId(const Aws::String &value)
GetServiceInstanceSyncStatusResult & WithDesiredState(Revision &&value)
GetServiceInstanceSyncStatusResult & WithLatestSync(ResourceSyncAttempt &&value)
AWS_PROTON_API GetServiceInstanceSyncStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceInstanceSyncStatusResult & WithLatestSuccessfulSync(ResourceSyncAttempt &&value)
GetServiceInstanceSyncStatusResult & WithLatestSync(const ResourceSyncAttempt &value)
GetServiceInstanceSyncStatusResult & WithRequestId(Aws::String &&value)
GetServiceInstanceSyncStatusResult & WithLatestSuccessfulSync(const ResourceSyncAttempt &value)
GetServiceInstanceSyncStatusResult & WithRequestId(const char *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