AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapStartResponse.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/SnapStartApplyOn.h>
9#include <aws/lambda/model/SnapStartOptimizationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LAMBDA_API SnapStartResponse();
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const SnapStartApplyOn& GetApplyOn() const{ return m_applyOn; }
49 inline bool ApplyOnHasBeenSet() const { return m_applyOnHasBeenSet; }
50 inline void SetApplyOn(const SnapStartApplyOn& value) { m_applyOnHasBeenSet = true; m_applyOn = value; }
51 inline void SetApplyOn(SnapStartApplyOn&& value) { m_applyOnHasBeenSet = true; m_applyOn = std::move(value); }
52 inline SnapStartResponse& WithApplyOn(const SnapStartApplyOn& value) { SetApplyOn(value); return *this;}
53 inline SnapStartResponse& WithApplyOn(SnapStartApplyOn&& value) { SetApplyOn(std::move(value)); return *this;}
55
57
63 inline const SnapStartOptimizationStatus& GetOptimizationStatus() const{ return m_optimizationStatus; }
64 inline bool OptimizationStatusHasBeenSet() const { return m_optimizationStatusHasBeenSet; }
65 inline void SetOptimizationStatus(const SnapStartOptimizationStatus& value) { m_optimizationStatusHasBeenSet = true; m_optimizationStatus = value; }
66 inline void SetOptimizationStatus(SnapStartOptimizationStatus&& value) { m_optimizationStatusHasBeenSet = true; m_optimizationStatus = std::move(value); }
70 private:
71
72 SnapStartApplyOn m_applyOn;
73 bool m_applyOnHasBeenSet = false;
74
75 SnapStartOptimizationStatus m_optimizationStatus;
76 bool m_optimizationStatusHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Lambda
81} // namespace Aws
void SetApplyOn(const SnapStartApplyOn &value)
void SetApplyOn(SnapStartApplyOn &&value)
const SnapStartOptimizationStatus & GetOptimizationStatus() const
SnapStartResponse & WithOptimizationStatus(const SnapStartOptimizationStatus &value)
const SnapStartApplyOn & GetApplyOn() const
SnapStartResponse & WithApplyOn(const SnapStartApplyOn &value)
SnapStartResponse & WithApplyOn(SnapStartApplyOn &&value)
SnapStartResponse & WithOptimizationStatus(SnapStartOptimizationStatus &&value)
AWS_LAMBDA_API SnapStartResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API SnapStartResponse(Aws::Utils::Json::JsonView jsonValue)
void SetOptimizationStatus(const SnapStartOptimizationStatus &value)
void SetOptimizationStatus(SnapStartOptimizationStatus &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue