AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupOwnerSetting(const GroupOwnerSetting& value) { m_groupOwnerSettingHasBeenSet = true; m_groupOwnerSetting = value; }
48 inline void SetGroupOwnerSetting(GroupOwnerSetting&& value) { m_groupOwnerSettingHasBeenSet = true; m_groupOwnerSetting = std::move(value); }
50 inline LocalDeviceResourceData& WithGroupOwnerSetting(GroupOwnerSetting&& value) { SetGroupOwnerSetting(std::move(value)); return *this;}
52
54
58 inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
59 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
60 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
61 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
62 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
63 inline LocalDeviceResourceData& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
64 inline LocalDeviceResourceData& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
65 inline LocalDeviceResourceData& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
67 private:
68
69 GroupOwnerSetting m_groupOwnerSetting;
70 bool m_groupOwnerSettingHasBeenSet = false;
71
72 Aws::String m_sourcePath;
73 bool m_sourcePathHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Greengrass
78} // namespace Aws
AWS_GREENGRASS_API LocalDeviceResourceData(Aws::Utils::Json::JsonView jsonValue)
const GroupOwnerSetting & GetGroupOwnerSetting() const
LocalDeviceResourceData & WithGroupOwnerSetting(GroupOwnerSetting &&value)
LocalDeviceResourceData & WithSourcePath(const char *value)
void SetGroupOwnerSetting(const GroupOwnerSetting &value)
LocalDeviceResourceData & WithSourcePath(Aws::String &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
LocalDeviceResourceData & WithGroupOwnerSetting(const GroupOwnerSetting &value)
AWS_GREENGRASS_API LocalDeviceResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
LocalDeviceResourceData & WithSourcePath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue