AWS SDK for C++  1.9.19
AWS SDK for C++
VirtualGatewayFileAccessLog.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppMesh
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
47  inline const Aws::String& GetPath() const{ return m_path; }
48 
56  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
57 
65  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
66 
74  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
75 
83  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
84 
92  inline VirtualGatewayFileAccessLog& WithPath(const Aws::String& value) { SetPath(value); return *this;}
93 
101  inline VirtualGatewayFileAccessLog& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
102 
110  inline VirtualGatewayFileAccessLog& WithPath(const char* value) { SetPath(value); return *this;}
111 
112  private:
113 
114  Aws::String m_path;
115  bool m_pathHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace AppMesh
120 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::VirtualGatewayFileAccessLog
VirtualGatewayFileAccessLog()
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::WithPath
VirtualGatewayFileAccessLog & WithPath(const Aws::String &value)
Definition: VirtualGatewayFileAccessLog.h:92
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::operator=
VirtualGatewayFileAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::WithPath
VirtualGatewayFileAccessLog & WithPath(Aws::String &&value)
Definition: VirtualGatewayFileAccessLog.h:101
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::SetPath
void SetPath(const char *value)
Definition: VirtualGatewayFileAccessLog.h:83
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::WithPath
VirtualGatewayFileAccessLog & WithPath(const char *value)
Definition: VirtualGatewayFileAccessLog.h:110
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::GetPath
const Aws::String & GetPath() const
Definition: VirtualGatewayFileAccessLog.h:47
Aws::AppMesh::Model::VirtualGatewayFileAccessLog
Definition: VirtualGatewayFileAccessLog.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::SetPath
void SetPath(Aws::String &&value)
Definition: VirtualGatewayFileAccessLog.h:74
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::SetPath
void SetPath(const Aws::String &value)
Definition: VirtualGatewayFileAccessLog.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::PathHasBeenSet
bool PathHasBeenSet() const
Definition: VirtualGatewayFileAccessLog.h:56
Aws::AppMesh::Model::VirtualGatewayFileAccessLog::VirtualGatewayFileAccessLog
VirtualGatewayFileAccessLog(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28