AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CodeSigningConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/AllowedPublishers.h>
10#include <aws/lambda/model/CodeSigningPolicies.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lambda {
22namespace Model {
23
32 public:
33 AWS_LAMBDA_API CodeSigningConfig() = default;
36 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetCodeSigningConfigId() const { return m_codeSigningConfigId; }
43 inline bool CodeSigningConfigIdHasBeenSet() const { return m_codeSigningConfigIdHasBeenSet; }
44 template <typename CodeSigningConfigIdT = Aws::String>
45 void SetCodeSigningConfigId(CodeSigningConfigIdT&& value) {
46 m_codeSigningConfigIdHasBeenSet = true;
47 m_codeSigningConfigId = std::forward<CodeSigningConfigIdT>(value);
48 }
49 template <typename CodeSigningConfigIdT = Aws::String>
50 CodeSigningConfig& WithCodeSigningConfigId(CodeSigningConfigIdT&& value) {
51 SetCodeSigningConfigId(std::forward<CodeSigningConfigIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetCodeSigningConfigArn() const { return m_codeSigningConfigArn; }
61 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
62 template <typename CodeSigningConfigArnT = Aws::String>
63 void SetCodeSigningConfigArn(CodeSigningConfigArnT&& value) {
64 m_codeSigningConfigArnHasBeenSet = true;
65 m_codeSigningConfigArn = std::forward<CodeSigningConfigArnT>(value);
66 }
67 template <typename CodeSigningConfigArnT = Aws::String>
68 CodeSigningConfig& WithCodeSigningConfigArn(CodeSigningConfigArnT&& value) {
69 SetCodeSigningConfigArn(std::forward<CodeSigningConfigArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
86 CodeSigningConfig& WithDescription(DescriptionT&& value) {
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
96 inline const AllowedPublishers& GetAllowedPublishers() const { return m_allowedPublishers; }
97 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
98 template <typename AllowedPublishersT = AllowedPublishers>
99 void SetAllowedPublishers(AllowedPublishersT&& value) {
100 m_allowedPublishersHasBeenSet = true;
101 m_allowedPublishers = std::forward<AllowedPublishersT>(value);
102 }
103 template <typename AllowedPublishersT = AllowedPublishers>
104 CodeSigningConfig& WithAllowedPublishers(AllowedPublishersT&& value) {
105 SetAllowedPublishers(std::forward<AllowedPublishersT>(value));
106 return *this;
107 }
109
111
115 inline const CodeSigningPolicies& GetCodeSigningPolicies() const { return m_codeSigningPolicies; }
116 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
117 template <typename CodeSigningPoliciesT = CodeSigningPolicies>
118 void SetCodeSigningPolicies(CodeSigningPoliciesT&& value) {
119 m_codeSigningPoliciesHasBeenSet = true;
120 m_codeSigningPolicies = std::forward<CodeSigningPoliciesT>(value);
121 }
122 template <typename CodeSigningPoliciesT = CodeSigningPolicies>
123 CodeSigningConfig& WithCodeSigningPolicies(CodeSigningPoliciesT&& value) {
124 SetCodeSigningPolicies(std::forward<CodeSigningPoliciesT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetLastModified() const { return m_lastModified; }
135 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
136 template <typename LastModifiedT = Aws::String>
137 void SetLastModified(LastModifiedT&& value) {
138 m_lastModifiedHasBeenSet = true;
139 m_lastModified = std::forward<LastModifiedT>(value);
140 }
141 template <typename LastModifiedT = Aws::String>
142 CodeSigningConfig& WithLastModified(LastModifiedT&& value) {
143 SetLastModified(std::forward<LastModifiedT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_codeSigningConfigId;
149
150 Aws::String m_codeSigningConfigArn;
151
152 Aws::String m_description;
153
154 AllowedPublishers m_allowedPublishers;
155
156 CodeSigningPolicies m_codeSigningPolicies;
157
158 Aws::String m_lastModified;
159 bool m_codeSigningConfigIdHasBeenSet = false;
160 bool m_codeSigningConfigArnHasBeenSet = false;
161 bool m_descriptionHasBeenSet = false;
162 bool m_allowedPublishersHasBeenSet = false;
163 bool m_codeSigningPoliciesHasBeenSet = false;
164 bool m_lastModifiedHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace Lambda
169} // namespace Aws
CodeSigningConfig & WithCodeSigningConfigArn(CodeSigningConfigArnT &&value)
CodeSigningConfig & WithAllowedPublishers(AllowedPublishersT &&value)
CodeSigningConfig & WithCodeSigningConfigId(CodeSigningConfigIdT &&value)
void SetLastModified(LastModifiedT &&value)
void SetCodeSigningPolicies(CodeSigningPoliciesT &&value)
const CodeSigningPolicies & GetCodeSigningPolicies() const
void SetCodeSigningConfigArn(CodeSigningConfigArnT &&value)
const Aws::String & GetLastModified() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
CodeSigningConfig & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetCodeSigningConfigId(CodeSigningConfigIdT &&value)
CodeSigningConfig & WithLastModified(LastModifiedT &&value)
CodeSigningConfig & WithCodeSigningPolicies(CodeSigningPoliciesT &&value)
const Aws::String & GetCodeSigningConfigId() const
AWS_LAMBDA_API CodeSigningConfig()=default
AWS_LAMBDA_API CodeSigningConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const AllowedPublishers & GetAllowedPublishers() const
AWS_LAMBDA_API CodeSigningConfig(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
void SetAllowedPublishers(AllowedPublishersT &&value)
const Aws::String & GetCodeSigningConfigArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue