AWS SDK for C++  1.9.153
AWS SDK for C++
DeleteDomainPermissionsPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 CodeArtifact
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const ResourcePolicy& GetPolicy() const{ return m_policy; }
40 
45  inline void SetPolicy(const ResourcePolicy& value) { m_policy = value; }
46 
51  inline void SetPolicy(ResourcePolicy&& value) { m_policy = std::move(value); }
52 
57  inline DeleteDomainPermissionsPolicyResult& WithPolicy(const ResourcePolicy& value) { SetPolicy(value); return *this;}
58 
63  inline DeleteDomainPermissionsPolicyResult& WithPolicy(ResourcePolicy&& value) { SetPolicy(std::move(value)); return *this;}
64 
65  private:
66 
67  ResourcePolicy m_policy;
68  };
69 
70 } // namespace Model
71 } // namespace CodeArtifact
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::WithPolicy
DeleteDomainPermissionsPolicyResult & WithPolicy(ResourcePolicy &&value)
Definition: DeleteDomainPermissionsPolicyResult.h:63
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::SetPolicy
void SetPolicy(const ResourcePolicy &value)
Definition: DeleteDomainPermissionsPolicyResult.h:45
ResourcePolicy.h
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::SetPolicy
void SetPolicy(ResourcePolicy &&value)
Definition: DeleteDomainPermissionsPolicyResult.h:51
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::operator=
DeleteDomainPermissionsPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult
Definition: DeleteDomainPermissionsPolicyResult.h:28
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::WithPolicy
DeleteDomainPermissionsPolicyResult & WithPolicy(const ResourcePolicy &value)
Definition: DeleteDomainPermissionsPolicyResult.h:57
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::DeleteDomainPermissionsPolicyResult
DeleteDomainPermissionsPolicyResult()
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::ResourcePolicy
Definition: ResourcePolicy.h:33
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::DeleteDomainPermissionsPolicyResult
DeleteDomainPermissionsPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DeleteDomainPermissionsPolicyResult::GetPolicy
const ResourcePolicy & GetPolicy() const
Definition: DeleteDomainPermissionsPolicyResult.h:39