7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/datasync/model/P95Metrics.h>
10#include <aws/datasync/model/Capacity.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/datasync/model/DiscoveryResourceType.h>
79 inline void SetCapacity(
Capacity&& value) { m_capacityHasBeenSet =
true; m_capacity = std::move(value); }
93 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
113 bool m_timestampHasBeenSet =
false;
116 bool m_p95MetricsHasBeenSet =
false;
119 bool m_capacityHasBeenSet =
false;
122 bool m_resourceIdHasBeenSet =
false;
125 bool m_resourceTypeHasBeenSet =
false;
const Aws::Utils::DateTime & GetTimestamp() const
ResourceMetrics & WithP95Metrics(P95Metrics &&value)
const Capacity & GetCapacity() const
bool ResourceTypeHasBeenSet() const
ResourceMetrics & WithResourceId(Aws::String &&value)
void SetResourceType(const DiscoveryResourceType &value)
ResourceMetrics & WithTimestamp(const Aws::Utils::DateTime &value)
ResourceMetrics & WithCapacity(Capacity &&value)
void SetResourceId(const char *value)
AWS_DATASYNC_API ResourceMetrics()
bool P95MetricsHasBeenSet() const
bool TimestampHasBeenSet() const
bool CapacityHasBeenSet() const
void SetResourceId(const Aws::String &value)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceId() const
AWS_DATASYNC_API ResourceMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(DiscoveryResourceType &&value)
void SetCapacity(const Capacity &value)
void SetP95Metrics(const P95Metrics &value)
void SetTimestamp(Aws::Utils::DateTime &&value)
ResourceMetrics & WithResourceId(const char *value)
const P95Metrics & GetP95Metrics() const
void SetP95Metrics(P95Metrics &&value)
ResourceMetrics & WithP95Metrics(const P95Metrics &value)
ResourceMetrics & WithTimestamp(Aws::Utils::DateTime &&value)
void SetResourceId(Aws::String &&value)
ResourceMetrics & WithResourceType(const DiscoveryResourceType &value)
void SetTimestamp(const Aws::Utils::DateTime &value)
ResourceMetrics & WithResourceType(DiscoveryResourceType &&value)
const DiscoveryResourceType & GetResourceType() const
bool ResourceIdHasBeenSet() const
ResourceMetrics & WithCapacity(const Capacity &value)
AWS_DATASYNC_API ResourceMetrics(Aws::Utils::Json::JsonView jsonValue)
void SetCapacity(Capacity &&value)
ResourceMetrics & WithResourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue