AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
GetAdminScopeResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/FMS_EXPORTS.h>
10#include <aws/fms/model/AdminScope.h>
11#include <aws/fms/model/OrganizationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace FMS {
25namespace Model {
27 public:
28 AWS_FMS_API GetAdminScopeResult() = default;
31
33
36 inline const AdminScope& GetAdminScope() const { return m_adminScope; }
37 template <typename AdminScopeT = AdminScope>
38 void SetAdminScope(AdminScopeT&& value) {
39 m_adminScopeHasBeenSet = true;
40 m_adminScope = std::forward<AdminScopeT>(value);
41 }
42 template <typename AdminScopeT = AdminScope>
43 GetAdminScopeResult& WithAdminScope(AdminScopeT&& value) {
44 SetAdminScope(std::forward<AdminScopeT>(value));
45 return *this;
46 }
48
50
61 inline OrganizationStatus GetStatus() const { return m_status; }
62 inline void SetStatus(OrganizationStatus value) {
63 m_statusHasBeenSet = true;
64 m_status = value;
65 }
67 SetStatus(value);
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 GetAdminScopeResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 AdminScope m_adminScope;
90
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_adminScopeHasBeenSet = false;
96 bool m_statusHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace FMS
102} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAdminScopeResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue