AWS SDK for C++  1.9.129
AWS SDK for C++
RemoveLayerVersionPermissionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Lambda
19 {
20 namespace 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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetLayerName() const{ return m_layerName; }
45 
49  inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
50 
54  inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
55 
59  inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
60 
64  inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
65 
69  inline RemoveLayerVersionPermissionRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
70 
74  inline RemoveLayerVersionPermissionRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
75 
79  inline RemoveLayerVersionPermissionRequest& WithLayerName(const char* value) { SetLayerName(value); return *this;}
80 
81 
85  inline long long GetVersionNumber() const{ return m_versionNumber; }
86 
90  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
91 
95  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
96 
100  inline RemoveLayerVersionPermissionRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
101 
102 
106  inline const Aws::String& GetStatementId() const{ return m_statementId; }
107 
111  inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
112 
116  inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; }
117 
121  inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); }
122 
126  inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); }
127 
131  inline RemoveLayerVersionPermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;}
132 
136  inline RemoveLayerVersionPermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;}
137 
141  inline RemoveLayerVersionPermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;}
142 
143 
148  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
149 
154  inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
155 
160  inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
161 
166  inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
167 
172  inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
173 
178  inline RemoveLayerVersionPermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
179 
184  inline RemoveLayerVersionPermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
185 
190  inline RemoveLayerVersionPermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
191 
192  private:
193 
194  Aws::String m_layerName;
195  bool m_layerNameHasBeenSet;
196 
197  long long m_versionNumber;
198  bool m_versionNumberHasBeenSet;
199 
200  Aws::String m_statementId;
201  bool m_statementIdHasBeenSet;
202 
203  Aws::String m_revisionId;
204  bool m_revisionIdHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace Lambda
209 } // namespace Aws
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithStatementId
RemoveLayerVersionPermissionRequest & WithStatementId(const Aws::String &value)
Definition: RemoveLayerVersionPermissionRequest.h:131
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetStatementId
void SetStatementId(const Aws::String &value)
Definition: RemoveLayerVersionPermissionRequest.h:116
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetStatementId
void SetStatementId(Aws::String &&value)
Definition: RemoveLayerVersionPermissionRequest.h:121
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithLayerName
RemoveLayerVersionPermissionRequest & WithLayerName(const char *value)
Definition: RemoveLayerVersionPermissionRequest.h:79
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::GetVersionNumber
long long GetVersionNumber() const
Definition: RemoveLayerVersionPermissionRequest.h:85
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::GetStatementId
const Aws::String & GetStatementId() const
Definition: RemoveLayerVersionPermissionRequest.h:106
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: RemoveLayerVersionPermissionRequest.h:148
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::LayerNameHasBeenSet
bool LayerNameHasBeenSet() const
Definition: RemoveLayerVersionPermissionRequest.h:49
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithStatementId
RemoveLayerVersionPermissionRequest & WithStatementId(const char *value)
Definition: RemoveLayerVersionPermissionRequest.h:141
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithStatementId
RemoveLayerVersionPermissionRequest & WithStatementId(Aws::String &&value)
Definition: RemoveLayerVersionPermissionRequest.h:136
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: RemoveLayerVersionPermissionRequest.h:166
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetRevisionId
void SetRevisionId(const char *value)
Definition: RemoveLayerVersionPermissionRequest.h:172
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetLayerName
void SetLayerName(const char *value)
Definition: RemoveLayerVersionPermissionRequest.h:64
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetVersionNumber
void SetVersionNumber(long long value)
Definition: RemoveLayerVersionPermissionRequest.h:95
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithVersionNumber
RemoveLayerVersionPermissionRequest & WithVersionNumber(long long value)
Definition: RemoveLayerVersionPermissionRequest.h:100
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithRevisionId
RemoveLayerVersionPermissionRequest & WithRevisionId(const Aws::String &value)
Definition: RemoveLayerVersionPermissionRequest.h:178
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithRevisionId
RemoveLayerVersionPermissionRequest & WithRevisionId(Aws::String &&value)
Definition: RemoveLayerVersionPermissionRequest.h:184
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::GetLayerName
const Aws::String & GetLayerName() const
Definition: RemoveLayerVersionPermissionRequest.h:44
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetLayerName
void SetLayerName(Aws::String &&value)
Definition: RemoveLayerVersionPermissionRequest.h:59
AWSString.h
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::StatementIdHasBeenSet
bool StatementIdHasBeenSet() const
Definition: RemoveLayerVersionPermissionRequest.h:111
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::RemoveLayerVersionPermissionRequest
RemoveLayerVersionPermissionRequest()
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithLayerName
RemoveLayerVersionPermissionRequest & WithLayerName(const Aws::String &value)
Definition: RemoveLayerVersionPermissionRequest.h:69
LambdaRequest.h
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithLayerName
RemoveLayerVersionPermissionRequest & WithLayerName(Aws::String &&value)
Definition: RemoveLayerVersionPermissionRequest.h:74
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: RemoveLayerVersionPermissionRequest.h:160
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::WithRevisionId
RemoveLayerVersionPermissionRequest & WithRevisionId(const char *value)
Definition: RemoveLayerVersionPermissionRequest.h:190
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetLayerName
void SetLayerName(const Aws::String &value)
Definition: RemoveLayerVersionPermissionRequest.h:54
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: RemoveLayerVersionPermissionRequest.h:90
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveLayerVersionPermissionRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::RevisionIdHasBeenSet
bool RevisionIdHasBeenSet() const
Definition: RemoveLayerVersionPermissionRequest.h:154
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest
Definition: RemoveLayerVersionPermissionRequest.h:26
Lambda_EXPORTS.h
Aws::Lambda::Model::RemoveLayerVersionPermissionRequest::SetStatementId
void SetStatementId(const char *value)
Definition: RemoveLayerVersionPermissionRequest.h:126