AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
TelemetryRuleSummary.h
1
6#pragma once
7#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/observabilityadmin/model/ResourceType.h>
10#include <aws/observabilityadmin/model/TelemetryType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ObservabilityAdmin
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OBSERVABILITYADMIN_API TelemetryRuleSummary() = default;
38 AWS_OBSERVABILITYADMIN_API TelemetryRuleSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OBSERVABILITYADMIN_API TelemetryRuleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRuleName() const { return m_ruleName; }
48 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
49 template<typename RuleNameT = Aws::String>
50 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::forward<RuleNameT>(value); }
51 template<typename RuleNameT = Aws::String>
52 TelemetryRuleSummary& WithRuleName(RuleNameT&& value) { SetRuleName(std::forward<RuleNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetRuleArn() const { return m_ruleArn; }
60 inline bool RuleArnHasBeenSet() const { return m_ruleArnHasBeenSet; }
61 template<typename RuleArnT = Aws::String>
62 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet = true; m_ruleArn = std::forward<RuleArnT>(value); }
63 template<typename RuleArnT = Aws::String>
64 TelemetryRuleSummary& WithRuleArn(RuleArnT&& value) { SetRuleArn(std::forward<RuleArnT>(value)); return *this;}
66
68
71 inline long long GetCreatedTimeStamp() const { return m_createdTimeStamp; }
72 inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; }
73 inline void SetCreatedTimeStamp(long long value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = value; }
74 inline TelemetryRuleSummary& WithCreatedTimeStamp(long long value) { SetCreatedTimeStamp(value); return *this;}
76
78
81 inline long long GetLastUpdateTimeStamp() const { return m_lastUpdateTimeStamp; }
82 inline bool LastUpdateTimeStampHasBeenSet() const { return m_lastUpdateTimeStampHasBeenSet; }
83 inline void SetLastUpdateTimeStamp(long long value) { m_lastUpdateTimeStampHasBeenSet = true; m_lastUpdateTimeStamp = value; }
84 inline TelemetryRuleSummary& WithLastUpdateTimeStamp(long long value) { SetLastUpdateTimeStamp(value); return *this;}
86
88
91 inline ResourceType GetResourceType() const { return m_resourceType; }
92 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
93 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
94 inline TelemetryRuleSummary& WithResourceType(ResourceType value) { SetResourceType(value); return *this;}
96
98
101 inline TelemetryType GetTelemetryType() const { return m_telemetryType; }
102 inline bool TelemetryTypeHasBeenSet() const { return m_telemetryTypeHasBeenSet; }
103 inline void SetTelemetryType(TelemetryType value) { m_telemetryTypeHasBeenSet = true; m_telemetryType = value; }
106 private:
107
108 Aws::String m_ruleName;
109 bool m_ruleNameHasBeenSet = false;
110
111 Aws::String m_ruleArn;
112 bool m_ruleArnHasBeenSet = false;
113
114 long long m_createdTimeStamp{0};
115 bool m_createdTimeStampHasBeenSet = false;
116
117 long long m_lastUpdateTimeStamp{0};
118 bool m_lastUpdateTimeStampHasBeenSet = false;
119
120 ResourceType m_resourceType{ResourceType::NOT_SET};
121 bool m_resourceTypeHasBeenSet = false;
122
123 TelemetryType m_telemetryType{TelemetryType::NOT_SET};
124 bool m_telemetryTypeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace ObservabilityAdmin
129} // namespace Aws
TelemetryRuleSummary & WithTelemetryType(TelemetryType value)
TelemetryRuleSummary & WithRuleName(RuleNameT &&value)
TelemetryRuleSummary & WithResourceType(ResourceType value)
TelemetryRuleSummary & WithRuleArn(RuleArnT &&value)
AWS_OBSERVABILITYADMIN_API TelemetryRuleSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
TelemetryRuleSummary & WithLastUpdateTimeStamp(long long value)
TelemetryRuleSummary & WithCreatedTimeStamp(long long value)
AWS_OBSERVABILITYADMIN_API TelemetryRuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API TelemetryRuleSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue