AWS SDK for C++  1.9.16
AWS SDK for C++
ShareDirectoryResult.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 
39  inline const Aws::String& GetSharedDirectoryId() const{ return m_sharedDirectoryId; }
40 
45  inline void SetSharedDirectoryId(const Aws::String& value) { m_sharedDirectoryId = value; }
46 
51  inline void SetSharedDirectoryId(Aws::String&& value) { m_sharedDirectoryId = std::move(value); }
52 
57  inline void SetSharedDirectoryId(const char* value) { m_sharedDirectoryId.assign(value); }
58 
63  inline ShareDirectoryResult& WithSharedDirectoryId(const Aws::String& value) { SetSharedDirectoryId(value); return *this;}
64 
69  inline ShareDirectoryResult& WithSharedDirectoryId(Aws::String&& value) { SetSharedDirectoryId(std::move(value)); return *this;}
70 
75  inline ShareDirectoryResult& WithSharedDirectoryId(const char* value) { SetSharedDirectoryId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_sharedDirectoryId;
80  };
81 
82 } // namespace Model
83 } // namespace DirectoryService
84 } // namespace Aws
Aws::DirectoryService::Model::ShareDirectoryResult::ShareDirectoryResult
ShareDirectoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::ShareDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(const Aws::String &value)
Definition: ShareDirectoryResult.h:45
Aws::DirectoryService::Model::ShareDirectoryResult::operator=
ShareDirectoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::ShareDirectoryResult::ShareDirectoryResult
ShareDirectoryResult()
Aws::DirectoryService::Model::ShareDirectoryResult::WithSharedDirectoryId
ShareDirectoryResult & WithSharedDirectoryId(const char *value)
Definition: ShareDirectoryResult.h:75
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::ShareDirectoryResult::WithSharedDirectoryId
ShareDirectoryResult & WithSharedDirectoryId(Aws::String &&value)
Definition: ShareDirectoryResult.h:69
Aws::DirectoryService::Model::ShareDirectoryResult
Definition: ShareDirectoryResult.h:28
Aws::DirectoryService::Model::ShareDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(const char *value)
Definition: ShareDirectoryResult.h:57
AWSString.h
Aws::DirectoryService::Model::ShareDirectoryResult::GetSharedDirectoryId
const Aws::String & GetSharedDirectoryId() const
Definition: ShareDirectoryResult.h:39
Aws::DirectoryService::Model::ShareDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(Aws::String &&value)
Definition: ShareDirectoryResult.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::ShareDirectoryResult::WithSharedDirectoryId
ShareDirectoryResult & WithSharedDirectoryId(const Aws::String &value)
Definition: ShareDirectoryResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97