AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureInfrastructure.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
10#include <aws/observabilityadmin/model/AzureEventHubConfiguration.h>
11#include <aws/observabilityadmin/model/AzureFlowLogsInfrastructure.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ObservabilityAdmin {
23namespace Model {
24
32 public:
33 AWS_OBSERVABILITYADMIN_API AzureInfrastructure() = default;
34 AWS_OBSERVABILITYADMIN_API AzureInfrastructure(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OBSERVABILITYADMIN_API AzureInfrastructure& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
46 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
47 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
48 template <typename SubscriptionIdT = Aws::String>
49 void SetSubscriptionId(SubscriptionIdT&& value) {
50 m_subscriptionIdHasBeenSet = true;
51 m_subscriptionId = std::forward<SubscriptionIdT>(value);
52 }
53 template <typename SubscriptionIdT = Aws::String>
54 AzureInfrastructure& WithSubscriptionId(SubscriptionIdT&& value) {
55 SetSubscriptionId(std::forward<SubscriptionIdT>(value));
56 return *this;
57 }
59
61
67 inline const Aws::Vector<AzureEventHubConfiguration>& GetEventHubs() const { return m_eventHubs; }
68 inline bool EventHubsHasBeenSet() const { return m_eventHubsHasBeenSet; }
69 template <typename EventHubsT = Aws::Vector<AzureEventHubConfiguration>>
70 void SetEventHubs(EventHubsT&& value) {
71 m_eventHubsHasBeenSet = true;
72 m_eventHubs = std::forward<EventHubsT>(value);
73 }
74 template <typename EventHubsT = Aws::Vector<AzureEventHubConfiguration>>
75 AzureInfrastructure& WithEventHubs(EventHubsT&& value) {
76 SetEventHubs(std::forward<EventHubsT>(value));
77 return *this;
78 }
79 template <typename EventHubsT = AzureEventHubConfiguration>
80 AzureInfrastructure& AddEventHubs(EventHubsT&& value) {
81 m_eventHubsHasBeenSet = true;
82 m_eventHubs.emplace_back(std::forward<EventHubsT>(value));
83 return *this;
84 }
86
88
93 inline const AzureFlowLogsInfrastructure& GetFlowLogs() const { return m_flowLogs; }
94 inline bool FlowLogsHasBeenSet() const { return m_flowLogsHasBeenSet; }
95 template <typename FlowLogsT = AzureFlowLogsInfrastructure>
96 void SetFlowLogs(FlowLogsT&& value) {
97 m_flowLogsHasBeenSet = true;
98 m_flowLogs = std::forward<FlowLogsT>(value);
99 }
100 template <typename FlowLogsT = AzureFlowLogsInfrastructure>
101 AzureInfrastructure& WithFlowLogs(FlowLogsT&& value) {
102 SetFlowLogs(std::forward<FlowLogsT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_subscriptionId;
108
110
112 bool m_subscriptionIdHasBeenSet = false;
113 bool m_eventHubsHasBeenSet = false;
114 bool m_flowLogsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace ObservabilityAdmin
119} // namespace Aws
AzureInfrastructure & WithFlowLogs(FlowLogsT &&value)
AzureInfrastructure & WithEventHubs(EventHubsT &&value)
AWS_OBSERVABILITYADMIN_API AzureInfrastructure()=default
const Aws::Vector< AzureEventHubConfiguration > & GetEventHubs() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
const AzureFlowLogsInfrastructure & GetFlowLogs() const
AzureInfrastructure & AddEventHubs(EventHubsT &&value)
AWS_OBSERVABILITYADMIN_API AzureInfrastructure(Aws::Utils::Json::JsonView jsonValue)
AzureInfrastructure & WithSubscriptionId(SubscriptionIdT &&value)
AWS_OBSERVABILITYADMIN_API AzureInfrastructure & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue