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>
23namespace ObservabilityAdmin
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>
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>
73 inline void SetCreatedTimeStamp(
long long value) { m_createdTimeStampHasBeenSet =
true; m_createdTimeStamp = value; }
83 inline void SetLastUpdateTimeStamp(
long long value) { m_lastUpdateTimeStampHasBeenSet =
true; m_lastUpdateTimeStamp = value; }
109 bool m_ruleNameHasBeenSet =
false;
112 bool m_ruleArnHasBeenSet =
false;
114 long long m_createdTimeStamp{0};
115 bool m_createdTimeStampHasBeenSet =
false;
117 long long m_lastUpdateTimeStamp{0};
118 bool m_lastUpdateTimeStampHasBeenSet =
false;
121 bool m_resourceTypeHasBeenSet =
false;
124 bool m_telemetryTypeHasBeenSet =
false;
bool RuleNameHasBeenSet() const
ResourceType GetResourceType() const
bool CreatedTimeStampHasBeenSet() const
TelemetryRuleSummary & WithTelemetryType(TelemetryType value)
long long GetLastUpdateTimeStamp() const
void SetLastUpdateTimeStamp(long long value)
bool RuleArnHasBeenSet() const
TelemetryRuleSummary & WithRuleName(RuleNameT &&value)
TelemetryType GetTelemetryType() const
TelemetryRuleSummary & WithResourceType(ResourceType value)
const Aws::String & GetRuleName() const
void SetResourceType(ResourceType value)
TelemetryRuleSummary & WithRuleArn(RuleArnT &&value)
bool ResourceTypeHasBeenSet() const
AWS_OBSERVABILITYADMIN_API TelemetryRuleSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleArn() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRuleArn(RuleArnT &&value)
long long GetCreatedTimeStamp() const
TelemetryRuleSummary & WithLastUpdateTimeStamp(long long value)
void SetTelemetryType(TelemetryType value)
void SetRuleName(RuleNameT &&value)
bool TelemetryTypeHasBeenSet() const
void SetCreatedTimeStamp(long long value)
bool LastUpdateTimeStampHasBeenSet() const
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