AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateLocationFsxLustreRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSyncRequest.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/TagListEntry.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataSync {
17namespace Model {
18
22 public:
23 AWS_DATASYNC_API CreateLocationFsxLustreRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateLocationFsxLustre"; }
30
31 AWS_DATASYNC_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetFsxFilesystemArn() const { return m_fsxFilesystemArn; }
41 inline bool FsxFilesystemArnHasBeenSet() const { return m_fsxFilesystemArnHasBeenSet; }
42 template <typename FsxFilesystemArnT = Aws::String>
43 void SetFsxFilesystemArn(FsxFilesystemArnT&& value) {
44 m_fsxFilesystemArnHasBeenSet = true;
45 m_fsxFilesystemArn = std::forward<FsxFilesystemArnT>(value);
46 }
47 template <typename FsxFilesystemArnT = Aws::String>
49 SetFsxFilesystemArn(std::forward<FsxFilesystemArnT>(value));
50 return *this;
51 }
53
55
64 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
65 inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; }
66 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
67 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
68 m_securityGroupArnsHasBeenSet = true;
69 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
70 }
71 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
73 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
74 return *this;
75 }
76 template <typename SecurityGroupArnsT = Aws::String>
78 m_securityGroupArnsHasBeenSet = true;
79 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
80 return *this;
81 }
83
85
92 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
93 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
94 template <typename SubdirectoryT = Aws::String>
95 void SetSubdirectory(SubdirectoryT&& value) {
96 m_subdirectoryHasBeenSet = true;
97 m_subdirectory = std::forward<SubdirectoryT>(value);
98 }
99 template <typename SubdirectoryT = Aws::String>
101 SetSubdirectory(std::forward<SubdirectoryT>(value));
102 return *this;
103 }
105
107
112 inline const Aws::Vector<TagListEntry>& GetTags() const { return m_tags; }
113 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
114 template <typename TagsT = Aws::Vector<TagListEntry>>
115 void SetTags(TagsT&& value) {
116 m_tagsHasBeenSet = true;
117 m_tags = std::forward<TagsT>(value);
118 }
119 template <typename TagsT = Aws::Vector<TagListEntry>>
121 SetTags(std::forward<TagsT>(value));
122 return *this;
123 }
124 template <typename TagsT = TagListEntry>
126 m_tagsHasBeenSet = true;
127 m_tags.emplace_back(std::forward<TagsT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_fsxFilesystemArn;
133
134 Aws::Vector<Aws::String> m_securityGroupArns;
135
136 Aws::String m_subdirectory;
137
139 bool m_fsxFilesystemArnHasBeenSet = false;
140 bool m_securityGroupArnsHasBeenSet = false;
141 bool m_subdirectoryHasBeenSet = false;
142 bool m_tagsHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace DataSync
147} // 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