AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
LocalVolumeResourceData.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 LocalVolumeResourceData() = default;
33 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDestinationPath() const { return m_destinationPath; }
40 inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; }
41 template <typename DestinationPathT = Aws::String>
42 void SetDestinationPath(DestinationPathT&& value) {
43 m_destinationPathHasBeenSet = true;
44 m_destinationPath = std::forward<DestinationPathT>(value);
45 }
46 template <typename DestinationPathT = Aws::String>
47 LocalVolumeResourceData& WithDestinationPath(DestinationPathT&& value) {
48 SetDestinationPath(std::forward<DestinationPathT>(value));
49 return *this;
50 }
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) {
62 m_groupOwnerSettingHasBeenSet = true;
63 m_groupOwnerSetting = std::forward<GroupOwnerSettingT>(value);
64 }
65 template <typename GroupOwnerSettingT = GroupOwnerSetting>
66 LocalVolumeResourceData& WithGroupOwnerSetting(GroupOwnerSettingT&& value) {
67 SetGroupOwnerSetting(std::forward<GroupOwnerSettingT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
78 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
79 template <typename SourcePathT = Aws::String>
80 void SetSourcePath(SourcePathT&& value) {
81 m_sourcePathHasBeenSet = true;
82 m_sourcePath = std::forward<SourcePathT>(value);
83 }
84 template <typename SourcePathT = Aws::String>
86 SetSourcePath(std::forward<SourcePathT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_destinationPath;
92
93 GroupOwnerSetting m_groupOwnerSetting;
94
95 Aws::String m_sourcePath;
96 bool m_destinationPathHasBeenSet = false;
97 bool m_groupOwnerSettingHasBeenSet = false;
98 bool m_sourcePathHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Greengrass
103} // 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