AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
31 AWS_ECR_API DeleteLifecyclePolicyResult() = default;
34
35
37
40 inline const Aws::String& GetRegistryId() const { return m_registryId; }
41 template<typename RegistryIdT = Aws::String>
42 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet = true; m_registryId = std::forward<RegistryIdT>(value); }
43 template<typename RegistryIdT = Aws::String>
44 DeleteLifecyclePolicyResult& WithRegistryId(RegistryIdT&& value) { SetRegistryId(std::forward<RegistryIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
52 template<typename RepositoryNameT = Aws::String>
53 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
54 template<typename RepositoryNameT = Aws::String>
55 DeleteLifecyclePolicyResult& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetLifecyclePolicyText() const { return m_lifecyclePolicyText; }
63 template<typename LifecyclePolicyTextT = Aws::String>
64 void SetLifecyclePolicyText(LifecyclePolicyTextT&& value) { m_lifecyclePolicyTextHasBeenSet = true; m_lifecyclePolicyText = std::forward<LifecyclePolicyTextT>(value); }
65 template<typename LifecyclePolicyTextT = Aws::String>
66 DeleteLifecyclePolicyResult& WithLifecyclePolicyText(LifecyclePolicyTextT&& value) { SetLifecyclePolicyText(std::forward<LifecyclePolicyTextT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetLastEvaluatedAt() const { return m_lastEvaluatedAt; }
74 template<typename LastEvaluatedAtT = Aws::Utils::DateTime>
75 void SetLastEvaluatedAt(LastEvaluatedAtT&& value) { m_lastEvaluatedAtHasBeenSet = true; m_lastEvaluatedAt = std::forward<LastEvaluatedAtT>(value); }
76 template<typename LastEvaluatedAtT = Aws::Utils::DateTime>
77 DeleteLifecyclePolicyResult& WithLastEvaluatedAt(LastEvaluatedAtT&& value) { SetLastEvaluatedAt(std::forward<LastEvaluatedAtT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 DeleteLifecyclePolicyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_registryId;
91 bool m_registryIdHasBeenSet = false;
92
93 Aws::String m_repositoryName;
94 bool m_repositoryNameHasBeenSet = false;
95
96 Aws::String m_lifecyclePolicyText;
97 bool m_lifecyclePolicyTextHasBeenSet = false;
98
99 Aws::Utils::DateTime m_lastEvaluatedAt{};
100 bool m_lastEvaluatedAtHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ECR
108} // namespace Aws
AWS_ECR_API DeleteLifecyclePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECR_API DeleteLifecyclePolicyResult()=default
DeleteLifecyclePolicyResult & WithLastEvaluatedAt(LastEvaluatedAtT &&value)
AWS_ECR_API DeleteLifecyclePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteLifecyclePolicyResult & WithRegistryId(RegistryIdT &&value)
void SetLifecyclePolicyText(LifecyclePolicyTextT &&value)
DeleteLifecyclePolicyResult & WithRepositoryName(RepositoryNameT &&value)
DeleteLifecyclePolicyResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastEvaluatedAt() const
DeleteLifecyclePolicyResult & WithLifecyclePolicyText(LifecyclePolicyTextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue