AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LocalVolumeResourceData.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/GroupOwnerSetting.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 LocalVolumeResourceData() = default;
38 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDestinationPath() const { return m_destinationPath; }
46 inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; }
47 template<typename DestinationPathT = Aws::String>
48 void SetDestinationPath(DestinationPathT&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::forward<DestinationPathT>(value); }
49 template<typename DestinationPathT = Aws::String>
50 LocalVolumeResourceData& WithDestinationPath(DestinationPathT&& value) { SetDestinationPath(std::forward<DestinationPathT>(value)); return *this;}
52
54
58 inline const GroupOwnerSetting& GetGroupOwnerSetting() const { return m_groupOwnerSetting; }
59 inline bool GroupOwnerSettingHasBeenSet() const { return m_groupOwnerSettingHasBeenSet; }
60 template<typename GroupOwnerSettingT = GroupOwnerSetting>
61 void SetGroupOwnerSetting(GroupOwnerSettingT&& value) { m_groupOwnerSettingHasBeenSet = true; m_groupOwnerSetting = std::forward<GroupOwnerSettingT>(value); }
62 template<typename GroupOwnerSettingT = GroupOwnerSetting>
63 LocalVolumeResourceData& WithGroupOwnerSetting(GroupOwnerSettingT&& value) { SetGroupOwnerSetting(std::forward<GroupOwnerSettingT>(value)); return *this;}
65
67
71 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
72 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
73 template<typename SourcePathT = Aws::String>
74 void SetSourcePath(SourcePathT&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::forward<SourcePathT>(value); }
75 template<typename SourcePathT = Aws::String>
76 LocalVolumeResourceData& WithSourcePath(SourcePathT&& value) { SetSourcePath(std::forward<SourcePathT>(value)); return *this;}
78 private:
79
80 Aws::String m_destinationPath;
81 bool m_destinationPathHasBeenSet = false;
82
83 GroupOwnerSetting m_groupOwnerSetting;
84 bool m_groupOwnerSettingHasBeenSet = false;
85
86 Aws::String m_sourcePath;
87 bool m_sourcePathHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Greengrass
92} // namespace Aws
AWS_GREENGRASS_API LocalVolumeResourceData(Aws::Utils::Json::JsonView jsonValue)
LocalVolumeResourceData & WithSourcePath(SourcePathT &&value)
AWS_GREENGRASS_API LocalVolumeResourceData()=default
AWS_GREENGRASS_API LocalVolumeResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
LocalVolumeResourceData & WithGroupOwnerSetting(GroupOwnerSettingT &&value)
const GroupOwnerSetting & GetGroupOwnerSetting() const
LocalVolumeResourceData & WithDestinationPath(DestinationPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue