AWS SDK for C++  1.9.108
AWS SDK for C++
IKEVersionsRequestListValue.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetValue() const{ return m_value; }
47 
51  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
52 
56  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
57 
61  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
62 
66  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
67 
71  inline IKEVersionsRequestListValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
72 
76  inline IKEVersionsRequestListValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
77 
81  inline IKEVersionsRequestListValue& WithValue(const char* value) { SetValue(value); return *this;}
82 
83  private:
84 
85  Aws::String m_value;
86  bool m_valueHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::EC2::Model::IKEVersionsRequestListValue::operator=
IKEVersionsRequestListValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::IKEVersionsRequestListValue::SetValue
void SetValue(const char *value)
Definition: IKEVersionsRequestListValue.h:66
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::IKEVersionsRequestListValue
Definition: IKEVersionsRequestListValue.h:33
Aws::EC2::Model::IKEVersionsRequestListValue::SetValue
void SetValue(Aws::String &&value)
Definition: IKEVersionsRequestListValue.h:61
Aws::EC2::Model::IKEVersionsRequestListValue::WithValue
IKEVersionsRequestListValue & WithValue(const char *value)
Definition: IKEVersionsRequestListValue.h:81
Aws::EC2::Model::IKEVersionsRequestListValue::WithValue
IKEVersionsRequestListValue & WithValue(const Aws::String &value)
Definition: IKEVersionsRequestListValue.h:71
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::IKEVersionsRequestListValue::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::IKEVersionsRequestListValue::IKEVersionsRequestListValue
IKEVersionsRequestListValue(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::EC2::Model::IKEVersionsRequestListValue::WithValue
IKEVersionsRequestListValue & WithValue(Aws::String &&value)
Definition: IKEVersionsRequestListValue.h:76
Aws::EC2::Model::IKEVersionsRequestListValue::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: IKEVersionsRequestListValue.h:51
Aws::EC2::Model::IKEVersionsRequestListValue::IKEVersionsRequestListValue
IKEVersionsRequestListValue()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::IKEVersionsRequestListValue::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::IKEVersionsRequestListValue::SetValue
void SetValue(const Aws::String &value)
Definition: IKEVersionsRequestListValue.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::IKEVersionsRequestListValue::GetValue
const Aws::String & GetValue() const
Definition: IKEVersionsRequestListValue.h:46
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h