AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ReplicationDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecr/ECR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECR {
20namespace Model {
21
29 public:
30 AWS_ECR_API ReplicationDestination() = default;
34
36
39 inline const Aws::String& GetRegion() const { return m_region; }
40 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
41 template <typename RegionT = Aws::String>
42 void SetRegion(RegionT&& value) {
43 m_regionHasBeenSet = true;
44 m_region = std::forward<RegionT>(value);
45 }
46 template <typename RegionT = Aws::String>
48 SetRegion(std::forward<RegionT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetRegistryId() const { return m_registryId; }
60 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
61 template <typename RegistryIdT = Aws::String>
62 void SetRegistryId(RegistryIdT&& value) {
63 m_registryIdHasBeenSet = true;
64 m_registryId = std::forward<RegistryIdT>(value);
65 }
66 template <typename RegistryIdT = Aws::String>
67 ReplicationDestination& WithRegistryId(RegistryIdT&& value) {
68 SetRegistryId(std::forward<RegistryIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_region;
74
75 Aws::String m_registryId;
76 bool m_regionHasBeenSet = false;
77 bool m_registryIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ECR
82} // namespace Aws
ReplicationDestination & WithRegistryId(RegistryIdT &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECR_API ReplicationDestination()=default
ReplicationDestination & WithRegion(RegionT &&value)
AWS_ECR_API ReplicationDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API ReplicationDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue