AWS SDK for C++  1.9.16
AWS SDK for C++
GetMasterAccountResult.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 GuardDuty
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Master& GetMaster() const{ return m_master; }
39 
43  inline void SetMaster(const Master& value) { m_master = value; }
44 
48  inline void SetMaster(Master&& value) { m_master = std::move(value); }
49 
53  inline GetMasterAccountResult& WithMaster(const Master& value) { SetMaster(value); return *this;}
54 
58  inline GetMasterAccountResult& WithMaster(Master&& value) { SetMaster(std::move(value)); return *this;}
59 
60  private:
61 
62  Master m_master;
63  };
64 
65 } // namespace Model
66 } // namespace GuardDuty
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::GetMasterAccountResult::GetMasterAccountResult
GetMasterAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetMasterAccountResult::operator=
GetMasterAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetMasterAccountResult::SetMaster
void SetMaster(Master &&value)
Definition: GetMasterAccountResult.h:48
Master.h
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GetMasterAccountResult::SetMaster
void SetMaster(const Master &value)
Definition: GetMasterAccountResult.h:43
Aws::GuardDuty::Model::Master
Definition: Master.h:33
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetMasterAccountResult::WithMaster
GetMasterAccountResult & WithMaster(const Master &value)
Definition: GetMasterAccountResult.h:53
Aws::GuardDuty::Model::GetMasterAccountResult::GetMasterAccountResult
GetMasterAccountResult()
Aws::GuardDuty::Model::GetMasterAccountResult
Definition: GetMasterAccountResult.h:28
Aws::GuardDuty::Model::GetMasterAccountResult::GetMaster
const Master & GetMaster() const
Definition: GetMasterAccountResult.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::GetMasterAccountResult::WithMaster
GetMasterAccountResult & WithMaster(Master &&value)
Definition: GetMasterAccountResult.h:58