AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdatePullThroughCacheRuleResult.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 UpdatePullThroughCacheRuleResult() = default;
34
35
37
41 inline const Aws::String& GetEcrRepositoryPrefix() const { return m_ecrRepositoryPrefix; }
42 template<typename EcrRepositoryPrefixT = Aws::String>
43 void SetEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { m_ecrRepositoryPrefixHasBeenSet = true; m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value); }
44 template<typename EcrRepositoryPrefixT = Aws::String>
45 UpdatePullThroughCacheRuleResult& WithEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { SetEcrRepositoryPrefix(std::forward<EcrRepositoryPrefixT>(value)); return *this;}
47
49
52 inline const Aws::String& GetRegistryId() const { return m_registryId; }
53 template<typename RegistryIdT = Aws::String>
54 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet = true; m_registryId = std::forward<RegistryIdT>(value); }
55 template<typename RegistryIdT = Aws::String>
56 UpdatePullThroughCacheRuleResult& WithRegistryId(RegistryIdT&& value) { SetRegistryId(std::forward<RegistryIdT>(value)); return *this;}
58
60
64 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
65 template<typename UpdatedAtT = Aws::Utils::DateTime>
66 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
67 template<typename UpdatedAtT = Aws::Utils::DateTime>
68 UpdatePullThroughCacheRuleResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
70
72
76 inline const Aws::String& GetCredentialArn() const { return m_credentialArn; }
77 template<typename CredentialArnT = Aws::String>
78 void SetCredentialArn(CredentialArnT&& value) { m_credentialArnHasBeenSet = true; m_credentialArn = std::forward<CredentialArnT>(value); }
79 template<typename CredentialArnT = Aws::String>
80 UpdatePullThroughCacheRuleResult& WithCredentialArn(CredentialArnT&& value) { SetCredentialArn(std::forward<CredentialArnT>(value)); return *this;}
82
84
87 inline const Aws::String& GetCustomRoleArn() const { return m_customRoleArn; }
88 template<typename CustomRoleArnT = Aws::String>
89 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
90 template<typename CustomRoleArnT = Aws::String>
91 UpdatePullThroughCacheRuleResult& WithCustomRoleArn(CustomRoleArnT&& value) { SetCustomRoleArn(std::forward<CustomRoleArnT>(value)); return *this;}
93
95
99 inline const Aws::String& GetUpstreamRepositoryPrefix() const { return m_upstreamRepositoryPrefix; }
100 template<typename UpstreamRepositoryPrefixT = Aws::String>
101 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { m_upstreamRepositoryPrefixHasBeenSet = true; m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value); }
102 template<typename UpstreamRepositoryPrefixT = Aws::String>
103 UpdatePullThroughCacheRuleResult& WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { SetUpstreamRepositoryPrefix(std::forward<UpstreamRepositoryPrefixT>(value)); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template<typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
111 template<typename RequestIdT = Aws::String>
112 UpdatePullThroughCacheRuleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
114 private:
115
116 Aws::String m_ecrRepositoryPrefix;
117 bool m_ecrRepositoryPrefixHasBeenSet = false;
118
119 Aws::String m_registryId;
120 bool m_registryIdHasBeenSet = false;
121
122 Aws::Utils::DateTime m_updatedAt{};
123 bool m_updatedAtHasBeenSet = false;
124
125 Aws::String m_credentialArn;
126 bool m_credentialArnHasBeenSet = false;
127
128 Aws::String m_customRoleArn;
129 bool m_customRoleArnHasBeenSet = false;
130
131 Aws::String m_upstreamRepositoryPrefix;
132 bool m_upstreamRepositoryPrefixHasBeenSet = false;
133
134 Aws::String m_requestId;
135 bool m_requestIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace ECR
140} // namespace Aws
UpdatePullThroughCacheRuleResult & WithRequestId(RequestIdT &&value)
AWS_ECR_API UpdatePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECR_API UpdatePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePullThroughCacheRuleResult & WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
UpdatePullThroughCacheRuleResult & WithUpdatedAt(UpdatedAtT &&value)
UpdatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
UpdatePullThroughCacheRuleResult & WithCredentialArn(CredentialArnT &&value)
UpdatePullThroughCacheRuleResult & WithRegistryId(RegistryIdT &&value)
UpdatePullThroughCacheRuleResult & WithCustomRoleArn(CustomRoleArnT &&value)
void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue