AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePullThroughCacheRuleResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ecr/model/UpstreamRegistry.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECR
26{
27namespace Model
28{
30 {
31 public:
35
36
38
42 inline const Aws::String& GetEcrRepositoryPrefix() const{ return m_ecrRepositoryPrefix; }
43 inline void SetEcrRepositoryPrefix(const Aws::String& value) { m_ecrRepositoryPrefix = value; }
44 inline void SetEcrRepositoryPrefix(Aws::String&& value) { m_ecrRepositoryPrefix = std::move(value); }
45 inline void SetEcrRepositoryPrefix(const char* value) { m_ecrRepositoryPrefix.assign(value); }
48 inline CreatePullThroughCacheRuleResult& WithEcrRepositoryPrefix(const char* value) { SetEcrRepositoryPrefix(value); return *this;}
50
52
55 inline const Aws::String& GetUpstreamRegistryUrl() const{ return m_upstreamRegistryUrl; }
56 inline void SetUpstreamRegistryUrl(const Aws::String& value) { m_upstreamRegistryUrl = value; }
57 inline void SetUpstreamRegistryUrl(Aws::String&& value) { m_upstreamRegistryUrl = std::move(value); }
58 inline void SetUpstreamRegistryUrl(const char* value) { m_upstreamRegistryUrl.assign(value); }
61 inline CreatePullThroughCacheRuleResult& WithUpstreamRegistryUrl(const char* value) { SetUpstreamRegistryUrl(value); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
70 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
71 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
73 inline CreatePullThroughCacheRuleResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
81 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
82 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
83 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
84 inline CreatePullThroughCacheRuleResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
85 inline CreatePullThroughCacheRuleResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
86 inline CreatePullThroughCacheRuleResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
88
90
94 inline const UpstreamRegistry& GetUpstreamRegistry() const{ return m_upstreamRegistry; }
95 inline void SetUpstreamRegistry(const UpstreamRegistry& value) { m_upstreamRegistry = value; }
96 inline void SetUpstreamRegistry(UpstreamRegistry&& value) { m_upstreamRegistry = std::move(value); }
100
102
106 inline const Aws::String& GetCredentialArn() const{ return m_credentialArn; }
107 inline void SetCredentialArn(const Aws::String& value) { m_credentialArn = value; }
108 inline void SetCredentialArn(Aws::String&& value) { m_credentialArn = std::move(value); }
109 inline void SetCredentialArn(const char* value) { m_credentialArn.assign(value); }
111 inline CreatePullThroughCacheRuleResult& WithCredentialArn(Aws::String&& value) { SetCredentialArn(std::move(value)); return *this;}
112 inline CreatePullThroughCacheRuleResult& WithCredentialArn(const char* value) { SetCredentialArn(value); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
119 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
120 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 inline CreatePullThroughCacheRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
122 inline CreatePullThroughCacheRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
123 inline CreatePullThroughCacheRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
125 private:
126
127 Aws::String m_ecrRepositoryPrefix;
128
129 Aws::String m_upstreamRegistryUrl;
130
131 Aws::Utils::DateTime m_createdAt;
132
133 Aws::String m_registryId;
134
135 UpstreamRegistry m_upstreamRegistry;
136
137 Aws::String m_credentialArn;
138
139 Aws::String m_requestId;
140 };
141
142} // namespace Model
143} // namespace ECR
144} // namespace Aws
CreatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const Aws::String &value)
CreatePullThroughCacheRuleResult & WithRequestId(const char *value)
CreatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(Aws::String &&value)
CreatePullThroughCacheRuleResult & WithCredentialArn(Aws::String &&value)
CreatePullThroughCacheRuleResult & WithUpstreamRegistry(UpstreamRegistry &&value)
CreatePullThroughCacheRuleResult & WithRegistryId(Aws::String &&value)
AWS_ECR_API CreatePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const char *value)
CreatePullThroughCacheRuleResult & WithRegistryId(const Aws::String &value)
CreatePullThroughCacheRuleResult & WithRequestId(Aws::String &&value)
CreatePullThroughCacheRuleResult & WithCredentialArn(const Aws::String &value)
CreatePullThroughCacheRuleResult & WithRegistryId(const char *value)
CreatePullThroughCacheRuleResult & WithCredentialArn(const char *value)
CreatePullThroughCacheRuleResult & WithRequestId(const Aws::String &value)
CreatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(const char *value)
CreatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(Aws::String &&value)
AWS_ECR_API CreatePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePullThroughCacheRuleResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreatePullThroughCacheRuleResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreatePullThroughCacheRuleResult & WithUpstreamRegistry(const UpstreamRegistry &value)
CreatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue