AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppMesh {
20namespace Model {
21
28 public:
29 AWS_APPMESH_API VirtualGatewayLogging() = default;
32 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const VirtualGatewayAccessLog& GetAccessLog() const { return m_accessLog; }
39 inline bool AccessLogHasBeenSet() const { return m_accessLogHasBeenSet; }
40 template <typename AccessLogT = VirtualGatewayAccessLog>
41 void SetAccessLog(AccessLogT&& value) {
42 m_accessLogHasBeenSet = true;
43 m_accessLog = std::forward<AccessLogT>(value);
44 }
45 template <typename AccessLogT = VirtualGatewayAccessLog>
46 VirtualGatewayLogging& WithAccessLog(AccessLogT&& value) {
47 SetAccessLog(std::forward<AccessLogT>(value));
48 return *this;
49 }
51 private:
52 VirtualGatewayAccessLog m_accessLog;
53 bool m_accessLogHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace AppMesh
58} // namespace Aws
VirtualGatewayLogging & WithAccessLog(AccessLogT &&value)
AWS_APPMESH_API VirtualGatewayLogging(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualGatewayLogging & operator=(Aws::Utils::Json::JsonView jsonValue)
const VirtualGatewayAccessLog & GetAccessLog() const
AWS_APPMESH_API VirtualGatewayLogging()=default
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue