AWS SDK for C++  1.9.71
AWS SDK for C++
Phase1DHGroupNumbersRequestListValue.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 Phase1DHGroupNumbersRequestListValue& 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::Phase1DHGroupNumbersRequestListValue
Definition: Phase1DHGroupNumbersRequestListValue.h:31
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::GetValue
int GetValue() const
Definition: Phase1DHGroupNumbersRequestListValue.h:44
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Phase1DHGroupNumbersRequestListValue.h:49
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::Phase1DHGroupNumbersRequestListValue
Phase1DHGroupNumbersRequestListValue(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::WithValue
Phase1DHGroupNumbersRequestListValue & WithValue(int value)
Definition: Phase1DHGroupNumbersRequestListValue.h:59
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::SetValue
void SetValue(int value)
Definition: Phase1DHGroupNumbersRequestListValue.h:54
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::Phase1DHGroupNumbersRequestListValue
Phase1DHGroupNumbersRequestListValue()
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::operator=
Phase1DHGroupNumbersRequestListValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Phase1DHGroupNumbersRequestListValue::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const