AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; }
48 inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); }
49 inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); }
50 inline LocalVolumeResourceData& WithDestinationPath(const Aws::String& value) { SetDestinationPath(value); return *this;}
51 inline LocalVolumeResourceData& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;}
52 inline LocalVolumeResourceData& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;}
54
56
60 inline const GroupOwnerSetting& GetGroupOwnerSetting() const{ return m_groupOwnerSetting; }
61 inline bool GroupOwnerSettingHasBeenSet() const { return m_groupOwnerSettingHasBeenSet; }
62 inline void SetGroupOwnerSetting(const GroupOwnerSetting& value) { m_groupOwnerSettingHasBeenSet = true; m_groupOwnerSetting = value; }
63 inline void SetGroupOwnerSetting(GroupOwnerSetting&& value) { m_groupOwnerSettingHasBeenSet = true; m_groupOwnerSetting = std::move(value); }
65 inline LocalVolumeResourceData& WithGroupOwnerSetting(GroupOwnerSetting&& value) { SetGroupOwnerSetting(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
74 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
75 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
76 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
77 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
78 inline LocalVolumeResourceData& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
79 inline LocalVolumeResourceData& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
80 inline LocalVolumeResourceData& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
82 private:
83
84 Aws::String m_destinationPath;
85 bool m_destinationPathHasBeenSet = false;
86
87 GroupOwnerSetting m_groupOwnerSetting;
88 bool m_groupOwnerSettingHasBeenSet = false;
89
90 Aws::String m_sourcePath;
91 bool m_sourcePathHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Greengrass
96} // namespace Aws
void SetGroupOwnerSetting(const GroupOwnerSetting &value)
AWS_GREENGRASS_API LocalVolumeResourceData(Aws::Utils::Json::JsonView jsonValue)
LocalVolumeResourceData & WithSourcePath(const Aws::String &value)
LocalVolumeResourceData & WithSourcePath(const char *value)
LocalVolumeResourceData & WithDestinationPath(const Aws::String &value)
AWS_GREENGRASS_API LocalVolumeResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
LocalVolumeResourceData & WithGroupOwnerSetting(const GroupOwnerSetting &value)
LocalVolumeResourceData & WithSourcePath(Aws::String &&value)
const GroupOwnerSetting & GetGroupOwnerSetting() const
LocalVolumeResourceData & WithGroupOwnerSetting(GroupOwnerSetting &&value)
LocalVolumeResourceData & WithDestinationPath(const char *value)
LocalVolumeResourceData & WithDestinationPath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue