AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteRepositoryPermissionsPolicyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace CodeArtifact
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteRepositoryPermissionsPolicy"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetDomain() const{ return m_domain; }
46 
51  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
52 
57  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
58 
63  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
64 
69  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
70 
75  inline DeleteRepositoryPermissionsPolicyRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
76 
81  inline DeleteRepositoryPermissionsPolicyRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
82 
87  inline DeleteRepositoryPermissionsPolicyRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
88 
89 
94  inline const Aws::String& GetDomainOwner() const{ return m_domainOwner; }
95 
100  inline bool DomainOwnerHasBeenSet() const { return m_domainOwnerHasBeenSet; }
101 
106  inline void SetDomainOwner(const Aws::String& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = value; }
107 
112  inline void SetDomainOwner(Aws::String&& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = std::move(value); }
113 
118  inline void SetDomainOwner(const char* value) { m_domainOwnerHasBeenSet = true; m_domainOwner.assign(value); }
119 
124  inline DeleteRepositoryPermissionsPolicyRequest& WithDomainOwner(const Aws::String& value) { SetDomainOwner(value); return *this;}
125 
130  inline DeleteRepositoryPermissionsPolicyRequest& WithDomainOwner(Aws::String&& value) { SetDomainOwner(std::move(value)); return *this;}
131 
136  inline DeleteRepositoryPermissionsPolicyRequest& WithDomainOwner(const char* value) { SetDomainOwner(value); return *this;}
137 
138 
143  inline const Aws::String& GetRepository() const{ return m_repository; }
144 
149  inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
150 
155  inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
156 
161  inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
162 
167  inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
168 
173  inline DeleteRepositoryPermissionsPolicyRequest& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
174 
179  inline DeleteRepositoryPermissionsPolicyRequest& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
180 
185  inline DeleteRepositoryPermissionsPolicyRequest& WithRepository(const char* value) { SetRepository(value); return *this;}
186 
187 
193  inline const Aws::String& GetPolicyRevision() const{ return m_policyRevision; }
194 
200  inline bool PolicyRevisionHasBeenSet() const { return m_policyRevisionHasBeenSet; }
201 
207  inline void SetPolicyRevision(const Aws::String& value) { m_policyRevisionHasBeenSet = true; m_policyRevision = value; }
208 
214  inline void SetPolicyRevision(Aws::String&& value) { m_policyRevisionHasBeenSet = true; m_policyRevision = std::move(value); }
215 
221  inline void SetPolicyRevision(const char* value) { m_policyRevisionHasBeenSet = true; m_policyRevision.assign(value); }
222 
228  inline DeleteRepositoryPermissionsPolicyRequest& WithPolicyRevision(const Aws::String& value) { SetPolicyRevision(value); return *this;}
229 
235  inline DeleteRepositoryPermissionsPolicyRequest& WithPolicyRevision(Aws::String&& value) { SetPolicyRevision(std::move(value)); return *this;}
236 
242  inline DeleteRepositoryPermissionsPolicyRequest& WithPolicyRevision(const char* value) { SetPolicyRevision(value); return *this;}
243 
244  private:
245 
246  Aws::String m_domain;
247  bool m_domainHasBeenSet;
248 
249  Aws::String m_domainOwner;
250  bool m_domainOwnerHasBeenSet;
251 
252  Aws::String m_repository;
253  bool m_repositoryHasBeenSet;
254 
255  Aws::String m_policyRevision;
256  bool m_policyRevisionHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace CodeArtifact
261 } // namespace Aws
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:63
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest
Definition: DeleteRepositoryPermissionsPolicyRequest.h:26
CodeArtifact_EXPORTS.h
Aws::Http::URI
Definition: URI.h:32
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithPolicyRevision
DeleteRepositoryPermissionsPolicyRequest & WithPolicyRevision(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:235
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::DeleteRepositoryPermissionsPolicyRequest
DeleteRepositoryPermissionsPolicyRequest()
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithRepository
DeleteRepositoryPermissionsPolicyRequest & WithRepository(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:185
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetPolicyRevision
void SetPolicyRevision(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:221
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::GetRepository
const Aws::String & GetRepository() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:143
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::PolicyRevisionHasBeenSet
bool PolicyRevisionHasBeenSet() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:200
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetDomainOwner
void SetDomainOwner(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:118
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithPolicyRevision
DeleteRepositoryPermissionsPolicyRequest & WithPolicyRevision(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:242
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::DomainOwnerHasBeenSet
bool DomainOwnerHasBeenSet() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:100
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetRepository
void SetRepository(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:155
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithDomainOwner
DeleteRepositoryPermissionsPolicyRequest & WithDomainOwner(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:124
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithDomainOwner
DeleteRepositoryPermissionsPolicyRequest & WithDomainOwner(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:130
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetPolicyRevision
void SetPolicyRevision(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:207
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithDomain
DeleteRepositoryPermissionsPolicyRequest & WithDomain(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:75
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithDomain
DeleteRepositoryPermissionsPolicyRequest & WithDomain(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:87
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetPolicyRevision
void SetPolicyRevision(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:214
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::GetDomainOwner
const Aws::String & GetDomainOwner() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:94
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetDomainOwner
void SetDomainOwner(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:106
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetRepository
void SetRepository(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:167
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::GetDomain
const Aws::String & GetDomain() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:45
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithRepository
DeleteRepositoryPermissionsPolicyRequest & WithRepository(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:179
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetRepository
void SetRepository(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:161
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithDomainOwner
DeleteRepositoryPermissionsPolicyRequest & WithDomainOwner(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:136
CodeArtifactRequest.h
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetDomainOwner
void SetDomainOwner(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:112
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithRepository
DeleteRepositoryPermissionsPolicyRequest & WithRepository(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:173
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithDomain
DeleteRepositoryPermissionsPolicyRequest & WithDomain(Aws::String &&value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:81
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::WithPolicyRevision
DeleteRepositoryPermissionsPolicyRequest & WithPolicyRevision(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:228
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:51
Aws::CodeArtifact::CodeArtifactRequest
Definition: CodeArtifactRequest.h:17
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRepositoryPermissionsPolicyRequest.h:34
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetDomain
void SetDomain(const char *value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: DeleteRepositoryPermissionsPolicyRequest.h:57
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::GetPolicyRevision
const Aws::String & GetPolicyRevision() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:193
Aws::CodeArtifact::Model::DeleteRepositoryPermissionsPolicyRequest::RepositoryHasBeenSet
bool RepositoryHasBeenSet() const
Definition: DeleteRepositoryPermissionsPolicyRequest.h:149