AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Aws::String& GetRegion() const{ return m_region; }
46 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
47 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
48 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
49 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
50 inline ReplicationDestination& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
51 inline ReplicationDestination& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
52 inline ReplicationDestination& WithRegion(const char* value) { SetRegion(value); return *this;}
54
56
61 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
62 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
63 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
64 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
65 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
66 inline ReplicationDestination& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
67 inline ReplicationDestination& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
68 inline ReplicationDestination& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
70 private:
71
72 Aws::String m_region;
73 bool m_regionHasBeenSet = false;
74
75 Aws::String m_registryId;
76 bool m_registryIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ECR
81} // namespace Aws
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationDestination & WithRegistryId(Aws::String &&value)
ReplicationDestination & WithRegion(Aws::String &&value)
ReplicationDestination & WithRegion(const char *value)
ReplicationDestination & WithRegistryId(const char *value)
ReplicationDestination & WithRegistryId(const Aws::String &value)
void SetRegistryId(const Aws::String &value)
ReplicationDestination & WithRegion(const Aws::String &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