AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateCodeSigningConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/LambdaRequest.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/AllowedPublishers.h>
12#include <aws/lambda/model/CodeSigningPolicies.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Lambda {
18namespace Model {
19
23 public:
24 AWS_LAMBDA_API CreateCodeSigningConfigRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateCodeSigningConfig"; }
31
32 AWS_LAMBDA_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
56 inline const AllowedPublishers& GetAllowedPublishers() const { return m_allowedPublishers; }
57 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
58 template <typename AllowedPublishersT = AllowedPublishers>
59 void SetAllowedPublishers(AllowedPublishersT&& value) {
60 m_allowedPublishersHasBeenSet = true;
61 m_allowedPublishers = std::forward<AllowedPublishersT>(value);
62 }
63 template <typename AllowedPublishersT = AllowedPublishers>
65 SetAllowedPublishers(std::forward<AllowedPublishersT>(value));
66 return *this;
67 }
69
71
75 inline const CodeSigningPolicies& GetCodeSigningPolicies() const { return m_codeSigningPolicies; }
76 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
77 template <typename CodeSigningPoliciesT = CodeSigningPolicies>
78 void SetCodeSigningPolicies(CodeSigningPoliciesT&& value) {
79 m_codeSigningPoliciesHasBeenSet = true;
80 m_codeSigningPolicies = std::forward<CodeSigningPoliciesT>(value);
81 }
82 template <typename CodeSigningPoliciesT = CodeSigningPolicies>
84 SetCodeSigningPolicies(std::forward<CodeSigningPoliciesT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 void SetTags(TagsT&& value) {
97 m_tagsHasBeenSet = true;
98 m_tags = std::forward<TagsT>(value);
99 }
100 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 SetTags(std::forward<TagsT>(value));
103 return *this;
104 }
105 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
106 CreateCodeSigningConfigRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
107 m_tagsHasBeenSet = true;
108 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_description;
114
115 AllowedPublishers m_allowedPublishers;
116
117 CodeSigningPolicies m_codeSigningPolicies;
118
120 bool m_descriptionHasBeenSet = false;
121 bool m_allowedPublishersHasBeenSet = false;
122 bool m_codeSigningPoliciesHasBeenSet = false;
123 bool m_tagsHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Lambda
128} // namespace Aws
AWS_LAMBDA_API Aws::String SerializePayload() const override
CreateCodeSigningConfigRequest & WithCodeSigningPolicies(CodeSigningPoliciesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCodeSigningConfigRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_LAMBDA_API CreateCodeSigningConfigRequest()=default
CreateCodeSigningConfigRequest & WithAllowedPublishers(AllowedPublishersT &&value)
CreateCodeSigningConfigRequest & WithDescription(DescriptionT &&value)
CreateCodeSigningConfigRequest & WithTags(TagsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String