AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
45 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
46 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
47 inline CreateCodeSigningConfigRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
48 inline CreateCodeSigningConfigRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
49 inline CreateCodeSigningConfigRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
51
53
56 inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; }
57 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
58 inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; }
59 inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); }
63
65
69 inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; }
70 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
71 inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; }
72 inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); }
76
78
81 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
84 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
86 inline CreateCodeSigningConfigRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
87 inline CreateCodeSigningConfigRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 inline CreateCodeSigningConfigRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
89 inline CreateCodeSigningConfigRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
90 inline CreateCodeSigningConfigRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
91 inline CreateCodeSigningConfigRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
92 inline CreateCodeSigningConfigRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
93 inline CreateCodeSigningConfigRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
95 private:
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 AllowedPublishers m_allowedPublishers;
101 bool m_allowedPublishersHasBeenSet = false;
102
103 CodeSigningPolicies m_codeSigningPolicies;
104 bool m_codeSigningPoliciesHasBeenSet = false;
105
107 bool m_tagsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Lambda
112} // namespace Aws
AWS_LAMBDA_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCodeSigningConfigRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateCodeSigningConfigRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateCodeSigningConfigRequest & WithAllowedPublishers(const AllowedPublishers &value)
CreateCodeSigningConfigRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCodeSigningConfigRequest & WithCodeSigningPolicies(const CodeSigningPolicies &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCodeSigningConfigRequest & WithDescription(Aws::String &&value)
CreateCodeSigningConfigRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateCodeSigningConfigRequest & WithDescription(const char *value)
CreateCodeSigningConfigRequest & AddTags(const char *key, Aws::String &&value)
CreateCodeSigningConfigRequest & WithCodeSigningPolicies(CodeSigningPolicies &&value)
CreateCodeSigningConfigRequest & AddTags(const char *key, const char *value)
CreateCodeSigningConfigRequest & AddTags(Aws::String &&key, const char *value)
CreateCodeSigningConfigRequest & WithAllowedPublishers(AllowedPublishers &&value)
CreateCodeSigningConfigRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCodeSigningConfigRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateCodeSigningConfigRequest & WithDescription(const Aws::String &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