7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/model/OsType.h>
9#include <aws/application-insights/model/Tier.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ApplicationInsights {
44 template <
typename ComponentNameT = Aws::String>
46 m_componentNameHasBeenSet =
true;
47 m_componentName = std::forward<ComponentNameT>(value);
49 template <
typename ComponentNameT = Aws::String>
63 template <
typename ComponentRemarksT = Aws::String>
65 m_componentRemarksHasBeenSet =
true;
66 m_componentRemarks = std::forward<ComponentRemarksT>(value);
68 template <
typename ComponentRemarksT = Aws::String>
82 template <
typename ResourceTypeT = Aws::String>
84 m_resourceTypeHasBeenSet =
true;
85 m_resourceType = std::forward<ResourceTypeT>(value);
87 template <
typename ResourceTypeT = Aws::String>
101 m_osTypeHasBeenSet =
true;
117 m_tierHasBeenSet =
true;
133 m_monitorHasBeenSet =
true;
148 template <
typename DetectedWorkloadT = Aws::Map<Tier, Aws::Map<Aws::String, Aws::String>>>
150 m_detectedWorkloadHasBeenSet =
true;
151 m_detectedWorkload = std::forward<DetectedWorkloadT>(value);
153 template <
typename DetectedWorkloadT = Aws::Map<Tier, Aws::Map<Aws::String, Aws::String>>>
159 m_detectedWorkloadHasBeenSet =
true;
160 m_detectedWorkload.emplace(key, value);
175 bool m_monitor{
false};
178 bool m_componentNameHasBeenSet =
false;
179 bool m_componentRemarksHasBeenSet =
false;
180 bool m_resourceTypeHasBeenSet =
false;
181 bool m_osTypeHasBeenSet =
false;
182 bool m_tierHasBeenSet =
false;
183 bool m_monitorHasBeenSet =
false;
184 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