AWS SDK for C++  1.9.14
AWS SDK for C++
VirtualGatewayLogging.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 
43  inline const VirtualGatewayAccessLog& GetAccessLog() const{ return m_accessLog; }
44 
48  inline bool AccessLogHasBeenSet() const { return m_accessLogHasBeenSet; }
49 
53  inline void SetAccessLog(const VirtualGatewayAccessLog& value) { m_accessLogHasBeenSet = true; m_accessLog = value; }
54 
58  inline void SetAccessLog(VirtualGatewayAccessLog&& value) { m_accessLogHasBeenSet = true; m_accessLog = std::move(value); }
59 
63  inline VirtualGatewayLogging& WithAccessLog(const VirtualGatewayAccessLog& value) { SetAccessLog(value); return *this;}
64 
68  inline VirtualGatewayLogging& WithAccessLog(VirtualGatewayAccessLog&& value) { SetAccessLog(std::move(value)); return *this;}
69 
70  private:
71 
72  VirtualGatewayAccessLog m_accessLog;
73  bool m_accessLogHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace AppMesh
78 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayLogging::WithAccessLog
VirtualGatewayLogging & WithAccessLog(const VirtualGatewayAccessLog &value)
Definition: VirtualGatewayLogging.h:63
Aws::AppMesh::Model::VirtualGatewayLogging::GetAccessLog
const VirtualGatewayAccessLog & GetAccessLog() const
Definition: VirtualGatewayLogging.h:43
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayLogging::SetAccessLog
void SetAccessLog(VirtualGatewayAccessLog &&value)
Definition: VirtualGatewayLogging.h:58
Aws::AppMesh::Model::VirtualGatewayLogging
Definition: VirtualGatewayLogging.h:32
Aws::AppMesh::Model::VirtualGatewayLogging::AccessLogHasBeenSet
bool AccessLogHasBeenSet() const
Definition: VirtualGatewayLogging.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::AppMesh::Model::VirtualGatewayLogging::VirtualGatewayLogging
VirtualGatewayLogging(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayLogging::WithAccessLog
VirtualGatewayLogging & WithAccessLog(VirtualGatewayAccessLog &&value)
Definition: VirtualGatewayLogging.h:68
Aws::AppMesh::Model::VirtualGatewayLogging::VirtualGatewayLogging
VirtualGatewayLogging()
Aws::AppMesh::Model::VirtualGatewayLogging::SetAccessLog
void SetAccessLog(const VirtualGatewayAccessLog &value)
Definition: VirtualGatewayLogging.h:53
VirtualGatewayAccessLog.h
Aws::AppMesh::Model::VirtualGatewayAccessLog
Definition: VirtualGatewayAccessLog.h:33
Aws::AppMesh::Model::VirtualGatewayLogging::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayLogging::operator=
VirtualGatewayLogging & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28