AWS SDK for C++  1.9.156
AWS SDK for C++
DeleteLifecyclePolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ECR
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
40 
44  inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
45 
49  inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
50 
54  inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
55 
59  inline DeleteLifecyclePolicyResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
60 
64  inline DeleteLifecyclePolicyResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
65 
69  inline DeleteLifecyclePolicyResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
70 
71 
75  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
76 
80  inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
81 
85  inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
86 
90  inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
91 
95  inline DeleteLifecyclePolicyResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
96 
100  inline DeleteLifecyclePolicyResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
101 
105  inline DeleteLifecyclePolicyResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
106 
107 
111  inline const Aws::String& GetLifecyclePolicyText() const{ return m_lifecyclePolicyText; }
112 
116  inline void SetLifecyclePolicyText(const Aws::String& value) { m_lifecyclePolicyText = value; }
117 
121  inline void SetLifecyclePolicyText(Aws::String&& value) { m_lifecyclePolicyText = std::move(value); }
122 
126  inline void SetLifecyclePolicyText(const char* value) { m_lifecyclePolicyText.assign(value); }
127 
131  inline DeleteLifecyclePolicyResult& WithLifecyclePolicyText(const Aws::String& value) { SetLifecyclePolicyText(value); return *this;}
132 
136  inline DeleteLifecyclePolicyResult& WithLifecyclePolicyText(Aws::String&& value) { SetLifecyclePolicyText(std::move(value)); return *this;}
137 
141  inline DeleteLifecyclePolicyResult& WithLifecyclePolicyText(const char* value) { SetLifecyclePolicyText(value); return *this;}
142 
143 
147  inline const Aws::Utils::DateTime& GetLastEvaluatedAt() const{ return m_lastEvaluatedAt; }
148 
152  inline void SetLastEvaluatedAt(const Aws::Utils::DateTime& value) { m_lastEvaluatedAt = value; }
153 
157  inline void SetLastEvaluatedAt(Aws::Utils::DateTime&& value) { m_lastEvaluatedAt = std::move(value); }
158 
162  inline DeleteLifecyclePolicyResult& WithLastEvaluatedAt(const Aws::Utils::DateTime& value) { SetLastEvaluatedAt(value); return *this;}
163 
167  inline DeleteLifecyclePolicyResult& WithLastEvaluatedAt(Aws::Utils::DateTime&& value) { SetLastEvaluatedAt(std::move(value)); return *this;}
168 
169  private:
170 
171  Aws::String m_registryId;
172 
173  Aws::String m_repositoryName;
174 
175  Aws::String m_lifecyclePolicyText;
176 
177  Aws::Utils::DateTime m_lastEvaluatedAt;
178  };
179 
180 } // namespace Model
181 } // namespace ECR
182 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetLifecyclePolicyText
void SetLifecyclePolicyText(Aws::String &&value)
Definition: DeleteLifecyclePolicyResult.h:121
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetLifecyclePolicyText
void SetLifecyclePolicyText(const char *value)
Definition: DeleteLifecyclePolicyResult.h:126
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithRepositoryName
DeleteLifecyclePolicyResult & WithRepositoryName(const char *value)
Definition: DeleteLifecyclePolicyResult.h:105
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithLifecyclePolicyText
DeleteLifecyclePolicyResult & WithLifecyclePolicyText(const char *value)
Definition: DeleteLifecyclePolicyResult.h:141
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithRegistryId
DeleteLifecyclePolicyResult & WithRegistryId(const Aws::String &value)
Definition: DeleteLifecyclePolicyResult.h:59
Aws::ECR::Model::DeleteLifecyclePolicyResult::GetLastEvaluatedAt
const Aws::Utils::DateTime & GetLastEvaluatedAt() const
Definition: DeleteLifecyclePolicyResult.h:147
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: DeleteLifecyclePolicyResult.h:85
Aws::ECR::Model::DeleteLifecyclePolicyResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: DeleteLifecyclePolicyResult.h:39
DateTime.h
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: DeleteLifecyclePolicyResult.h:80
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithRegistryId
DeleteLifecyclePolicyResult & WithRegistryId(Aws::String &&value)
Definition: DeleteLifecyclePolicyResult.h:64
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithLastEvaluatedAt
DeleteLifecyclePolicyResult & WithLastEvaluatedAt(const Aws::Utils::DateTime &value)
Definition: DeleteLifecyclePolicyResult.h:162
Aws::ECR::Model::DeleteLifecyclePolicyResult::operator=
DeleteLifecyclePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::DeleteLifecyclePolicyResult::GetLifecyclePolicyText
const Aws::String & GetLifecyclePolicyText() const
Definition: DeleteLifecyclePolicyResult.h:111
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetLifecyclePolicyText
void SetLifecyclePolicyText(const Aws::String &value)
Definition: DeleteLifecyclePolicyResult.h:116
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
ECR_EXPORTS.h
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithRegistryId
DeleteLifecyclePolicyResult & WithRegistryId(const char *value)
Definition: DeleteLifecyclePolicyResult.h:69
AWSString.h
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithRepositoryName
DeleteLifecyclePolicyResult & WithRepositoryName(const Aws::String &value)
Definition: DeleteLifecyclePolicyResult.h:95
Aws::ECR::Model::DeleteLifecyclePolicyResult
Definition: DeleteLifecyclePolicyResult.h:29
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::DeleteLifecyclePolicyResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: DeleteLifecyclePolicyResult.h:75
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithLifecyclePolicyText
DeleteLifecyclePolicyResult & WithLifecyclePolicyText(Aws::String &&value)
Definition: DeleteLifecyclePolicyResult.h:136
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetLastEvaluatedAt
void SetLastEvaluatedAt(const Aws::Utils::DateTime &value)
Definition: DeleteLifecyclePolicyResult.h:152
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: DeleteLifecyclePolicyResult.h:49
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: DeleteLifecyclePolicyResult.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: DeleteLifecyclePolicyResult.h:44
Aws::ECR::Model::DeleteLifecyclePolicyResult::DeleteLifecyclePolicyResult
DeleteLifecyclePolicyResult()
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithLifecyclePolicyText
DeleteLifecyclePolicyResult & WithLifecyclePolicyText(const Aws::String &value)
Definition: DeleteLifecyclePolicyResult.h:131
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithLastEvaluatedAt
DeleteLifecyclePolicyResult & WithLastEvaluatedAt(Aws::Utils::DateTime &&value)
Definition: DeleteLifecyclePolicyResult.h:167
Aws::ECR::Model::DeleteLifecyclePolicyResult::WithRepositoryName
DeleteLifecyclePolicyResult & WithRepositoryName(Aws::String &&value)
Definition: DeleteLifecyclePolicyResult.h:100
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: DeleteLifecyclePolicyResult.h:54
Aws::ECR::Model::DeleteLifecyclePolicyResult::DeleteLifecyclePolicyResult
DeleteLifecyclePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::DeleteLifecyclePolicyResult::SetLastEvaluatedAt
void SetLastEvaluatedAt(Aws::Utils::DateTime &&value)
Definition: DeleteLifecyclePolicyResult.h:157