AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OwnerProperties.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/OwnerGroupProperties.h>
9#include <aws/datazone/model/OwnerUserProperties.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 OwnerProperties();
36 AWS_DATAZONE_API OwnerProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const OwnerGroupProperties& GetGroup() const{ return m_group; }
46 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
47 inline void SetGroup(const OwnerGroupProperties& value) { m_groupHasBeenSet = true; m_group = value; }
48 inline void SetGroup(OwnerGroupProperties&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
49 inline OwnerProperties& WithGroup(const OwnerGroupProperties& value) { SetGroup(value); return *this;}
50 inline OwnerProperties& WithGroup(OwnerGroupProperties&& value) { SetGroup(std::move(value)); return *this;}
52
54
57 inline const OwnerUserProperties& GetUser() const{ return m_user; }
58 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
59 inline void SetUser(const OwnerUserProperties& value) { m_userHasBeenSet = true; m_user = value; }
60 inline void SetUser(OwnerUserProperties&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
61 inline OwnerProperties& WithUser(const OwnerUserProperties& value) { SetUser(value); return *this;}
62 inline OwnerProperties& WithUser(OwnerUserProperties&& 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
OwnerProperties & WithGroup(const OwnerGroupProperties &value)
void SetGroup(const OwnerGroupProperties &value)
OwnerProperties & WithUser(OwnerUserProperties &&value)
void SetUser(OwnerUserProperties &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroup(OwnerGroupProperties &&value)
void SetUser(const OwnerUserProperties &value)
OwnerProperties & WithUser(const OwnerUserProperties &value)
AWS_DATAZONE_API OwnerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API OwnerProperties(Aws::Utils::Json::JsonView jsonValue)
const OwnerGroupProperties & GetGroup() const
const OwnerUserProperties & GetUser() const
OwnerProperties & WithGroup(OwnerGroupProperties &&value)
Aws::Utils::Json::JsonValue JsonValue