AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PrivateRegistryAccess.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/ContainerServiceECRImagePullerRole.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
34 public:
35 AWS_LIGHTSAIL_API PrivateRegistryAccess() = default;
38 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
47 inline const ContainerServiceECRImagePullerRole& GetEcrImagePullerRole() const { return m_ecrImagePullerRole; }
48 inline bool EcrImagePullerRoleHasBeenSet() const { return m_ecrImagePullerRoleHasBeenSet; }
49 template <typename EcrImagePullerRoleT = ContainerServiceECRImagePullerRole>
50 void SetEcrImagePullerRole(EcrImagePullerRoleT&& value) {
51 m_ecrImagePullerRoleHasBeenSet = true;
52 m_ecrImagePullerRole = std::forward<EcrImagePullerRoleT>(value);
53 }
54 template <typename EcrImagePullerRoleT = ContainerServiceECRImagePullerRole>
55 PrivateRegistryAccess& WithEcrImagePullerRole(EcrImagePullerRoleT&& value) {
56 SetEcrImagePullerRole(std::forward<EcrImagePullerRoleT>(value));
57 return *this;
58 }
60 private:
61 ContainerServiceECRImagePullerRole m_ecrImagePullerRole;
62 bool m_ecrImagePullerRoleHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Lightsail
67} // namespace Aws
AWS_LIGHTSAIL_API PrivateRegistryAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
const ContainerServiceECRImagePullerRole & GetEcrImagePullerRole() const
AWS_LIGHTSAIL_API PrivateRegistryAccess()=default
AWS_LIGHTSAIL_API PrivateRegistryAccess(Aws::Utils::Json::JsonView jsonValue)
void SetEcrImagePullerRole(EcrImagePullerRoleT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateRegistryAccess & WithEcrImagePullerRole(EcrImagePullerRoleT &&value)
Aws::Utils::Json::JsonValue JsonValue