AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartLifecyclePolicyPreviewResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/LifecyclePolicyPreviewStatus.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 StartLifecyclePolicyPreviewResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
45 inline StartLifecyclePolicyPreviewResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
46 inline StartLifecyclePolicyPreviewResult& 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); }
58 inline StartLifecyclePolicyPreviewResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
59 inline StartLifecyclePolicyPreviewResult& 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 StartLifecyclePolicyPreviewResult& WithLifecyclePolicyText(const char* value) { SetLifecyclePolicyText(value); return *this;}
74
76
79 inline const LifecyclePolicyPreviewStatus& GetStatus() const{ return m_status; }
80 inline void SetStatus(const LifecyclePolicyPreviewStatus& value) { m_status = value; }
81 inline void SetStatus(LifecyclePolicyPreviewStatus&& value) { m_status = std::move(value); }
83 inline StartLifecyclePolicyPreviewResult& WithStatus(LifecyclePolicyPreviewStatus&& value) { SetStatus(std::move(value)); return *this;}
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 StartLifecyclePolicyPreviewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline StartLifecyclePolicyPreviewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline StartLifecyclePolicyPreviewResult& 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
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace ECR
111} // namespace Aws
StartLifecyclePolicyPreviewResult & WithRepositoryName(const char *value)
StartLifecyclePolicyPreviewResult & WithRepositoryName(const Aws::String &value)
AWS_ECR_API StartLifecyclePolicyPreviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECR_API StartLifecyclePolicyPreviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartLifecyclePolicyPreviewResult & WithRegistryId(const Aws::String &value)
StartLifecyclePolicyPreviewResult & WithLifecyclePolicyText(Aws::String &&value)
StartLifecyclePolicyPreviewResult & WithStatus(const LifecyclePolicyPreviewStatus &value)
StartLifecyclePolicyPreviewResult & WithLifecyclePolicyText(const char *value)
StartLifecyclePolicyPreviewResult & WithRegistryId(Aws::String &&value)
StartLifecyclePolicyPreviewResult & WithStatus(LifecyclePolicyPreviewStatus &&value)
StartLifecyclePolicyPreviewResult & WithRequestId(const char *value)
StartLifecyclePolicyPreviewResult & WithRegistryId(const char *value)
StartLifecyclePolicyPreviewResult & WithRequestId(const Aws::String &value)
StartLifecyclePolicyPreviewResult & WithRequestId(Aws::String &&value)
StartLifecyclePolicyPreviewResult & WithRepositoryName(Aws::String &&value)
StartLifecyclePolicyPreviewResult & WithLifecyclePolicyText(const Aws::String &value)
void SetStatus(const LifecyclePolicyPreviewStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue