AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
InventorySchedule.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 InventoryFrequency& GetFrequency() const{ return m_frequency; }
45
49 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
50
54 inline void SetFrequency(const InventoryFrequency& value) { m_frequencyHasBeenSet = true; m_frequency = value; }
55
59 inline void SetFrequency(InventoryFrequency&& value) { m_frequencyHasBeenSet = true; m_frequency = std::move(value); }
60
64 inline InventorySchedule& WithFrequency(const InventoryFrequency& value) { SetFrequency(value); return *this;}
65
69 inline InventorySchedule& WithFrequency(InventoryFrequency&& value) { SetFrequency(std::move(value)); return *this;}
70
71 private:
72
73 InventoryFrequency m_frequency;
74 bool m_frequencyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace S3
79} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API InventorySchedule(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFrequency(const InventoryFrequency &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InventorySchedule & WithFrequency(InventoryFrequency &&value)
void SetFrequency(InventoryFrequency &&value)
AWS_S3_API InventorySchedule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InventorySchedule & WithFrequency(const InventoryFrequency &value)
const InventoryFrequency & GetFrequency() const