AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
RegistryMapping.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Omics
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_OMICS_API RegistryMapping() = default;
39 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetUpstreamRegistryUrl() const { return m_upstreamRegistryUrl; }
47 inline bool UpstreamRegistryUrlHasBeenSet() const { return m_upstreamRegistryUrlHasBeenSet; }
48 template<typename UpstreamRegistryUrlT = Aws::String>
49 void SetUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { m_upstreamRegistryUrlHasBeenSet = true; m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value); }
50 template<typename UpstreamRegistryUrlT = Aws::String>
51 RegistryMapping& WithUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { SetUpstreamRegistryUrl(std::forward<UpstreamRegistryUrlT>(value)); return *this;}
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) { m_ecrRepositoryPrefixHasBeenSet = true; m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value); }
62 template<typename EcrRepositoryPrefixT = Aws::String>
63 RegistryMapping& WithEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { SetEcrRepositoryPrefix(std::forward<EcrRepositoryPrefixT>(value)); return *this;}
65
67
71 inline const Aws::String& GetUpstreamRepositoryPrefix() const { return m_upstreamRepositoryPrefix; }
72 inline bool UpstreamRepositoryPrefixHasBeenSet() const { return m_upstreamRepositoryPrefixHasBeenSet; }
73 template<typename UpstreamRepositoryPrefixT = Aws::String>
74 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { m_upstreamRepositoryPrefixHasBeenSet = true; m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value); }
75 template<typename UpstreamRepositoryPrefixT = Aws::String>
76 RegistryMapping& WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { SetUpstreamRepositoryPrefix(std::forward<UpstreamRepositoryPrefixT>(value)); return *this;}
78
80
83 inline const Aws::String& GetEcrAccountId() const { return m_ecrAccountId; }
84 inline bool EcrAccountIdHasBeenSet() const { return m_ecrAccountIdHasBeenSet; }
85 template<typename EcrAccountIdT = Aws::String>
86 void SetEcrAccountId(EcrAccountIdT&& value) { m_ecrAccountIdHasBeenSet = true; m_ecrAccountId = std::forward<EcrAccountIdT>(value); }
87 template<typename EcrAccountIdT = Aws::String>
88 RegistryMapping& WithEcrAccountId(EcrAccountIdT&& value) { SetEcrAccountId(std::forward<EcrAccountIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_upstreamRegistryUrl;
93 bool m_upstreamRegistryUrlHasBeenSet = false;
94
95 Aws::String m_ecrRepositoryPrefix;
96 bool m_ecrRepositoryPrefixHasBeenSet = false;
97
98 Aws::String m_upstreamRepositoryPrefix;
99 bool m_upstreamRepositoryPrefixHasBeenSet = false;
100
101 Aws::String m_ecrAccountId;
102 bool m_ecrAccountIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Omics
107} // 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