AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureEventHubsQuery.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9#include <aws/observabilityadmin/model/AzureQueryScope.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
29 public:
30 AWS_OBSERVABILITYADMIN_API AzureEventHubsQuery() = default;
31 AWS_OBSERVABILITYADMIN_API AzureEventHubsQuery(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OBSERVABILITYADMIN_API AzureEventHubsQuery& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const AzureQueryScope& GetScope() const { return m_scope; }
40 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
41 template <typename ScopeT = AzureQueryScope>
42 void SetScope(ScopeT&& value) {
43 m_scopeHasBeenSet = true;
44 m_scope = std::forward<ScopeT>(value);
45 }
46 template <typename ScopeT = AzureQueryScope>
47 AzureEventHubsQuery& WithScope(ScopeT&& value) {
48 SetScope(std::forward<ScopeT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetNamespaceName() const { return m_namespaceName; }
58 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
59 template <typename NamespaceNameT = Aws::String>
60 void SetNamespaceName(NamespaceNameT&& value) {
61 m_namespaceNameHasBeenSet = true;
62 m_namespaceName = std::forward<NamespaceNameT>(value);
63 }
64 template <typename NamespaceNameT = Aws::String>
65 AzureEventHubsQuery& WithNamespaceName(NamespaceNameT&& value) {
66 SetNamespaceName(std::forward<NamespaceNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRegion() const { return m_region; }
76 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
77 template <typename RegionT = Aws::String>
78 void SetRegion(RegionT&& value) {
79 m_regionHasBeenSet = true;
80 m_region = std::forward<RegionT>(value);
81 }
82 template <typename RegionT = Aws::String>
83 AzureEventHubsQuery& WithRegion(RegionT&& value) {
84 SetRegion(std::forward<RegionT>(value));
85 return *this;
86 }
88 private:
89 AzureQueryScope m_scope;
90
91 Aws::String m_namespaceName;
92
93 Aws::String m_region;
94 bool m_scopeHasBeenSet = false;
95 bool m_namespaceNameHasBeenSet = false;
96 bool m_regionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ObservabilityAdmin
101} // namespace Aws
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OBSERVABILITYADMIN_API AzureEventHubsQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureEventHubsQuery & WithRegion(RegionT &&value)
AzureEventHubsQuery & WithScope(ScopeT &&value)
AWS_OBSERVABILITYADMIN_API AzureEventHubsQuery()=default
AzureEventHubsQuery & WithNamespaceName(NamespaceNameT &&value)
AWS_OBSERVABILITYADMIN_API AzureEventHubsQuery(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue