AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeRegistryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/ReplicationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ECR {
24namespace Model {
26 public:
27 AWS_ECR_API DescribeRegistryResult() = default;
30
32
35 inline const Aws::String& GetRegistryId() const { return m_registryId; }
36 template <typename RegistryIdT = Aws::String>
37 void SetRegistryId(RegistryIdT&& value) {
38 m_registryIdHasBeenSet = true;
39 m_registryId = std::forward<RegistryIdT>(value);
40 }
41 template <typename RegistryIdT = Aws::String>
42 DescribeRegistryResult& WithRegistryId(RegistryIdT&& value) {
43 SetRegistryId(std::forward<RegistryIdT>(value));
44 return *this;
45 }
47
49
52 inline const ReplicationConfiguration& GetReplicationConfiguration() const { return m_replicationConfiguration; }
53 template <typename ReplicationConfigurationT = ReplicationConfiguration>
54 void SetReplicationConfiguration(ReplicationConfigurationT&& value) {
55 m_replicationConfigurationHasBeenSet = true;
56 m_replicationConfiguration = std::forward<ReplicationConfigurationT>(value);
57 }
58 template <typename ReplicationConfigurationT = ReplicationConfiguration>
59 DescribeRegistryResult& WithReplicationConfiguration(ReplicationConfigurationT&& value) {
60 SetReplicationConfiguration(std::forward<ReplicationConfigurationT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_registryId;
83
84 ReplicationConfiguration m_replicationConfiguration;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_registryIdHasBeenSet = false;
89 bool m_replicationConfigurationHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace ECR
95} // namespace Aws
AWS_ECR_API DescribeRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReplicationConfiguration(ReplicationConfigurationT &&value)
AWS_ECR_API DescribeRegistryResult()=default
DescribeRegistryResult & WithRequestId(RequestIdT &&value)
DescribeRegistryResult & WithReplicationConfiguration(ReplicationConfigurationT &&value)
AWS_ECR_API DescribeRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ReplicationConfiguration & GetReplicationConfiguration() const
DescribeRegistryResult & WithRegistryId(RegistryIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue