AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCodeSigningConfigRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/AllowedPublishers.h>
11#include <aws/lambda/model/CodeSigningPolicies.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Lambda
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LAMBDA_API UpdateCodeSigningConfigRequest() = default;
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 "UpdateCodeSigningConfig"; }
33
34 AWS_LAMBDA_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetCodeSigningConfigArn() const { return m_codeSigningConfigArn; }
42 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
43 template<typename CodeSigningConfigArnT = Aws::String>
44 void SetCodeSigningConfigArn(CodeSigningConfigArnT&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::forward<CodeSigningConfigArnT>(value); }
45 template<typename CodeSigningConfigArnT = Aws::String>
46 UpdateCodeSigningConfigRequest& WithCodeSigningConfigArn(CodeSigningConfigArnT&& value) { SetCodeSigningConfigArn(std::forward<CodeSigningConfigArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 UpdateCodeSigningConfigRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
65 inline const AllowedPublishers& GetAllowedPublishers() const { return m_allowedPublishers; }
66 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
67 template<typename AllowedPublishersT = AllowedPublishers>
68 void SetAllowedPublishers(AllowedPublishersT&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::forward<AllowedPublishersT>(value); }
69 template<typename AllowedPublishersT = AllowedPublishers>
70 UpdateCodeSigningConfigRequest& WithAllowedPublishers(AllowedPublishersT&& value) { SetAllowedPublishers(std::forward<AllowedPublishersT>(value)); return *this;}
72
74
77 inline const CodeSigningPolicies& GetCodeSigningPolicies() const { return m_codeSigningPolicies; }
78 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
79 template<typename CodeSigningPoliciesT = CodeSigningPolicies>
80 void SetCodeSigningPolicies(CodeSigningPoliciesT&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::forward<CodeSigningPoliciesT>(value); }
81 template<typename CodeSigningPoliciesT = CodeSigningPolicies>
82 UpdateCodeSigningConfigRequest& WithCodeSigningPolicies(CodeSigningPoliciesT&& value) { SetCodeSigningPolicies(std::forward<CodeSigningPoliciesT>(value)); return *this;}
84 private:
85
86 Aws::String m_codeSigningConfigArn;
87 bool m_codeSigningConfigArnHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91
92 AllowedPublishers m_allowedPublishers;
93 bool m_allowedPublishersHasBeenSet = false;
94
95 CodeSigningPolicies m_codeSigningPolicies;
96 bool m_codeSigningPoliciesHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Lambda
101} // namespace Aws
UpdateCodeSigningConfigRequest & WithCodeSigningConfigArn(CodeSigningConfigArnT &&value)
AWS_LAMBDA_API UpdateCodeSigningConfigRequest()=default
UpdateCodeSigningConfigRequest & WithAllowedPublishers(AllowedPublishersT &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
UpdateCodeSigningConfigRequest & WithCodeSigningPolicies(CodeSigningPoliciesT &&value)
UpdateCodeSigningConfigRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String