AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateCodeSigningConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/AllowedPublishers.h>
11#include <aws/lambda/model/CodeSigningPolicies.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Lambda {
17namespace Model {
18
22 public:
23 AWS_LAMBDA_API UpdateCodeSigningConfigRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateCodeSigningConfig"; }
30
31 AWS_LAMBDA_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetCodeSigningConfigArn() const { return m_codeSigningConfigArn; }
38 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
39 template <typename CodeSigningConfigArnT = Aws::String>
40 void SetCodeSigningConfigArn(CodeSigningConfigArnT&& value) {
41 m_codeSigningConfigArnHasBeenSet = true;
42 m_codeSigningConfigArn = std::forward<CodeSigningConfigArnT>(value);
43 }
44 template <typename CodeSigningConfigArnT = Aws::String>
46 SetCodeSigningConfigArn(std::forward<CodeSigningConfigArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
73 inline const AllowedPublishers& GetAllowedPublishers() const { return m_allowedPublishers; }
74 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
75 template <typename AllowedPublishersT = AllowedPublishers>
76 void SetAllowedPublishers(AllowedPublishersT&& value) {
77 m_allowedPublishersHasBeenSet = true;
78 m_allowedPublishers = std::forward<AllowedPublishersT>(value);
79 }
80 template <typename AllowedPublishersT = AllowedPublishers>
82 SetAllowedPublishers(std::forward<AllowedPublishersT>(value));
83 return *this;
84 }
86
88
91 inline const CodeSigningPolicies& GetCodeSigningPolicies() const { return m_codeSigningPolicies; }
92 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
93 template <typename CodeSigningPoliciesT = CodeSigningPolicies>
94 void SetCodeSigningPolicies(CodeSigningPoliciesT&& value) {
95 m_codeSigningPoliciesHasBeenSet = true;
96 m_codeSigningPolicies = std::forward<CodeSigningPoliciesT>(value);
97 }
98 template <typename CodeSigningPoliciesT = CodeSigningPolicies>
100 SetCodeSigningPolicies(std::forward<CodeSigningPoliciesT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_codeSigningConfigArn;
106
107 Aws::String m_description;
108
109 AllowedPublishers m_allowedPublishers;
110
111 CodeSigningPolicies m_codeSigningPolicies;
112 bool m_codeSigningConfigArnHasBeenSet = false;
113 bool m_descriptionHasBeenSet = false;
114 bool m_allowedPublishersHasBeenSet = false;
115 bool m_codeSigningPoliciesHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Lambda
120} // 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