AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterConstraints.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_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 ApiGatewayV2
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APIGATEWAYV2_API ParameterConstraints();
34 AWS_APIGATEWAYV2_API ParameterConstraints(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetRequired() const{ return m_required; }
44 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
45 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
46 inline ParameterConstraints& WithRequired(bool value) { SetRequired(value); return *this;}
48 private:
49
50 bool m_required;
51 bool m_requiredHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace ApiGatewayV2
56} // namespace Aws
AWS_APIGATEWAYV2_API ParameterConstraints & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API ParameterConstraints(Aws::Utils::Json::JsonView jsonValue)
ParameterConstraints & WithRequired(bool value)
Aws::Utils::Json::JsonValue JsonValue