AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidatePullThroughCacheRuleResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ECR
24{
25namespace Model
26{
28 {
29 public:
33
34
36
40 inline const Aws::String& GetEcrRepositoryPrefix() const{ return m_ecrRepositoryPrefix; }
41 inline void SetEcrRepositoryPrefix(const Aws::String& value) { m_ecrRepositoryPrefix = value; }
42 inline void SetEcrRepositoryPrefix(Aws::String&& value) { m_ecrRepositoryPrefix = std::move(value); }
43 inline void SetEcrRepositoryPrefix(const char* value) { m_ecrRepositoryPrefix.assign(value); }
46 inline ValidatePullThroughCacheRuleResult& WithEcrRepositoryPrefix(const char* value) { SetEcrRepositoryPrefix(value); return *this;}
48
50
53 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
54 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
55 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
56 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
57 inline ValidatePullThroughCacheRuleResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
58 inline ValidatePullThroughCacheRuleResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
59 inline ValidatePullThroughCacheRuleResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
61
63
66 inline const Aws::String& GetUpstreamRegistryUrl() const{ return m_upstreamRegistryUrl; }
67 inline void SetUpstreamRegistryUrl(const Aws::String& value) { m_upstreamRegistryUrl = value; }
68 inline void SetUpstreamRegistryUrl(Aws::String&& value) { m_upstreamRegistryUrl = std::move(value); }
69 inline void SetUpstreamRegistryUrl(const char* value) { m_upstreamRegistryUrl.assign(value); }
72 inline ValidatePullThroughCacheRuleResult& WithUpstreamRegistryUrl(const char* value) { SetUpstreamRegistryUrl(value); return *this;}
74
76
80 inline const Aws::String& GetCredentialArn() const{ return m_credentialArn; }
81 inline void SetCredentialArn(const Aws::String& value) { m_credentialArn = value; }
82 inline void SetCredentialArn(Aws::String&& value) { m_credentialArn = std::move(value); }
83 inline void SetCredentialArn(const char* value) { m_credentialArn.assign(value); }
85 inline ValidatePullThroughCacheRuleResult& WithCredentialArn(Aws::String&& value) { SetCredentialArn(std::move(value)); return *this;}
86 inline ValidatePullThroughCacheRuleResult& WithCredentialArn(const char* value) { SetCredentialArn(value); return *this;}
88
90
96 inline bool GetIsValid() const{ return m_isValid; }
97 inline void SetIsValid(bool value) { m_isValid = value; }
98 inline ValidatePullThroughCacheRuleResult& WithIsValid(bool value) { SetIsValid(value); return *this;}
100
102
109 inline const Aws::String& GetFailure() const{ return m_failure; }
110 inline void SetFailure(const Aws::String& value) { m_failure = value; }
111 inline void SetFailure(Aws::String&& value) { m_failure = std::move(value); }
112 inline void SetFailure(const char* value) { m_failure.assign(value); }
113 inline ValidatePullThroughCacheRuleResult& WithFailure(const Aws::String& value) { SetFailure(value); return *this;}
114 inline ValidatePullThroughCacheRuleResult& WithFailure(Aws::String&& value) { SetFailure(std::move(value)); return *this;}
115 inline ValidatePullThroughCacheRuleResult& WithFailure(const char* value) { SetFailure(value); return *this;}
117
119
120 inline const Aws::String& GetRequestId() const{ return m_requestId; }
121 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
122 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
123 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
124 inline ValidatePullThroughCacheRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
125 inline ValidatePullThroughCacheRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
126 inline ValidatePullThroughCacheRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
128 private:
129
130 Aws::String m_ecrRepositoryPrefix;
131
132 Aws::String m_registryId;
133
134 Aws::String m_upstreamRegistryUrl;
135
136 Aws::String m_credentialArn;
137
138 bool m_isValid;
139
140 Aws::String m_failure;
141
142 Aws::String m_requestId;
143 };
144
145} // namespace Model
146} // namespace ECR
147} // namespace Aws
ValidatePullThroughCacheRuleResult & WithRegistryId(Aws::String &&value)
ValidatePullThroughCacheRuleResult & WithCredentialArn(const char *value)
ValidatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const Aws::String &value)
ValidatePullThroughCacheRuleResult & WithCredentialArn(Aws::String &&value)
ValidatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(Aws::String &&value)
ValidatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(Aws::String &&value)
ValidatePullThroughCacheRuleResult & WithFailure(Aws::String &&value)
ValidatePullThroughCacheRuleResult & WithRegistryId(const Aws::String &value)
ValidatePullThroughCacheRuleResult & WithFailure(const Aws::String &value)
ValidatePullThroughCacheRuleResult & WithRequestId(const char *value)
ValidatePullThroughCacheRuleResult & WithIsValid(bool value)
ValidatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(const Aws::String &value)
AWS_ECR_API ValidatePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ValidatePullThroughCacheRuleResult & WithRegistryId(const char *value)
ValidatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(const char *value)
AWS_ECR_API ValidatePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ValidatePullThroughCacheRuleResult & WithCredentialArn(const Aws::String &value)
ValidatePullThroughCacheRuleResult & WithRequestId(const Aws::String &value)
ValidatePullThroughCacheRuleResult & WithRequestId(Aws::String &&value)
ValidatePullThroughCacheRuleResult & WithFailure(const char *value)
ValidatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue