7#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/observabilityadmin/model/ResourceType.h>
11#include <aws/observabilityadmin/model/TelemetryType.h>
12#include <aws/observabilityadmin/model/TelemetryState.h>
25namespace ObservabilityAdmin
53 template<
typename AccountIdentifierT = Aws::String>
54 void SetAccountIdentifier(AccountIdentifierT&& value) { m_accountIdentifierHasBeenSet =
true; m_accountIdentifier = std::forward<AccountIdentifierT>(value); }
55 template<
typename AccountIdentifierT = Aws::String>
66 template<
typename TelemetryConfigurationStateT = Aws::Map<TelemetryType, TelemetryState>>
67 void SetTelemetryConfigurationState(TelemetryConfigurationStateT&& value) { m_telemetryConfigurationStateHasBeenSet =
true; m_telemetryConfigurationState = std::forward<TelemetryConfigurationStateT>(value); }
68 template<
typename TelemetryConfigurationStateT = Aws::Map<TelemetryType, TelemetryState>>
71 m_telemetryConfigurationStateHasBeenSet =
true; m_telemetryConfigurationState.emplace(key, value);
return *
this;
92 template<
typename ResourceIdentifierT = Aws::String>
93 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet =
true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
94 template<
typename ResourceIdentifierT = Aws::String>
105 template<
typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
106 void SetResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags = std::forward<ResourceTagsT>(value); }
107 template<
typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
109 template<
typename ResourceTagsKeyT = Aws::String,
typename ResourceTagsValueT = Aws::String>
111 m_resourceTagsHasBeenSet =
true; m_resourceTags.emplace(std::forward<ResourceTagsKeyT>(key), std::forward<ResourceTagsValueT>(value));
return *
this;
122 inline void SetLastUpdateTimeStamp(
long long value) { m_lastUpdateTimeStampHasBeenSet =
true; m_lastUpdateTimeStamp = value; }
128 bool m_accountIdentifierHasBeenSet =
false;
131 bool m_telemetryConfigurationStateHasBeenSet =
false;
134 bool m_resourceTypeHasBeenSet =
false;
137 bool m_resourceIdentifierHasBeenSet =
false;
140 bool m_resourceTagsHasBeenSet =
false;
142 long long m_lastUpdateTimeStamp{0};
143 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