AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetMasterAccountResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/Invitation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Macie2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_MACIE2_API GetMasterAccountResult() = default;
34
35
37
43 inline const Invitation& GetMaster() const { return m_master; }
44 template<typename MasterT = Invitation>
45 void SetMaster(MasterT&& value) { m_masterHasBeenSet = true; m_master = std::forward<MasterT>(value); }
46 template<typename MasterT = Invitation>
47 GetMasterAccountResult& WithMaster(MasterT&& value) { SetMaster(std::forward<MasterT>(value)); return *this;}
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template<typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
55 template<typename RequestIdT = Aws::String>
56 GetMasterAccountResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
58 private:
59
60 Invitation m_master;
61 bool m_masterHasBeenSet = false;
62
63 Aws::String m_requestId;
64 bool m_requestIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Macie2
69} // namespace Aws
AWS_MACIE2_API GetMasterAccountResult()=default
AWS_MACIE2_API GetMasterAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMasterAccountResult & WithMaster(MasterT &&value)
AWS_MACIE2_API GetMasterAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMasterAccountResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue