AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RemovePermissionRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
8#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
9#include <aws/codeguruprofiler/model/ActionGroup.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace CodeGuruProfiler {
19namespace Model {
20
29 public:
30 AWS_CODEGURUPROFILER_API RemovePermissionRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "RemovePermission"; }
37
38 AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override;
39
40 AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
43
49 inline ActionGroup GetActionGroup() const { return m_actionGroup; }
50 inline bool ActionGroupHasBeenSet() const { return m_actionGroupHasBeenSet; }
51 inline void SetActionGroup(ActionGroup value) {
52 m_actionGroupHasBeenSet = true;
53 m_actionGroup = value;
54 }
56 SetActionGroup(value);
57 return *this;
58 }
60
62
65 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
66 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
67 template <typename ProfilingGroupNameT = Aws::String>
68 void SetProfilingGroupName(ProfilingGroupNameT&& value) {
69 m_profilingGroupNameHasBeenSet = true;
70 m_profilingGroupName = std::forward<ProfilingGroupNameT>(value);
71 }
72 template <typename ProfilingGroupNameT = Aws::String>
73 RemovePermissionRequest& WithProfilingGroupName(ProfilingGroupNameT&& value) {
74 SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
85 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
86 template <typename RevisionIdT = Aws::String>
87 void SetRevisionId(RevisionIdT&& value) {
88 m_revisionIdHasBeenSet = true;
89 m_revisionId = std::forward<RevisionIdT>(value);
90 }
91 template <typename RevisionIdT = Aws::String>
93 SetRevisionId(std::forward<RevisionIdT>(value));
94 return *this;
95 }
97 private:
98 ActionGroup m_actionGroup{ActionGroup::NOT_SET};
99
100 Aws::String m_profilingGroupName;
101
102 Aws::String m_revisionId;
103 bool m_actionGroupHasBeenSet = false;
104 bool m_profilingGroupNameHasBeenSet = false;
105 bool m_revisionIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace CodeGuruProfiler
110} // namespace Aws
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
RemovePermissionRequest & WithProfilingGroupName(ProfilingGroupNameT &&value)
RemovePermissionRequest & WithActionGroup(ActionGroup value)
AWS_CODEGURUPROFILER_API RemovePermissionRequest()=default
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
RemovePermissionRequest & WithRevisionId(RevisionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String