AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReplicationDestination.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ECR
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ECR_API ReplicationDestination() = default;
39
40
42
45 inline const Aws::String& GetRegion() const { return m_region; }
46 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
47 template<typename RegionT = Aws::String>
48 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
49 template<typename RegionT = Aws::String>
50 ReplicationDestination& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
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) { m_registryIdHasBeenSet = true; m_registryId = std::forward<RegistryIdT>(value); }
63 template<typename RegistryIdT = Aws::String>
64 ReplicationDestination& WithRegistryId(RegistryIdT&& value) { SetRegistryId(std::forward<RegistryIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_region;
69 bool m_regionHasBeenSet = false;
70
71 Aws::String m_registryId;
72 bool m_registryIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ECR
77} // 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