AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFormat(const LoggingFormat& value) { m_formatHasBeenSet = true; m_format = value; }
49 inline void SetFormat(LoggingFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
50 inline FileAccessLog& WithFormat(const LoggingFormat& value) { SetFormat(value); return *this;}
51 inline FileAccessLog& WithFormat(LoggingFormat&& value) { SetFormat(std::move(value)); return *this;}
53
55
64 inline const Aws::String& GetPath() const{ return m_path; }
65 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
66 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
67 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
68 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
69 inline FileAccessLog& WithPath(const Aws::String& value) { SetPath(value); return *this;}
70 inline FileAccessLog& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
71 inline FileAccessLog& WithPath(const char* value) { SetPath(value); return *this;}
73 private:
74
75 LoggingFormat m_format;
76 bool m_formatHasBeenSet = false;
77
78 Aws::String m_path;
79 bool m_pathHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AppMesh
84} // namespace Aws
FileAccessLog & WithPath(const Aws::String &value)
void SetPath(Aws::String &&value)
void SetPath(const char *value)
FileAccessLog & WithFormat(LoggingFormat &&value)
FileAccessLog & WithFormat(const LoggingFormat &value)
FileAccessLog & WithPath(const char *value)
AWS_APPMESH_API FileAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFormat(const LoggingFormat &value)
const LoggingFormat & GetFormat() const
void SetPath(const Aws::String &value)
void SetFormat(LoggingFormat &&value)
const Aws::String & GetPath() const
FileAccessLog & WithPath(Aws::String &&value)
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