AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePermissionRequest.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace RAM
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeletePermission"; }
35
36 AWS_RAM_API Aws::String SerializePayload() const override;
37
38 AWS_RAM_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
48 inline const Aws::String& GetPermissionArn() const{ return m_permissionArn; }
49 inline bool PermissionArnHasBeenSet() const { return m_permissionArnHasBeenSet; }
50 inline void SetPermissionArn(const Aws::String& value) { m_permissionArnHasBeenSet = true; m_permissionArn = value; }
51 inline void SetPermissionArn(Aws::String&& value) { m_permissionArnHasBeenSet = true; m_permissionArn = std::move(value); }
52 inline void SetPermissionArn(const char* value) { m_permissionArnHasBeenSet = true; m_permissionArn.assign(value); }
53 inline DeletePermissionRequest& WithPermissionArn(const Aws::String& value) { SetPermissionArn(value); return *this;}
54 inline DeletePermissionRequest& WithPermissionArn(Aws::String&& value) { SetPermissionArn(std::move(value)); return *this;}
55 inline DeletePermissionRequest& WithPermissionArn(const char* value) { SetPermissionArn(value); return *this;}
57
59
71 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
74 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
75 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
76 inline DeletePermissionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
77 inline DeletePermissionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
78 inline DeletePermissionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
80 private:
81
82 Aws::String m_permissionArn;
83 bool m_permissionArnHasBeenSet = false;
84
85 Aws::String m_clientToken;
86 bool m_clientTokenHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace RAM
91} // namespace Aws
AWS_RAM_API Aws::String SerializePayload() const override
AWS_RAM_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeletePermissionRequest & WithPermissionArn(Aws::String &&value)
void SetClientToken(const Aws::String &value)
DeletePermissionRequest & WithPermissionArn(const Aws::String &value)
DeletePermissionRequest & WithPermissionArn(const char *value)
DeletePermissionRequest & WithClientToken(const char *value)
DeletePermissionRequest & WithClientToken(Aws::String &&value)
DeletePermissionRequest & WithClientToken(const Aws::String &value)
void SetPermissionArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String