AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureFlowLogsInfrastructure.h
1
6#pragma once
7#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
8#include <aws/observabilityadmin/model/AzureAwsManagedFlowLogs.h>
9#include <aws/observabilityadmin/model/AzureCustomerManagedFlowLogs.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ObservabilityAdmin {
21namespace Model {
22
30 public:
31 AWS_OBSERVABILITYADMIN_API AzureFlowLogsInfrastructure() = default;
32 AWS_OBSERVABILITYADMIN_API AzureFlowLogsInfrastructure(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AzureCustomerManagedFlowLogs& GetCustomerManaged() const { return m_customerManaged; }
41 inline bool CustomerManagedHasBeenSet() const { return m_customerManagedHasBeenSet; }
42 template <typename CustomerManagedT = AzureCustomerManagedFlowLogs>
43 void SetCustomerManaged(CustomerManagedT&& value) {
44 m_customerManagedHasBeenSet = true;
45 m_customerManaged = std::forward<CustomerManagedT>(value);
46 }
47 template <typename CustomerManagedT = AzureCustomerManagedFlowLogs>
49 SetCustomerManaged(std::forward<CustomerManagedT>(value));
50 return *this;
51 }
53
55
59 inline const AzureAwsManagedFlowLogs& GetAwsManaged() const { return m_awsManaged; }
60 inline bool AwsManagedHasBeenSet() const { return m_awsManagedHasBeenSet; }
61 template <typename AwsManagedT = AzureAwsManagedFlowLogs>
62 void SetAwsManaged(AwsManagedT&& value) {
63 m_awsManagedHasBeenSet = true;
64 m_awsManaged = std::forward<AwsManagedT>(value);
65 }
66 template <typename AwsManagedT = AzureAwsManagedFlowLogs>
68 SetAwsManaged(std::forward<AwsManagedT>(value));
69 return *this;
70 }
72 private:
73 AzureCustomerManagedFlowLogs m_customerManaged;
74
75 AzureAwsManagedFlowLogs m_awsManaged;
76 bool m_customerManagedHasBeenSet = false;
77 bool m_awsManagedHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ObservabilityAdmin
82} // namespace Aws
const AzureCustomerManagedFlowLogs & GetCustomerManaged() const
AzureFlowLogsInfrastructure & WithAwsManaged(AwsManagedT &&value)
AWS_OBSERVABILITYADMIN_API AzureFlowLogsInfrastructure()=default
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AzureFlowLogsInfrastructure & WithCustomerManaged(CustomerManagedT &&value)
AWS_OBSERVABILITYADMIN_API AzureFlowLogsInfrastructure(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureFlowLogsInfrastructure & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue