AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAdminScopeResult.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/AdminScope.h>
9#include <aws/fms/model/OrganizationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace FMS
26{
27namespace Model
28{
30 {
31 public:
32 AWS_FMS_API GetAdminScopeResult();
35
36
38
41 inline const AdminScope& GetAdminScope() const{ return m_adminScope; }
42 inline void SetAdminScope(const AdminScope& value) { m_adminScope = value; }
43 inline void SetAdminScope(AdminScope&& value) { m_adminScope = std::move(value); }
44 inline GetAdminScopeResult& WithAdminScope(const AdminScope& value) { SetAdminScope(value); return *this;}
45 inline GetAdminScopeResult& WithAdminScope(AdminScope&& value) { SetAdminScope(std::move(value)); return *this;}
47
49
60 inline const OrganizationStatus& GetStatus() const{ return m_status; }
61 inline void SetStatus(const OrganizationStatus& value) { m_status = value; }
62 inline void SetStatus(OrganizationStatus&& value) { m_status = std::move(value); }
63 inline GetAdminScopeResult& WithStatus(const OrganizationStatus& value) { SetStatus(value); return *this;}
64 inline GetAdminScopeResult& WithStatus(OrganizationStatus&& value) { SetStatus(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetAdminScopeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetAdminScopeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetAdminScopeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 AdminScope m_adminScope;
80
81 OrganizationStatus m_status;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace FMS
88} // namespace Aws
void SetRequestId(const Aws::String &value)
GetAdminScopeResult & WithAdminScope(const AdminScope &value)
GetAdminScopeResult & WithRequestId(const char *value)
GetAdminScopeResult & WithStatus(OrganizationStatus &&value)
AWS_FMS_API GetAdminScopeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const AdminScope & GetAdminScope() const
GetAdminScopeResult & WithStatus(const OrganizationStatus &value)
GetAdminScopeResult & WithAdminScope(AdminScope &&value)
GetAdminScopeResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
const OrganizationStatus & GetStatus() const
AWS_FMS_API GetAdminScopeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAdminScope(const AdminScope &value)
GetAdminScopeResult & WithRequestId(Aws::String &&value)
void SetStatus(OrganizationStatus &&value)
void SetStatus(const OrganizationStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue