AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename GroupT = OwnerGroupPropertiesOutput>
48 void SetGroup(GroupT&& value) { m_groupHasBeenSet = true; m_group = std::forward<GroupT>(value); }
49 template<typename GroupT = OwnerGroupPropertiesOutput>
50 OwnerPropertiesOutput& WithGroup(GroupT&& value) { SetGroup(std::forward<GroupT>(value)); return *this;}
52
54
57 inline const OwnerUserPropertiesOutput& GetUser() const { return m_user; }
58 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
59 template<typename UserT = OwnerUserPropertiesOutput>
60 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
61 template<typename UserT = OwnerUserPropertiesOutput>
62 OwnerPropertiesOutput& WithUser(UserT&& value) { SetUser(std::forward<UserT>(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
AWS_DATAZONE_API OwnerPropertiesOutput()=default
OwnerPropertiesOutput & WithUser(UserT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
OwnerPropertiesOutput & WithGroup(GroupT &&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