AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainUnitPolicyGrantPrincipal.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/DomainUnitDesignation.h>
9#include <aws/datazone/model/DomainUnitGrantFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DomainUnitDesignation& GetDomainUnitDesignation() const{ return m_domainUnitDesignation; }
48 inline bool DomainUnitDesignationHasBeenSet() const { return m_domainUnitDesignationHasBeenSet; }
49 inline void SetDomainUnitDesignation(const DomainUnitDesignation& value) { m_domainUnitDesignationHasBeenSet = true; m_domainUnitDesignation = value; }
50 inline void SetDomainUnitDesignation(DomainUnitDesignation&& value) { m_domainUnitDesignationHasBeenSet = true; m_domainUnitDesignation = std::move(value); }
54
56
59 inline const DomainUnitGrantFilter& GetDomainUnitGrantFilter() const{ return m_domainUnitGrantFilter; }
60 inline bool DomainUnitGrantFilterHasBeenSet() const { return m_domainUnitGrantFilterHasBeenSet; }
61 inline void SetDomainUnitGrantFilter(const DomainUnitGrantFilter& value) { m_domainUnitGrantFilterHasBeenSet = true; m_domainUnitGrantFilter = value; }
62 inline void SetDomainUnitGrantFilter(DomainUnitGrantFilter&& value) { m_domainUnitGrantFilterHasBeenSet = true; m_domainUnitGrantFilter = std::move(value); }
66
68
71 inline const Aws::String& GetDomainUnitIdentifier() const{ return m_domainUnitIdentifier; }
72 inline bool DomainUnitIdentifierHasBeenSet() const { return m_domainUnitIdentifierHasBeenSet; }
73 inline void SetDomainUnitIdentifier(const Aws::String& value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier = value; }
74 inline void SetDomainUnitIdentifier(Aws::String&& value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier = std::move(value); }
75 inline void SetDomainUnitIdentifier(const char* value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier.assign(value); }
78 inline DomainUnitPolicyGrantPrincipal& WithDomainUnitIdentifier(const char* value) { SetDomainUnitIdentifier(value); return *this;}
80 private:
81
82 DomainUnitDesignation m_domainUnitDesignation;
83 bool m_domainUnitDesignationHasBeenSet = false;
84
85 DomainUnitGrantFilter m_domainUnitGrantFilter;
86 bool m_domainUnitGrantFilterHasBeenSet = false;
87
88 Aws::String m_domainUnitIdentifier;
89 bool m_domainUnitIdentifierHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DataZone
94} // namespace Aws
DomainUnitPolicyGrantPrincipal & WithDomainUnitDesignation(DomainUnitDesignation &&value)
DomainUnitPolicyGrantPrincipal & WithDomainUnitIdentifier(const char *value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
DomainUnitPolicyGrantPrincipal & WithDomainUnitGrantFilter(const DomainUnitGrantFilter &value)
DomainUnitPolicyGrantPrincipal & WithDomainUnitDesignation(const DomainUnitDesignation &value)
void SetDomainUnitGrantFilter(const DomainUnitGrantFilter &value)
DomainUnitPolicyGrantPrincipal & WithDomainUnitIdentifier(const Aws::String &value)
DomainUnitPolicyGrantPrincipal & WithDomainUnitGrantFilter(DomainUnitGrantFilter &&value)
void SetDomainUnitDesignation(const DomainUnitDesignation &value)
AWS_DATAZONE_API DomainUnitPolicyGrantPrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API DomainUnitPolicyGrantPrincipal(Aws::Utils::Json::JsonView jsonValue)
DomainUnitPolicyGrantPrincipal & WithDomainUnitIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue