AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePullThroughCacheRuleResult.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 <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ECR
25{
26namespace Model
27{
29 {
30 public:
34
35
37
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 DeletePullThroughCacheRuleResult& WithEcrRepositoryPrefix(const char* value) { SetEcrRepositoryPrefix(value); return *this;}
48
50
53 inline const Aws::String& GetUpstreamRegistryUrl() const{ return m_upstreamRegistryUrl; }
54 inline void SetUpstreamRegistryUrl(const Aws::String& value) { m_upstreamRegistryUrl = value; }
55 inline void SetUpstreamRegistryUrl(Aws::String&& value) { m_upstreamRegistryUrl = std::move(value); }
56 inline void SetUpstreamRegistryUrl(const char* value) { m_upstreamRegistryUrl.assign(value); }
59 inline DeletePullThroughCacheRuleResult& WithUpstreamRegistryUrl(const char* value) { SetUpstreamRegistryUrl(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
67 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
68 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
70 inline DeletePullThroughCacheRuleResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
78 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
79 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
80 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
81 inline DeletePullThroughCacheRuleResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
82 inline DeletePullThroughCacheRuleResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
83 inline DeletePullThroughCacheRuleResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
85
87
91 inline const Aws::String& GetCredentialArn() const{ return m_credentialArn; }
92 inline void SetCredentialArn(const Aws::String& value) { m_credentialArn = value; }
93 inline void SetCredentialArn(Aws::String&& value) { m_credentialArn = std::move(value); }
94 inline void SetCredentialArn(const char* value) { m_credentialArn.assign(value); }
96 inline DeletePullThroughCacheRuleResult& WithCredentialArn(Aws::String&& value) { SetCredentialArn(std::move(value)); return *this;}
97 inline DeletePullThroughCacheRuleResult& WithCredentialArn(const char* value) { SetCredentialArn(value); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline DeletePullThroughCacheRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline DeletePullThroughCacheRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline DeletePullThroughCacheRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_ecrRepositoryPrefix;
113
114 Aws::String m_upstreamRegistryUrl;
115
116 Aws::Utils::DateTime m_createdAt;
117
118 Aws::String m_registryId;
119
120 Aws::String m_credentialArn;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace ECR
127} // namespace Aws
DeletePullThroughCacheRuleResult & WithUpstreamRegistryUrl(const char *value)
DeletePullThroughCacheRuleResult & WithCreatedAt(Aws::Utils::DateTime &&value)
DeletePullThroughCacheRuleResult & WithCredentialArn(const char *value)
DeletePullThroughCacheRuleResult & WithCredentialArn(const Aws::String &value)
DeletePullThroughCacheRuleResult & WithCredentialArn(Aws::String &&value)
DeletePullThroughCacheRuleResult & WithRequestId(const char *value)
DeletePullThroughCacheRuleResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_ECR_API DeletePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePullThroughCacheRuleResult & WithRequestId(const Aws::String &value)
DeletePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const char *value)
DeletePullThroughCacheRuleResult & WithEcrRepositoryPrefix(Aws::String &&value)
DeletePullThroughCacheRuleResult & WithRegistryId(const char *value)
DeletePullThroughCacheRuleResult & WithRegistryId(Aws::String &&value)
DeletePullThroughCacheRuleResult & WithRegistryId(const Aws::String &value)
DeletePullThroughCacheRuleResult & WithUpstreamRegistryUrl(const Aws::String &value)
DeletePullThroughCacheRuleResult & WithUpstreamRegistryUrl(Aws::String &&value)
AWS_ECR_API DeletePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const Aws::String &value)
DeletePullThroughCacheRuleResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue