AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
StopReplicationBackfillResult.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 StopReplicationBackfillResult() = default;
32
34
37 inline const Aws::String& GetRegistryId() const { return m_registryId; }
38 template <typename RegistryIdT = Aws::String>
39 void SetRegistryId(RegistryIdT&& value) {
40 m_registryIdHasBeenSet = true;
41 m_registryId = std::forward<RegistryIdT>(value);
42 }
43 template <typename RegistryIdT = Aws::String>
45 SetRegistryId(std::forward<RegistryIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetReplicationBackfillId() const { return m_replicationBackfillId; }
55 template <typename ReplicationBackfillIdT = Aws::String>
56 void SetReplicationBackfillId(ReplicationBackfillIdT&& value) {
57 m_replicationBackfillIdHasBeenSet = true;
58 m_replicationBackfillId = std::forward<ReplicationBackfillIdT>(value);
59 }
60 template <typename ReplicationBackfillIdT = Aws::String>
62 SetReplicationBackfillId(std::forward<ReplicationBackfillIdT>(value));
63 return *this;
64 }
66
68
71 inline const ReplicationDestination& GetDestination() const { return m_destination; }
72 template <typename DestinationT = ReplicationDestination>
73 void SetDestination(DestinationT&& value) {
74 m_destinationHasBeenSet = true;
75 m_destination = std::forward<DestinationT>(value);
76 }
77 template <typename DestinationT = ReplicationDestination>
79 SetDestination(std::forward<DestinationT>(value));
80 return *this;
81 }
83
85
91 inline ReplicationBackfillStatus GetStatus() const { return m_status; }
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101
103
107 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
108 template <typename StartedAtT = Aws::Utils::DateTime>
109 void SetStartedAt(StartedAtT&& value) {
110 m_startedAtHasBeenSet = true;
111 m_startedAt = std::forward<StartedAtT>(value);
112 }
113 template <typename StartedAtT = Aws::Utils::DateTime>
115 SetStartedAt(std::forward<StartedAtT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
135
136 private:
137 Aws::String m_registryId;
138
139 Aws::String m_replicationBackfillId;
140
141 ReplicationDestination m_destination;
142
144
145 Aws::Utils::DateTime m_startedAt{};
146
147 Aws::String m_requestId;
148 Aws::Http::HttpResponseCode m_HttpResponseCode;
149 bool m_registryIdHasBeenSet = false;
150 bool m_replicationBackfillIdHasBeenSet = false;
151 bool m_destinationHasBeenSet = false;
152 bool m_statusHasBeenSet = false;
153 bool m_startedAtHasBeenSet = false;
154 bool m_requestIdHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace ECR
159} // namespace Aws
void SetReplicationBackfillId(ReplicationBackfillIdT &&value)
StopReplicationBackfillResult & WithStatus(ReplicationBackfillStatus value)
StopReplicationBackfillResult & WithDestination(DestinationT &&value)
const ReplicationDestination & GetDestination() const
StopReplicationBackfillResult & WithRegistryId(RegistryIdT &&value)
AWS_ECR_API StopReplicationBackfillResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopReplicationBackfillResult & WithRequestId(RequestIdT &&value)
StopReplicationBackfillResult & WithStartedAt(StartedAtT &&value)
AWS_ECR_API StopReplicationBackfillResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopReplicationBackfillResult & WithReplicationBackfillId(ReplicationBackfillIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue