AWS SDK for C++  1.9.129
AWS SDK for C++
RemovePermissionRequest.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 "RemovePermission"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
53  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
54 
67  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
68 
81  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
82 
95  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
96 
109  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
110 
123  inline RemovePermissionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
124 
137  inline RemovePermissionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
138 
151  inline RemovePermissionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
152 
153 
157  inline const Aws::String& GetStatementId() const{ return m_statementId; }
158 
162  inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
163 
167  inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; }
168 
172  inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); }
173 
177  inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); }
178 
182  inline RemovePermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;}
183 
187  inline RemovePermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;}
188 
192  inline RemovePermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;}
193 
194 
199  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
200 
205  inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
206 
211  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
212 
217  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
218 
223  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
224 
229  inline RemovePermissionRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
230 
235  inline RemovePermissionRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
236 
241  inline RemovePermissionRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
242 
243 
249  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
250 
256  inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
257 
263  inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
264 
270  inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
271 
277  inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
278 
284  inline RemovePermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
285 
291  inline RemovePermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
292 
298  inline RemovePermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
299 
300  private:
301 
302  Aws::String m_functionName;
303  bool m_functionNameHasBeenSet;
304 
305  Aws::String m_statementId;
306  bool m_statementIdHasBeenSet;
307 
308  Aws::String m_qualifier;
309  bool m_qualifierHasBeenSet;
310 
311  Aws::String m_revisionId;
312  bool m_revisionIdHasBeenSet;
313  };
314 
315 } // namespace Model
316 } // namespace Lambda
317 } // namespace Aws
Aws::Lambda::Model::RemovePermissionRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: RemovePermissionRequest.h:81
Aws::Lambda::Model::RemovePermissionRequest::WithQualifier
RemovePermissionRequest & WithQualifier(const char *value)
Definition: RemovePermissionRequest.h:241
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::RemovePermissionRequest::SetRevisionId
void SetRevisionId(const char *value)
Definition: RemovePermissionRequest.h:277
Aws::Lambda::Model::RemovePermissionRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: RemovePermissionRequest.h:53
Aws::Lambda::Model::RemovePermissionRequest::WithQualifier
RemovePermissionRequest & WithQualifier(const Aws::String &value)
Definition: RemovePermissionRequest.h:229
Aws::Lambda::Model::RemovePermissionRequest::SetStatementId
void SetStatementId(const char *value)
Definition: RemovePermissionRequest.h:177
Aws::Lambda::Model::RemovePermissionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemovePermissionRequest.h:34
Aws::Lambda::Model::RemovePermissionRequest::RevisionIdHasBeenSet
bool RevisionIdHasBeenSet() const
Definition: RemovePermissionRequest.h:256
Aws::Lambda::Model::RemovePermissionRequest::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: RemovePermissionRequest.h:263
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::RemovePermissionRequest::WithStatementId
RemovePermissionRequest & WithStatementId(const Aws::String &value)
Definition: RemovePermissionRequest.h:182
Aws::Lambda::Model::RemovePermissionRequest::GetQualifier
const Aws::String & GetQualifier() const
Definition: RemovePermissionRequest.h:199
Aws::Lambda::Model::RemovePermissionRequest::WithRevisionId
RemovePermissionRequest & WithRevisionId(const Aws::String &value)
Definition: RemovePermissionRequest.h:284
Aws::Lambda::Model::RemovePermissionRequest
Definition: RemovePermissionRequest.h:26
Aws::Lambda::Model::RemovePermissionRequest::StatementIdHasBeenSet
bool StatementIdHasBeenSet() const
Definition: RemovePermissionRequest.h:162
Aws::Lambda::Model::RemovePermissionRequest::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: RemovePermissionRequest.h:249
Aws::Lambda::Model::RemovePermissionRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: RemovePermissionRequest.h:67
Aws::Lambda::Model::RemovePermissionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::RemovePermissionRequest::SetQualifier
void SetQualifier(const Aws::String &value)
Definition: RemovePermissionRequest.h:211
Aws::Lambda::Model::RemovePermissionRequest::WithStatementId
RemovePermissionRequest & WithStatementId(Aws::String &&value)
Definition: RemovePermissionRequest.h:187
Aws::Lambda::Model::RemovePermissionRequest::SetStatementId
void SetStatementId(Aws::String &&value)
Definition: RemovePermissionRequest.h:172
AWSString.h
Aws::Lambda::Model::RemovePermissionRequest::WithRevisionId
RemovePermissionRequest & WithRevisionId(Aws::String &&value)
Definition: RemovePermissionRequest.h:291
Aws::Lambda::Model::RemovePermissionRequest::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: RemovePermissionRequest.h:270
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::RemovePermissionRequest::WithFunctionName
RemovePermissionRequest & WithFunctionName(Aws::String &&value)
Definition: RemovePermissionRequest.h:137
Aws::Lambda::Model::RemovePermissionRequest::WithStatementId
RemovePermissionRequest & WithStatementId(const char *value)
Definition: RemovePermissionRequest.h:192
Aws::Lambda::Model::RemovePermissionRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: RemovePermissionRequest.h:95
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::RemovePermissionRequest::SetQualifier
void SetQualifier(Aws::String &&value)
Definition: RemovePermissionRequest.h:217
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::RemovePermissionRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: RemovePermissionRequest.h:109
Aws::Lambda::Model::RemovePermissionRequest::QualifierHasBeenSet
bool QualifierHasBeenSet() const
Definition: RemovePermissionRequest.h:205
Aws::Lambda::Model::RemovePermissionRequest::WithQualifier
RemovePermissionRequest & WithQualifier(Aws::String &&value)
Definition: RemovePermissionRequest.h:235
Aws::Lambda::Model::RemovePermissionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Lambda::Model::RemovePermissionRequest::WithRevisionId
RemovePermissionRequest & WithRevisionId(const char *value)
Definition: RemovePermissionRequest.h:298
Aws::Lambda::Model::RemovePermissionRequest::SetQualifier
void SetQualifier(const char *value)
Definition: RemovePermissionRequest.h:223
Aws::Lambda::Model::RemovePermissionRequest::SetStatementId
void SetStatementId(const Aws::String &value)
Definition: RemovePermissionRequest.h:167
Lambda_EXPORTS.h
Aws::Lambda::Model::RemovePermissionRequest::WithFunctionName
RemovePermissionRequest & WithFunctionName(const char *value)
Definition: RemovePermissionRequest.h:151
Aws::Lambda::Model::RemovePermissionRequest::GetStatementId
const Aws::String & GetStatementId() const
Definition: RemovePermissionRequest.h:157
Aws::Lambda::Model::RemovePermissionRequest::WithFunctionName
RemovePermissionRequest & WithFunctionName(const Aws::String &value)
Definition: RemovePermissionRequest.h:123
Aws::Lambda::Model::RemovePermissionRequest::RemovePermissionRequest
RemovePermissionRequest()