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;
46 template <
typename FunctionArnT = Aws::String>
48 m_functionArnHasBeenSet =
true;
49 m_functionArn = std::forward<FunctionArnT>(value);
51 template <
typename FunctionArnT = Aws::String>
63 template <
typename RevisionArnT = Aws::String>
65 m_revisionArnHasBeenSet =
true;
66 m_revisionArn = std::forward<RevisionArnT>(value);
68 template <
typename RevisionArnT = Aws::String>
80 template <
typename RevisionIdT = Aws::String>
82 m_revisionIdHasBeenSet =
true;
83 m_revisionId = std::forward<RevisionIdT>(value);
85 template <
typename RevisionIdT = Aws::String>
97 template <
typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet =
true;
100 m_description = std::forward<DescriptionT>(value);
102 template <
typename DescriptionT = Aws::String>
115 template <
typename KmsKeyArnT = Aws::String>
117 m_kmsKeyArnHasBeenSet =
true;
118 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
120 template <
typename KmsKeyArnT = Aws::String>
130 template <
typename BuildConfigT = BuildConfig>
132 m_buildConfigHasBeenSet =
true;
133 m_buildConfig = std::forward<BuildConfigT>(value);
135 template <
typename BuildConfigT = BuildConfig>
145 template <
typename ServiceConfigT = ServiceConfig>
147 m_serviceConfigHasBeenSet =
true;
148 m_serviceConfig = std::forward<ServiceConfigT>(value);
150 template <
typename ServiceConfigT = ServiceConfig>
163 m_stateHasBeenSet =
true;
177 template <
typename StateReasonT = Aws::String>
179 m_stateReasonHasBeenSet =
true;
180 m_stateReason = std::forward<StateReasonT>(value);
182 template <
typename StateReasonT = Aws::String>
195 template <
typename ErrorsT = Aws::Vector<RevisionError>>
197 m_errorsHasBeenSet =
true;
198 m_errors = std::forward<ErrorsT>(value);
200 template <
typename ErrorsT = Aws::Vector<RevisionError>>
205 template <
typename ErrorsT = RevisionError>
207 m_errorsHasBeenSet =
true;
208 m_errors.emplace_back(std::forward<ErrorsT>(value));
218 template <
typename CreatedAtT = Aws::Utils::DateTime>
220 m_createdAtHasBeenSet =
true;
221 m_createdAt = std::forward<CreatedAtT>(value);
223 template <
typename CreatedAtT = Aws::Utils::DateTime>
233 template <
typename RequestIdT = Aws::String>
235 m_requestIdHasBeenSet =
true;
236 m_requestId = std::forward<RequestIdT>(value);
238 template <
typename RequestIdT = Aws::String>
271 bool m_functionArnHasBeenSet =
false;
272 bool m_revisionArnHasBeenSet =
false;
273 bool m_revisionIdHasBeenSet =
false;
274 bool m_descriptionHasBeenSet =
false;
275 bool m_kmsKeyArnHasBeenSet =
false;
276 bool m_buildConfigHasBeenSet =
false;
277 bool m_serviceConfigHasBeenSet =
false;
278 bool m_stateHasBeenSet =
false;
279 bool m_stateReasonHasBeenSet =
false;
280 bool m_errorsHasBeenSet =
false;
281 bool m_createdAtHasBeenSet =
false;
282 bool m_requestIdHasBeenSet =
false;
void SetStateReason(StateReasonT &&value)
void SetRequestId(RequestIdT &&value)
CreateWebFunctionRevisionResult & WithRevisionArn(RevisionArnT &&value)
CreateWebFunctionRevisionResult & WithBuildConfig(BuildConfigT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetCreatedAt(CreatedAtT &&value)
CreateWebFunctionRevisionResult & WithRevisionId(RevisionIdT &&value)
CreateWebFunctionRevisionResult & WithKmsKeyArn(KmsKeyArnT &&value)
CreateWebFunctionRevisionResult & AddErrors(ErrorsT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetStateReason() const
AWS_LAMBDAWEB_API CreateWebFunctionRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRevisionId(RevisionIdT &&value)
void SetErrors(ErrorsT &&value)
void SetKmsKeyArn(KmsKeyArnT &&value)
RevisionState GetState() const
CreateWebFunctionRevisionResult & WithErrors(ErrorsT &&value)
const Aws::String & GetRevisionArn() const
const Aws::String & GetRevisionId() const
const BuildConfig & GetBuildConfig() const
CreateWebFunctionRevisionResult & WithServiceConfig(ServiceConfigT &&value)
const Aws::String & GetFunctionArn() const
CreateWebFunctionRevisionResult & WithState(RevisionState value)
AWS_LAMBDAWEB_API CreateWebFunctionRevisionResult()=default
void SetBuildConfig(BuildConfigT &&value)
CreateWebFunctionRevisionResult & WithCreatedAt(CreatedAtT &&value)
CreateWebFunctionRevisionResult & WithDescription(DescriptionT &&value)
CreateWebFunctionRevisionResult & WithFunctionArn(FunctionArnT &&value)
const Aws::Vector< RevisionError > & GetErrors() const
CreateWebFunctionRevisionResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetState(RevisionState value)
void SetServiceConfig(ServiceConfigT &&value)
CreateWebFunctionRevisionResult & WithStateReason(StateReasonT &&value)
AWS_LAMBDAWEB_API CreateWebFunctionRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ServiceConfig & GetServiceConfig() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetKmsKeyArn() const
void SetFunctionArn(FunctionArnT &&value)
void SetRevisionArn(RevisionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue