AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetAdminScopeResult.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/AdminScope.h>
10#include <aws/fms/model/OrganizationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace FMS {
24namespace Model {
26 public:
27 AWS_FMS_API GetAdminScopeResult() = default;
30
32
35 inline const AdminScope& GetAdminScope() const { return m_adminScope; }
36 template <typename AdminScopeT = AdminScope>
37 void SetAdminScope(AdminScopeT&& value) {
38 m_adminScopeHasBeenSet = true;
39 m_adminScope = std::forward<AdminScopeT>(value);
40 }
41 template <typename AdminScopeT = AdminScope>
42 GetAdminScopeResult& WithAdminScope(AdminScopeT&& value) {
43 SetAdminScope(std::forward<AdminScopeT>(value));
44 return *this;
45 }
47
49
60 inline OrganizationStatus GetStatus() const { return m_status; }
61 inline void SetStatus(OrganizationStatus value) {
62 m_statusHasBeenSet = true;
63 m_status = value;
64 }
66 SetStatus(value);
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
80 GetAdminScopeResult& WithRequestId(RequestIdT&& value) {
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 AdminScope m_adminScope;
87
89
90 Aws::String m_requestId;
91 bool m_adminScopeHasBeenSet = false;
92 bool m_statusHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace FMS
98} // namespace Aws
void SetStatus(OrganizationStatus value)
AWS_FMS_API GetAdminScopeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FMS_API GetAdminScopeResult()=default
const AdminScope & GetAdminScope() const
void SetAdminScope(AdminScopeT &&value)
GetAdminScopeResult & WithStatus(OrganizationStatus value)
const Aws::String & GetRequestId() const
GetAdminScopeResult & WithAdminScope(AdminScopeT &&value)
AWS_FMS_API GetAdminScopeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAdminScopeResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue