AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RemovePermissionRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
9#include <aws/codeguruprofiler/model/ActionGroup.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CodeGuruProfiler
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_CODEGURUPROFILER_API RemovePermissionRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "RemovePermission"; }
41
42 AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override;
43
44 AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
46
48
54 inline ActionGroup GetActionGroup() const { return m_actionGroup; }
55 inline bool ActionGroupHasBeenSet() const { return m_actionGroupHasBeenSet; }
56 inline void SetActionGroup(ActionGroup value) { m_actionGroupHasBeenSet = true; m_actionGroup = value; }
57 inline RemovePermissionRequest& WithActionGroup(ActionGroup value) { SetActionGroup(value); return *this;}
59
61
64 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
65 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
66 template<typename ProfilingGroupNameT = Aws::String>
67 void SetProfilingGroupName(ProfilingGroupNameT&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::forward<ProfilingGroupNameT>(value); }
68 template<typename ProfilingGroupNameT = Aws::String>
69 RemovePermissionRequest& WithProfilingGroupName(ProfilingGroupNameT&& value) { SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value)); return *this;}
71
73
77 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
78 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
79 template<typename RevisionIdT = Aws::String>
80 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
81 template<typename RevisionIdT = Aws::String>
82 RemovePermissionRequest& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
84 private:
85
86 ActionGroup m_actionGroup{ActionGroup::NOT_SET};
87 bool m_actionGroupHasBeenSet = false;
88
89 Aws::String m_profilingGroupName;
90 bool m_profilingGroupNameHasBeenSet = false;
91
92 Aws::String m_revisionId;
93 bool m_revisionIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeGuruProfiler
98} // 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