AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PrivateRegistryAccessRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/ContainerServiceECRImagePullerRoleRequest.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 Lightsail
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_LIGHTSAIL_API PrivateRegistryAccessRequest() = default;
43 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const ContainerServiceECRImagePullerRoleRequest& GetEcrImagePullerRole() const { return m_ecrImagePullerRole; }
53 inline bool EcrImagePullerRoleHasBeenSet() const { return m_ecrImagePullerRoleHasBeenSet; }
54 template<typename EcrImagePullerRoleT = ContainerServiceECRImagePullerRoleRequest>
55 void SetEcrImagePullerRole(EcrImagePullerRoleT&& value) { m_ecrImagePullerRoleHasBeenSet = true; m_ecrImagePullerRole = std::forward<EcrImagePullerRoleT>(value); }
56 template<typename EcrImagePullerRoleT = ContainerServiceECRImagePullerRoleRequest>
57 PrivateRegistryAccessRequest& WithEcrImagePullerRole(EcrImagePullerRoleT&& value) { SetEcrImagePullerRole(std::forward<EcrImagePullerRoleT>(value)); return *this;}
59 private:
60
62 bool m_ecrImagePullerRoleHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace Lightsail
67} // namespace Aws
AWS_LIGHTSAIL_API PrivateRegistryAccessRequest(Aws::Utils::Json::JsonView jsonValue)
const ContainerServiceECRImagePullerRoleRequest & GetEcrImagePullerRole() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateRegistryAccessRequest & WithEcrImagePullerRole(EcrImagePullerRoleT &&value)
AWS_LIGHTSAIL_API PrivateRegistryAccessRequest()=default
AWS_LIGHTSAIL_API PrivateRegistryAccessRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue