AWS SDK for C++  1.9.126
AWS SDK for C++
CreateDirectoryResult.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 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
45 
49  inline void SetDirectoryId(const Aws::String& value) { m_directoryId = value; }
50 
54  inline void SetDirectoryId(Aws::String&& value) { m_directoryId = std::move(value); }
55 
59  inline void SetDirectoryId(const char* value) { m_directoryId.assign(value); }
60 
64  inline CreateDirectoryResult& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
65 
69  inline CreateDirectoryResult& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
70 
74  inline CreateDirectoryResult& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
75 
76  private:
77 
78  Aws::String m_directoryId;
79  };
80 
81 } // namespace Model
82 } // namespace DirectoryService
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::CreateDirectoryResult::WithDirectoryId
CreateDirectoryResult & WithDirectoryId(const Aws::String &value)
Definition: CreateDirectoryResult.h:64
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::CreateDirectoryResult
Definition: CreateDirectoryResult.h:34
Aws::DirectoryService::Model::CreateDirectoryResult::WithDirectoryId
CreateDirectoryResult & WithDirectoryId(const char *value)
Definition: CreateDirectoryResult.h:74
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::CreateDirectoryResult::WithDirectoryId
CreateDirectoryResult & WithDirectoryId(Aws::String &&value)
Definition: CreateDirectoryResult.h:69
Aws::DirectoryService::Model::CreateDirectoryResult::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: CreateDirectoryResult.h:59
Aws::DirectoryService::Model::CreateDirectoryResult::operator=
CreateDirectoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::CreateDirectoryResult::CreateDirectoryResult
CreateDirectoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::DirectoryService::Model::CreateDirectoryResult::CreateDirectoryResult
CreateDirectoryResult()
Aws::DirectoryService::Model::CreateDirectoryResult::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: CreateDirectoryResult.h:49
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::CreateDirectoryResult::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: CreateDirectoryResult.h:54
Aws::DirectoryService::Model::CreateDirectoryResult::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: CreateDirectoryResult.h:44