AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdminScope.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/AccountScope.h>
9#include <aws/fms/model/OrganizationalUnitScope.h>
10#include <aws/fms/model/RegionScope.h>
11#include <aws/fms/model/PolicyTypeScope.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FMS
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_FMS_API AdminScope();
42 AWS_FMS_API AdminScope(Aws::Utils::Json::JsonView jsonValue);
45
46
48
52 inline const AccountScope& GetAccountScope() const{ return m_accountScope; }
53 inline bool AccountScopeHasBeenSet() const { return m_accountScopeHasBeenSet; }
54 inline void SetAccountScope(const AccountScope& value) { m_accountScopeHasBeenSet = true; m_accountScope = value; }
55 inline void SetAccountScope(AccountScope&& value) { m_accountScopeHasBeenSet = true; m_accountScope = std::move(value); }
56 inline AdminScope& WithAccountScope(const AccountScope& value) { SetAccountScope(value); return *this;}
57 inline AdminScope& WithAccountScope(AccountScope&& value) { SetAccountScope(std::move(value)); return *this;}
59
61
68 inline const OrganizationalUnitScope& GetOrganizationalUnitScope() const{ return m_organizationalUnitScope; }
69 inline bool OrganizationalUnitScopeHasBeenSet() const { return m_organizationalUnitScopeHasBeenSet; }
70 inline void SetOrganizationalUnitScope(const OrganizationalUnitScope& value) { m_organizationalUnitScopeHasBeenSet = true; m_organizationalUnitScope = value; }
71 inline void SetOrganizationalUnitScope(OrganizationalUnitScope&& value) { m_organizationalUnitScopeHasBeenSet = true; m_organizationalUnitScope = std::move(value); }
75
77
81 inline const RegionScope& GetRegionScope() const{ return m_regionScope; }
82 inline bool RegionScopeHasBeenSet() const { return m_regionScopeHasBeenSet; }
83 inline void SetRegionScope(const RegionScope& value) { m_regionScopeHasBeenSet = true; m_regionScope = value; }
84 inline void SetRegionScope(RegionScope&& value) { m_regionScopeHasBeenSet = true; m_regionScope = std::move(value); }
85 inline AdminScope& WithRegionScope(const RegionScope& value) { SetRegionScope(value); return *this;}
86 inline AdminScope& WithRegionScope(RegionScope&& value) { SetRegionScope(std::move(value)); return *this;}
88
90
94 inline const PolicyTypeScope& GetPolicyTypeScope() const{ return m_policyTypeScope; }
95 inline bool PolicyTypeScopeHasBeenSet() const { return m_policyTypeScopeHasBeenSet; }
96 inline void SetPolicyTypeScope(const PolicyTypeScope& value) { m_policyTypeScopeHasBeenSet = true; m_policyTypeScope = value; }
97 inline void SetPolicyTypeScope(PolicyTypeScope&& value) { m_policyTypeScopeHasBeenSet = true; m_policyTypeScope = std::move(value); }
98 inline AdminScope& WithPolicyTypeScope(const PolicyTypeScope& value) { SetPolicyTypeScope(value); return *this;}
99 inline AdminScope& WithPolicyTypeScope(PolicyTypeScope&& value) { SetPolicyTypeScope(std::move(value)); return *this;}
101 private:
102
103 AccountScope m_accountScope;
104 bool m_accountScopeHasBeenSet = false;
105
106 OrganizationalUnitScope m_organizationalUnitScope;
107 bool m_organizationalUnitScopeHasBeenSet = false;
108
109 RegionScope m_regionScope;
110 bool m_regionScopeHasBeenSet = false;
111
112 PolicyTypeScope m_policyTypeScope;
113 bool m_policyTypeScopeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace FMS
118} // namespace Aws
AdminScope & WithAccountScope(AccountScope &&value)
Definition AdminScope.h:57
void SetRegionScope(const RegionScope &value)
Definition AdminScope.h:83
AdminScope & WithPolicyTypeScope(const PolicyTypeScope &value)
Definition AdminScope.h:98
AWS_FMS_API AdminScope(Aws::Utils::Json::JsonView jsonValue)
bool RegionScopeHasBeenSet() const
Definition AdminScope.h:82
void SetOrganizationalUnitScope(OrganizationalUnitScope &&value)
Definition AdminScope.h:71
AdminScope & WithRegionScope(RegionScope &&value)
Definition AdminScope.h:86
void SetAccountScope(AccountScope &&value)
Definition AdminScope.h:55
const AccountScope & GetAccountScope() const
Definition AdminScope.h:52
void SetAccountScope(const AccountScope &value)
Definition AdminScope.h:54
const RegionScope & GetRegionScope() const
Definition AdminScope.h:81
const PolicyTypeScope & GetPolicyTypeScope() const
Definition AdminScope.h:94
AdminScope & WithOrganizationalUnitScope(OrganizationalUnitScope &&value)
Definition AdminScope.h:73
const OrganizationalUnitScope & GetOrganizationalUnitScope() const
Definition AdminScope.h:68
bool PolicyTypeScopeHasBeenSet() const
Definition AdminScope.h:95
void SetRegionScope(RegionScope &&value)
Definition AdminScope.h:84
AdminScope & WithOrganizationalUnitScope(const OrganizationalUnitScope &value)
Definition AdminScope.h:72
bool AccountScopeHasBeenSet() const
Definition AdminScope.h:53
void SetPolicyTypeScope(const PolicyTypeScope &value)
Definition AdminScope.h:96
void SetOrganizationalUnitScope(const OrganizationalUnitScope &value)
Definition AdminScope.h:70
AdminScope & WithPolicyTypeScope(PolicyTypeScope &&value)
Definition AdminScope.h:99
void SetPolicyTypeScope(PolicyTypeScope &&value)
Definition AdminScope.h:97
AWS_FMS_API AdminScope & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OrganizationalUnitScopeHasBeenSet() const
Definition AdminScope.h:69
AdminScope & WithRegionScope(const RegionScope &value)
Definition AdminScope.h:85
AdminScope & WithAccountScope(const AccountScope &value)
Definition AdminScope.h:56
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue