AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RequestTimeout.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/sdb/SimpleDB_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace SimpleDB {
17namespace Model {
18
26 public:
27 AWS_SIMPLEDB_API RequestTimeout() = default;
28 AWS_SIMPLEDB_API RequestTimeout(const Aws::Utils::Xml::XmlNode& xmlNode);
29 AWS_SIMPLEDB_API RequestTimeout& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_SIMPLEDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_SIMPLEDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
36 inline double GetBoxUsage() const { return m_boxUsage; }
37 inline bool BoxUsageHasBeenSet() const { return m_boxUsageHasBeenSet; }
38 inline void SetBoxUsage(double value) {
39 m_boxUsageHasBeenSet = true;
40 m_boxUsage = value;
41 }
42 inline RequestTimeout& WithBoxUsage(double value) {
43 SetBoxUsage(value);
44 return *this;
45 }
47 private:
48 double m_boxUsage{0.0};
49 bool m_boxUsageHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace SimpleDB
54} // namespace Aws
AWS_SIMPLEDB_API RequestTimeout(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SIMPLEDB_API RequestTimeout()=default
RequestTimeout & WithBoxUsage(double value)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SIMPLEDB_API RequestTimeout & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream