7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/MetricStatus.h>
9#include <aws/connect/model/MetricType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
61 template <
typename IdT = Aws::String>
63 m_idHasBeenSet =
true;
64 m_id = std::forward<IdT>(value);
66 template <
typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
98 m_statusHasBeenSet =
true;
114 m_typeHasBeenSet =
true;
129 template <
typename LastModifiedRegionT = Aws::String>
131 m_lastModifiedRegionHasBeenSet =
true;
132 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
134 template <
typename LastModifiedRegionT = Aws::String>
147 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
149 m_lastModifiedTimeHasBeenSet =
true;
150 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
152 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
172 bool m_arnHasBeenSet =
false;
173 bool m_idHasBeenSet =
false;
174 bool m_nameHasBeenSet =
false;
175 bool m_statusHasBeenSet =
false;
176 bool m_typeHasBeenSet =
false;
177 bool m_lastModifiedRegionHasBeenSet =
false;
178 bool m_lastModifiedTimeHasBeenSet =
false;
MetricSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
MetricSummary & WithStatus(MetricStatus value)
bool StatusHasBeenSet() const
MetricSummary & WithArn(ArnT &&value)
void SetStatus(MetricStatus value)
bool LastModifiedRegionHasBeenSet() const
MetricType GetType() const
AWS_CONNECT_API MetricSummary(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
MetricSummary & WithType(MetricType value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_CONNECT_API MetricSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
bool TypeHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
MetricSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
bool NameHasBeenSet() const
MetricStatus GetStatus() const
MetricSummary & WithId(IdT &&value)
AWS_CONNECT_API MetricSummary()=default
void SetLastModifiedRegion(LastModifiedRegionT &&value)
bool IdHasBeenSet() const
const Aws::String & GetName() const
bool LastModifiedTimeHasBeenSet() const
void SetType(MetricType value)
const Aws::String & GetLastModifiedRegion() const
void SetName(NameT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MetricSummary & WithName(NameT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue