AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeSigningConfig.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/AllowedPublishers.h>
10#include <aws/lambda/model/CodeSigningPolicies.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Lambda
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LAMBDA_API CodeSigningConfig();
41 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCodeSigningConfigId() const{ return m_codeSigningConfigId; }
49 inline bool CodeSigningConfigIdHasBeenSet() const { return m_codeSigningConfigIdHasBeenSet; }
50 inline void SetCodeSigningConfigId(const Aws::String& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = value; }
51 inline void SetCodeSigningConfigId(Aws::String&& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = std::move(value); }
52 inline void SetCodeSigningConfigId(const char* value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId.assign(value); }
53 inline CodeSigningConfig& WithCodeSigningConfigId(const Aws::String& value) { SetCodeSigningConfigId(value); return *this;}
54 inline CodeSigningConfig& WithCodeSigningConfigId(Aws::String&& value) { SetCodeSigningConfigId(std::move(value)); return *this;}
55 inline CodeSigningConfig& WithCodeSigningConfigId(const char* value) { SetCodeSigningConfigId(value); return *this;}
57
59
62 inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
63 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
64 inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
65 inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
66 inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
68 inline CodeSigningConfig& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
69 inline CodeSigningConfig& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline CodeSigningConfig& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline CodeSigningConfig& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline CodeSigningConfig& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; }
91 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
92 inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; }
93 inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); }
95 inline CodeSigningConfig& WithAllowedPublishers(AllowedPublishers&& value) { SetAllowedPublishers(std::move(value)); return *this;}
97
99
103 inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; }
104 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
105 inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; }
106 inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); }
108 inline CodeSigningConfig& WithCodeSigningPolicies(CodeSigningPolicies&& value) { SetCodeSigningPolicies(std::move(value)); return *this;}
110
112
116 inline const Aws::String& GetLastModified() const{ return m_lastModified; }
117 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
118 inline void SetLastModified(const Aws::String& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
119 inline void SetLastModified(Aws::String&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
120 inline void SetLastModified(const char* value) { m_lastModifiedHasBeenSet = true; m_lastModified.assign(value); }
121 inline CodeSigningConfig& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;}
122 inline CodeSigningConfig& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;}
123 inline CodeSigningConfig& WithLastModified(const char* value) { SetLastModified(value); return *this;}
125 private:
126
127 Aws::String m_codeSigningConfigId;
128 bool m_codeSigningConfigIdHasBeenSet = false;
129
130 Aws::String m_codeSigningConfigArn;
131 bool m_codeSigningConfigArnHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 AllowedPublishers m_allowedPublishers;
137 bool m_allowedPublishersHasBeenSet = false;
138
139 CodeSigningPolicies m_codeSigningPolicies;
140 bool m_codeSigningPoliciesHasBeenSet = false;
141
142 Aws::String m_lastModified;
143 bool m_lastModifiedHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Lambda
148} // namespace Aws
CodeSigningConfig & WithAllowedPublishers(AllowedPublishers &&value)
void SetCodeSigningConfigId(const Aws::String &value)
void SetDescription(const Aws::String &value)
CodeSigningConfig & WithDescription(const char *value)
void SetCodeSigningConfigId(Aws::String &&value)
const CodeSigningPolicies & GetCodeSigningPolicies() const
const Aws::String & GetLastModified() const
CodeSigningConfig & WithAllowedPublishers(const AllowedPublishers &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
CodeSigningConfig & WithCodeSigningConfigArn(const char *value)
void SetCodeSigningPolicies(const CodeSigningPolicies &value)
const Aws::String & GetDescription() const
void SetLastModified(const Aws::String &value)
CodeSigningConfig & WithCodeSigningConfigId(const Aws::String &value)
void SetAllowedPublishers(AllowedPublishers &&value)
CodeSigningConfig & WithCodeSigningConfigArn(const Aws::String &value)
void SetCodeSigningConfigArn(const Aws::String &value)
CodeSigningConfig & WithCodeSigningConfigId(const char *value)
CodeSigningConfig & WithLastModified(Aws::String &&value)
const Aws::String & GetCodeSigningConfigId() const
CodeSigningConfig & WithLastModified(const Aws::String &value)
CodeSigningConfig & WithCodeSigningPolicies(const CodeSigningPolicies &value)
CodeSigningConfig & WithDescription(Aws::String &&value)
void SetAllowedPublishers(const AllowedPublishers &value)
CodeSigningConfig & WithCodeSigningConfigArn(Aws::String &&value)
void SetCodeSigningConfigArn(const char *value)
AWS_LAMBDA_API CodeSigningConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const AllowedPublishers & GetAllowedPublishers() const
void SetCodeSigningPolicies(CodeSigningPolicies &&value)
void SetDescription(Aws::String &&value)
void SetCodeSigningConfigId(const char *value)
CodeSigningConfig & WithDescription(const Aws::String &value)
void SetLastModified(Aws::String &&value)
AWS_LAMBDA_API CodeSigningConfig(Aws::Utils::Json::JsonView jsonValue)
CodeSigningConfig & WithLastModified(const char *value)
CodeSigningConfig & WithCodeSigningConfigId(Aws::String &&value)
void SetCodeSigningConfigArn(Aws::String &&value)
const Aws::String & GetCodeSigningConfigArn() const
CodeSigningConfig & WithCodeSigningPolicies(CodeSigningPolicies &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue