AWS SDK for C++  1.9.133
AWS SDK for C++
AddLayerVersionPermissionResult.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 AddLayerVersionPermissionResult& WithStatement(const Aws::String& value) { SetStatement(value); return *this;}
59 
63  inline AddLayerVersionPermissionResult& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;}
64 
68  inline AddLayerVersionPermissionResult& WithStatement(const char* value) { SetStatement(value); return *this;}
69 
70 
74  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
75 
79  inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
80 
84  inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
85 
89  inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
90 
94  inline AddLayerVersionPermissionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
95 
99  inline AddLayerVersionPermissionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
100 
104  inline AddLayerVersionPermissionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_statement;
109 
110  Aws::String m_revisionId;
111  };
112 
113 } // namespace Model
114 } // namespace Lambda
115 } // namespace Aws
Aws::Lambda::Model::AddLayerVersionPermissionResult::SetStatement
void SetStatement(const char *value)
Definition: AddLayerVersionPermissionResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::AddLayerVersionPermissionResult::WithStatement
AddLayerVersionPermissionResult & WithStatement(Aws::String &&value)
Definition: AddLayerVersionPermissionResult.h:63
Aws::Lambda::Model::AddLayerVersionPermissionResult::WithStatement
AddLayerVersionPermissionResult & WithStatement(const char *value)
Definition: AddLayerVersionPermissionResult.h:68
Aws::Lambda::Model::AddLayerVersionPermissionResult::AddLayerVersionPermissionResult
AddLayerVersionPermissionResult()
Aws::Lambda::Model::AddLayerVersionPermissionResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: AddLayerVersionPermissionResult.h:79
Aws::Lambda::Model::AddLayerVersionPermissionResult::SetStatement
void SetStatement(Aws::String &&value)
Definition: AddLayerVersionPermissionResult.h:48
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::AddLayerVersionPermissionResult::WithRevisionId
AddLayerVersionPermissionResult & WithRevisionId(const char *value)
Definition: AddLayerVersionPermissionResult.h:104
Aws::Lambda::Model::AddLayerVersionPermissionResult::WithRevisionId
AddLayerVersionPermissionResult & WithRevisionId(const Aws::String &value)
Definition: AddLayerVersionPermissionResult.h:94
Aws::Lambda::Model::AddLayerVersionPermissionResult::SetStatement
void SetStatement(const Aws::String &value)
Definition: AddLayerVersionPermissionResult.h:43
Aws::Lambda::Model::AddLayerVersionPermissionResult::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: AddLayerVersionPermissionResult.h:84
AWSString.h
Aws::Lambda::Model::AddLayerVersionPermissionResult::WithRevisionId
AddLayerVersionPermissionResult & WithRevisionId(Aws::String &&value)
Definition: AddLayerVersionPermissionResult.h:99
Aws::Lambda::Model::AddLayerVersionPermissionResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: AddLayerVersionPermissionResult.h:74
Aws::Lambda::Model::AddLayerVersionPermissionResult::operator=
AddLayerVersionPermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::AddLayerVersionPermissionResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: AddLayerVersionPermissionResult.h:89
Aws::Lambda::Model::AddLayerVersionPermissionResult::GetStatement
const Aws::String & GetStatement() const
Definition: AddLayerVersionPermissionResult.h:38
Aws::Lambda::Model::AddLayerVersionPermissionResult::AddLayerVersionPermissionResult
AddLayerVersionPermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::AddLayerVersionPermissionResult
Definition: AddLayerVersionPermissionResult.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
Aws::Lambda::Model::AddLayerVersionPermissionResult::WithStatement
AddLayerVersionPermissionResult & WithStatement(const Aws::String &value)
Definition: AddLayerVersionPermissionResult.h:58
Lambda_EXPORTS.h