AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureEventHubConfiguration.h
1
6#pragma once
7#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
8#include <aws/observabilityadmin/model/AzureEventHubTier.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
29 public:
30 AWS_OBSERVABILITYADMIN_API AzureEventHubConfiguration() = default;
31 AWS_OBSERVABILITYADMIN_API AzureEventHubConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OBSERVABILITYADMIN_API AzureEventHubConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline AzureEventHubTier GetTier() const { return m_tier; }
40 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
41 inline void SetTier(AzureEventHubTier value) {
42 m_tierHasBeenSet = true;
43 m_tier = value;
44 }
46 SetTier(value);
47 return *this;
48 }
50
52
57 inline int GetPartitionCount() const { return m_partitionCount; }
58 inline bool PartitionCountHasBeenSet() const { return m_partitionCountHasBeenSet; }
59 inline void SetPartitionCount(int value) {
60 m_partitionCountHasBeenSet = true;
61 m_partitionCount = value;
62 }
64 SetPartitionCount(value);
65 return *this;
66 }
68 private:
70
71 int m_partitionCount{0};
72 bool m_tierHasBeenSet = false;
73 bool m_partitionCountHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ObservabilityAdmin
78} // namespace Aws
AWS_OBSERVABILITYADMIN_API AzureEventHubConfiguration()=default
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OBSERVABILITYADMIN_API AzureEventHubConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureEventHubConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureEventHubConfiguration & WithTier(AzureEventHubTier value)
Aws::Utils::Json::JsonValue JsonValue