AWS SDK for C++  1.9.72
AWS SDK for C++
Phase2DHGroupNumbersListValue.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.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 EC2
20 {
21 namespace Model
22 {
23 
31  {
32  public:
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 
44  inline int GetValue() const{ return m_value; }
45 
49  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
50 
54  inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
55 
59  inline Phase2DHGroupNumbersListValue& WithValue(int value) { SetValue(value); return *this;}
60 
61  private:
62 
63  int m_value;
64  bool m_valueHasBeenSet;
65  };
66 
67 } // namespace Model
68 } // namespace EC2
69 } // namespace Aws
Aws::EC2::Model::Phase2DHGroupNumbersListValue
Definition: Phase2DHGroupNumbersListValue.h:31
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::Phase2DHGroupNumbersListValue::Phase2DHGroupNumbersListValue
Phase2DHGroupNumbersListValue(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Phase2DHGroupNumbersListValue::operator=
Phase2DHGroupNumbersListValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Phase2DHGroupNumbersListValue::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Phase2DHGroupNumbersListValue.h:49
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Phase2DHGroupNumbersListValue::WithValue
Phase2DHGroupNumbersListValue & WithValue(int value)
Definition: Phase2DHGroupNumbersListValue.h:59
Aws::EC2::Model::Phase2DHGroupNumbersListValue::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::Phase2DHGroupNumbersListValue::Phase2DHGroupNumbersListValue
Phase2DHGroupNumbersListValue()
Aws::EC2::Model::Phase2DHGroupNumbersListValue::GetValue
int GetValue() const
Definition: Phase2DHGroupNumbersListValue.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::Phase2DHGroupNumbersListValue::SetValue
void SetValue(int value)
Definition: Phase2DHGroupNumbersListValue.h:54
Aws::EC2::Model::Phase2DHGroupNumbersListValue::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h