AWS SDK for C++  1.9.19
AWS SDK for C++
AddPermissionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Lambda
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetStatement() const{ return m_statement; }
39 
43  inline void SetStatement(const Aws::String& value) { m_statement = value; }
44 
48  inline void SetStatement(Aws::String&& value) { m_statement = std::move(value); }
49 
53  inline void SetStatement(const char* value) { m_statement.assign(value); }
54 
58  inline AddPermissionResult& WithStatement(const Aws::String& value) { SetStatement(value); return *this;}
59 
63  inline AddPermissionResult& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;}
64 
68  inline AddPermissionResult& WithStatement(const char* value) { SetStatement(value); return *this;}
69 
70  private:
71 
72  Aws::String m_statement;
73  };
74 
75 } // namespace Model
76 } // namespace Lambda
77 } // namespace Aws
Aws::Lambda::Model::AddPermissionResult::SetStatement
void SetStatement(const Aws::String &value)
Definition: AddPermissionResult.h:43
Aws::Lambda::Model::AddPermissionResult::SetStatement
void SetStatement(const char *value)
Definition: AddPermissionResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::AddPermissionResult::operator=
AddPermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::AddPermissionResult::GetStatement
const Aws::String & GetStatement() const
Definition: AddPermissionResult.h:38
Aws::Lambda::Model::AddPermissionResult::WithStatement
AddPermissionResult & WithStatement(Aws::String &&value)
Definition: AddPermissionResult.h:63
Aws::Lambda::Model::AddPermissionResult::AddPermissionResult
AddPermissionResult()
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::AddPermissionResult::SetStatement
void SetStatement(Aws::String &&value)
Definition: AddPermissionResult.h:48
Aws::Lambda::Model::AddPermissionResult::WithStatement
AddPermissionResult & WithStatement(const Aws::String &value)
Definition: AddPermissionResult.h:58
Aws::Lambda::Model::AddPermissionResult::WithStatement
AddPermissionResult & WithStatement(const char *value)
Definition: AddPermissionResult.h:68
AWSString.h
Aws::Lambda::Model::AddPermissionResult
Definition: AddPermissionResult.h:28
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Lambda_EXPORTS.h
Aws::Lambda::Model::AddPermissionResult::AddPermissionResult
AddPermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)