AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateCodeSigningConfigRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Lambda
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LAMBDA_API CreateCodeSigningConfigRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateCodeSigningConfig"; }
34
35 AWS_LAMBDA_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDescription() const { return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 template<typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
46 template<typename DescriptionT = Aws::String>
47 CreateCodeSigningConfigRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
49
51
54 inline const AllowedPublishers& GetAllowedPublishers() const { return m_allowedPublishers; }
55 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
56 template<typename AllowedPublishersT = AllowedPublishers>
57 void SetAllowedPublishers(AllowedPublishersT&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::forward<AllowedPublishersT>(value); }
58 template<typename AllowedPublishersT = AllowedPublishers>
59 CreateCodeSigningConfigRequest& WithAllowedPublishers(AllowedPublishersT&& value) { SetAllowedPublishers(std::forward<AllowedPublishersT>(value)); return *this;}
61
63
67 inline const CodeSigningPolicies& GetCodeSigningPolicies() const { return m_codeSigningPolicies; }
68 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
69 template<typename CodeSigningPoliciesT = CodeSigningPolicies>
70 void SetCodeSigningPolicies(CodeSigningPoliciesT&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::forward<CodeSigningPoliciesT>(value); }
71 template<typename CodeSigningPoliciesT = CodeSigningPolicies>
72 CreateCodeSigningConfigRequest& WithCodeSigningPolicies(CodeSigningPoliciesT&& value) { SetCodeSigningPolicies(std::forward<CodeSigningPoliciesT>(value)); return *this;}
74
76
79 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
83 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 CreateCodeSigningConfigRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
85 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
86 CreateCodeSigningConfigRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
87 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
88 }
90 private:
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
95 AllowedPublishers m_allowedPublishers;
96 bool m_allowedPublishersHasBeenSet = false;
97
98 CodeSigningPolicies m_codeSigningPolicies;
99 bool m_codeSigningPoliciesHasBeenSet = false;
100
102 bool m_tagsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Lambda
107} // 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