7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
12#include <aws/lambda-web/model/BuildConfig.h>
13#include <aws/lambda-web/model/RevisionError.h>
14#include <aws/lambda-web/model/RevisionState.h>
15#include <aws/lambda-web/model/ServiceConfig.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
47 template <
typename FunctionArnT = Aws::String>
49 m_functionArnHasBeenSet =
true;
50 m_functionArn = std::forward<FunctionArnT>(value);
52 template <
typename FunctionArnT = Aws::String>
64 template <
typename RevisionArnT = Aws::String>
66 m_revisionArnHasBeenSet =
true;
67 m_revisionArn = std::forward<RevisionArnT>(value);
69 template <
typename RevisionArnT = Aws::String>
81 template <
typename RevisionIdT = Aws::String>
83 m_revisionIdHasBeenSet =
true;
84 m_revisionId = std::forward<RevisionIdT>(value);
86 template <
typename RevisionIdT = Aws::String>
98 template <
typename DescriptionT = Aws::String>
100 m_descriptionHasBeenSet =
true;
101 m_description = std::forward<DescriptionT>(value);
103 template <
typename DescriptionT = Aws::String>
116 template <
typename KmsKeyArnT = Aws::String>
118 m_kmsKeyArnHasBeenSet =
true;
119 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
121 template <
typename KmsKeyArnT = Aws::String>
131 template <
typename BuildConfigT = BuildConfig>
133 m_buildConfigHasBeenSet =
true;
134 m_buildConfig = std::forward<BuildConfigT>(value);
136 template <
typename BuildConfigT = BuildConfig>
146 template <
typename ServiceConfigT = ServiceConfig>
148 m_serviceConfigHasBeenSet =
true;
149 m_serviceConfig = std::forward<ServiceConfigT>(value);
151 template <
typename ServiceConfigT = ServiceConfig>
164 m_stateHasBeenSet =
true;
178 template <
typename StateReasonT = Aws::String>
180 m_stateReasonHasBeenSet =
true;
181 m_stateReason = std::forward<StateReasonT>(value);
183 template <
typename StateReasonT = Aws::String>
196 template <
typename ErrorsT = Aws::Vector<RevisionError>>
198 m_errorsHasBeenSet =
true;
199 m_errors = std::forward<ErrorsT>(value);
201 template <
typename ErrorsT = Aws::Vector<RevisionError>>
206 template <
typename ErrorsT = RevisionError>
208 m_errorsHasBeenSet =
true;
209 m_errors.emplace_back(std::forward<ErrorsT>(value));
219 template <
typename CreatedAtT = Aws::Utils::DateTime>
221 m_createdAtHasBeenSet =
true;
222 m_createdAt = std::forward<CreatedAtT>(value);
224 template <
typename CreatedAtT = Aws::Utils::DateTime>
234 template <
typename RequestIdT = Aws::String>
236 m_requestIdHasBeenSet =
true;
237 m_requestId = std::forward<RequestIdT>(value);
239 template <
typename RequestIdT = Aws::String>
272 bool m_functionArnHasBeenSet =
false;
273 bool m_revisionArnHasBeenSet =
false;
274 bool m_revisionIdHasBeenSet =
false;
275 bool m_descriptionHasBeenSet =
false;
276 bool m_kmsKeyArnHasBeenSet =
false;
277 bool m_buildConfigHasBeenSet =
false;
278 bool m_serviceConfigHasBeenSet =
false;
279 bool m_stateHasBeenSet =
false;
280 bool m_stateReasonHasBeenSet =
false;
281 bool m_errorsHasBeenSet =
false;
282 bool m_createdAtHasBeenSet =
false;
283 bool m_requestIdHasBeenSet =
false;
GetWebFunctionRevisionResult & WithRevisionArn(RevisionArnT &&value)
const Aws::String & GetDescription() const
GetWebFunctionRevisionResult & WithStateReason(StateReasonT &&value)
void SetErrors(ErrorsT &&value)
GetWebFunctionRevisionResult & WithRequestId(RequestIdT &&value)
GetWebFunctionRevisionResult & WithFunctionArn(FunctionArnT &&value)
GetWebFunctionRevisionResult & AddErrors(ErrorsT &&value)
GetWebFunctionRevisionResult & WithKmsKeyArn(KmsKeyArnT &&value)
GetWebFunctionRevisionResult & WithCreatedAt(CreatedAtT &&value)
RevisionState GetState() const
const Aws::String & GetKmsKeyArn() const
GetWebFunctionRevisionResult & WithServiceConfig(ServiceConfigT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRevisionArn() const
const Aws::String & GetRevisionId() const
AWS_LAMBDAWEB_API GetWebFunctionRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::Vector< RevisionError > & GetErrors() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const BuildConfig & GetBuildConfig() const
void SetRevisionArn(RevisionArnT &&value)
void SetFunctionArn(FunctionArnT &&value)
void SetDescription(DescriptionT &&value)
void SetState(RevisionState value)
const Aws::String & GetStateReason() const
AWS_LAMBDAWEB_API GetWebFunctionRevisionResult()=default
GetWebFunctionRevisionResult & WithBuildConfig(BuildConfigT &&value)
AWS_LAMBDAWEB_API GetWebFunctionRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStateReason(StateReasonT &&value)
GetWebFunctionRevisionResult & WithRevisionId(RevisionIdT &&value)
void SetRevisionId(RevisionIdT &&value)
GetWebFunctionRevisionResult & WithErrors(ErrorsT &&value)
const Aws::String & GetFunctionArn() const
const ServiceConfig & GetServiceConfig() const
void SetCreatedAt(CreatedAtT &&value)
void SetServiceConfig(ServiceConfigT &&value)
GetWebFunctionRevisionResult & WithState(RevisionState value)
GetWebFunctionRevisionResult & WithDescription(DescriptionT &&value)
void SetBuildConfig(BuildConfigT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue