AWS SDK for C++  1.9.16
AWS SDK for C++
AcceptSharedDirectoryResult.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 {
28  {
29  public:
33 
34 
38  inline const SharedDirectory& GetSharedDirectory() const{ return m_sharedDirectory; }
39 
43  inline void SetSharedDirectory(const SharedDirectory& value) { m_sharedDirectory = value; }
44 
48  inline void SetSharedDirectory(SharedDirectory&& value) { m_sharedDirectory = std::move(value); }
49 
53  inline AcceptSharedDirectoryResult& WithSharedDirectory(const SharedDirectory& value) { SetSharedDirectory(value); return *this;}
54 
58  inline AcceptSharedDirectoryResult& WithSharedDirectory(SharedDirectory&& value) { SetSharedDirectory(std::move(value)); return *this;}
59 
60  private:
61 
62  SharedDirectory m_sharedDirectory;
63  };
64 
65 } // namespace Model
66 } // namespace DirectoryService
67 } // namespace Aws
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::GetSharedDirectory
const SharedDirectory & GetSharedDirectory() const
Definition: AcceptSharedDirectoryResult.h:38
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::AcceptSharedDirectoryResult
AcceptSharedDirectoryResult()
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::WithSharedDirectory
AcceptSharedDirectoryResult & WithSharedDirectory(SharedDirectory &&value)
Definition: AcceptSharedDirectoryResult.h:58
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::AcceptSharedDirectoryResult
AcceptSharedDirectoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::SetSharedDirectory
void SetSharedDirectory(SharedDirectory &&value)
Definition: AcceptSharedDirectoryResult.h:48
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::WithSharedDirectory
AcceptSharedDirectoryResult & WithSharedDirectory(const SharedDirectory &value)
Definition: AcceptSharedDirectoryResult.h:53
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::operator=
AcceptSharedDirectoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::AcceptSharedDirectoryResult
Definition: AcceptSharedDirectoryResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::AcceptSharedDirectoryResult::SetSharedDirectory
void SetSharedDirectory(const SharedDirectory &value)
Definition: AcceptSharedDirectoryResult.h:43
SharedDirectory.h
Aws::DirectoryService::Model::SharedDirectory
Definition: SharedDirectory.h:37