AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveLayerVersionPermissionRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.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 Lambda
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 "RemoveLayerVersionPermission"; }
35
36 AWS_LAMBDA_API Aws::String SerializePayload() const override;
37
38 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetLayerName() const{ return m_layerName; }
46 inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
47 inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
48 inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
49 inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
50 inline RemoveLayerVersionPermissionRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
51 inline RemoveLayerVersionPermissionRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
52 inline RemoveLayerVersionPermissionRequest& WithLayerName(const char* value) { SetLayerName(value); return *this;}
54
56
59 inline long long GetVersionNumber() const{ return m_versionNumber; }
60 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
61 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
62 inline RemoveLayerVersionPermissionRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
64
66
69 inline const Aws::String& GetStatementId() const{ return m_statementId; }
70 inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
71 inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; }
72 inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); }
73 inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); }
75 inline RemoveLayerVersionPermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;}
76 inline RemoveLayerVersionPermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;}
78
80
84 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
85 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
86 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
87 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
88 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
89 inline RemoveLayerVersionPermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
90 inline RemoveLayerVersionPermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
91 inline RemoveLayerVersionPermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
93 private:
94
95 Aws::String m_layerName;
96 bool m_layerNameHasBeenSet = false;
97
98 long long m_versionNumber;
99 bool m_versionNumberHasBeenSet = false;
100
101 Aws::String m_statementId;
102 bool m_statementIdHasBeenSet = false;
103
104 Aws::String m_revisionId;
105 bool m_revisionIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Lambda
110} // namespace Aws
RemoveLayerVersionPermissionRequest & WithRevisionId(Aws::String &&value)
RemoveLayerVersionPermissionRequest & WithVersionNumber(long long value)
RemoveLayerVersionPermissionRequest & WithStatementId(Aws::String &&value)
RemoveLayerVersionPermissionRequest & WithLayerName(const Aws::String &value)
RemoveLayerVersionPermissionRequest & WithRevisionId(const char *value)
RemoveLayerVersionPermissionRequest & WithStatementId(const Aws::String &value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
RemoveLayerVersionPermissionRequest & WithStatementId(const char *value)
RemoveLayerVersionPermissionRequest & WithLayerName(const char *value)
RemoveLayerVersionPermissionRequest & WithRevisionId(const Aws::String &value)
RemoveLayerVersionPermissionRequest & WithLayerName(Aws::String &&value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String