AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
RegistryId.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API RegistryId() = default;
31 AWS_GLUE_API RegistryId(Aws::Utils::Json::JsonView jsonValue);
34
36
40 inline const Aws::String& GetRegistryName() const { return m_registryName; }
41 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
42 template <typename RegistryNameT = Aws::String>
43 void SetRegistryName(RegistryNameT&& value) {
44 m_registryNameHasBeenSet = true;
45 m_registryName = std::forward<RegistryNameT>(value);
46 }
47 template <typename RegistryNameT = Aws::String>
48 RegistryId& WithRegistryName(RegistryNameT&& value) {
49 SetRegistryName(std::forward<RegistryNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
60 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
61 template <typename RegistryArnT = Aws::String>
62 void SetRegistryArn(RegistryArnT&& value) {
63 m_registryArnHasBeenSet = true;
64 m_registryArn = std::forward<RegistryArnT>(value);
65 }
66 template <typename RegistryArnT = Aws::String>
67 RegistryId& WithRegistryArn(RegistryArnT&& value) {
68 SetRegistryArn(std::forward<RegistryArnT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_registryName;
74 bool m_registryNameHasBeenSet = false;
75
76 Aws::String m_registryArn;
77 bool m_registryArnHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
bool RegistryArnHasBeenSet() const
Definition RegistryId.h:60
AWS_GLUE_API RegistryId(Aws::Utils::Json::JsonView jsonValue)
void SetRegistryArn(RegistryArnT &&value)
Definition RegistryId.h:62
AWS_GLUE_API RegistryId & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RegistryNameHasBeenSet() const
Definition RegistryId.h:41
const Aws::String & GetRegistryArn() const
Definition RegistryId.h:59
AWS_GLUE_API RegistryId()=default
RegistryId & WithRegistryArn(RegistryArnT &&value)
Definition RegistryId.h:67
RegistryId & WithRegistryName(RegistryNameT &&value)
Definition RegistryId.h:48
const Aws::String & GetRegistryName() const
Definition RegistryId.h:40
void SetRegistryName(RegistryNameT &&value)
Definition RegistryId.h:43
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue