AWS SDK for C++  1.9.126
AWS SDK for C++
CodeSigningPolicies.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lambda
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
50  inline const CodeSigningPolicy& GetUntrustedArtifactOnDeployment() const{ return m_untrustedArtifactOnDeployment; }
51 
59  inline bool UntrustedArtifactOnDeploymentHasBeenSet() const { return m_untrustedArtifactOnDeploymentHasBeenSet; }
60 
68  inline void SetUntrustedArtifactOnDeployment(const CodeSigningPolicy& value) { m_untrustedArtifactOnDeploymentHasBeenSet = true; m_untrustedArtifactOnDeployment = value; }
69 
77  inline void SetUntrustedArtifactOnDeployment(CodeSigningPolicy&& value) { m_untrustedArtifactOnDeploymentHasBeenSet = true; m_untrustedArtifactOnDeployment = std::move(value); }
78 
86  inline CodeSigningPolicies& WithUntrustedArtifactOnDeployment(const CodeSigningPolicy& value) { SetUntrustedArtifactOnDeployment(value); return *this;}
87 
95  inline CodeSigningPolicies& WithUntrustedArtifactOnDeployment(CodeSigningPolicy&& value) { SetUntrustedArtifactOnDeployment(std::move(value)); return *this;}
96 
97  private:
98 
99  CodeSigningPolicy m_untrustedArtifactOnDeployment;
100  bool m_untrustedArtifactOnDeploymentHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace Lambda
105 } // namespace Aws
Aws::Lambda::Model::CodeSigningPolicies::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::CodeSigningPolicies::CodeSigningPolicies
CodeSigningPolicies(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::CodeSigningPolicies::WithUntrustedArtifactOnDeployment
CodeSigningPolicies & WithUntrustedArtifactOnDeployment(CodeSigningPolicy &&value)
Definition: CodeSigningPolicies.h:95
Aws::Lambda::Model::CodeSigningPolicy
CodeSigningPolicy
Definition: CodeSigningPolicy.h:17
Aws::Lambda::Model::CodeSigningPolicies::GetUntrustedArtifactOnDeployment
const CodeSigningPolicy & GetUntrustedArtifactOnDeployment() const
Definition: CodeSigningPolicies.h:50
Aws::Lambda::Model::CodeSigningPolicies::operator=
CodeSigningPolicies & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeSigningPolicy.h
Aws::Lambda::Model::CodeSigningPolicies::WithUntrustedArtifactOnDeployment
CodeSigningPolicies & WithUntrustedArtifactOnDeployment(const CodeSigningPolicy &value)
Definition: CodeSigningPolicies.h:86
Aws::Lambda::Model::CodeSigningPolicies::SetUntrustedArtifactOnDeployment
void SetUntrustedArtifactOnDeployment(CodeSigningPolicy &&value)
Definition: CodeSigningPolicies.h:77
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::CodeSigningPolicies::UntrustedArtifactOnDeploymentHasBeenSet
bool UntrustedArtifactOnDeploymentHasBeenSet() const
Definition: CodeSigningPolicies.h:59
Aws::Lambda::Model::CodeSigningPolicies::CodeSigningPolicies
CodeSigningPolicies()
Aws::Lambda::Model::CodeSigningPolicies::SetUntrustedArtifactOnDeployment
void SetUntrustedArtifactOnDeployment(const CodeSigningPolicy &value)
Definition: CodeSigningPolicies.h:68
Lambda_EXPORTS.h
Aws::Lambda::Model::CodeSigningPolicies
Definition: CodeSigningPolicies.h:35