AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
StartReplicationBackfillResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecr/ECR_EXPORTS.h>
11#include <aws/ecr/model/ReplicationBackfillStatus.h>
12#include <aws/ecr/model/ReplicationDestination.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECR {
26namespace Model {
28 public:
29 AWS_ECR_API StartReplicationBackfillResult() = default;
32
34
38 inline const Aws::String& GetReplicationBackfillId() const { return m_replicationBackfillId; }
39 template <typename ReplicationBackfillIdT = Aws::String>
40 void SetReplicationBackfillId(ReplicationBackfillIdT&& value) {
41 m_replicationBackfillIdHasBeenSet = true;
42 m_replicationBackfillId = std::forward<ReplicationBackfillIdT>(value);
43 }
44 template <typename ReplicationBackfillIdT = Aws::String>
46 SetReplicationBackfillId(std::forward<ReplicationBackfillIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetRegistryId() const { return m_registryId; }
56 template <typename RegistryIdT = Aws::String>
57 void SetRegistryId(RegistryIdT&& value) {
58 m_registryIdHasBeenSet = true;
59 m_registryId = std::forward<RegistryIdT>(value);
60 }
61 template <typename RegistryIdT = Aws::String>
63 SetRegistryId(std::forward<RegistryIdT>(value));
64 return *this;
65 }
67
69
72 inline const ReplicationDestination& GetDestination() const { return m_destination; }
73 template <typename DestinationT = ReplicationDestination>
74 void SetDestination(DestinationT&& value) {
75 m_destinationHasBeenSet = true;
76 m_destination = std::forward<DestinationT>(value);
77 }
78 template <typename DestinationT = ReplicationDestination>
80 SetDestination(std::forward<DestinationT>(value));
81 return *this;
82 }
84
86
90 inline ReplicationBackfillStatus GetStatus() const { return m_status; }
92 m_statusHasBeenSet = true;
93 m_status = value;
94 }
96 SetStatus(value);
97 return *this;
98 }
100
102
106 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
107 template <typename StartedAtT = Aws::Utils::DateTime>
108 void SetStartedAt(StartedAtT&& value) {
109 m_startedAtHasBeenSet = true;
110 m_startedAt = std::forward<StartedAtT>(value);
111 }
112 template <typename StartedAtT = Aws::Utils::DateTime>
114 SetStartedAt(std::forward<StartedAtT>(value));
115 return *this;
116 }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 template <typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) {
124 m_requestIdHasBeenSet = true;
125 m_requestId = std::forward<RequestIdT>(value);
126 }
127 template <typename RequestIdT = Aws::String>
129 SetRequestId(std::forward<RequestIdT>(value));
130 return *this;
131 }
133 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
134
135 private:
136 Aws::String m_replicationBackfillId;
137
138 Aws::String m_registryId;
139
140 ReplicationDestination m_destination;
141
143
144 Aws::Utils::DateTime m_startedAt{};
145
146 Aws::String m_requestId;
147 Aws::Http::HttpResponseCode m_HttpResponseCode;
148 bool m_replicationBackfillIdHasBeenSet = false;
149 bool m_registryIdHasBeenSet = false;
150 bool m_destinationHasBeenSet = false;
151 bool m_statusHasBeenSet = false;
152 bool m_startedAtHasBeenSet = false;
153 bool m_requestIdHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace ECR
158} // namespace Aws
StartReplicationBackfillResult & WithReplicationBackfillId(ReplicationBackfillIdT &&value)
StartReplicationBackfillResult & WithStartedAt(StartedAtT &&value)
AWS_ECR_API StartReplicationBackfillResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECR_API StartReplicationBackfillResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartReplicationBackfillResult & WithRequestId(RequestIdT &&value)
StartReplicationBackfillResult & WithRegistryId(RegistryIdT &&value)
void SetReplicationBackfillId(ReplicationBackfillIdT &&value)
StartReplicationBackfillResult & WithStatus(ReplicationBackfillStatus value)
StartReplicationBackfillResult & WithDestination(DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue