AWS SDK for C++  1.8.152
AWS SDK for C++
UnshareDirectoryResult.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 UnshareDirectoryResult& WithSharedDirectoryId(const Aws::String& value) { SetSharedDirectoryId(value); return *this;}
64 
69  inline UnshareDirectoryResult& WithSharedDirectoryId(Aws::String&& value) { SetSharedDirectoryId(std::move(value)); return *this;}
70 
75  inline UnshareDirectoryResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::UnshareDirectoryResult::WithSharedDirectoryId
UnshareDirectoryResult & WithSharedDirectoryId(const char *value)
Definition: UnshareDirectoryResult.h:75
Aws::DirectoryService::Model::UnshareDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(Aws::String &&value)
Definition: UnshareDirectoryResult.h:51
Aws::DirectoryService::Model::UnshareDirectoryResult::UnshareDirectoryResult
UnshareDirectoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::UnshareDirectoryResult
Definition: UnshareDirectoryResult.h:28
Aws::DirectoryService::Model::UnshareDirectoryResult::operator=
UnshareDirectoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::UnshareDirectoryResult::WithSharedDirectoryId
UnshareDirectoryResult & WithSharedDirectoryId(const Aws::String &value)
Definition: UnshareDirectoryResult.h:63
AWSString.h
Aws::DirectoryService::Model::UnshareDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(const Aws::String &value)
Definition: UnshareDirectoryResult.h:45
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::UnshareDirectoryResult::UnshareDirectoryResult
UnshareDirectoryResult()
Aws::DirectoryService::Model::UnshareDirectoryResult::GetSharedDirectoryId
const Aws::String & GetSharedDirectoryId() const
Definition: UnshareDirectoryResult.h:39
Aws::DirectoryService::Model::UnshareDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(const char *value)
Definition: UnshareDirectoryResult.h:57
Aws::DirectoryService::Model::UnshareDirectoryResult::WithSharedDirectoryId
UnshareDirectoryResult & WithSharedDirectoryId(Aws::String &&value)
Definition: UnshareDirectoryResult.h:69