AWS SDK for C++  1.9.66
AWS SDK for C++
DeleteDomainPermissionsPolicyRequest.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 "DeleteDomainPermissionsPolicy"; }
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 DeleteDomainPermissionsPolicyRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
76 
81  inline DeleteDomainPermissionsPolicyRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
82 
87  inline DeleteDomainPermissionsPolicyRequest& 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 DeleteDomainPermissionsPolicyRequest& WithDomainOwner(const Aws::String& value) { SetDomainOwner(value); return *this;}
125 
130  inline DeleteDomainPermissionsPolicyRequest& WithDomainOwner(Aws::String&& value) { SetDomainOwner(std::move(value)); return *this;}
131 
136  inline DeleteDomainPermissionsPolicyRequest& WithDomainOwner(const char* value) { SetDomainOwner(value); return *this;}
137 
138 
144  inline const Aws::String& GetPolicyRevision() const{ return m_policyRevision; }
145 
151  inline bool PolicyRevisionHasBeenSet() const { return m_policyRevisionHasBeenSet; }
152 
158  inline void SetPolicyRevision(const Aws::String& value) { m_policyRevisionHasBeenSet = true; m_policyRevision = value; }
159 
165  inline void SetPolicyRevision(Aws::String&& value) { m_policyRevisionHasBeenSet = true; m_policyRevision = std::move(value); }
166 
172  inline void SetPolicyRevision(const char* value) { m_policyRevisionHasBeenSet = true; m_policyRevision.assign(value); }
173 
179  inline DeleteDomainPermissionsPolicyRequest& WithPolicyRevision(const Aws::String& value) { SetPolicyRevision(value); return *this;}
180 
186  inline DeleteDomainPermissionsPolicyRequest& WithPolicyRevision(Aws::String&& value) { SetPolicyRevision(std::move(value)); return *this;}
187 
193  inline DeleteDomainPermissionsPolicyRequest& WithPolicyRevision(const char* value) { SetPolicyRevision(value); return *this;}
194 
195  private:
196 
197  Aws::String m_domain;
198  bool m_domainHasBeenSet;
199 
200  Aws::String m_domainOwner;
201  bool m_domainOwnerHasBeenSet;
202 
203  Aws::String m_policyRevision;
204  bool m_policyRevisionHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace CodeArtifact
209 } // namespace Aws
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::GetDomainOwner
const Aws::String & GetDomainOwner() const
Definition: DeleteDomainPermissionsPolicyRequest.h:94
CodeArtifact_EXPORTS.h
Aws::Http::URI
Definition: URI.h:32
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithDomain
DeleteDomainPermissionsPolicyRequest & WithDomain(const char *value)
Definition: DeleteDomainPermissionsPolicyRequest.h:87
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetDomain
void SetDomain(const char *value)
Definition: DeleteDomainPermissionsPolicyRequest.h:69
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetDomainOwner
void SetDomainOwner(const Aws::String &value)
Definition: DeleteDomainPermissionsPolicyRequest.h:106
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetDomainOwner
void SetDomainOwner(Aws::String &&value)
Definition: DeleteDomainPermissionsPolicyRequest.h:112
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::PolicyRevisionHasBeenSet
bool PolicyRevisionHasBeenSet() const
Definition: DeleteDomainPermissionsPolicyRequest.h:151
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithDomainOwner
DeleteDomainPermissionsPolicyRequest & WithDomainOwner(const char *value)
Definition: DeleteDomainPermissionsPolicyRequest.h:136
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithDomainOwner
DeleteDomainPermissionsPolicyRequest & WithDomainOwner(const Aws::String &value)
Definition: DeleteDomainPermissionsPolicyRequest.h:124
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: DeleteDomainPermissionsPolicyRequest.h:57
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: DeleteDomainPermissionsPolicyRequest.h:63
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetPolicyRevision
void SetPolicyRevision(Aws::String &&value)
Definition: DeleteDomainPermissionsPolicyRequest.h:165
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::DeleteDomainPermissionsPolicyRequest
DeleteDomainPermissionsPolicyRequest()
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: DeleteDomainPermissionsPolicyRequest.h:51
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithPolicyRevision
DeleteDomainPermissionsPolicyRequest & WithPolicyRevision(Aws::String &&value)
Definition: DeleteDomainPermissionsPolicyRequest.h:186
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithDomain
DeleteDomainPermissionsPolicyRequest & WithDomain(const Aws::String &value)
Definition: DeleteDomainPermissionsPolicyRequest.h:75
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithPolicyRevision
DeleteDomainPermissionsPolicyRequest & WithPolicyRevision(const char *value)
Definition: DeleteDomainPermissionsPolicyRequest.h:193
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::GetPolicyRevision
const Aws::String & GetPolicyRevision() const
Definition: DeleteDomainPermissionsPolicyRequest.h:144
AWSString.h
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::GetDomain
const Aws::String & GetDomain() const
Definition: DeleteDomainPermissionsPolicyRequest.h:45
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetPolicyRevision
void SetPolicyRevision(const char *value)
Definition: DeleteDomainPermissionsPolicyRequest.h:172
CodeArtifactRequest.h
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest
Definition: DeleteDomainPermissionsPolicyRequest.h:26
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithDomainOwner
DeleteDomainPermissionsPolicyRequest & WithDomainOwner(Aws::String &&value)
Definition: DeleteDomainPermissionsPolicyRequest.h:130
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetPolicyRevision
void SetPolicyRevision(const Aws::String &value)
Definition: DeleteDomainPermissionsPolicyRequest.h:158
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDomainPermissionsPolicyRequest.h:34
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::CodeArtifactRequest
Definition: CodeArtifactRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::DomainOwnerHasBeenSet
bool DomainOwnerHasBeenSet() const
Definition: DeleteDomainPermissionsPolicyRequest.h:100
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithPolicyRevision
DeleteDomainPermissionsPolicyRequest & WithPolicyRevision(const Aws::String &value)
Definition: DeleteDomainPermissionsPolicyRequest.h:179
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::SetDomainOwner
void SetDomainOwner(const char *value)
Definition: DeleteDomainPermissionsPolicyRequest.h:118
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyRequest::WithDomain
DeleteDomainPermissionsPolicyRequest & WithDomain(Aws::String &&value)
Definition: DeleteDomainPermissionsPolicyRequest.h:81