AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
StatsEvent.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
31 {
32 public:
36
38
39
43 inline const Stats& GetDetails() const{ return m_details; }
44
48 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
49
53 inline void SetDetails(const Stats& value) { m_detailsHasBeenSet = true; m_details = value; }
54
58 inline void SetDetails(Stats&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
59
63 inline StatsEvent& WithDetails(const Stats& value) { SetDetails(value); return *this;}
64
68 inline StatsEvent& WithDetails(Stats&& value) { SetDetails(std::move(value)); return *this;}
69
70 private:
71
72 Stats m_details;
73 bool m_detailsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace S3
78} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API StatsEvent(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API StatsEvent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StatsEvent & WithDetails(Stats &&value)
Definition: StatsEvent.h:68
void SetDetails(const Stats &value)
Definition: StatsEvent.h:53
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool DetailsHasBeenSet() const
Definition: StatsEvent.h:48
StatsEvent & WithDetails(const Stats &value)
Definition: StatsEvent.h:63
const Stats & GetDetails() const
Definition: StatsEvent.h:43
void SetDetails(Stats &&value)
Definition: StatsEvent.h:58