AWS SDK for C++  1.9.125
AWS SDK for C++
FileAccessLog.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 
49  inline const Aws::String& GetPath() const{ return m_path; }
50 
60  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
61 
71  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
72 
82  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
83 
93  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
94 
104  inline FileAccessLog& WithPath(const Aws::String& value) { SetPath(value); return *this;}
105 
115  inline FileAccessLog& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
116 
126  inline FileAccessLog& WithPath(const char* value) { SetPath(value); return *this;}
127 
128  private:
129 
130  Aws::String m_path;
131  bool m_pathHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace AppMesh
136 } // namespace Aws
Aws::AppMesh::Model::FileAccessLog::WithPath
FileAccessLog & WithPath(Aws::String &&value)
Definition: FileAccessLog.h:115
Aws::AppMesh::Model::FileAccessLog::PathHasBeenSet
bool PathHasBeenSet() const
Definition: FileAccessLog.h:60
Aws::AppMesh::Model::FileAccessLog::SetPath
void SetPath(const Aws::String &value)
Definition: FileAccessLog.h:71
AppMesh_EXPORTS.h
Aws::AppMesh::Model::FileAccessLog::WithPath
FileAccessLog & WithPath(const char *value)
Definition: FileAccessLog.h:126
Aws::AppMesh::Model::FileAccessLog::FileAccessLog
FileAccessLog(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::FileAccessLog::operator=
FileAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::FileAccessLog
Definition: FileAccessLog.h:32
Aws::AppMesh::Model::FileAccessLog::WithPath
FileAccessLog & WithPath(const Aws::String &value)
Definition: FileAccessLog.h:104
Aws::AppMesh::Model::FileAccessLog::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
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::FileAccessLog::FileAccessLog
FileAccessLog()
Aws::AppMesh::Model::FileAccessLog::SetPath
void SetPath(const char *value)
Definition: FileAccessLog.h:93
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::FileAccessLog::GetPath
const Aws::String & GetPath() const
Definition: FileAccessLog.h:49
Aws::AppMesh::Model::FileAccessLog::SetPath
void SetPath(Aws::String &&value)
Definition: FileAccessLog.h:82