AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
LocalDeviceResourceData.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/GroupOwnerSetting.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
29 public:
30 AWS_GREENGRASS_API LocalDeviceResourceData() = default;
33 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const GroupOwnerSetting& GetGroupOwnerSetting() const { return m_groupOwnerSetting; }
40 inline bool GroupOwnerSettingHasBeenSet() const { return m_groupOwnerSettingHasBeenSet; }
41 template <typename GroupOwnerSettingT = GroupOwnerSetting>
42 void SetGroupOwnerSetting(GroupOwnerSettingT&& value) {
43 m_groupOwnerSettingHasBeenSet = true;
44 m_groupOwnerSetting = std::forward<GroupOwnerSettingT>(value);
45 }
46 template <typename GroupOwnerSettingT = GroupOwnerSetting>
47 LocalDeviceResourceData& WithGroupOwnerSetting(GroupOwnerSettingT&& value) {
48 SetGroupOwnerSetting(std::forward<GroupOwnerSettingT>(value));
49 return *this;
50 }
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) {
62 m_sourcePathHasBeenSet = true;
63 m_sourcePath = std::forward<SourcePathT>(value);
64 }
65 template <typename SourcePathT = Aws::String>
67 SetSourcePath(std::forward<SourcePathT>(value));
68 return *this;
69 }
71 private:
72 GroupOwnerSetting m_groupOwnerSetting;
73
74 Aws::String m_sourcePath;
75 bool m_groupOwnerSettingHasBeenSet = false;
76 bool m_sourcePathHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Greengrass
81} // 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