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