AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LocalDeviceResourceData.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/model/GroupOwnerSetting.h>
9#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_GREENGRASS_API LocalDeviceResourceData() = default;
38 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const GroupOwnerSetting& GetGroupOwnerSetting() const { return m_groupOwnerSetting; }
46 inline bool GroupOwnerSettingHasBeenSet() const { return m_groupOwnerSettingHasBeenSet; }
47 template<typename GroupOwnerSettingT = GroupOwnerSetting>
48 void SetGroupOwnerSetting(GroupOwnerSettingT&& value) { m_groupOwnerSettingHasBeenSet = true; m_groupOwnerSetting = std::forward<GroupOwnerSettingT>(value); }
49 template<typename GroupOwnerSettingT = GroupOwnerSetting>
50 LocalDeviceResourceData& WithGroupOwnerSetting(GroupOwnerSettingT&& value) { SetGroupOwnerSetting(std::forward<GroupOwnerSettingT>(value)); return *this;}
52
54
58 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
59 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
60 template<typename SourcePathT = Aws::String>
61 void SetSourcePath(SourcePathT&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::forward<SourcePathT>(value); }
62 template<typename SourcePathT = Aws::String>
63 LocalDeviceResourceData& WithSourcePath(SourcePathT&& value) { SetSourcePath(std::forward<SourcePathT>(value)); return *this;}
65 private:
66
67 GroupOwnerSetting m_groupOwnerSetting;
68 bool m_groupOwnerSettingHasBeenSet = false;
69
70 Aws::String m_sourcePath;
71 bool m_sourcePathHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Greengrass
76} // namespace Aws
AWS_GREENGRASS_API LocalDeviceResourceData(Aws::Utils::Json::JsonView jsonValue)
LocalDeviceResourceData & WithGroupOwnerSetting(GroupOwnerSettingT &&value)
const GroupOwnerSetting & GetGroupOwnerSetting() const
LocalDeviceResourceData & WithSourcePath(SourcePathT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASS_API LocalDeviceResourceData()=default
AWS_GREENGRASS_API LocalDeviceResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue