AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppMesh {
21namespace Model {
22
29 public:
30 AWS_APPMESH_API VirtualGatewayFileAccessLog() = default;
33 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const LoggingFormat& GetFormat() const { return m_format; }
41 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
42 template <typename FormatT = LoggingFormat>
43 void SetFormat(FormatT&& value) {
44 m_formatHasBeenSet = true;
45 m_format = std::forward<FormatT>(value);
46 }
47 template <typename FormatT = LoggingFormat>
49 SetFormat(std::forward<FormatT>(value));
50 return *this;
51 }
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) {
66 m_pathHasBeenSet = true;
67 m_path = std::forward<PathT>(value);
68 }
69 template <typename PathT = Aws::String>
71 SetPath(std::forward<PathT>(value));
72 return *this;
73 }
75 private:
76 LoggingFormat m_format;
77
78 Aws::String m_path;
79 bool m_formatHasBeenSet = false;
80 bool m_pathHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace AppMesh
85} // 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