AWS SDK for C++  1.9.160
AWS SDK for C++
DeleteRepositoryPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECR
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
39 
43  inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
44 
48  inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
49 
53  inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
54 
58  inline DeleteRepositoryPolicyResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
59 
63  inline DeleteRepositoryPolicyResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
64 
68  inline DeleteRepositoryPolicyResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
69 
70 
74  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
75 
79  inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
80 
84  inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
85 
89  inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
90 
94  inline DeleteRepositoryPolicyResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
95 
99  inline DeleteRepositoryPolicyResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
100 
104  inline DeleteRepositoryPolicyResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
105 
106 
110  inline const Aws::String& GetPolicyText() const{ return m_policyText; }
111 
115  inline void SetPolicyText(const Aws::String& value) { m_policyText = value; }
116 
120  inline void SetPolicyText(Aws::String&& value) { m_policyText = std::move(value); }
121 
125  inline void SetPolicyText(const char* value) { m_policyText.assign(value); }
126 
130  inline DeleteRepositoryPolicyResult& WithPolicyText(const Aws::String& value) { SetPolicyText(value); return *this;}
131 
135  inline DeleteRepositoryPolicyResult& WithPolicyText(Aws::String&& value) { SetPolicyText(std::move(value)); return *this;}
136 
140  inline DeleteRepositoryPolicyResult& WithPolicyText(const char* value) { SetPolicyText(value); return *this;}
141 
142  private:
143 
144  Aws::String m_registryId;
145 
146  Aws::String m_repositoryName;
147 
148  Aws::String m_policyText;
149  };
150 
151 } // namespace Model
152 } // namespace ECR
153 } // namespace Aws
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: DeleteRepositoryPolicyResult.h:84
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::DeleteRepositoryPolicyResult
Definition: DeleteRepositoryPolicyResult.h:28
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithRepositoryName
DeleteRepositoryPolicyResult & WithRepositoryName(const char *value)
Definition: DeleteRepositoryPolicyResult.h:104
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithPolicyText
DeleteRepositoryPolicyResult & WithPolicyText(Aws::String &&value)
Definition: DeleteRepositoryPolicyResult.h:135
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: DeleteRepositoryPolicyResult.h:53
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithRepositoryName
DeleteRepositoryPolicyResult & WithRepositoryName(Aws::String &&value)
Definition: DeleteRepositoryPolicyResult.h:99
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithRegistryId
DeleteRepositoryPolicyResult & WithRegistryId(const Aws::String &value)
Definition: DeleteRepositoryPolicyResult.h:58
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithPolicyText
DeleteRepositoryPolicyResult & WithPolicyText(const char *value)
Definition: DeleteRepositoryPolicyResult.h:140
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithRegistryId
DeleteRepositoryPolicyResult & WithRegistryId(const char *value)
Definition: DeleteRepositoryPolicyResult.h:68
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: DeleteRepositoryPolicyResult.h:79
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::DeleteRepositoryPolicyResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: DeleteRepositoryPolicyResult.h:38
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetPolicyText
void SetPolicyText(Aws::String &&value)
Definition: DeleteRepositoryPolicyResult.h:120
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithPolicyText
DeleteRepositoryPolicyResult & WithPolicyText(const Aws::String &value)
Definition: DeleteRepositoryPolicyResult.h:130
Aws::ECR::Model::DeleteRepositoryPolicyResult::DeleteRepositoryPolicyResult
DeleteRepositoryPolicyResult()
ECR_EXPORTS.h
Aws::ECR::Model::DeleteRepositoryPolicyResult::DeleteRepositoryPolicyResult
DeleteRepositoryPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::ECR::Model::DeleteRepositoryPolicyResult::operator=
DeleteRepositoryPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::DeleteRepositoryPolicyResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: DeleteRepositoryPolicyResult.h:74
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetPolicyText
void SetPolicyText(const Aws::String &value)
Definition: DeleteRepositoryPolicyResult.h:115
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetPolicyText
void SetPolicyText(const char *value)
Definition: DeleteRepositoryPolicyResult.h:125
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithRepositoryName
DeleteRepositoryPolicyResult & WithRepositoryName(const Aws::String &value)
Definition: DeleteRepositoryPolicyResult.h:94
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: DeleteRepositoryPolicyResult.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::DeleteRepositoryPolicyResult::GetPolicyText
const Aws::String & GetPolicyText() const
Definition: DeleteRepositoryPolicyResult.h:110
Aws::ECR::Model::DeleteRepositoryPolicyResult::WithRegistryId
DeleteRepositoryPolicyResult & WithRegistryId(Aws::String &&value)
Definition: DeleteRepositoryPolicyResult.h:63
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: DeleteRepositoryPolicyResult.h:48
Aws::ECR::Model::DeleteRepositoryPolicyResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: DeleteRepositoryPolicyResult.h:89