7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-insights/model/OsType.h>
10#include <aws/application-insights/model/Tier.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
24namespace ApplicationInsights
50 template<
typename ComponentNameT = Aws::String>
51 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet =
true; m_componentName = std::forward<ComponentNameT>(value); }
52 template<
typename ComponentNameT = Aws::String>
63 template<
typename ComponentRemarksT = Aws::String>
64 void SetComponentRemarks(ComponentRemarksT&& value) { m_componentRemarksHasBeenSet =
true; m_componentRemarks = std::forward<ComponentRemarksT>(value); }
65 template<
typename ComponentRemarksT = Aws::String>
76 template<
typename ResourceTypeT = Aws::String>
77 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
78 template<
typename ResourceTypeT = Aws::String>
88 inline void SetOsType(
OsType value) { m_osTypeHasBeenSet =
true; m_osType = value; }
98 inline void SetTier(
Tier value) { m_tierHasBeenSet =
true; m_tier = value; }
108 inline void SetMonitor(
bool value) { m_monitorHasBeenSet =
true; m_monitor = value; }
118 template<
typename DetectedWorkloadT = Aws::Map<Tier, Aws::Map<Aws::String, Aws::String>>>
119 void SetDetectedWorkload(DetectedWorkloadT&& value) { m_detectedWorkloadHasBeenSet =
true; m_detectedWorkload = std::forward<DetectedWorkloadT>(value); }
120 template<
typename DetectedWorkloadT = Aws::Map<Tier, Aws::Map<Aws::String, Aws::String>>>
123 m_detectedWorkloadHasBeenSet =
true; m_detectedWorkload.emplace(key, value);
return *
this;
129 bool m_componentNameHasBeenSet =
false;
132 bool m_componentRemarksHasBeenSet =
false;
135 bool m_resourceTypeHasBeenSet =
false;
138 bool m_osTypeHasBeenSet =
false;
141 bool m_tierHasBeenSet =
false;
143 bool m_monitor{
false};
144 bool m_monitorHasBeenSet =
false;
147 bool m_detectedWorkloadHasBeenSet =
false;
ApplicationComponent & WithComponentRemarks(ComponentRemarksT &&value)
ApplicationComponent & WithOsType(OsType value)
const Aws::Map< Tier, Aws::Map< Aws::String, Aws::String > > & GetDetectedWorkload() const
ApplicationComponent & WithTier(Tier value)
AWS_APPLICATIONINSIGHTS_API ApplicationComponent()=default
const Aws::String & GetComponentName() const
ApplicationComponent & WithDetectedWorkload(DetectedWorkloadT &&value)
bool ResourceTypeHasBeenSet() const
AWS_APPLICATIONINSIGHTS_API ApplicationComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceType() const
bool TierHasBeenSet() const
ApplicationComponent & WithResourceType(ResourceTypeT &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool DetectedWorkloadHasBeenSet() const
ApplicationComponent & WithMonitor(bool value)
ApplicationComponent & WithComponentName(ComponentNameT &&value)
ApplicationComponent & AddDetectedWorkload(Tier key, Aws::Map< Aws::String, Aws::String > value)
bool OsTypeHasBeenSet() const
const Aws::String & GetComponentRemarks() const
bool MonitorHasBeenSet() const
void SetComponentRemarks(ComponentRemarksT &&value)
bool ComponentRemarksHasBeenSet() const
void SetOsType(OsType value)
void SetMonitor(bool value)
AWS_APPLICATIONINSIGHTS_API ApplicationComponent(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(ResourceTypeT &&value)
void SetComponentName(ComponentNameT &&value)
void SetDetectedWorkload(DetectedWorkloadT &&value)
bool ComponentNameHasBeenSet() 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