AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
34
35
37
41 inline const Aws::String& GetEcrRepositoryPrefix() const{ return m_ecrRepositoryPrefix; }
42 inline void SetEcrRepositoryPrefix(const Aws::String& value) { m_ecrRepositoryPrefix = value; }
43 inline void SetEcrRepositoryPrefix(Aws::String&& value) { m_ecrRepositoryPrefix = std::move(value); }
44 inline void SetEcrRepositoryPrefix(const char* value) { m_ecrRepositoryPrefix.assign(value); }
47 inline UpdatePullThroughCacheRuleResult& WithEcrRepositoryPrefix(const char* value) { SetEcrRepositoryPrefix(value); return *this;}
49
51
54 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
55 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
56 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
57 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
58 inline UpdatePullThroughCacheRuleResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
59 inline UpdatePullThroughCacheRuleResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
60 inline UpdatePullThroughCacheRuleResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
62
64
68 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
69 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
70 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
72 inline UpdatePullThroughCacheRuleResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(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 UpdatePullThroughCacheRuleResult& WithCredentialArn(Aws::String&& value) { SetCredentialArn(std::move(value)); return *this;}
86 inline UpdatePullThroughCacheRuleResult& WithCredentialArn(const char* value) { SetCredentialArn(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline UpdatePullThroughCacheRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline UpdatePullThroughCacheRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline UpdatePullThroughCacheRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_ecrRepositoryPrefix;
102
103 Aws::String m_registryId;
104
105 Aws::Utils::DateTime m_updatedAt;
106
107 Aws::String m_credentialArn;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace ECR
114} // namespace Aws
AWS_ECR_API UpdatePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePullThroughCacheRuleResult & WithRegistryId(Aws::String &&value)
UpdatePullThroughCacheRuleResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_ECR_API UpdatePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePullThroughCacheRuleResult & WithRequestId(const char *value)
UpdatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const char *value)
UpdatePullThroughCacheRuleResult & WithCredentialArn(Aws::String &&value)
UpdatePullThroughCacheRuleResult & WithCredentialArn(const char *value)
UpdatePullThroughCacheRuleResult & WithCredentialArn(const Aws::String &value)
UpdatePullThroughCacheRuleResult & WithRegistryId(const Aws::String &value)
UpdatePullThroughCacheRuleResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
UpdatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(const Aws::String &value)
UpdatePullThroughCacheRuleResult & WithRegistryId(const char *value)
UpdatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(Aws::String &&value)
UpdatePullThroughCacheRuleResult & WithRequestId(Aws::String &&value)
UpdatePullThroughCacheRuleResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue