AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DestinationConfiguration.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/AuditLogDestinationConfiguration.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppFabric
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPFABRIC_API DestinationConfiguration() = default;
38 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AuditLogDestinationConfiguration& GetAuditLog() const { return m_auditLog; }
46 inline bool AuditLogHasBeenSet() const { return m_auditLogHasBeenSet; }
47 template<typename AuditLogT = AuditLogDestinationConfiguration>
48 void SetAuditLog(AuditLogT&& value) { m_auditLogHasBeenSet = true; m_auditLog = std::forward<AuditLogT>(value); }
49 template<typename AuditLogT = AuditLogDestinationConfiguration>
50 DestinationConfiguration& WithAuditLog(AuditLogT&& value) { SetAuditLog(std::forward<AuditLogT>(value)); return *this;}
52 private:
53
55 bool m_auditLogHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace AppFabric
60} // namespace Aws
AWS_APPFABRIC_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API DestinationConfiguration()=default
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
const AuditLogDestinationConfiguration & GetAuditLog() const
AWS_APPFABRIC_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithAuditLog(AuditLogT &&value)
Aws::Utils::Json::JsonValue JsonValue