AWS SDK for C++

AWS SDK for C++ Version 1.11.682

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
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 PrivateRegistryAccessRequest() = default;
38 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
46 inline const ContainerServiceECRImagePullerRoleRequest& GetEcrImagePullerRole() const { return m_ecrImagePullerRole; }
47 inline bool EcrImagePullerRoleHasBeenSet() const { return m_ecrImagePullerRoleHasBeenSet; }
48 template <typename EcrImagePullerRoleT = ContainerServiceECRImagePullerRoleRequest>
49 void SetEcrImagePullerRole(EcrImagePullerRoleT&& value) {
50 m_ecrImagePullerRoleHasBeenSet = true;
51 m_ecrImagePullerRole = std::forward<EcrImagePullerRoleT>(value);
52 }
53 template <typename EcrImagePullerRoleT = ContainerServiceECRImagePullerRoleRequest>
55 SetEcrImagePullerRole(std::forward<EcrImagePullerRoleT>(value));
56 return *this;
57 }
59 private:
61 bool m_ecrImagePullerRoleHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Lightsail
66} // 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