AWS SDK for C++  1.9.123
AWS SDK for C++
CreateCodeSigningConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Lambda
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateCodeSigningConfig"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetDescription() const{ return m_description; }
41 
45  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46 
50  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 
55  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
56 
60  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 
65  inline CreateCodeSigningConfigRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 
70  inline CreateCodeSigningConfigRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 
75  inline CreateCodeSigningConfigRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
76 
77 
81  inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; }
82 
86  inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
87 
91  inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; }
92 
96  inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); }
97 
101  inline CreateCodeSigningConfigRequest& WithAllowedPublishers(const AllowedPublishers& value) { SetAllowedPublishers(value); return *this;}
102 
106  inline CreateCodeSigningConfigRequest& WithAllowedPublishers(AllowedPublishers&& value) { SetAllowedPublishers(std::move(value)); return *this;}
107 
108 
113  inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; }
114 
119  inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
120 
125  inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; }
126 
131  inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); }
132 
137  inline CreateCodeSigningConfigRequest& WithCodeSigningPolicies(const CodeSigningPolicies& value) { SetCodeSigningPolicies(value); return *this;}
138 
143  inline CreateCodeSigningConfigRequest& WithCodeSigningPolicies(CodeSigningPolicies&& value) { SetCodeSigningPolicies(std::move(value)); return *this;}
144 
145  private:
146 
147  Aws::String m_description;
148  bool m_descriptionHasBeenSet;
149 
150  AllowedPublishers m_allowedPublishers;
151  bool m_allowedPublishersHasBeenSet;
152 
153  CodeSigningPolicies m_codeSigningPolicies;
154  bool m_codeSigningPoliciesHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace Lambda
159 } // namespace Aws
Aws::Lambda::Model::CreateCodeSigningConfigRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateCodeSigningConfigRequest.h:45
Aws::Lambda::Model::CreateCodeSigningConfigRequest::WithDescription
CreateCodeSigningConfigRequest & WithDescription(const Aws::String &value)
Definition: CreateCodeSigningConfigRequest.h:65
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SetAllowedPublishers
void SetAllowedPublishers(AllowedPublishers &&value)
Definition: CreateCodeSigningConfigRequest.h:96
Aws::Lambda::Model::CreateCodeSigningConfigRequest::AllowedPublishersHasBeenSet
bool AllowedPublishersHasBeenSet() const
Definition: CreateCodeSigningConfigRequest.h:86
Aws::Lambda::Model::CreateCodeSigningConfigRequest::WithAllowedPublishers
CreateCodeSigningConfigRequest & WithAllowedPublishers(const AllowedPublishers &value)
Definition: CreateCodeSigningConfigRequest.h:101
Aws::Lambda::Model::CreateCodeSigningConfigRequest
Definition: CreateCodeSigningConfigRequest.h:24
Aws::Lambda::Model::CreateCodeSigningConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateCodeSigningConfigRequest.h:32
CodeSigningPolicies.h
Aws::Lambda::Model::CreateCodeSigningConfigRequest::WithDescription
CreateCodeSigningConfigRequest & WithDescription(Aws::String &&value)
Definition: CreateCodeSigningConfigRequest.h:70
Aws::Lambda::Model::CreateCodeSigningConfigRequest::GetCodeSigningPolicies
const CodeSigningPolicies & GetCodeSigningPolicies() const
Definition: CreateCodeSigningConfigRequest.h:113
Aws::Lambda::Model::CreateCodeSigningConfigRequest::WithDescription
CreateCodeSigningConfigRequest & WithDescription(const char *value)
Definition: CreateCodeSigningConfigRequest.h:75
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SetCodeSigningPolicies
void SetCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: CreateCodeSigningConfigRequest.h:125
Aws::Lambda::Model::AllowedPublishers
Definition: AllowedPublishers.h:34
Aws::Lambda::Model::CreateCodeSigningConfigRequest::WithCodeSigningPolicies
CreateCodeSigningConfigRequest & WithCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: CreateCodeSigningConfigRequest.h:143
Aws::Lambda::Model::CreateCodeSigningConfigRequest::CreateCodeSigningConfigRequest
CreateCodeSigningConfigRequest()
Aws::Lambda::Model::CreateCodeSigningConfigRequest::WithAllowedPublishers
CreateCodeSigningConfigRequest & WithAllowedPublishers(AllowedPublishers &&value)
Definition: CreateCodeSigningConfigRequest.h:106
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateCodeSigningConfigRequest.h:50
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateCodeSigningConfigRequest.h:55
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::CreateCodeSigningConfigRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateCodeSigningConfigRequest.h:40
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AllowedPublishers.h
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SetAllowedPublishers
void SetAllowedPublishers(const AllowedPublishers &value)
Definition: CreateCodeSigningConfigRequest.h:91
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SetCodeSigningPolicies
void SetCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: CreateCodeSigningConfigRequest.h:131
Aws::Lambda::Model::CreateCodeSigningConfigRequest::GetAllowedPublishers
const AllowedPublishers & GetAllowedPublishers() const
Definition: CreateCodeSigningConfigRequest.h:81
Lambda_EXPORTS.h
Aws::Lambda::Model::CreateCodeSigningConfigRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateCodeSigningConfigRequest.h:60
Aws::Lambda::Model::CodeSigningPolicies
Definition: CodeSigningPolicies.h:35
Aws::Lambda::Model::CreateCodeSigningConfigRequest::WithCodeSigningPolicies
CreateCodeSigningConfigRequest & WithCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: CreateCodeSigningConfigRequest.h:137
Aws::Lambda::Model::CreateCodeSigningConfigRequest::CodeSigningPoliciesHasBeenSet
bool CodeSigningPoliciesHasBeenSet() const
Definition: CreateCodeSigningConfigRequest.h:119