AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageReplicationStatus.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/ReplicationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECR
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetRegion() const{ return m_region; }
47 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
48 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
49 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
50 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
51 inline ImageReplicationStatus& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
52 inline ImageReplicationStatus& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
53 inline ImageReplicationStatus& WithRegion(const char* value) { SetRegion(value); return *this;}
55
57
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 ImageReplicationStatus& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
67 inline ImageReplicationStatus& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
68 inline ImageReplicationStatus& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
70
72
75 inline const ReplicationStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const ReplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(ReplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline ImageReplicationStatus& WithStatus(const ReplicationStatus& value) { SetStatus(value); return *this;}
80 inline ImageReplicationStatus& WithStatus(ReplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetFailureCode() const{ return m_failureCode; }
88 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
89 inline void SetFailureCode(const Aws::String& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
90 inline void SetFailureCode(Aws::String&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
91 inline void SetFailureCode(const char* value) { m_failureCodeHasBeenSet = true; m_failureCode.assign(value); }
92 inline ImageReplicationStatus& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;}
93 inline ImageReplicationStatus& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;}
94 inline ImageReplicationStatus& WithFailureCode(const char* value) { SetFailureCode(value); return *this;}
96 private:
97
98 Aws::String m_region;
99 bool m_regionHasBeenSet = false;
100
101 Aws::String m_registryId;
102 bool m_registryIdHasBeenSet = false;
103
104 ReplicationStatus m_status;
105 bool m_statusHasBeenSet = false;
106
107 Aws::String m_failureCode;
108 bool m_failureCodeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ECR
113} // namespace Aws
ImageReplicationStatus & WithRegion(Aws::String &&value)
AWS_ECR_API ImageReplicationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageReplicationStatus & WithFailureCode(const char *value)
ImageReplicationStatus & WithRegistryId(Aws::String &&value)
void SetRegistryId(const Aws::String &value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
ImageReplicationStatus & WithRegistryId(const Aws::String &value)
ImageReplicationStatus & WithStatus(const ReplicationStatus &value)
ImageReplicationStatus & WithRegion(const char *value)
void SetStatus(const ReplicationStatus &value)
ImageReplicationStatus & WithFailureCode(const Aws::String &value)
const ReplicationStatus & GetStatus() const
ImageReplicationStatus & WithStatus(ReplicationStatus &&value)
void SetFailureCode(const Aws::String &value)
AWS_ECR_API ImageReplicationStatus(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ReplicationStatus &&value)
ImageReplicationStatus & WithRegion(const Aws::String &value)
ImageReplicationStatus & WithRegistryId(const char *value)
ImageReplicationStatus & WithFailureCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue