AWS SDK for C++

AWS SDK for C++ Version 1.11.836

Loading...
Searching...
No Matches
LayerVersionContentOutput.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/ResolvedS3Object.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Lambda {
21namespace Model {
22
31 public:
32 AWS_LAMBDA_API LayerVersionContentOutput() = default;
35 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetLocation() const { return m_location; }
42 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
43 template <typename LocationT = Aws::String>
44 void SetLocation(LocationT&& value) {
45 m_locationHasBeenSet = true;
46 m_location = std::forward<LocationT>(value);
47 }
48 template <typename LocationT = Aws::String>
50 SetLocation(std::forward<LocationT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCodeSha256() const { return m_codeSha256; }
60 inline bool CodeSha256HasBeenSet() const { return m_codeSha256HasBeenSet; }
61 template <typename CodeSha256T = Aws::String>
62 void SetCodeSha256(CodeSha256T&& value) {
63 m_codeSha256HasBeenSet = true;
64 m_codeSha256 = std::forward<CodeSha256T>(value);
65 }
66 template <typename CodeSha256T = Aws::String>
68 SetCodeSha256(std::forward<CodeSha256T>(value));
69 return *this;
70 }
72
74
77 inline long long GetCodeSize() const { return m_codeSize; }
78 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
79 inline void SetCodeSize(long long value) {
80 m_codeSizeHasBeenSet = true;
81 m_codeSize = value;
82 }
83 inline LayerVersionContentOutput& WithCodeSize(long long value) {
84 SetCodeSize(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetSigningProfileVersionArn() const { return m_signingProfileVersionArn; }
94 inline bool SigningProfileVersionArnHasBeenSet() const { return m_signingProfileVersionArnHasBeenSet; }
95 template <typename SigningProfileVersionArnT = Aws::String>
96 void SetSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
97 m_signingProfileVersionArnHasBeenSet = true;
98 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
99 }
100 template <typename SigningProfileVersionArnT = Aws::String>
101 LayerVersionContentOutput& WithSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
102 SetSigningProfileVersionArn(std::forward<SigningProfileVersionArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetSigningJobArn() const { return m_signingJobArn; }
112 inline bool SigningJobArnHasBeenSet() const { return m_signingJobArnHasBeenSet; }
113 template <typename SigningJobArnT = Aws::String>
114 void SetSigningJobArn(SigningJobArnT&& value) {
115 m_signingJobArnHasBeenSet = true;
116 m_signingJobArn = std::forward<SigningJobArnT>(value);
117 }
118 template <typename SigningJobArnT = Aws::String>
120 SetSigningJobArn(std::forward<SigningJobArnT>(value));
121 return *this;
122 }
124
126
127 inline const ResolvedS3Object& GetResolvedS3Object() const { return m_resolvedS3Object; }
128 inline bool ResolvedS3ObjectHasBeenSet() const { return m_resolvedS3ObjectHasBeenSet; }
129 template <typename ResolvedS3ObjectT = ResolvedS3Object>
130 void SetResolvedS3Object(ResolvedS3ObjectT&& value) {
131 m_resolvedS3ObjectHasBeenSet = true;
132 m_resolvedS3Object = std::forward<ResolvedS3ObjectT>(value);
133 }
134 template <typename ResolvedS3ObjectT = ResolvedS3Object>
136 SetResolvedS3Object(std::forward<ResolvedS3ObjectT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_location;
142
143 Aws::String m_codeSha256;
144
145 long long m_codeSize{0};
146
147 Aws::String m_signingProfileVersionArn;
148
149 Aws::String m_signingJobArn;
150
151 ResolvedS3Object m_resolvedS3Object;
152 bool m_locationHasBeenSet = false;
153 bool m_codeSha256HasBeenSet = false;
154 bool m_codeSizeHasBeenSet = false;
155 bool m_signingProfileVersionArnHasBeenSet = false;
156 bool m_signingJobArnHasBeenSet = false;
157 bool m_resolvedS3ObjectHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace Lambda
162} // namespace Aws
LayerVersionContentOutput & WithCodeSha256(CodeSha256T &&value)
LayerVersionContentOutput & WithResolvedS3Object(ResolvedS3ObjectT &&value)
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
LayerVersionContentOutput & WithCodeSize(long long value)
LayerVersionContentOutput & WithLocation(LocationT &&value)
AWS_LAMBDA_API LayerVersionContentOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API LayerVersionContentOutput(Aws::Utils::Json::JsonView jsonValue)
LayerVersionContentOutput & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
LayerVersionContentOutput & WithSigningJobArn(SigningJobArnT &&value)
AWS_LAMBDA_API LayerVersionContentOutput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue