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/TelemetrySourceType.h>
12#include <aws/observabilityadmin/model/TelemetryState.h>
13#include <aws/observabilityadmin/model/TelemetryType.h>
24namespace ObservabilityAdmin {
48 template <
typename AccountIdentifierT = Aws::String>
50 m_accountIdentifierHasBeenSet =
true;
51 m_accountIdentifier = std::forward<AccountIdentifierT>(value);
53 template <
typename AccountIdentifierT = Aws::String>
67 template <
typename TelemetryConfigurationStateT = Aws::Map<TelemetryType, TelemetryState>>
69 m_telemetryConfigurationStateHasBeenSet =
true;
70 m_telemetryConfigurationState = std::forward<TelemetryConfigurationStateT>(value);
72 template <
typename TelemetryConfigurationStateT = Aws::Map<TelemetryType, TelemetryState>>
78 m_telemetryConfigurationStateHasBeenSet =
true;
79 m_telemetryConfigurationState.emplace(key, value);
93 m_resourceTypeHasBeenSet =
true;
94 m_resourceType = value;
109 template <
typename ResourceIdentifierT = Aws::String>
111 m_resourceIdentifierHasBeenSet =
true;
112 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
114 template <
typename ResourceIdentifierT = Aws::String>
128 template <
typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
130 m_resourceTagsHasBeenSet =
true;
131 m_resourceTags = std::forward<ResourceTagsT>(value);
133 template <
typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
138 template <
typename ResourceTagsKeyT = Aws::String,
typename ResourceTagsValueT = Aws::String>
140 m_resourceTagsHasBeenSet =
true;
141 m_resourceTags.emplace(std::forward<ResourceTagsKeyT>(key), std::forward<ResourceTagsValueT>(value));
154 m_lastUpdateTimeStampHasBeenSet =
true;
155 m_lastUpdateTimeStamp = value;
168 m_telemetrySourceTypeHasBeenSet =
true;
169 m_telemetrySourceType = value;
187 long long m_lastUpdateTimeStamp{0};
190 bool m_accountIdentifierHasBeenSet =
false;
191 bool m_telemetryConfigurationStateHasBeenSet =
false;
192 bool m_resourceTypeHasBeenSet =
false;
193 bool m_resourceIdentifierHasBeenSet =
false;
194 bool m_resourceTagsHasBeenSet =
false;
195 bool m_lastUpdateTimeStampHasBeenSet =
false;
196 bool m_telemetrySourceTypeHasBeenSet =
false;
TelemetrySourceType GetTelemetrySourceType() const
TelemetryConfiguration & AddTelemetryConfigurationState(TelemetryType key, TelemetryState value)
TelemetryConfiguration & WithTelemetrySourceType(TelemetrySourceType 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)
bool TelemetrySourceTypeHasBeenSet() const
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
void SetTelemetrySourceType(TelemetrySourceType value)
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