AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainUnitOwnerProperties.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/DomainUnitGroupProperties.h>
9#include <aws/datazone/model/DomainUnitUserProperties.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 DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API DomainUnitOwnerProperties();
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const DomainUnitGroupProperties& GetGroup() const{ return m_group; }
46 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
47 inline void SetGroup(const DomainUnitGroupProperties& value) { m_groupHasBeenSet = true; m_group = value; }
48 inline void SetGroup(DomainUnitGroupProperties&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
49 inline DomainUnitOwnerProperties& WithGroup(const DomainUnitGroupProperties& value) { SetGroup(value); return *this;}
50 inline DomainUnitOwnerProperties& WithGroup(DomainUnitGroupProperties&& value) { SetGroup(std::move(value)); return *this;}
52
54
57 inline const DomainUnitUserProperties& GetUser() const{ return m_user; }
58 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
59 inline void SetUser(const DomainUnitUserProperties& value) { m_userHasBeenSet = true; m_user = value; }
60 inline void SetUser(DomainUnitUserProperties&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
61 inline DomainUnitOwnerProperties& WithUser(const DomainUnitUserProperties& value) { SetUser(value); return *this;}
62 inline DomainUnitOwnerProperties& WithUser(DomainUnitUserProperties&& value) { SetUser(std::move(value)); return *this;}
64 private:
65
67 bool m_groupHasBeenSet = false;
68
70 bool m_userHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DataZone
75} // namespace Aws
DomainUnitOwnerProperties & WithGroup(DomainUnitGroupProperties &&value)
AWS_DATAZONE_API DomainUnitOwnerProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API DomainUnitOwnerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const DomainUnitUserProperties & GetUser() const
DomainUnitOwnerProperties & WithUser(const DomainUnitUserProperties &value)
void SetUser(const DomainUnitUserProperties &value)
const DomainUnitGroupProperties & GetGroup() const
DomainUnitOwnerProperties & WithUser(DomainUnitUserProperties &&value)
void SetGroup(DomainUnitGroupProperties &&value)
void SetGroup(const DomainUnitGroupProperties &value)
DomainUnitOwnerProperties & WithGroup(const DomainUnitGroupProperties &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue