AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTemplateSyncStatusResult.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 GetTemplateSyncStatusResult& WithDesiredState(const Revision& value) { SetDesiredState(value); return *this;}
45 inline GetTemplateSyncStatusResult& WithDesiredState(Revision&& value) { SetDesiredState(std::move(value)); return *this;}
47
49
52 inline const ResourceSyncAttempt& GetLatestSuccessfulSync() const{ return m_latestSuccessfulSync; }
53 inline void SetLatestSuccessfulSync(const ResourceSyncAttempt& value) { m_latestSuccessfulSync = value; }
54 inline void SetLatestSuccessfulSync(ResourceSyncAttempt&& value) { m_latestSuccessfulSync = std::move(value); }
58
60
63 inline const ResourceSyncAttempt& GetLatestSync() const{ return m_latestSync; }
64 inline void SetLatestSync(const ResourceSyncAttempt& value) { m_latestSync = value; }
65 inline void SetLatestSync(ResourceSyncAttempt&& value) { m_latestSync = std::move(value); }
66 inline GetTemplateSyncStatusResult& WithLatestSync(const ResourceSyncAttempt& value) { SetLatestSync(value); return *this;}
67 inline GetTemplateSyncStatusResult& WithLatestSync(ResourceSyncAttempt&& value) { SetLatestSync(std::move(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline GetTemplateSyncStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline GetTemplateSyncStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline GetTemplateSyncStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Revision m_desiredState;
83
84 ResourceSyncAttempt m_latestSuccessfulSync;
85
86 ResourceSyncAttempt m_latestSync;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace Proton
93} // namespace Aws
GetTemplateSyncStatusResult & WithRequestId(const char *value)
AWS_PROTON_API GetTemplateSyncStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTemplateSyncStatusResult & WithLatestSuccessfulSync(const ResourceSyncAttempt &value)
GetTemplateSyncStatusResult & WithRequestId(Aws::String &&value)
GetTemplateSyncStatusResult & WithRequestId(const Aws::String &value)
GetTemplateSyncStatusResult & WithLatestSuccessfulSync(ResourceSyncAttempt &&value)
const ResourceSyncAttempt & GetLatestSuccessfulSync() const
AWS_PROTON_API GetTemplateSyncStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTemplateSyncStatusResult & WithDesiredState(Revision &&value)
GetTemplateSyncStatusResult & WithLatestSync(ResourceSyncAttempt &&value)
GetTemplateSyncStatusResult & WithDesiredState(const Revision &value)
void SetLatestSync(const ResourceSyncAttempt &value)
void SetLatestSuccessfulSync(const ResourceSyncAttempt &value)
GetTemplateSyncStatusResult & WithLatestSync(const ResourceSyncAttempt &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue