AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteProjectPolicyRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Rekognition
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_REKOGNITION_API DeleteProjectPolicyRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteProjectPolicy"; }
31
32 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
33
34 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
43 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
44 template<typename ProjectArnT = Aws::String>
45 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
46 template<typename ProjectArnT = Aws::String>
47 DeleteProjectPolicyRequest& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetPolicyName() const { return m_policyName; }
55 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
56 template<typename PolicyNameT = Aws::String>
57 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet = true; m_policyName = std::forward<PolicyNameT>(value); }
58 template<typename PolicyNameT = Aws::String>
59 DeleteProjectPolicyRequest& WithPolicyName(PolicyNameT&& value) { SetPolicyName(std::forward<PolicyNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetPolicyRevisionId() const { return m_policyRevisionId; }
67 inline bool PolicyRevisionIdHasBeenSet() const { return m_policyRevisionIdHasBeenSet; }
68 template<typename PolicyRevisionIdT = Aws::String>
69 void SetPolicyRevisionId(PolicyRevisionIdT&& value) { m_policyRevisionIdHasBeenSet = true; m_policyRevisionId = std::forward<PolicyRevisionIdT>(value); }
70 template<typename PolicyRevisionIdT = Aws::String>
71 DeleteProjectPolicyRequest& WithPolicyRevisionId(PolicyRevisionIdT&& value) { SetPolicyRevisionId(std::forward<PolicyRevisionIdT>(value)); return *this;}
73 private:
74
75 Aws::String m_projectArn;
76 bool m_projectArnHasBeenSet = false;
77
78 Aws::String m_policyName;
79 bool m_policyNameHasBeenSet = false;
80
81 Aws::String m_policyRevisionId;
82 bool m_policyRevisionIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Rekognition
87} // namespace Aws
DeleteProjectPolicyRequest & WithPolicyRevisionId(PolicyRevisionIdT &&value)
DeleteProjectPolicyRequest & WithPolicyName(PolicyNameT &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteProjectPolicyRequest & WithProjectArn(ProjectArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API DeleteProjectPolicyRequest()=default
AWS_REKOGNITION_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String