AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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 private:
109 Aws::String m_upstreamRegistryUrl;
110
111 Aws::String m_ecrRepositoryPrefix;
112
113 Aws::String m_upstreamRepositoryPrefix;
114
115 Aws::String m_ecrAccountId;
116 bool m_upstreamRegistryUrlHasBeenSet = false;
117 bool m_ecrRepositoryPrefixHasBeenSet = false;
118 bool m_upstreamRepositoryPrefixHasBeenSet = false;
119 bool m_ecrAccountIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Omics
124} // namespace Aws
RegistryMapping & WithUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
AWS_OMICS_API RegistryMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API RegistryMapping()=default
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpstreamRegistryUrl(UpstreamRegistryUrlT &&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