AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
EntitlementSummary.h
1
6#pragma once
7#include <aws/account-access/AccountAccess_EXPORTS.h>
8#include <aws/account-access/model/PrincipalRoleEntitlementSummary.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AccountAccess {
20namespace Model {
21
29 public:
30 AWS_ACCOUNTACCESS_API EntitlementSummary() = default;
31 AWS_ACCOUNTACCESS_API EntitlementSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ACCOUNTACCESS_API EntitlementSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const PrincipalRoleEntitlementSummary& GetPrincipalRole() const { return m_principalRole; }
40 inline bool PrincipalRoleHasBeenSet() const { return m_principalRoleHasBeenSet; }
41 template <typename PrincipalRoleT = PrincipalRoleEntitlementSummary>
42 void SetPrincipalRole(PrincipalRoleT&& value) {
43 m_principalRoleHasBeenSet = true;
44 m_principalRole = std::forward<PrincipalRoleT>(value);
45 }
46 template <typename PrincipalRoleT = PrincipalRoleEntitlementSummary>
47 EntitlementSummary& WithPrincipalRole(PrincipalRoleT&& value) {
48 SetPrincipalRole(std::forward<PrincipalRoleT>(value));
49 return *this;
50 }
52 private:
53 PrincipalRoleEntitlementSummary m_principalRole;
54 bool m_principalRoleHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace AccountAccess
59} // namespace Aws
const PrincipalRoleEntitlementSummary & GetPrincipalRole() const
EntitlementSummary & WithPrincipalRole(PrincipalRoleT &&value)
AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCOUNTACCESS_API EntitlementSummary()=default
AWS_ACCOUNTACCESS_API EntitlementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCOUNTACCESS_API EntitlementSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue