AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 VirtualGatewayFileAccessLog& WithFormat(const LoggingFormat& value) { SetFormat(value); return *this;}
51 inline VirtualGatewayFileAccessLog& WithFormat(LoggingFormat&& value) { SetFormat(std::move(value)); return *this;}
53
55
62 inline const Aws::String& GetPath() const{ return m_path; }
63 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
64 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
65 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
66 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
67 inline VirtualGatewayFileAccessLog& WithPath(const Aws::String& value) { SetPath(value); return *this;}
68 inline VirtualGatewayFileAccessLog& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
69 inline VirtualGatewayFileAccessLog& WithPath(const char* value) { SetPath(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
AWS_APPMESH_API VirtualGatewayFileAccessLog(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayFileAccessLog & WithPath(const Aws::String &value)
VirtualGatewayFileAccessLog & WithFormat(LoggingFormat &&value)
AWS_APPMESH_API VirtualGatewayFileAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayFileAccessLog & WithPath(Aws::String &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayFileAccessLog & WithPath(const char *value)
VirtualGatewayFileAccessLog & WithFormat(const LoggingFormat &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue