AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceDownloadOwnerSetting.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/Permission.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 Greengrass
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GREENGRASS_API ResourceDownloadOwnerSetting() = default;
39 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetGroupOwner() const { return m_groupOwner; }
48 inline bool GroupOwnerHasBeenSet() const { return m_groupOwnerHasBeenSet; }
49 template<typename GroupOwnerT = Aws::String>
50 void SetGroupOwner(GroupOwnerT&& value) { m_groupOwnerHasBeenSet = true; m_groupOwner = std::forward<GroupOwnerT>(value); }
51 template<typename GroupOwnerT = Aws::String>
52 ResourceDownloadOwnerSetting& WithGroupOwner(GroupOwnerT&& value) { SetGroupOwner(std::forward<GroupOwnerT>(value)); return *this;}
54
56
60 inline Permission GetGroupPermission() const { return m_groupPermission; }
61 inline bool GroupPermissionHasBeenSet() const { return m_groupPermissionHasBeenSet; }
62 inline void SetGroupPermission(Permission value) { m_groupPermissionHasBeenSet = true; m_groupPermission = value; }
65 private:
66
67 Aws::String m_groupOwner;
68 bool m_groupOwnerHasBeenSet = false;
69
70 Permission m_groupPermission{Permission::NOT_SET};
71 bool m_groupPermissionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Greengrass
76} // namespace Aws
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASS_API ResourceDownloadOwnerSetting()=default
ResourceDownloadOwnerSetting & WithGroupOwner(GroupOwnerT &&value)
ResourceDownloadOwnerSetting & WithGroupPermission(Permission value)
AWS_GREENGRASS_API ResourceDownloadOwnerSetting(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API ResourceDownloadOwnerSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue