AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ResourceDownloadOwnerSetting.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9#include <aws/greengrass/model/Permission.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Greengrass {
21namespace Model {
22
30 public:
31 AWS_GREENGRASS_API ResourceDownloadOwnerSetting() = default;
34 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetGroupOwner() const { return m_groupOwner; }
42 inline bool GroupOwnerHasBeenSet() const { return m_groupOwnerHasBeenSet; }
43 template <typename GroupOwnerT = Aws::String>
44 void SetGroupOwner(GroupOwnerT&& value) {
45 m_groupOwnerHasBeenSet = true;
46 m_groupOwner = std::forward<GroupOwnerT>(value);
47 }
48 template <typename GroupOwnerT = Aws::String>
50 SetGroupOwner(std::forward<GroupOwnerT>(value));
51 return *this;
52 }
54
56
60 inline Permission GetGroupPermission() const { return m_groupPermission; }
61 inline bool GroupPermissionHasBeenSet() const { return m_groupPermissionHasBeenSet; }
62 inline void SetGroupPermission(Permission value) {
63 m_groupPermissionHasBeenSet = true;
64 m_groupPermission = value;
65 }
67 SetGroupPermission(value);
68 return *this;
69 }
71 private:
72 Aws::String m_groupOwner;
73
74 Permission m_groupPermission{Permission::NOT_SET};
75 bool m_groupOwnerHasBeenSet = false;
76 bool m_groupPermissionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Greengrass
81} // 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