AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveProfilePermissionRequest.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/SignerRequest.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 signer
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 "RemoveProfilePermission"; }
35
36 AWS_SIGNER_API Aws::String SerializePayload() const override;
37
38 AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetProfileName() const{ return m_profileName; }
47 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
48 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
49 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
50 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
51 inline RemoveProfilePermissionRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
52 inline RemoveProfilePermissionRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
53 inline RemoveProfilePermissionRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
55
57
61 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
62 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
63 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
64 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
65 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
66 inline RemoveProfilePermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
67 inline RemoveProfilePermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
68 inline RemoveProfilePermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
70
72
75 inline const Aws::String& GetStatementId() const{ return m_statementId; }
76 inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
77 inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; }
78 inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); }
79 inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); }
80 inline RemoveProfilePermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;}
81 inline RemoveProfilePermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;}
82 inline RemoveProfilePermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;}
84 private:
85
86 Aws::String m_profileName;
87 bool m_profileNameHasBeenSet = false;
88
89 Aws::String m_revisionId;
90 bool m_revisionIdHasBeenSet = false;
91
92 Aws::String m_statementId;
93 bool m_statementIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace signer
98} // namespace Aws
RemoveProfilePermissionRequest & WithStatementId(const char *value)
RemoveProfilePermissionRequest & WithProfileName(Aws::String &&value)
RemoveProfilePermissionRequest & WithProfileName(const char *value)
RemoveProfilePermissionRequest & WithRevisionId(const Aws::String &value)
RemoveProfilePermissionRequest & WithRevisionId(const char *value)
RemoveProfilePermissionRequest & WithProfileName(const Aws::String &value)
RemoveProfilePermissionRequest & WithRevisionId(Aws::String &&value)
RemoveProfilePermissionRequest & WithStatementId(const Aws::String &value)
AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
RemoveProfilePermissionRequest & WithStatementId(Aws::String &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String