AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ProgressEvent.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
32 {
33 public:
37
39
40
44 inline const Progress& GetDetails() const{ return m_details; }
45
49 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
50
54 inline void SetDetails(const Progress& value) { m_detailsHasBeenSet = true; m_details = value; }
55
59 inline void SetDetails(Progress&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
60
64 inline ProgressEvent& WithDetails(const Progress& value) { SetDetails(value); return *this;}
65
69 inline ProgressEvent& WithDetails(Progress&& value) { SetDetails(std::move(value)); return *this;}
70
71 private:
72
73 Progress m_details;
74 bool m_detailsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace S3
79} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
ProgressEvent & WithDetails(Progress &&value)
Definition: ProgressEvent.h:69
ProgressEvent & WithDetails(const Progress &value)
Definition: ProgressEvent.h:64
void SetDetails(Progress &&value)
Definition: ProgressEvent.h:59
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetDetails(const Progress &value)
Definition: ProgressEvent.h:54
AWS_S3_API ProgressEvent(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API ProgressEvent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Progress & GetDetails() const
Definition: ProgressEvent.h:44