AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FixedResponseAction.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace VPCLattice
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_VPCLATTICE_API FixedResponseAction();
34 AWS_VPCLATTICE_API FixedResponseAction(Aws::Utils::Json::JsonView jsonValue);
36 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetStatusCode() const{ return m_statusCode; }
44 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
45 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
46 inline FixedResponseAction& WithStatusCode(int value) { SetStatusCode(value); return *this;}
48 private:
49
50 int m_statusCode;
51 bool m_statusCodeHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace VPCLattice
56} // namespace Aws
AWS_VPCLATTICE_API FixedResponseAction(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API FixedResponseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
FixedResponseAction & WithStatusCode(int value)
Aws::Utils::Json::JsonValue JsonValue