AWS SDK for C++  1.9.20
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 
33  {
34  public:
39 
40 
48  inline const CodeSigningPolicy& GetUntrustedArtifactOnDeployment() const{ return m_untrustedArtifactOnDeployment; }
49 
57  inline bool UntrustedArtifactOnDeploymentHasBeenSet() const { return m_untrustedArtifactOnDeploymentHasBeenSet; }
58 
66  inline void SetUntrustedArtifactOnDeployment(const CodeSigningPolicy& value) { m_untrustedArtifactOnDeploymentHasBeenSet = true; m_untrustedArtifactOnDeployment = value; }
67 
75  inline void SetUntrustedArtifactOnDeployment(CodeSigningPolicy&& value) { m_untrustedArtifactOnDeploymentHasBeenSet = true; m_untrustedArtifactOnDeployment = std::move(value); }
76 
84  inline CodeSigningPolicies& WithUntrustedArtifactOnDeployment(const CodeSigningPolicy& value) { SetUntrustedArtifactOnDeployment(value); return *this;}
85 
93  inline CodeSigningPolicies& WithUntrustedArtifactOnDeployment(CodeSigningPolicy&& value) { SetUntrustedArtifactOnDeployment(std::move(value)); return *this;}
94 
95  private:
96 
97  CodeSigningPolicy m_untrustedArtifactOnDeployment;
98  bool m_untrustedArtifactOnDeploymentHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace Lambda
103 } // 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:93
Aws::Lambda::Model::CodeSigningPolicy
CodeSigningPolicy
Definition: CodeSigningPolicy.h:17
Aws::Lambda::Model::CodeSigningPolicies::GetUntrustedArtifactOnDeployment
const CodeSigningPolicy & GetUntrustedArtifactOnDeployment() const
Definition: CodeSigningPolicies.h:48
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:84
Aws::Lambda::Model::CodeSigningPolicies::SetUntrustedArtifactOnDeployment
void SetUntrustedArtifactOnDeployment(CodeSigningPolicy &&value)
Definition: CodeSigningPolicies.h:75
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::CodeSigningPolicies::UntrustedArtifactOnDeploymentHasBeenSet
bool UntrustedArtifactOnDeploymentHasBeenSet() const
Definition: CodeSigningPolicies.h:57
Aws::Lambda::Model::CodeSigningPolicies::CodeSigningPolicies
CodeSigningPolicies()
Aws::Lambda::Model::CodeSigningPolicies::SetUntrustedArtifactOnDeployment
void SetUntrustedArtifactOnDeployment(const CodeSigningPolicy &value)
Definition: CodeSigningPolicies.h:66
Lambda_EXPORTS.h
Aws::Lambda::Model::CodeSigningPolicies
Definition: CodeSigningPolicies.h:33