AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureEventHubSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ObservabilityAdmin {
20namespace Model {
21
28 public:
29 AWS_OBSERVABILITYADMIN_API AzureEventHubSummary() = default;
30 AWS_OBSERVABILITYADMIN_API AzureEventHubSummary(Aws::Utils::Json::JsonView jsonValue);
31 AWS_OBSERVABILITYADMIN_API AzureEventHubSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetResourceId() const { return m_resourceId; }
39 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
40 template <typename ResourceIdT = Aws::String>
41 void SetResourceId(ResourceIdT&& value) {
42 m_resourceIdHasBeenSet = true;
43 m_resourceId = std::forward<ResourceIdT>(value);
44 }
45 template <typename ResourceIdT = Aws::String>
46 AzureEventHubSummary& WithResourceId(ResourceIdT&& value) {
47 SetResourceId(std::forward<ResourceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEventHubName() const { return m_eventHubName; }
57 inline bool EventHubNameHasBeenSet() const { return m_eventHubNameHasBeenSet; }
58 template <typename EventHubNameT = Aws::String>
59 void SetEventHubName(EventHubNameT&& value) {
60 m_eventHubNameHasBeenSet = true;
61 m_eventHubName = std::forward<EventHubNameT>(value);
62 }
63 template <typename EventHubNameT = Aws::String>
64 AzureEventHubSummary& WithEventHubName(EventHubNameT&& value) {
65 SetEventHubName(std::forward<EventHubNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetNamespaceName() const { return m_namespaceName; }
75 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
76 template <typename NamespaceNameT = Aws::String>
77 void SetNamespaceName(NamespaceNameT&& value) {
78 m_namespaceNameHasBeenSet = true;
79 m_namespaceName = std::forward<NamespaceNameT>(value);
80 }
81 template <typename NamespaceNameT = Aws::String>
82 AzureEventHubSummary& WithNamespaceName(NamespaceNameT&& value) {
83 SetNamespaceName(std::forward<NamespaceNameT>(value));
84 return *this;
85 }
87
89
94 inline const Aws::String& GetFullyQualifiedNamespace() const { return m_fullyQualifiedNamespace; }
95 inline bool FullyQualifiedNamespaceHasBeenSet() const { return m_fullyQualifiedNamespaceHasBeenSet; }
96 template <typename FullyQualifiedNamespaceT = Aws::String>
97 void SetFullyQualifiedNamespace(FullyQualifiedNamespaceT&& value) {
98 m_fullyQualifiedNamespaceHasBeenSet = true;
99 m_fullyQualifiedNamespace = std::forward<FullyQualifiedNamespaceT>(value);
100 }
101 template <typename FullyQualifiedNamespaceT = Aws::String>
102 AzureEventHubSummary& WithFullyQualifiedNamespace(FullyQualifiedNamespaceT&& value) {
103 SetFullyQualifiedNamespace(std::forward<FullyQualifiedNamespaceT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetRegion() const { return m_region; }
113 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
114 template <typename RegionT = Aws::String>
115 void SetRegion(RegionT&& value) {
116 m_regionHasBeenSet = true;
117 m_region = std::forward<RegionT>(value);
118 }
119 template <typename RegionT = Aws::String>
121 SetRegion(std::forward<RegionT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
131 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
132 template <typename SubscriptionIdT = Aws::String>
133 void SetSubscriptionId(SubscriptionIdT&& value) {
134 m_subscriptionIdHasBeenSet = true;
135 m_subscriptionId = std::forward<SubscriptionIdT>(value);
136 }
137 template <typename SubscriptionIdT = Aws::String>
138 AzureEventHubSummary& WithSubscriptionId(SubscriptionIdT&& value) {
139 SetSubscriptionId(std::forward<SubscriptionIdT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_resourceId;
145
146 Aws::String m_eventHubName;
147
148 Aws::String m_namespaceName;
149
150 Aws::String m_fullyQualifiedNamespace;
151
152 Aws::String m_region;
153
154 Aws::String m_subscriptionId;
155 bool m_resourceIdHasBeenSet = false;
156 bool m_eventHubNameHasBeenSet = false;
157 bool m_namespaceNameHasBeenSet = false;
158 bool m_fullyQualifiedNamespaceHasBeenSet = false;
159 bool m_regionHasBeenSet = false;
160 bool m_subscriptionIdHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace ObservabilityAdmin
165} // namespace Aws
void SetFullyQualifiedNamespace(FullyQualifiedNamespaceT &&value)
AWS_OBSERVABILITYADMIN_API AzureEventHubSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureEventHubSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureEventHubSummary & WithFullyQualifiedNamespace(FullyQualifiedNamespaceT &&value)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AzureEventHubSummary & WithNamespaceName(NamespaceNameT &&value)
AzureEventHubSummary & WithEventHubName(EventHubNameT &&value)
AzureEventHubSummary & WithResourceId(ResourceIdT &&value)
AzureEventHubSummary & WithRegion(RegionT &&value)
AWS_OBSERVABILITYADMIN_API AzureEventHubSummary()=default
AzureEventHubSummary & WithSubscriptionId(SubscriptionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue