AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateLocationFsxLustreRequest.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datasync/model/TagListEntry.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataSync
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATASYNC_API CreateLocationFsxLustreRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateLocationFsxLustre"; }
33
34 AWS_DATASYNC_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetFsxFilesystemArn() const { return m_fsxFilesystemArn; }
45 inline bool FsxFilesystemArnHasBeenSet() const { return m_fsxFilesystemArnHasBeenSet; }
46 template<typename FsxFilesystemArnT = Aws::String>
47 void SetFsxFilesystemArn(FsxFilesystemArnT&& value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn = std::forward<FsxFilesystemArnT>(value); }
48 template<typename FsxFilesystemArnT = Aws::String>
49 CreateLocationFsxLustreRequest& WithFsxFilesystemArn(FsxFilesystemArnT&& value) { SetFsxFilesystemArn(std::forward<FsxFilesystemArnT>(value)); return *this;}
51
53
62 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
63 inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; }
64 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
65 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
66 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
67 CreateLocationFsxLustreRequest& WithSecurityGroupArns(SecurityGroupArnsT&& value) { SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value)); return *this;}
68 template<typename SecurityGroupArnsT = Aws::String>
69 CreateLocationFsxLustreRequest& AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value)); return *this; }
71
73
80 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
81 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
82 template<typename SubdirectoryT = Aws::String>
83 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
84 template<typename SubdirectoryT = Aws::String>
85 CreateLocationFsxLustreRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
87
89
94 inline const Aws::Vector<TagListEntry>& GetTags() const { return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 template<typename TagsT = Aws::Vector<TagListEntry>>
97 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
98 template<typename TagsT = Aws::Vector<TagListEntry>>
99 CreateLocationFsxLustreRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
100 template<typename TagsT = TagListEntry>
101 CreateLocationFsxLustreRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
103 private:
104
105 Aws::String m_fsxFilesystemArn;
106 bool m_fsxFilesystemArnHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_securityGroupArns;
109 bool m_securityGroupArnsHasBeenSet = false;
110
111 Aws::String m_subdirectory;
112 bool m_subdirectoryHasBeenSet = false;
113
115 bool m_tagsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace DataSync
120} // namespace Aws
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
CreateLocationFsxLustreRequest & AddTags(TagsT &&value)
CreateLocationFsxLustreRequest & WithSubdirectory(SubdirectoryT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATASYNC_API CreateLocationFsxLustreRequest()=default
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateLocationFsxLustreRequest & WithSecurityGroupArns(SecurityGroupArnsT &&value)
CreateLocationFsxLustreRequest & AddSecurityGroupArns(SecurityGroupArnsT &&value)
CreateLocationFsxLustreRequest & WithTags(TagsT &&value)
CreateLocationFsxLustreRequest & WithFsxFilesystemArn(FsxFilesystemArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector