AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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