AWS SDK for C++  1.9.107
AWS SDK for C++
StartLifecyclePolicyPreviewResult.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 StartLifecyclePolicyPreviewResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
60 
64  inline StartLifecyclePolicyPreviewResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
65 
69  inline StartLifecyclePolicyPreviewResult& 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 StartLifecyclePolicyPreviewResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
96 
100  inline StartLifecyclePolicyPreviewResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
101 
105  inline StartLifecyclePolicyPreviewResult& 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 StartLifecyclePolicyPreviewResult& WithLifecyclePolicyText(const Aws::String& value) { SetLifecyclePolicyText(value); return *this;}
132 
136  inline StartLifecyclePolicyPreviewResult& WithLifecyclePolicyText(Aws::String&& value) { SetLifecyclePolicyText(std::move(value)); return *this;}
137 
141  inline StartLifecyclePolicyPreviewResult& WithLifecyclePolicyText(const char* value) { SetLifecyclePolicyText(value); return *this;}
142 
143 
147  inline const LifecyclePolicyPreviewStatus& GetStatus() const{ return m_status; }
148 
152  inline void SetStatus(const LifecyclePolicyPreviewStatus& value) { m_status = value; }
153 
157  inline void SetStatus(LifecyclePolicyPreviewStatus&& value) { m_status = std::move(value); }
158 
162  inline StartLifecyclePolicyPreviewResult& WithStatus(const LifecyclePolicyPreviewStatus& value) { SetStatus(value); return *this;}
163 
167  inline StartLifecyclePolicyPreviewResult& WithStatus(LifecyclePolicyPreviewStatus&& value) { SetStatus(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 
178  };
179 
180 } // namespace Model
181 } // namespace ECR
182 } // namespace Aws
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::StartLifecyclePolicyPreviewResult
StartLifecyclePolicyPreviewResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: StartLifecyclePolicyPreviewResult.h:54
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: StartLifecyclePolicyPreviewResult.h:90
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithLifecyclePolicyText
StartLifecyclePolicyPreviewResult & WithLifecyclePolicyText(const char *value)
Definition: StartLifecyclePolicyPreviewResult.h:141
LifecyclePolicyPreviewStatus.h
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithRepositoryName
StartLifecyclePolicyPreviewResult & WithRepositoryName(Aws::String &&value)
Definition: StartLifecyclePolicyPreviewResult.h:100
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetLifecyclePolicyText
void SetLifecyclePolicyText(const char *value)
Definition: StartLifecyclePolicyPreviewResult.h:126
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::GetStatus
const LifecyclePolicyPreviewStatus & GetStatus() const
Definition: StartLifecyclePolicyPreviewResult.h:147
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: StartLifecyclePolicyPreviewResult.h:80
Aws::ECR::Model::LifecyclePolicyPreviewStatus
LifecyclePolicyPreviewStatus
Definition: LifecyclePolicyPreviewStatus.h:17
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithLifecyclePolicyText
StartLifecyclePolicyPreviewResult & WithLifecyclePolicyText(Aws::String &&value)
Definition: StartLifecyclePolicyPreviewResult.h:136
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: StartLifecyclePolicyPreviewResult.h:85
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: StartLifecyclePolicyPreviewResult.h:39
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetStatus
void SetStatus(const LifecyclePolicyPreviewStatus &value)
Definition: StartLifecyclePolicyPreviewResult.h:152
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: StartLifecyclePolicyPreviewResult.h:75
ECR_EXPORTS.h
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::operator=
StartLifecyclePolicyPreviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::StartLifecyclePolicyPreviewResult
StartLifecyclePolicyPreviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithRepositoryName
StartLifecyclePolicyPreviewResult & WithRepositoryName(const char *value)
Definition: StartLifecyclePolicyPreviewResult.h:105
AWSString.h
Aws::ECR::Model::StartLifecyclePolicyPreviewResult
Definition: StartLifecyclePolicyPreviewResult.h:29
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetLifecyclePolicyText
void SetLifecyclePolicyText(Aws::String &&value)
Definition: StartLifecyclePolicyPreviewResult.h:121
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetStatus
void SetStatus(LifecyclePolicyPreviewStatus &&value)
Definition: StartLifecyclePolicyPreviewResult.h:157
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithRegistryId
StartLifecyclePolicyPreviewResult & WithRegistryId(const char *value)
Definition: StartLifecyclePolicyPreviewResult.h:69
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetLifecyclePolicyText
void SetLifecyclePolicyText(const Aws::String &value)
Definition: StartLifecyclePolicyPreviewResult.h:116
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::GetLifecyclePolicyText
const Aws::String & GetLifecyclePolicyText() const
Definition: StartLifecyclePolicyPreviewResult.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: StartLifecyclePolicyPreviewResult.h:49
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithRegistryId
StartLifecyclePolicyPreviewResult & WithRegistryId(Aws::String &&value)
Definition: StartLifecyclePolicyPreviewResult.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithRegistryId
StartLifecyclePolicyPreviewResult & WithRegistryId(const Aws::String &value)
Definition: StartLifecyclePolicyPreviewResult.h:59
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithStatus
StartLifecyclePolicyPreviewResult & WithStatus(LifecyclePolicyPreviewStatus &&value)
Definition: StartLifecyclePolicyPreviewResult.h:167
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: StartLifecyclePolicyPreviewResult.h:44
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithStatus
StartLifecyclePolicyPreviewResult & WithStatus(const LifecyclePolicyPreviewStatus &value)
Definition: StartLifecyclePolicyPreviewResult.h:162
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithLifecyclePolicyText
StartLifecyclePolicyPreviewResult & WithLifecyclePolicyText(const Aws::String &value)
Definition: StartLifecyclePolicyPreviewResult.h:131
Aws::ECR::Model::StartLifecyclePolicyPreviewResult::WithRepositoryName
StartLifecyclePolicyPreviewResult & WithRepositoryName(const Aws::String &value)
Definition: StartLifecyclePolicyPreviewResult.h:95