AWS SDK for C++  1.8.154
AWS SDK for C++
CreateComputerResult.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 Computer& GetComputer() const{ return m_computer; }
45 
49  inline void SetComputer(const Computer& value) { m_computer = value; }
50 
54  inline void SetComputer(Computer&& value) { m_computer = std::move(value); }
55 
59  inline CreateComputerResult& WithComputer(const Computer& value) { SetComputer(value); return *this;}
60 
64  inline CreateComputerResult& WithComputer(Computer&& value) { SetComputer(std::move(value)); return *this;}
65 
66  private:
67 
68  Computer m_computer;
69  };
70 
71 } // namespace Model
72 } // namespace DirectoryService
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::CreateComputerResult::WithComputer
CreateComputerResult & WithComputer(const Computer &value)
Definition: CreateComputerResult.h:59
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Computer.h
Aws::DirectoryService::Model::CreateComputerResult::SetComputer
void SetComputer(Computer &&value)
Definition: CreateComputerResult.h:54
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::CreateComputerResult::WithComputer
CreateComputerResult & WithComputer(Computer &&value)
Definition: CreateComputerResult.h:64
Aws::DirectoryService::Model::CreateComputerResult::CreateComputerResult
CreateComputerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::CreateComputerResult
Definition: CreateComputerResult.h:34
Aws::DirectoryService::Model::Computer
Definition: Computer.h:35
Aws::DirectoryService::Model::CreateComputerResult::GetComputer
const Computer & GetComputer() const
Definition: CreateComputerResult.h:44
Aws::DirectoryService::Model::CreateComputerResult::SetComputer
void SetComputer(const Computer &value)
Definition: CreateComputerResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::CreateComputerResult::CreateComputerResult
CreateComputerResult()
Aws::DirectoryService::Model::CreateComputerResult::operator=
CreateComputerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)