1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/sdb/SimpleDB_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16   class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace SimpleDB
20 {
21 namespace Model
22 {
23 
24   /**
25    * <p>The request must contain the specified missing parameter.</p><p><h3>See
26    * Also:</h3>   <a
27    * href="http://docs.aws.amazon.com/goto/WebAPI/sdb-2009-04-15/MissingParameter">AWS
28    * API Reference</a></p>
29    */
30   class AWS_SIMPLEDB_API MissingParameter
31   {
32   public:
33     MissingParameter();
34     MissingParameter(const Aws::Utils::Xml::XmlNode& xmlNode);
35     MissingParameter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36 
37     void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38     void OutputToStream(Aws::OStream& oStream, const char* location) const;
39 
40 
41 
GetBoxUsage()42     inline double GetBoxUsage() const{ return m_boxUsage; }
43 
44 
BoxUsageHasBeenSet()45     inline bool BoxUsageHasBeenSet() const { return m_boxUsageHasBeenSet; }
46 
47 
SetBoxUsage(double value)48     inline void SetBoxUsage(double value) { m_boxUsageHasBeenSet = true; m_boxUsage = value; }
49 
50 
WithBoxUsage(double value)51     inline MissingParameter& WithBoxUsage(double value) { SetBoxUsage(value); return *this;}
52 
53   private:
54 
55     double m_boxUsage;
56     bool m_boxUsageHasBeenSet;
57   };
58 
59 } // namespace Model
60 } // namespace SimpleDB
61 } // namespace Aws
62