AWS SDK for C++  1.9.16
AWS SDK for C++
Logging.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 
33  {
34  public:
39 
40 
44  inline const AccessLog& GetAccessLog() const{ return m_accessLog; }
45 
49  inline bool AccessLogHasBeenSet() const { return m_accessLogHasBeenSet; }
50 
54  inline void SetAccessLog(const AccessLog& value) { m_accessLogHasBeenSet = true; m_accessLog = value; }
55 
59  inline void SetAccessLog(AccessLog&& value) { m_accessLogHasBeenSet = true; m_accessLog = std::move(value); }
60 
64  inline Logging& WithAccessLog(const AccessLog& value) { SetAccessLog(value); return *this;}
65 
69  inline Logging& WithAccessLog(AccessLog&& value) { SetAccessLog(std::move(value)); return *this;}
70 
71  private:
72 
73  AccessLog m_accessLog;
74  bool m_accessLogHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace AppMesh
79 } // namespace Aws
Aws::AppMesh::Model::Logging::Logging
Logging()
Aws::AppMesh::Model::Logging::Logging
Logging(Aws::Utils::Json::JsonView jsonValue)
AccessLog.h
Aws::AppMesh::Model::Logging::operator=
Logging & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::Logging
Definition: Logging.h:33
AppMesh_EXPORTS.h
Aws::AppMesh::Model::Logging::GetAccessLog
const AccessLog & GetAccessLog() const
Definition: Logging.h:44
Aws::AppMesh::Model::Logging::WithAccessLog
Logging & WithAccessLog(AccessLog &&value)
Definition: Logging.h:69
Aws::AppMesh::Model::Logging::WithAccessLog
Logging & WithAccessLog(const AccessLog &value)
Definition: Logging.h:64
Aws::AppMesh::Model::Logging::SetAccessLog
void SetAccessLog(AccessLog &&value)
Definition: Logging.h:59
Aws::AppMesh::Model::Logging::SetAccessLog
void SetAccessLog(const AccessLog &value)
Definition: Logging.h:54
Aws::AppMesh::Model::AccessLog
Definition: AccessLog.h:33
Aws::AppMesh::Model::Logging::AccessLogHasBeenSet
bool AccessLogHasBeenSet() const
Definition: Logging.h:49
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::Logging::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28