7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
10#include <aws/observabilityadmin/model/ResourceType.h>
11#include <aws/observabilityadmin/model/TelemetryState.h>
12#include <aws/observabilityadmin/model/TelemetryType.h>
23namespace ObservabilityAdmin {
47 template <
typename AccountIdentifierT = Aws::String>
49 m_accountIdentifierHasBeenSet =
true;
50 m_accountIdentifier = std::forward<AccountIdentifierT>(value);
52 template <
typename AccountIdentifierT = Aws::String>
66 template <
typename TelemetryConfigurationStateT = Aws::Map<TelemetryType, TelemetryState>>
68 m_telemetryConfigurationStateHasBeenSet =
true;
69 m_telemetryConfigurationState = std::forward<TelemetryConfigurationStateT>(value);
71 template <
typename TelemetryConfigurationStateT = Aws::Map<TelemetryType, TelemetryState>>
77 m_telemetryConfigurationStateHasBeenSet =
true;
78 m_telemetryConfigurationState.emplace(key, value);
92 m_resourceTypeHasBeenSet =
true;
93 m_resourceType = value;
108 template <
typename ResourceIdentifierT = Aws::String>
110 m_resourceIdentifierHasBeenSet =
true;
111 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
113 template <
typename ResourceIdentifierT = Aws::String>
127 template <
typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
129 m_resourceTagsHasBeenSet =
true;
130 m_resourceTags = std::forward<ResourceTagsT>(value);
132 template <
typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
137 template <
typename ResourceTagsKeyT = Aws::String,
typename ResourceTagsValueT = Aws::String>
139 m_resourceTagsHasBeenSet =
true;
140 m_resourceTags.emplace(std::forward<ResourceTagsKeyT>(key), std::forward<ResourceTagsValueT>(value));
153 m_lastUpdateTimeStampHasBeenSet =
true;
154 m_lastUpdateTimeStamp = value;
172 long long m_lastUpdateTimeStamp{0};
173 bool m_accountIdentifierHasBeenSet =
false;
174 bool m_telemetryConfigurationStateHasBeenSet =
false;
175 bool m_resourceTypeHasBeenSet =
false;
176 bool m_resourceIdentifierHasBeenSet =
false;
177 bool m_resourceTagsHasBeenSet =
false;
178 bool m_lastUpdateTimeStampHasBeenSet =
false;
TelemetryConfiguration & AddTelemetryConfigurationState(TelemetryType key, TelemetryState value)
TelemetryConfiguration & WithResourceIdentifier(ResourceIdentifierT &&value)
AWS_OBSERVABILITYADMIN_API TelemetryConfiguration()=default
void SetLastUpdateTimeStamp(long long value)
TelemetryConfiguration & WithAccountIdentifier(AccountIdentifierT &&value)
const Aws::Map< TelemetryType, TelemetryState > & GetTelemetryConfigurationState() const
TelemetryConfiguration & WithResourceType(ResourceType value)
void SetResourceTags(ResourceTagsT &&value)
bool ResourceTagsHasBeenSet() const
long long GetLastUpdateTimeStamp() const
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
const Aws::String & GetResourceIdentifier() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceType GetResourceType() const
bool LastUpdateTimeStampHasBeenSet() const
void SetResourceType(ResourceType value)
void SetTelemetryConfigurationState(TelemetryConfigurationStateT &&value)
TelemetryConfiguration & WithResourceTags(ResourceTagsT &&value)
bool TelemetryConfigurationStateHasBeenSet() const
AWS_OBSERVABILITYADMIN_API TelemetryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountIdentifier() const
TelemetryConfiguration & AddResourceTags(ResourceTagsKeyT &&key, ResourceTagsValueT &&value)
TelemetryConfiguration & WithTelemetryConfigurationState(TelemetryConfigurationStateT &&value)
bool ResourceIdentifierHasBeenSet() const
bool ResourceTypeHasBeenSet() const
void SetAccountIdentifier(AccountIdentifierT &&value)
void SetResourceIdentifier(ResourceIdentifierT &&value)
TelemetryConfiguration & WithLastUpdateTimeStamp(long long value)
AWS_OBSERVABILITYADMIN_API TelemetryConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdentifierHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue