AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureCustomerManagedFlowLogs.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9#include <aws/observabilityadmin/model/AzureFlowLogStorageAccountScope.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 AzureCustomerManagedFlowLogs() = default;
32 AWS_OBSERVABILITYADMIN_API AzureCustomerManagedFlowLogs(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Vector<AzureFlowLogStorageAccountScope>& GetStorageAccounts() const { return m_storageAccounts; }
43 inline bool StorageAccountsHasBeenSet() const { return m_storageAccountsHasBeenSet; }
44 template <typename StorageAccountsT = Aws::Vector<AzureFlowLogStorageAccountScope>>
45 void SetStorageAccounts(StorageAccountsT&& value) {
46 m_storageAccountsHasBeenSet = true;
47 m_storageAccounts = std::forward<StorageAccountsT>(value);
48 }
49 template <typename StorageAccountsT = Aws::Vector<AzureFlowLogStorageAccountScope>>
51 SetStorageAccounts(std::forward<StorageAccountsT>(value));
52 return *this;
53 }
54 template <typename StorageAccountsT = AzureFlowLogStorageAccountScope>
56 m_storageAccountsHasBeenSet = true;
57 m_storageAccounts.emplace_back(std::forward<StorageAccountsT>(value));
58 return *this;
59 }
61 private:
63 bool m_storageAccountsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace ObservabilityAdmin
68} // namespace Aws
AzureCustomerManagedFlowLogs & AddStorageAccounts(StorageAccountsT &&value)
AzureCustomerManagedFlowLogs & WithStorageAccounts(StorageAccountsT &&value)
const Aws::Vector< AzureFlowLogStorageAccountScope > & GetStorageAccounts() const
AWS_OBSERVABILITYADMIN_API AzureCustomerManagedFlowLogs()=default
AWS_OBSERVABILITYADMIN_API AzureCustomerManagedFlowLogs(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureCustomerManagedFlowLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue