AWS SDK for C++  1.9.131
AWS SDK for C++
RejectSharedDirectoryResult.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 Aws::String& GetSharedDirectoryId() const{ return m_sharedDirectoryId; }
39 
43  inline void SetSharedDirectoryId(const Aws::String& value) { m_sharedDirectoryId = value; }
44 
48  inline void SetSharedDirectoryId(Aws::String&& value) { m_sharedDirectoryId = std::move(value); }
49 
53  inline void SetSharedDirectoryId(const char* value) { m_sharedDirectoryId.assign(value); }
54 
58  inline RejectSharedDirectoryResult& WithSharedDirectoryId(const Aws::String& value) { SetSharedDirectoryId(value); return *this;}
59 
63  inline RejectSharedDirectoryResult& WithSharedDirectoryId(Aws::String&& value) { SetSharedDirectoryId(std::move(value)); return *this;}
64 
68  inline RejectSharedDirectoryResult& WithSharedDirectoryId(const char* value) { SetSharedDirectoryId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_sharedDirectoryId;
73  };
74 
75 } // namespace Model
76 } // namespace DirectoryService
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::RejectSharedDirectoryResult::operator=
RejectSharedDirectoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::RejectSharedDirectoryResult::WithSharedDirectoryId
RejectSharedDirectoryResult & WithSharedDirectoryId(const char *value)
Definition: RejectSharedDirectoryResult.h:68
Aws::DirectoryService::Model::RejectSharedDirectoryResult::GetSharedDirectoryId
const Aws::String & GetSharedDirectoryId() const
Definition: RejectSharedDirectoryResult.h:38
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::RejectSharedDirectoryResult
Definition: RejectSharedDirectoryResult.h:28
Aws::DirectoryService::Model::RejectSharedDirectoryResult::RejectSharedDirectoryResult
RejectSharedDirectoryResult()
Aws::DirectoryService::Model::RejectSharedDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(const Aws::String &value)
Definition: RejectSharedDirectoryResult.h:43
AWSString.h
Aws::DirectoryService::Model::RejectSharedDirectoryResult::WithSharedDirectoryId
RejectSharedDirectoryResult & WithSharedDirectoryId(const Aws::String &value)
Definition: RejectSharedDirectoryResult.h:58
Aws::DirectoryService::Model::RejectSharedDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(const char *value)
Definition: RejectSharedDirectoryResult.h:53
Aws::DirectoryService::Model::RejectSharedDirectoryResult::WithSharedDirectoryId
RejectSharedDirectoryResult & WithSharedDirectoryId(Aws::String &&value)
Definition: RejectSharedDirectoryResult.h:63
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::RejectSharedDirectoryResult::SetSharedDirectoryId
void SetSharedDirectoryId(Aws::String &&value)
Definition: RejectSharedDirectoryResult.h:48
Aws::DirectoryService::Model::RejectSharedDirectoryResult::RejectSharedDirectoryResult
RejectSharedDirectoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)