AWS SDK for C++  1.9.20
AWS SDK for C++
PutFunctionCodeSigningConfigResult.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& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
39 
43  inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArn = value; }
44 
48  inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArn = std::move(value); }
49 
53  inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArn.assign(value); }
54 
58  inline PutFunctionCodeSigningConfigResult& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;}
59 
63  inline PutFunctionCodeSigningConfigResult& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
64 
68  inline PutFunctionCodeSigningConfigResult& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
69 
70 
81  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
82 
93  inline void SetFunctionName(const Aws::String& value) { m_functionName = value; }
94 
105  inline void SetFunctionName(Aws::String&& value) { m_functionName = std::move(value); }
106 
117  inline void SetFunctionName(const char* value) { m_functionName.assign(value); }
118 
129  inline PutFunctionCodeSigningConfigResult& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
130 
141  inline PutFunctionCodeSigningConfigResult& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
142 
153  inline PutFunctionCodeSigningConfigResult& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
154 
155  private:
156 
157  Aws::String m_codeSigningConfigArn;
158 
159  Aws::String m_functionName;
160  };
161 
162 } // namespace Model
163 } // namespace Lambda
164 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::WithFunctionName
PutFunctionCodeSigningConfigResult & WithFunctionName(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigResult.h:129
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigResult.h:48
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigResult.h:93
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::WithFunctionName
PutFunctionCodeSigningConfigResult & WithFunctionName(const char *value)
Definition: PutFunctionCodeSigningConfigResult.h:153
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigResult.h:105
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::operator=
PutFunctionCodeSigningConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::GetCodeSigningConfigArn
const Aws::String & GetCodeSigningConfigArn() const
Definition: PutFunctionCodeSigningConfigResult.h:38
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::WithCodeSigningConfigArn
PutFunctionCodeSigningConfigResult & WithCodeSigningConfigArn(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigResult.h:63
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult
Definition: PutFunctionCodeSigningConfigResult.h:28
AWSString.h
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::WithFunctionName
PutFunctionCodeSigningConfigResult & WithFunctionName(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigResult.h:141
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::PutFunctionCodeSigningConfigResult
PutFunctionCodeSigningConfigResult()
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::WithCodeSigningConfigArn
PutFunctionCodeSigningConfigResult & WithCodeSigningConfigArn(const char *value)
Definition: PutFunctionCodeSigningConfigResult.h:68
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::WithCodeSigningConfigArn
PutFunctionCodeSigningConfigResult & WithCodeSigningConfigArn(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigResult.h:58
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::PutFunctionCodeSigningConfigResult
PutFunctionCodeSigningConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::SetFunctionName
void SetFunctionName(const char *value)
Definition: PutFunctionCodeSigningConfigResult.h:117
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const char *value)
Definition: PutFunctionCodeSigningConfigResult.h:53
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: PutFunctionCodeSigningConfigResult.h:81
Lambda_EXPORTS.h
Aws::Lambda::Model::PutFunctionCodeSigningConfigResult::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigResult.h:43