AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
31 AWS_ECR_API DeletePullThroughCacheRuleResult() = default;
34
35
37
40 inline const Aws::String& GetEcrRepositoryPrefix() const { return m_ecrRepositoryPrefix; }
41 template<typename EcrRepositoryPrefixT = Aws::String>
42 void SetEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { m_ecrRepositoryPrefixHasBeenSet = true; m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value); }
43 template<typename EcrRepositoryPrefixT = Aws::String>
44 DeletePullThroughCacheRuleResult& WithEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { SetEcrRepositoryPrefix(std::forward<EcrRepositoryPrefixT>(value)); return *this;}
46
48
51 inline const Aws::String& GetUpstreamRegistryUrl() const { return m_upstreamRegistryUrl; }
52 template<typename UpstreamRegistryUrlT = Aws::String>
53 void SetUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { m_upstreamRegistryUrlHasBeenSet = true; m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value); }
54 template<typename UpstreamRegistryUrlT = Aws::String>
55 DeletePullThroughCacheRuleResult& WithUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { SetUpstreamRegistryUrl(std::forward<UpstreamRegistryUrlT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::Utils::DateTime>
66 DeletePullThroughCacheRuleResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
73 inline const Aws::String& GetRegistryId() const { return m_registryId; }
74 template<typename RegistryIdT = Aws::String>
75 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet = true; m_registryId = std::forward<RegistryIdT>(value); }
76 template<typename RegistryIdT = Aws::String>
77 DeletePullThroughCacheRuleResult& WithRegistryId(RegistryIdT&& value) { SetRegistryId(std::forward<RegistryIdT>(value)); return *this;}
79
81
85 inline const Aws::String& GetCredentialArn() const { return m_credentialArn; }
86 template<typename CredentialArnT = Aws::String>
87 void SetCredentialArn(CredentialArnT&& value) { m_credentialArnHasBeenSet = true; m_credentialArn = std::forward<CredentialArnT>(value); }
88 template<typename CredentialArnT = Aws::String>
89 DeletePullThroughCacheRuleResult& WithCredentialArn(CredentialArnT&& value) { SetCredentialArn(std::forward<CredentialArnT>(value)); return *this;}
91
93
96 inline const Aws::String& GetCustomRoleArn() const { return m_customRoleArn; }
97 template<typename CustomRoleArnT = Aws::String>
98 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
99 template<typename CustomRoleArnT = Aws::String>
100 DeletePullThroughCacheRuleResult& WithCustomRoleArn(CustomRoleArnT&& value) { SetCustomRoleArn(std::forward<CustomRoleArnT>(value)); return *this;}
102
104
108 inline const Aws::String& GetUpstreamRepositoryPrefix() const { return m_upstreamRepositoryPrefix; }
109 template<typename UpstreamRepositoryPrefixT = Aws::String>
110 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { m_upstreamRepositoryPrefixHasBeenSet = true; m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value); }
111 template<typename UpstreamRepositoryPrefixT = Aws::String>
112 DeletePullThroughCacheRuleResult& WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { SetUpstreamRepositoryPrefix(std::forward<UpstreamRepositoryPrefixT>(value)); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 DeletePullThroughCacheRuleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_ecrRepositoryPrefix;
126 bool m_ecrRepositoryPrefixHasBeenSet = false;
127
128 Aws::String m_upstreamRegistryUrl;
129 bool m_upstreamRegistryUrlHasBeenSet = false;
130
131 Aws::Utils::DateTime m_createdAt{};
132 bool m_createdAtHasBeenSet = false;
133
134 Aws::String m_registryId;
135 bool m_registryIdHasBeenSet = false;
136
137 Aws::String m_credentialArn;
138 bool m_credentialArnHasBeenSet = false;
139
140 Aws::String m_customRoleArn;
141 bool m_customRoleArnHasBeenSet = false;
142
143 Aws::String m_upstreamRepositoryPrefix;
144 bool m_upstreamRepositoryPrefixHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace ECR
152} // namespace Aws
DeletePullThroughCacheRuleResult & WithUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
DeletePullThroughCacheRuleResult & WithCreatedAt(CreatedAtT &&value)
DeletePullThroughCacheRuleResult & WithCredentialArn(CredentialArnT &&value)
AWS_ECR_API DeletePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
DeletePullThroughCacheRuleResult & WithRequestId(RequestIdT &&value)
DeletePullThroughCacheRuleResult & WithEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
DeletePullThroughCacheRuleResult & WithCustomRoleArn(CustomRoleArnT &&value)
DeletePullThroughCacheRuleResult & WithRegistryId(RegistryIdT &&value)
AWS_ECR_API DeletePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePullThroughCacheRuleResult & WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue