AWS SDK for C++  1.9.126
AWS SDK for C++
CreateMicrosoftADResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectoryService
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
44 
48  inline void SetDirectoryId(const Aws::String& value) { m_directoryId = value; }
49 
53  inline void SetDirectoryId(Aws::String&& value) { m_directoryId = std::move(value); }
54 
58  inline void SetDirectoryId(const char* value) { m_directoryId.assign(value); }
59 
63  inline CreateMicrosoftADResult& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
64 
68  inline CreateMicrosoftADResult& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
69 
73  inline CreateMicrosoftADResult& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_directoryId;
78  };
79 
80 } // namespace Model
81 } // namespace DirectoryService
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::CreateMicrosoftADResult::CreateMicrosoftADResult
CreateMicrosoftADResult()
Aws::DirectoryService::Model::CreateMicrosoftADResult::WithDirectoryId
CreateMicrosoftADResult & WithDirectoryId(Aws::String &&value)
Definition: CreateMicrosoftADResult.h:68
Aws::DirectoryService::Model::CreateMicrosoftADResult::WithDirectoryId
CreateMicrosoftADResult & WithDirectoryId(const char *value)
Definition: CreateMicrosoftADResult.h:73
Aws::DirectoryService::Model::CreateMicrosoftADResult::WithDirectoryId
CreateMicrosoftADResult & WithDirectoryId(const Aws::String &value)
Definition: CreateMicrosoftADResult.h:63
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::CreateMicrosoftADResult::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: CreateMicrosoftADResult.h:48
Aws::DirectoryService::Model::CreateMicrosoftADResult::operator=
CreateMicrosoftADResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::CreateMicrosoftADResult::CreateMicrosoftADResult
CreateMicrosoftADResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::CreateMicrosoftADResult::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: CreateMicrosoftADResult.h:53
AWSString.h
Aws::DirectoryService::Model::CreateMicrosoftADResult::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: CreateMicrosoftADResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::CreateMicrosoftADResult::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: CreateMicrosoftADResult.h:43
Aws::DirectoryService::Model::CreateMicrosoftADResult
Definition: CreateMicrosoftADResult.h:33