AWS SDK for C++  1.9.20
AWS SDK for C++
GetLayerVersionPolicyResult.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& GetPolicy() const{ return m_policy; }
39 
43  inline void SetPolicy(const Aws::String& value) { m_policy = value; }
44 
48  inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
49 
53  inline void SetPolicy(const char* value) { m_policy.assign(value); }
54 
58  inline GetLayerVersionPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
59 
63  inline GetLayerVersionPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
64 
68  inline GetLayerVersionPolicyResult& WithPolicy(const char* value) { SetPolicy(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 GetLayerVersionPolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
95 
99  inline GetLayerVersionPolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
100 
104  inline GetLayerVersionPolicyResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_policy;
109 
110  Aws::String m_revisionId;
111  };
112 
113 } // namespace Model
114 } // namespace Lambda
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::GetLayerVersionPolicyResult::GetLayerVersionPolicyResult
GetLayerVersionPolicyResult()
Aws::Lambda::Model::GetLayerVersionPolicyResult::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: GetLayerVersionPolicyResult.h:84
Aws::Lambda::Model::GetLayerVersionPolicyResult::GetPolicy
const Aws::String & GetPolicy() const
Definition: GetLayerVersionPolicyResult.h:38
Aws::Lambda::Model::GetLayerVersionPolicyResult
Definition: GetLayerVersionPolicyResult.h:28
Aws::Lambda::Model::GetLayerVersionPolicyResult::operator=
GetLayerVersionPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::GetLayerVersionPolicyResult::SetPolicy
void SetPolicy(const Aws::String &value)
Definition: GetLayerVersionPolicyResult.h:43
Aws::Lambda::Model::GetLayerVersionPolicyResult::SetPolicy
void SetPolicy(const char *value)
Definition: GetLayerVersionPolicyResult.h:53
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::GetLayerVersionPolicyResult::WithRevisionId
GetLayerVersionPolicyResult & WithRevisionId(Aws::String &&value)
Definition: GetLayerVersionPolicyResult.h:99
Aws::Lambda::Model::GetLayerVersionPolicyResult::WithRevisionId
GetLayerVersionPolicyResult & WithRevisionId(const char *value)
Definition: GetLayerVersionPolicyResult.h:104
AWSString.h
Aws::Lambda::Model::GetLayerVersionPolicyResult::GetLayerVersionPolicyResult
GetLayerVersionPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::GetLayerVersionPolicyResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: GetLayerVersionPolicyResult.h:79
Aws::Lambda::Model::GetLayerVersionPolicyResult::WithPolicy
GetLayerVersionPolicyResult & WithPolicy(const Aws::String &value)
Definition: GetLayerVersionPolicyResult.h:58
Aws::Lambda::Model::GetLayerVersionPolicyResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: GetLayerVersionPolicyResult.h:74
Aws::Lambda::Model::GetLayerVersionPolicyResult::WithRevisionId
GetLayerVersionPolicyResult & WithRevisionId(const Aws::String &value)
Definition: GetLayerVersionPolicyResult.h:94
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::GetLayerVersionPolicyResult::WithPolicy
GetLayerVersionPolicyResult & WithPolicy(Aws::String &&value)
Definition: GetLayerVersionPolicyResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::GetLayerVersionPolicyResult::WithPolicy
GetLayerVersionPolicyResult & WithPolicy(const char *value)
Definition: GetLayerVersionPolicyResult.h:68
Aws::Lambda::Model::GetLayerVersionPolicyResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: GetLayerVersionPolicyResult.h:89
Lambda_EXPORTS.h
Aws::Lambda::Model::GetLayerVersionPolicyResult::SetPolicy
void SetPolicy(Aws::String &&value)
Definition: GetLayerVersionPolicyResult.h:48