AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
VirtualGatewayFileAccessLog.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/LoggingFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AppMesh
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPMESH_API VirtualGatewayFileAccessLog() = default;
38 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const LoggingFormat& GetFormat() const { return m_format; }
47 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
48 template<typename FormatT = LoggingFormat>
49 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
50 template<typename FormatT = LoggingFormat>
51 VirtualGatewayFileAccessLog& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
53
55
62 inline const Aws::String& GetPath() const { return m_path; }
63 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
64 template<typename PathT = Aws::String>
65 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
66 template<typename PathT = Aws::String>
67 VirtualGatewayFileAccessLog& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
69 private:
70
71 LoggingFormat m_format;
72 bool m_formatHasBeenSet = false;
73
74 Aws::String m_path;
75 bool m_pathHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AppMesh
80} // namespace Aws
AWS_APPMESH_API VirtualGatewayFileAccessLog(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayFileAccessLog & WithFormat(FormatT &&value)
AWS_APPMESH_API VirtualGatewayFileAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API VirtualGatewayFileAccessLog()=default
VirtualGatewayFileAccessLog & WithPath(PathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue