AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatsEvent.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/Stats.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_S3CRT_API StatsEvent();
34 AWS_S3CRT_API StatsEvent(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_S3CRT_API StatsEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
44 inline const Stats& GetDetails() const{ return m_details; }
45 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
46 inline void SetDetails(const Stats& value) { m_detailsHasBeenSet = true; m_details = value; }
47 inline void SetDetails(Stats&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
48 inline StatsEvent& WithDetails(const Stats& value) { SetDetails(value); return *this;}
49 inline StatsEvent& WithDetails(Stats&& value) { SetDetails(std::move(value)); return *this;}
51 private:
52
53 Stats m_details;
54 bool m_detailsHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace S3Crt
59} // namespace Aws
StatsEvent & WithDetails(Stats &&value)
Definition StatsEvent.h:49
void SetDetails(Stats &&value)
Definition StatsEvent.h:47
AWS_S3CRT_API StatsEvent(const Aws::Utils::Xml::XmlNode &xmlNode)
StatsEvent & WithDetails(const Stats &value)
Definition StatsEvent.h:48
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CRT_API StatsEvent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Stats & GetDetails() const
Definition StatsEvent.h:44
void SetDetails(const Stats &value)
Definition StatsEvent.h:46