AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PermissionsBoundary.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/model/CustomerManagedPolicyReference.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSOAdmin
23{
24namespace Model
25{
26
47 {
48 public:
49 AWS_SSOADMIN_API PermissionsBoundary();
52 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
61 inline const CustomerManagedPolicyReference& GetCustomerManagedPolicyReference() const{ return m_customerManagedPolicyReference; }
62 inline bool CustomerManagedPolicyReferenceHasBeenSet() const { return m_customerManagedPolicyReferenceHasBeenSet; }
63 inline void SetCustomerManagedPolicyReference(const CustomerManagedPolicyReference& value) { m_customerManagedPolicyReferenceHasBeenSet = true; m_customerManagedPolicyReference = value; }
64 inline void SetCustomerManagedPolicyReference(CustomerManagedPolicyReference&& value) { m_customerManagedPolicyReferenceHasBeenSet = true; m_customerManagedPolicyReference = std::move(value); }
68
70
74 inline const Aws::String& GetManagedPolicyArn() const{ return m_managedPolicyArn; }
75 inline bool ManagedPolicyArnHasBeenSet() const { return m_managedPolicyArnHasBeenSet; }
76 inline void SetManagedPolicyArn(const Aws::String& value) { m_managedPolicyArnHasBeenSet = true; m_managedPolicyArn = value; }
77 inline void SetManagedPolicyArn(Aws::String&& value) { m_managedPolicyArnHasBeenSet = true; m_managedPolicyArn = std::move(value); }
78 inline void SetManagedPolicyArn(const char* value) { m_managedPolicyArnHasBeenSet = true; m_managedPolicyArn.assign(value); }
79 inline PermissionsBoundary& WithManagedPolicyArn(const Aws::String& value) { SetManagedPolicyArn(value); return *this;}
80 inline PermissionsBoundary& WithManagedPolicyArn(Aws::String&& value) { SetManagedPolicyArn(std::move(value)); return *this;}
81 inline PermissionsBoundary& WithManagedPolicyArn(const char* value) { SetManagedPolicyArn(value); return *this;}
83 private:
84
85 CustomerManagedPolicyReference m_customerManagedPolicyReference;
86 bool m_customerManagedPolicyReferenceHasBeenSet = false;
87
88 Aws::String m_managedPolicyArn;
89 bool m_managedPolicyArnHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SSOAdmin
94} // namespace Aws
void SetCustomerManagedPolicyReference(const CustomerManagedPolicyReference &value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
const CustomerManagedPolicyReference & GetCustomerManagedPolicyReference() const
AWS_SSOADMIN_API PermissionsBoundary(Aws::Utils::Json::JsonView jsonValue)
PermissionsBoundary & WithManagedPolicyArn(Aws::String &&value)
void SetCustomerManagedPolicyReference(CustomerManagedPolicyReference &&value)
PermissionsBoundary & WithManagedPolicyArn(const Aws::String &value)
const Aws::String & GetManagedPolicyArn() const
PermissionsBoundary & WithCustomerManagedPolicyReference(CustomerManagedPolicyReference &&value)
PermissionsBoundary & WithCustomerManagedPolicyReference(const CustomerManagedPolicyReference &value)
AWS_SSOADMIN_API PermissionsBoundary & operator=(Aws::Utils::Json::JsonView jsonValue)
PermissionsBoundary & WithManagedPolicyArn(const char *value)
void SetManagedPolicyArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue