AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualGatewayLogging.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualGatewayAccessLog.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppMesh
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPMESH_API VirtualGatewayLogging();
37 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const VirtualGatewayAccessLog& GetAccessLog() const{ return m_accessLog; }
45 inline bool AccessLogHasBeenSet() const { return m_accessLogHasBeenSet; }
46 inline void SetAccessLog(const VirtualGatewayAccessLog& value) { m_accessLogHasBeenSet = true; m_accessLog = value; }
47 inline void SetAccessLog(VirtualGatewayAccessLog&& value) { m_accessLogHasBeenSet = true; m_accessLog = std::move(value); }
48 inline VirtualGatewayLogging& WithAccessLog(const VirtualGatewayAccessLog& value) { SetAccessLog(value); return *this;}
49 inline VirtualGatewayLogging& WithAccessLog(VirtualGatewayAccessLog&& value) { SetAccessLog(std::move(value)); return *this;}
51 private:
52
53 VirtualGatewayAccessLog m_accessLog;
54 bool m_accessLogHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace AppMesh
59} // namespace Aws
AWS_APPMESH_API VirtualGatewayLogging(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualGatewayLogging & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccessLog(VirtualGatewayAccessLog &&value)
void SetAccessLog(const VirtualGatewayAccessLog &value)
VirtualGatewayLogging & WithAccessLog(VirtualGatewayAccessLog &&value)
const VirtualGatewayAccessLog & GetAccessLog() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayLogging & WithAccessLog(const VirtualGatewayAccessLog &value)
Aws::Utils::Json::JsonValue JsonValue