AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ActionGroup& GetActionGroup() const{ return m_actionGroup; }
55 inline bool ActionGroupHasBeenSet() const { return m_actionGroupHasBeenSet; }
56 inline void SetActionGroup(const ActionGroup& value) { m_actionGroupHasBeenSet = true; m_actionGroup = value; }
57 inline void SetActionGroup(ActionGroup&& value) { m_actionGroupHasBeenSet = true; m_actionGroup = std::move(value); }
58 inline RemovePermissionRequest& WithActionGroup(const ActionGroup& value) { SetActionGroup(value); return *this;}
59 inline RemovePermissionRequest& WithActionGroup(ActionGroup&& value) { SetActionGroup(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
67 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
68 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
69 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
70 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
72 inline RemovePermissionRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
73 inline RemovePermissionRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
75
77
81 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
82 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
83 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
84 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
85 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
86 inline RemovePermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
87 inline RemovePermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
88 inline RemovePermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
90 private:
91
92 ActionGroup m_actionGroup;
93 bool m_actionGroupHasBeenSet = false;
94
95 Aws::String m_profilingGroupName;
96 bool m_profilingGroupNameHasBeenSet = false;
97
98 Aws::String m_revisionId;
99 bool m_revisionIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CodeGuruProfiler
104} // namespace Aws
RemovePermissionRequest & WithRevisionId(const char *value)
RemovePermissionRequest & WithProfilingGroupName(const Aws::String &value)
RemovePermissionRequest & WithActionGroup(const ActionGroup &value)
RemovePermissionRequest & WithRevisionId(const Aws::String &value)
RemovePermissionRequest & WithActionGroup(ActionGroup &&value)
RemovePermissionRequest & WithRevisionId(Aws::String &&value)
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
RemovePermissionRequest & WithProfilingGroupName(Aws::String &&value)
RemovePermissionRequest & WithProfilingGroupName(const char *value)
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String