AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
43 inline const Invitation& GetMaster() const{ return m_master; }
44 inline void SetMaster(const Invitation& value) { m_master = value; }
45 inline void SetMaster(Invitation&& value) { m_master = std::move(value); }
46 inline GetMasterAccountResult& WithMaster(const Invitation& value) { SetMaster(value); return *this;}
47 inline GetMasterAccountResult& WithMaster(Invitation&& value) { SetMaster(std::move(value)); return *this;}
49
51
52 inline const Aws::String& GetRequestId() const{ return m_requestId; }
53 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
54 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
55 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
56 inline GetMasterAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
57 inline GetMasterAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
58 inline GetMasterAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
60 private:
61
62 Invitation m_master;
63
64 Aws::String m_requestId;
65 };
66
67} // namespace Model
68} // namespace Macie2
69} // namespace Aws
GetMasterAccountResult & WithRequestId(Aws::String &&value)
AWS_MACIE2_API GetMasterAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMasterAccountResult & WithRequestId(const Aws::String &value)
GetMasterAccountResult & WithMaster(Invitation &&value)
GetMasterAccountResult & WithRequestId(const char *value)
GetMasterAccountResult & WithMaster(const Invitation &value)
AWS_MACIE2_API GetMasterAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue