AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FileAccessLog.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 FileAccessLog() = default;
36 AWS_APPMESH_API FileAccessLog(Aws::Utils::Json::JsonView jsonValue);
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 FileAccessLog& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
53
55
64 inline const Aws::String& GetPath() const { return m_path; }
65 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
66 template<typename PathT = Aws::String>
67 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
68 template<typename PathT = Aws::String>
69 FileAccessLog& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
71 private:
72
73 LoggingFormat m_format;
74 bool m_formatHasBeenSet = false;
75
76 Aws::String m_path;
77 bool m_pathHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppMesh
82} // namespace Aws
FileAccessLog & WithFormat(FormatT &&value)
AWS_APPMESH_API FileAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
const LoggingFormat & GetFormat() const
FileAccessLog & WithPath(PathT &&value)
const Aws::String & GetPath() const
void SetFormat(FormatT &&value)
AWS_APPMESH_API FileAccessLog()=default
AWS_APPMESH_API FileAccessLog(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue