AWS SDK for C++

AWS SDK for C++ Version 1.11.913

Loading...
Searching...
No Matches
RegistryMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/Omics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Omics {
20namespace Model {
21
30 public:
31 AWS_OMICS_API RegistryMapping() = default;
34 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetUpstreamRegistryUrl() const { return m_upstreamRegistryUrl; }
41 inline bool UpstreamRegistryUrlHasBeenSet() const { return m_upstreamRegistryUrlHasBeenSet; }
42 template <typename UpstreamRegistryUrlT = Aws::String>
43 void SetUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) {
44 m_upstreamRegistryUrlHasBeenSet = true;
45 m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value);
46 }
47 template <typename UpstreamRegistryUrlT = Aws::String>
48 RegistryMapping& WithUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) {
49 SetUpstreamRegistryUrl(std::forward<UpstreamRegistryUrlT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEcrRepositoryPrefix() const { return m_ecrRepositoryPrefix; }
59 inline bool EcrRepositoryPrefixHasBeenSet() const { return m_ecrRepositoryPrefixHasBeenSet; }
60 template <typename EcrRepositoryPrefixT = Aws::String>
61 void SetEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) {
62 m_ecrRepositoryPrefixHasBeenSet = true;
63 m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value);
64 }
65 template <typename EcrRepositoryPrefixT = Aws::String>
66 RegistryMapping& WithEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) {
67 SetEcrRepositoryPrefix(std::forward<EcrRepositoryPrefixT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetUpstreamRepositoryPrefix() const { return m_upstreamRepositoryPrefix; }
78 inline bool UpstreamRepositoryPrefixHasBeenSet() const { return m_upstreamRepositoryPrefixHasBeenSet; }
79 template <typename UpstreamRepositoryPrefixT = Aws::String>
80 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) {
81 m_upstreamRepositoryPrefixHasBeenSet = true;
82 m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value);
83 }
84 template <typename UpstreamRepositoryPrefixT = Aws::String>
85 RegistryMapping& WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) {
86 SetUpstreamRepositoryPrefix(std::forward<UpstreamRepositoryPrefixT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetEcrAccountId() const { return m_ecrAccountId; }
96 inline bool EcrAccountIdHasBeenSet() const { return m_ecrAccountIdHasBeenSet; }
97 template <typename EcrAccountIdT = Aws::String>
98 void SetEcrAccountId(EcrAccountIdT&& value) {
99 m_ecrAccountIdHasBeenSet = true;
100 m_ecrAccountId = std::forward<EcrAccountIdT>(value);
101 }
102 template <typename EcrAccountIdT = Aws::String>
103 RegistryMapping& WithEcrAccountId(EcrAccountIdT&& value) {
104 SetEcrAccountId(std::forward<EcrAccountIdT>(value));
105 return *this;
106 }
108
110
121 inline const Aws::String& GetCredentialArn() const { return m_credentialArn; }
122 inline bool CredentialArnHasBeenSet() const { return m_credentialArnHasBeenSet; }
123 template <typename CredentialArnT = Aws::String>
124 void SetCredentialArn(CredentialArnT&& value) {
125 m_credentialArnHasBeenSet = true;
126 m_credentialArn = std::forward<CredentialArnT>(value);
127 }
128 template <typename CredentialArnT = Aws::String>
129 RegistryMapping& WithCredentialArn(CredentialArnT&& value) {
130 SetCredentialArn(std::forward<CredentialArnT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_upstreamRegistryUrl;
136
137 Aws::String m_ecrRepositoryPrefix;
138
139 Aws::String m_upstreamRepositoryPrefix;
140
141 Aws::String m_ecrAccountId;
142
143 Aws::String m_credentialArn;
144 bool m_upstreamRegistryUrlHasBeenSet = false;
145 bool m_ecrRepositoryPrefixHasBeenSet = false;
146 bool m_upstreamRepositoryPrefixHasBeenSet = false;
147 bool m_ecrAccountIdHasBeenSet = false;
148 bool m_credentialArnHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Omics
153} // namespace Aws
RegistryMapping & WithUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
AWS_OMICS_API RegistryMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API RegistryMapping()=default
RegistryMapping & WithCredentialArn(CredentialArnT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
const Aws::String & GetCredentialArn() const
void SetCredentialArn(CredentialArnT &&value)
RegistryMapping & WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
RegistryMapping & WithEcrAccountId(EcrAccountIdT &&value)
void SetEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
const Aws::String & GetEcrRepositoryPrefix() const
RegistryMapping & WithEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
AWS_OMICS_API RegistryMapping(Aws::Utils::Json::JsonView jsonValue)
void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
const Aws::String & GetUpstreamRepositoryPrefix() const
const Aws::String & GetUpstreamRegistryUrl() const
void SetEcrAccountId(EcrAccountIdT &&value)
const Aws::String & GetEcrAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue