AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
GetTelemetryRuleResult.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/TelemetryRule.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ObservabilityAdmin
25{
26namespace Model
27{
29 {
30 public:
31 AWS_OBSERVABILITYADMIN_API GetTelemetryRuleResult() = default;
34
35
37
40 inline const Aws::String& GetRuleName() const { return m_ruleName; }
41 template<typename RuleNameT = Aws::String>
42 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::forward<RuleNameT>(value); }
43 template<typename RuleNameT = Aws::String>
44 GetTelemetryRuleResult& WithRuleName(RuleNameT&& value) { SetRuleName(std::forward<RuleNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetRuleArn() const { return m_ruleArn; }
52 template<typename RuleArnT = Aws::String>
53 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet = true; m_ruleArn = std::forward<RuleArnT>(value); }
54 template<typename RuleArnT = Aws::String>
55 GetTelemetryRuleResult& WithRuleArn(RuleArnT&& value) { SetRuleArn(std::forward<RuleArnT>(value)); return *this;}
57
59
62 inline long long GetCreatedTimeStamp() const { return m_createdTimeStamp; }
63 inline void SetCreatedTimeStamp(long long value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = value; }
64 inline GetTelemetryRuleResult& WithCreatedTimeStamp(long long value) { SetCreatedTimeStamp(value); return *this;}
66
68
71 inline long long GetLastUpdateTimeStamp() const { return m_lastUpdateTimeStamp; }
72 inline void SetLastUpdateTimeStamp(long long value) { m_lastUpdateTimeStampHasBeenSet = true; m_lastUpdateTimeStamp = value; }
73 inline GetTelemetryRuleResult& WithLastUpdateTimeStamp(long long value) { SetLastUpdateTimeStamp(value); return *this;}
75
77
80 inline const TelemetryRule& GetTelemetryRule() const { return m_telemetryRule; }
81 template<typename TelemetryRuleT = TelemetryRule>
82 void SetTelemetryRule(TelemetryRuleT&& value) { m_telemetryRuleHasBeenSet = true; m_telemetryRule = std::forward<TelemetryRuleT>(value); }
83 template<typename TelemetryRuleT = TelemetryRule>
84 GetTelemetryRuleResult& WithTelemetryRule(TelemetryRuleT&& value) { SetTelemetryRule(std::forward<TelemetryRuleT>(value)); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template<typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
92 template<typename RequestIdT = Aws::String>
93 GetTelemetryRuleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
95 private:
96
97 Aws::String m_ruleName;
98 bool m_ruleNameHasBeenSet = false;
99
100 Aws::String m_ruleArn;
101 bool m_ruleArnHasBeenSet = false;
102
103 long long m_createdTimeStamp{0};
104 bool m_createdTimeStampHasBeenSet = false;
105
106 long long m_lastUpdateTimeStamp{0};
107 bool m_lastUpdateTimeStampHasBeenSet = false;
108
109 TelemetryRule m_telemetryRule;
110 bool m_telemetryRuleHasBeenSet = false;
111
112 Aws::String m_requestId;
113 bool m_requestIdHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ObservabilityAdmin
118} // namespace Aws
GetTelemetryRuleResult & WithCreatedTimeStamp(long long value)
AWS_OBSERVABILITYADMIN_API GetTelemetryRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTelemetryRuleResult & WithRuleArn(RuleArnT &&value)
GetTelemetryRuleResult & WithLastUpdateTimeStamp(long long value)
AWS_OBSERVABILITYADMIN_API GetTelemetryRuleResult()=default
GetTelemetryRuleResult & WithRequestId(RequestIdT &&value)
GetTelemetryRuleResult & WithTelemetryRule(TelemetryRuleT &&value)
AWS_OBSERVABILITYADMIN_API GetTelemetryRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTelemetryRuleResult & WithRuleName(RuleNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue