AWS SDK for C++  1.9.107
AWS SDK for C++
PutImageTagMutabilityResult.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 PutImageTagMutabilityResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
60 
64  inline PutImageTagMutabilityResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
65 
69  inline PutImageTagMutabilityResult& 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 PutImageTagMutabilityResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
96 
100  inline PutImageTagMutabilityResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
101 
105  inline PutImageTagMutabilityResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
106 
107 
111  inline const ImageTagMutability& GetImageTagMutability() const{ return m_imageTagMutability; }
112 
116  inline void SetImageTagMutability(const ImageTagMutability& value) { m_imageTagMutability = value; }
117 
121  inline void SetImageTagMutability(ImageTagMutability&& value) { m_imageTagMutability = std::move(value); }
122 
126  inline PutImageTagMutabilityResult& WithImageTagMutability(const ImageTagMutability& value) { SetImageTagMutability(value); return *this;}
127 
131  inline PutImageTagMutabilityResult& WithImageTagMutability(ImageTagMutability&& value) { SetImageTagMutability(std::move(value)); return *this;}
132 
133  private:
134 
135  Aws::String m_registryId;
136 
137  Aws::String m_repositoryName;
138 
139  ImageTagMutability m_imageTagMutability;
140  };
141 
142 } // namespace Model
143 } // namespace ECR
144 } // namespace Aws
Aws::ECR::Model::PutImageTagMutabilityResult::operator=
PutImageTagMutabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::PutImageTagMutabilityResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: PutImageTagMutabilityResult.h:39
Aws::ECR::Model::ImageTagMutability
ImageTagMutability
Definition: ImageTagMutability.h:17
Aws::ECR::Model::PutImageTagMutabilityResult::WithRepositoryName
PutImageTagMutabilityResult & WithRepositoryName(Aws::String &&value)
Definition: PutImageTagMutabilityResult.h:100
Aws::ECR::Model::PutImageTagMutabilityResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: PutImageTagMutabilityResult.h:90
Aws::ECR::Model::PutImageTagMutabilityResult::WithImageTagMutability
PutImageTagMutabilityResult & WithImageTagMutability(const ImageTagMutability &value)
Definition: PutImageTagMutabilityResult.h:126
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::PutImageTagMutabilityResult::WithRegistryId
PutImageTagMutabilityResult & WithRegistryId(const Aws::String &value)
Definition: PutImageTagMutabilityResult.h:59
ECR_EXPORTS.h
Aws::ECR::Model::PutImageTagMutabilityResult::GetImageTagMutability
const ImageTagMutability & GetImageTagMutability() const
Definition: PutImageTagMutabilityResult.h:111
AWSString.h
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::PutImageTagMutabilityResult::PutImageTagMutabilityResult
PutImageTagMutabilityResult()
Aws::ECR::Model::PutImageTagMutabilityResult::WithImageTagMutability
PutImageTagMutabilityResult & WithImageTagMutability(ImageTagMutability &&value)
Definition: PutImageTagMutabilityResult.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::PutImageTagMutabilityResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: PutImageTagMutabilityResult.h:85
Aws::ECR::Model::PutImageTagMutabilityResult::WithRegistryId
PutImageTagMutabilityResult & WithRegistryId(const char *value)
Definition: PutImageTagMutabilityResult.h:69
Aws::ECR::Model::PutImageTagMutabilityResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: PutImageTagMutabilityResult.h:75
Aws::ECR::Model::PutImageTagMutabilityResult::SetImageTagMutability
void SetImageTagMutability(const ImageTagMutability &value)
Definition: PutImageTagMutabilityResult.h:116
Aws::ECR::Model::PutImageTagMutabilityResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: PutImageTagMutabilityResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::PutImageTagMutabilityResult::WithRepositoryName
PutImageTagMutabilityResult & WithRepositoryName(const char *value)
Definition: PutImageTagMutabilityResult.h:105
ImageTagMutability.h
Aws::ECR::Model::PutImageTagMutabilityResult::PutImageTagMutabilityResult
PutImageTagMutabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::PutImageTagMutabilityResult::WithRegistryId
PutImageTagMutabilityResult & WithRegistryId(Aws::String &&value)
Definition: PutImageTagMutabilityResult.h:64
Aws::ECR::Model::PutImageTagMutabilityResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: PutImageTagMutabilityResult.h:54
Aws::ECR::Model::PutImageTagMutabilityResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: PutImageTagMutabilityResult.h:80
Aws::ECR::Model::PutImageTagMutabilityResult::SetImageTagMutability
void SetImageTagMutability(ImageTagMutability &&value)
Definition: PutImageTagMutabilityResult.h:121
Aws::ECR::Model::PutImageTagMutabilityResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: PutImageTagMutabilityResult.h:49
Aws::ECR::Model::PutImageTagMutabilityResult
Definition: PutImageTagMutabilityResult.h:29
Aws::ECR::Model::PutImageTagMutabilityResult::WithRepositoryName
PutImageTagMutabilityResult & WithRepositoryName(const Aws::String &value)
Definition: PutImageTagMutabilityResult.h:95