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
52 inline void SetComponentName(
const char* value) { m_componentNameHasBeenSet =
true; m_componentName.assign(value); }
67 inline void SetComponentRemarks(
const char* value) { m_componentRemarksHasBeenSet =
true; m_componentRemarks.assign(value); }
82 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
94 inline void SetOsType(
const OsType& value) { m_osTypeHasBeenSet =
true; m_osType = value; }
95 inline void SetOsType(
OsType&& value) { m_osTypeHasBeenSet =
true; m_osType = std::move(value); }
106 inline void SetTier(
const Tier& value) { m_tierHasBeenSet =
true; m_tier = value; }
107 inline void SetTier(
Tier&& value) { m_tierHasBeenSet =
true; m_tier = std::move(value); }
118 inline void SetMonitor(
bool value) { m_monitorHasBeenSet =
true; m_monitor = value; }
140 bool m_componentNameHasBeenSet =
false;
143 bool m_componentRemarksHasBeenSet =
false;
146 bool m_resourceTypeHasBeenSet =
false;
149 bool m_osTypeHasBeenSet =
false;
152 bool m_tierHasBeenSet =
false;
155 bool m_monitorHasBeenSet =
false;
158 bool m_detectedWorkloadHasBeenSet =
false;
void SetComponentName(const char *value)
ApplicationComponent & WithTier(const Tier &value)
void SetOsType(const OsType &value)
ApplicationComponent & WithTier(Tier &&value)
const Tier & GetTier() const
ApplicationComponent & WithComponentName(const char *value)
void SetTier(Tier &&value)
ApplicationComponent & WithComponentName(const Aws::String &value)
const OsType & GetOsType() const
const Aws::Map< Tier, Aws::Map< Aws::String, Aws::String > > & GetDetectedWorkload() const
void SetTier(const Tier &value)
void SetComponentName(const Aws::String &value)
void SetResourceType(const Aws::String &value)
ApplicationComponent & WithOsType(OsType &&value)
void SetResourceType(const char *value)
ApplicationComponent & WithResourceType(const char *value)
void SetComponentName(Aws::String &&value)
const Aws::String & GetComponentName() const
ApplicationComponent & AddDetectedWorkload(Tier &&key, const Aws::Map< Aws::String, Aws::String > &value)
bool ResourceTypeHasBeenSet() const
ApplicationComponent & AddDetectedWorkload(const Tier &key, const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPLICATIONINSIGHTS_API ApplicationComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationComponent & WithResourceType(const Aws::String &value)
const Aws::String & GetResourceType() const
void SetComponentRemarks(const char *value)
ApplicationComponent & WithComponentRemarks(const char *value)
void SetComponentRemarks(const Aws::String &value)
ApplicationComponent & WithComponentName(Aws::String &&value)
void SetDetectedWorkload(const Aws::Map< Tier, Aws::Map< Aws::String, Aws::String > > &value)
void SetOsType(OsType &&value)
ApplicationComponent & AddDetectedWorkload(const Tier &key, Aws::Map< Aws::String, Aws::String > &&value)
bool TierHasBeenSet() const
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool DetectedWorkloadHasBeenSet() const
void SetComponentRemarks(Aws::String &&value)
void SetResourceType(Aws::String &&value)
ApplicationComponent & WithMonitor(bool value)
void SetDetectedWorkload(Aws::Map< Tier, Aws::Map< Aws::String, Aws::String > > &&value)
bool OsTypeHasBeenSet() const
const Aws::String & GetComponentRemarks() const
bool MonitorHasBeenSet() const
bool ComponentRemarksHasBeenSet() const
AWS_APPLICATIONINSIGHTS_API ApplicationComponent()
ApplicationComponent & WithDetectedWorkload(Aws::Map< Tier, Aws::Map< Aws::String, Aws::String > > &&value)
ApplicationComponent & AddDetectedWorkload(Tier &&key, Aws::Map< Aws::String, Aws::String > &&value)
void SetMonitor(bool value)
ApplicationComponent & WithComponentRemarks(Aws::String &&value)
ApplicationComponent & WithDetectedWorkload(const Aws::Map< Tier, Aws::Map< Aws::String, Aws::String > > &value)
AWS_APPLICATIONINSIGHTS_API ApplicationComponent(Aws::Utils::Json::JsonView jsonValue)
ApplicationComponent & WithResourceType(Aws::String &&value)
ApplicationComponent & WithComponentRemarks(const Aws::String &value)
ApplicationComponent & WithOsType(const OsType &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