AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProgressEvent.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/Progress.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:
34 AWS_S3_API ProgressEvent();
35 AWS_S3_API ProgressEvent(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Progress& GetDetails() const{ return m_details; }
46 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
47 inline void SetDetails(const Progress& value) { m_detailsHasBeenSet = true; m_details = value; }
48 inline void SetDetails(Progress&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
49 inline ProgressEvent& WithDetails(const Progress& value) { SetDetails(value); return *this;}
50 inline ProgressEvent& WithDetails(Progress&& value) { SetDetails(std::move(value)); return *this;}
52 private:
53
54 Progress m_details;
55 bool m_detailsHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace S3
60} // namespace Aws
ProgressEvent & WithDetails(Progress &&value)
ProgressEvent & WithDetails(const Progress &value)
void SetDetails(Progress &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetDetails(const Progress &value)
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