AWS SDK for C++  1.9.74
AWS SDK for C++
PrivateDnsDetails.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& GetPrivateDnsName() const{ return m_privateDnsName; }
47 
51  inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
52 
56  inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
57 
61  inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
62 
66  inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
67 
71  inline PrivateDnsDetails& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;}
72 
76  inline PrivateDnsDetails& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;}
77 
81  inline PrivateDnsDetails& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
82 
83  private:
84 
85  Aws::String m_privateDnsName;
86  bool m_privateDnsNameHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::EC2::Model::PrivateDnsDetails::SetPrivateDnsName
void SetPrivateDnsName(Aws::String &&value)
Definition: PrivateDnsDetails.h:61
Aws::EC2::Model::PrivateDnsDetails::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::PrivateDnsDetails::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::PrivateDnsDetails::SetPrivateDnsName
void SetPrivateDnsName(const char *value)
Definition: PrivateDnsDetails.h:66
Aws::EC2::Model::PrivateDnsDetails::WithPrivateDnsName
PrivateDnsDetails & WithPrivateDnsName(const Aws::String &value)
Definition: PrivateDnsDetails.h:71
Aws::EC2::Model::PrivateDnsDetails
Definition: PrivateDnsDetails.h:33
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::PrivateDnsDetails::WithPrivateDnsName
PrivateDnsDetails & WithPrivateDnsName(const char *value)
Definition: PrivateDnsDetails.h:81
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::PrivateDnsDetails::GetPrivateDnsName
const Aws::String & GetPrivateDnsName() const
Definition: PrivateDnsDetails.h:46
AWSString.h
Aws::EC2::Model::PrivateDnsDetails::PrivateDnsDetails
PrivateDnsDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PrivateDnsDetails::PrivateDnsNameHasBeenSet
bool PrivateDnsNameHasBeenSet() const
Definition: PrivateDnsDetails.h:51
Aws::EC2::Model::PrivateDnsDetails::WithPrivateDnsName
PrivateDnsDetails & WithPrivateDnsName(Aws::String &&value)
Definition: PrivateDnsDetails.h:76
Aws::EC2::Model::PrivateDnsDetails::PrivateDnsDetails
PrivateDnsDetails()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::PrivateDnsDetails::operator=
PrivateDnsDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::PrivateDnsDetails::SetPrivateDnsName
void SetPrivateDnsName(const Aws::String &value)
Definition: PrivateDnsDetails.h:56
EC2_EXPORTS.h