AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DeleteProjectPolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Rekognition {
15namespace Model {
16
20 public:
21 AWS_REKOGNITION_API DeleteProjectPolicyRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteProjectPolicy"; }
28
29 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
30
31 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
39 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
40 template <typename ProjectArnT = Aws::String>
41 void SetProjectArn(ProjectArnT&& value) {
42 m_projectArnHasBeenSet = true;
43 m_projectArn = std::forward<ProjectArnT>(value);
44 }
45 template <typename ProjectArnT = Aws::String>
47 SetProjectArn(std::forward<ProjectArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPolicyName() const { return m_policyName; }
57 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
58 template <typename PolicyNameT = Aws::String>
59 void SetPolicyName(PolicyNameT&& value) {
60 m_policyNameHasBeenSet = true;
61 m_policyName = std::forward<PolicyNameT>(value);
62 }
63 template <typename PolicyNameT = Aws::String>
65 SetPolicyName(std::forward<PolicyNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetPolicyRevisionId() const { return m_policyRevisionId; }
75 inline bool PolicyRevisionIdHasBeenSet() const { return m_policyRevisionIdHasBeenSet; }
76 template <typename PolicyRevisionIdT = Aws::String>
77 void SetPolicyRevisionId(PolicyRevisionIdT&& value) {
78 m_policyRevisionIdHasBeenSet = true;
79 m_policyRevisionId = std::forward<PolicyRevisionIdT>(value);
80 }
81 template <typename PolicyRevisionIdT = Aws::String>
83 SetPolicyRevisionId(std::forward<PolicyRevisionIdT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_projectArn;
89 bool m_projectArnHasBeenSet = false;
90
91 Aws::String m_policyName;
92 bool m_policyNameHasBeenSet = false;
93
94 Aws::String m_policyRevisionId;
95 bool m_policyRevisionIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Rekognition
100} // 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