AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteLifecyclePolicyResult.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& GetRegistryId() const{ return m_registryId; }
41 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
42 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
43 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
44 inline DeleteLifecyclePolicyResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
45 inline DeleteLifecyclePolicyResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
46 inline DeleteLifecyclePolicyResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
48
50
53 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
54 inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
55 inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
56 inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
57 inline DeleteLifecyclePolicyResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
58 inline DeleteLifecyclePolicyResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
59 inline DeleteLifecyclePolicyResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
61
63
66 inline const Aws::String& GetLifecyclePolicyText() const{ return m_lifecyclePolicyText; }
67 inline void SetLifecyclePolicyText(const Aws::String& value) { m_lifecyclePolicyText = value; }
68 inline void SetLifecyclePolicyText(Aws::String&& value) { m_lifecyclePolicyText = std::move(value); }
69 inline void SetLifecyclePolicyText(const char* value) { m_lifecyclePolicyText.assign(value); }
72 inline DeleteLifecyclePolicyResult& WithLifecyclePolicyText(const char* value) { SetLifecyclePolicyText(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetLastEvaluatedAt() const{ return m_lastEvaluatedAt; }
80 inline void SetLastEvaluatedAt(const Aws::Utils::DateTime& value) { m_lastEvaluatedAt = value; }
81 inline void SetLastEvaluatedAt(Aws::Utils::DateTime&& value) { m_lastEvaluatedAt = std::move(value); }
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline DeleteLifecyclePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline DeleteLifecyclePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline DeleteLifecyclePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_registryId;
99
100 Aws::String m_repositoryName;
101
102 Aws::String m_lifecyclePolicyText;
103
104 Aws::Utils::DateTime m_lastEvaluatedAt;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace ECR
111} // namespace Aws
AWS_ECR_API DeleteLifecyclePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteLifecyclePolicyResult & WithLastEvaluatedAt(Aws::Utils::DateTime &&value)
void SetLastEvaluatedAt(const Aws::Utils::DateTime &value)
void SetLastEvaluatedAt(Aws::Utils::DateTime &&value)
AWS_ECR_API DeleteLifecyclePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteLifecyclePolicyResult & WithRequestId(const Aws::String &value)
DeleteLifecyclePolicyResult & WithLifecyclePolicyText(const Aws::String &value)
DeleteLifecyclePolicyResult & WithRegistryId(const char *value)
DeleteLifecyclePolicyResult & WithRepositoryName(const char *value)
DeleteLifecyclePolicyResult & WithRequestId(const char *value)
DeleteLifecyclePolicyResult & WithRequestId(Aws::String &&value)
DeleteLifecyclePolicyResult & WithRegistryId(const Aws::String &value)
DeleteLifecyclePolicyResult & WithLastEvaluatedAt(const Aws::Utils::DateTime &value)
DeleteLifecyclePolicyResult & WithRegistryId(Aws::String &&value)
DeleteLifecyclePolicyResult & WithLifecyclePolicyText(Aws::String &&value)
DeleteLifecyclePolicyResult & WithRepositoryName(const Aws::String &value)
DeleteLifecyclePolicyResult & WithLifecyclePolicyText(const char *value)
DeleteLifecyclePolicyResult & WithRepositoryName(Aws::String &&value)
const Aws::Utils::DateTime & GetLastEvaluatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue