AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupOwner(const Aws::String& value) { m_groupOwnerHasBeenSet = true; m_groupOwner = value; }
50 inline void SetGroupOwner(Aws::String&& value) { m_groupOwnerHasBeenSet = true; m_groupOwner = std::move(value); }
51 inline void SetGroupOwner(const char* value) { m_groupOwnerHasBeenSet = true; m_groupOwner.assign(value); }
52 inline ResourceDownloadOwnerSetting& WithGroupOwner(const Aws::String& value) { SetGroupOwner(value); return *this;}
53 inline ResourceDownloadOwnerSetting& WithGroupOwner(Aws::String&& value) { SetGroupOwner(std::move(value)); return *this;}
54 inline ResourceDownloadOwnerSetting& WithGroupOwner(const char* value) { SetGroupOwner(value); return *this;}
56
58
62 inline const Permission& GetGroupPermission() const{ return m_groupPermission; }
63 inline bool GroupPermissionHasBeenSet() const { return m_groupPermissionHasBeenSet; }
64 inline void SetGroupPermission(const Permission& value) { m_groupPermissionHasBeenSet = true; m_groupPermission = value; }
65 inline void SetGroupPermission(Permission&& value) { m_groupPermissionHasBeenSet = true; m_groupPermission = std::move(value); }
67 inline ResourceDownloadOwnerSetting& WithGroupPermission(Permission&& value) { SetGroupPermission(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_groupOwner;
72 bool m_groupOwnerHasBeenSet = false;
73
74 Permission m_groupPermission;
75 bool m_groupPermissionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Greengrass
80} // namespace Aws
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDownloadOwnerSetting & WithGroupOwner(const char *value)
ResourceDownloadOwnerSetting & WithGroupPermission(Permission &&value)
ResourceDownloadOwnerSetting & WithGroupOwner(const Aws::String &value)
ResourceDownloadOwnerSetting & WithGroupOwner(Aws::String &&value)
AWS_GREENGRASS_API ResourceDownloadOwnerSetting(Aws::Utils::Json::JsonView jsonValue)
ResourceDownloadOwnerSetting & WithGroupPermission(const Permission &value)
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