AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetAdministratorAccountResult.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 GetAdministratorAccountResult() = default;
34
35
37
43 inline const Invitation& GetAdministrator() const { return m_administrator; }
44 template<typename AdministratorT = Invitation>
45 void SetAdministrator(AdministratorT&& value) { m_administratorHasBeenSet = true; m_administrator = std::forward<AdministratorT>(value); }
46 template<typename AdministratorT = Invitation>
47 GetAdministratorAccountResult& WithAdministrator(AdministratorT&& value) { SetAdministrator(std::forward<AdministratorT>(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 GetAdministratorAccountResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
58 private:
59
60 Invitation m_administrator;
61 bool m_administratorHasBeenSet = 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 GetAdministratorAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAdministratorAccountResult & WithRequestId(RequestIdT &&value)
GetAdministratorAccountResult & WithAdministrator(AdministratorT &&value)
AWS_MACIE2_API GetAdministratorAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACIE2_API GetAdministratorAccountResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue