AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceSyncStatusResult.h
1
6#pragma once
7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/model/Revision.h>
9#include <aws/codeconnections/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 CodeConnections
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODECONNECTIONS_API GetResourceSyncStatusResult();
35
36
38
42 inline const Revision& GetDesiredState() const{ return m_desiredState; }
43 inline void SetDesiredState(const Revision& value) { m_desiredState = value; }
44 inline void SetDesiredState(Revision&& value) { m_desiredState = std::move(value); }
45 inline GetResourceSyncStatusResult& WithDesiredState(const Revision& value) { SetDesiredState(value); return *this;}
46 inline GetResourceSyncStatusResult& WithDesiredState(Revision&& value) { SetDesiredState(std::move(value)); return *this;}
48
50
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
65 inline const ResourceSyncAttempt& GetLatestSync() const{ return m_latestSync; }
66 inline void SetLatestSync(const ResourceSyncAttempt& value) { m_latestSync = value; }
67 inline void SetLatestSync(ResourceSyncAttempt&& value) { m_latestSync = std::move(value); }
68 inline GetResourceSyncStatusResult& WithLatestSync(const ResourceSyncAttempt& value) { SetLatestSync(value); return *this;}
69 inline GetResourceSyncStatusResult& WithLatestSync(ResourceSyncAttempt&& value) { SetLatestSync(std::move(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline GetResourceSyncStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline GetResourceSyncStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline GetResourceSyncStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Revision m_desiredState;
85
86 ResourceSyncAttempt m_latestSuccessfulSync;
87
88 ResourceSyncAttempt m_latestSync;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace CodeConnections
95} // namespace Aws
GetResourceSyncStatusResult & WithLatestSync(ResourceSyncAttempt &&value)
GetResourceSyncStatusResult & WithLatestSuccessfulSync(ResourceSyncAttempt &&value)
GetResourceSyncStatusResult & WithLatestSync(const ResourceSyncAttempt &value)
AWS_CODECONNECTIONS_API GetResourceSyncStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceSyncStatusResult & WithRequestId(const char *value)
GetResourceSyncStatusResult & WithDesiredState(const Revision &value)
AWS_CODECONNECTIONS_API GetResourceSyncStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceSyncStatusResult & WithRequestId(const Aws::String &value)
GetResourceSyncStatusResult & WithLatestSuccessfulSync(const ResourceSyncAttempt &value)
GetResourceSyncStatusResult & WithDesiredState(Revision &&value)
GetResourceSyncStatusResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue