AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetAdminAccountResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fms/FMS_EXPORTS.h>
9#include <aws/fms/model/AccountRoleStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace FMS {
23namespace Model {
25 public:
26 AWS_FMS_API GetAdminAccountResult() = default;
29
31
34 inline const Aws::String& GetAdminAccount() const { return m_adminAccount; }
35 template <typename AdminAccountT = Aws::String>
36 void SetAdminAccount(AdminAccountT&& value) {
37 m_adminAccountHasBeenSet = true;
38 m_adminAccount = std::forward<AdminAccountT>(value);
39 }
40 template <typename AdminAccountT = Aws::String>
41 GetAdminAccountResult& WithAdminAccount(AdminAccountT&& value) {
42 SetAdminAccount(std::forward<AdminAccountT>(value));
43 return *this;
44 }
46
48
52 inline AccountRoleStatus GetRoleStatus() const { return m_roleStatus; }
53 inline void SetRoleStatus(AccountRoleStatus value) {
54 m_roleStatusHasBeenSet = true;
55 m_roleStatus = value;
56 }
58 SetRoleStatus(value);
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
72 GetAdminAccountResult& WithRequestId(RequestIdT&& value) {
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_adminAccount;
79
81
82 Aws::String m_requestId;
83 bool m_adminAccountHasBeenSet = false;
84 bool m_roleStatusHasBeenSet = false;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace FMS
90} // namespace Aws
AWS_FMS_API GetAdminAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAdminAccount() const
GetAdminAccountResult & WithAdminAccount(AdminAccountT &&value)
AWS_FMS_API GetAdminAccountResult()=default
GetAdminAccountResult & WithRequestId(RequestIdT &&value)
AWS_FMS_API GetAdminAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoleStatus(AccountRoleStatus value)
void SetAdminAccount(AdminAccountT &&value)
GetAdminAccountResult & WithRoleStatus(AccountRoleStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue