AWS SDK for C++  1.9.154
AWS SDK for C++
CreateLocationEfsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace DataSync
18 {
19 namespace Model
20 {
21 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CreateLocationEfs"; }
37 
38  Aws::String SerializePayload() const override;
39 
41 
42 
50  inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
51 
59  inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
60 
68  inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
69 
77  inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
78 
86  inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
87 
95  inline CreateLocationEfsRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
96 
104  inline CreateLocationEfsRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
105 
113  inline CreateLocationEfsRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
114 
115 
119  inline const Aws::String& GetEfsFilesystemArn() const{ return m_efsFilesystemArn; }
120 
124  inline bool EfsFilesystemArnHasBeenSet() const { return m_efsFilesystemArnHasBeenSet; }
125 
129  inline void SetEfsFilesystemArn(const Aws::String& value) { m_efsFilesystemArnHasBeenSet = true; m_efsFilesystemArn = value; }
130 
134  inline void SetEfsFilesystemArn(Aws::String&& value) { m_efsFilesystemArnHasBeenSet = true; m_efsFilesystemArn = std::move(value); }
135 
139  inline void SetEfsFilesystemArn(const char* value) { m_efsFilesystemArnHasBeenSet = true; m_efsFilesystemArn.assign(value); }
140 
144  inline CreateLocationEfsRequest& WithEfsFilesystemArn(const Aws::String& value) { SetEfsFilesystemArn(value); return *this;}
145 
149  inline CreateLocationEfsRequest& WithEfsFilesystemArn(Aws::String&& value) { SetEfsFilesystemArn(std::move(value)); return *this;}
150 
154  inline CreateLocationEfsRequest& WithEfsFilesystemArn(const char* value) { SetEfsFilesystemArn(value); return *this;}
155 
156 
174  inline const Ec2Config& GetEc2Config() const{ return m_ec2Config; }
175 
193  inline bool Ec2ConfigHasBeenSet() const { return m_ec2ConfigHasBeenSet; }
194 
212  inline void SetEc2Config(const Ec2Config& value) { m_ec2ConfigHasBeenSet = true; m_ec2Config = value; }
213 
231  inline void SetEc2Config(Ec2Config&& value) { m_ec2ConfigHasBeenSet = true; m_ec2Config = std::move(value); }
232 
250  inline CreateLocationEfsRequest& WithEc2Config(const Ec2Config& value) { SetEc2Config(value); return *this;}
251 
269  inline CreateLocationEfsRequest& WithEc2Config(Ec2Config&& value) { SetEc2Config(std::move(value)); return *this;}
270 
271 
278  inline const Aws::Vector<TagListEntry>& GetTags() const{ return m_tags; }
279 
286  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
287 
294  inline void SetTags(const Aws::Vector<TagListEntry>& value) { m_tagsHasBeenSet = true; m_tags = value; }
295 
302  inline void SetTags(Aws::Vector<TagListEntry>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
303 
310  inline CreateLocationEfsRequest& WithTags(const Aws::Vector<TagListEntry>& value) { SetTags(value); return *this;}
311 
318  inline CreateLocationEfsRequest& WithTags(Aws::Vector<TagListEntry>&& value) { SetTags(std::move(value)); return *this;}
319 
326  inline CreateLocationEfsRequest& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
327 
334  inline CreateLocationEfsRequest& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
335 
336  private:
337 
338  Aws::String m_subdirectory;
339  bool m_subdirectoryHasBeenSet;
340 
341  Aws::String m_efsFilesystemArn;
342  bool m_efsFilesystemArnHasBeenSet;
343 
344  Ec2Config m_ec2Config;
345  bool m_ec2ConfigHasBeenSet;
346 
348  bool m_tagsHasBeenSet;
349  };
350 
351 } // namespace Model
352 } // namespace DataSync
353 } // namespace Aws
Aws::DataSync::Model::CreateLocationEfsRequest::WithSubdirectory
CreateLocationEfsRequest & WithSubdirectory(const Aws::String &value)
Definition: CreateLocationEfsRequest.h:95
Aws::DataSync::Model::CreateLocationEfsRequest::SetTags
void SetTags(const Aws::Vector< TagListEntry > &value)
Definition: CreateLocationEfsRequest.h:294
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::CreateLocationEfsRequest::SetEc2Config
void SetEc2Config(const Ec2Config &value)
Definition: CreateLocationEfsRequest.h:212
Aws::DataSync::Model::CreateLocationEfsRequest::SetEfsFilesystemArn
void SetEfsFilesystemArn(const Aws::String &value)
Definition: CreateLocationEfsRequest.h:129
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataSync::Model::TagListEntry
Definition: TagListEntry.h:36
Aws::DataSync::Model::CreateLocationEfsRequest::GetEfsFilesystemArn
const Aws::String & GetEfsFilesystemArn() const
Definition: CreateLocationEfsRequest.h:119
Aws::DataSync::Model::CreateLocationEfsRequest::WithEfsFilesystemArn
CreateLocationEfsRequest & WithEfsFilesystemArn(const Aws::String &value)
Definition: CreateLocationEfsRequest.h:144
Aws::DataSync::Model::CreateLocationEfsRequest::GetEc2Config
const Ec2Config & GetEc2Config() const
Definition: CreateLocationEfsRequest.h:174
Aws::DataSync::Model::CreateLocationEfsRequest::SetSubdirectory
void SetSubdirectory(Aws::String &&value)
Definition: CreateLocationEfsRequest.h:77
DataSyncRequest.h
Aws::DataSync::Model::CreateLocationEfsRequest::SetEfsFilesystemArn
void SetEfsFilesystemArn(Aws::String &&value)
Definition: CreateLocationEfsRequest.h:134
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataSync::Model::CreateLocationEfsRequest::WithEfsFilesystemArn
CreateLocationEfsRequest & WithEfsFilesystemArn(Aws::String &&value)
Definition: CreateLocationEfsRequest.h:149
Aws::DataSync::Model::CreateLocationEfsRequest::GetTags
const Aws::Vector< TagListEntry > & GetTags() const
Definition: CreateLocationEfsRequest.h:278
AWSVector.h
Aws::DataSync::Model::CreateLocationEfsRequest::Ec2ConfigHasBeenSet
bool Ec2ConfigHasBeenSet() const
Definition: CreateLocationEfsRequest.h:193
Aws::DataSync::Model::CreateLocationEfsRequest::AddTags
CreateLocationEfsRequest & AddTags(TagListEntry &&value)
Definition: CreateLocationEfsRequest.h:334
Aws::DataSync::Model::CreateLocationEfsRequest::SetEfsFilesystemArn
void SetEfsFilesystemArn(const char *value)
Definition: CreateLocationEfsRequest.h:139
Aws::DataSync::Model::CreateLocationEfsRequest::SetSubdirectory
void SetSubdirectory(const Aws::String &value)
Definition: CreateLocationEfsRequest.h:68
Aws::DataSync::Model::CreateLocationEfsRequest::GetSubdirectory
const Aws::String & GetSubdirectory() const
Definition: CreateLocationEfsRequest.h:50
Aws::DataSync::Model::CreateLocationEfsRequest::SetTags
void SetTags(Aws::Vector< TagListEntry > &&value)
Definition: CreateLocationEfsRequest.h:302
Aws::DataSync::Model::CreateLocationEfsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateLocationEfsRequest.h:36
Aws::DataSync::Model::CreateLocationEfsRequest::WithEc2Config
CreateLocationEfsRequest & WithEc2Config(const Ec2Config &value)
Definition: CreateLocationEfsRequest.h:250
Aws::DataSync::Model::CreateLocationEfsRequest::WithEfsFilesystemArn
CreateLocationEfsRequest & WithEfsFilesystemArn(const char *value)
Definition: CreateLocationEfsRequest.h:154
TagListEntry.h
Aws::DataSync::Model::CreateLocationEfsRequest::CreateLocationEfsRequest
CreateLocationEfsRequest()
Aws::DataSync::Model::CreateLocationEfsRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::CreateLocationEfsRequest::WithTags
CreateLocationEfsRequest & WithTags(const Aws::Vector< TagListEntry > &value)
Definition: CreateLocationEfsRequest.h:310
Aws::DataSync::Model::CreateLocationEfsRequest::EfsFilesystemArnHasBeenSet
bool EfsFilesystemArnHasBeenSet() const
Definition: CreateLocationEfsRequest.h:124
Aws::DataSync::Model::CreateLocationEfsRequest::WithSubdirectory
CreateLocationEfsRequest & WithSubdirectory(const char *value)
Definition: CreateLocationEfsRequest.h:113
Aws::DataSync::Model::CreateLocationEfsRequest::SubdirectoryHasBeenSet
bool SubdirectoryHasBeenSet() const
Definition: CreateLocationEfsRequest.h:59
Aws::DataSync::Model::CreateLocationEfsRequest
Definition: CreateLocationEfsRequest.h:28
Aws::DataSync::DataSyncRequest
Definition: DataSyncRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::Ec2Config
Definition: Ec2Config.h:37
Aws::DataSync::Model::CreateLocationEfsRequest::WithEc2Config
CreateLocationEfsRequest & WithEc2Config(Ec2Config &&value)
Definition: CreateLocationEfsRequest.h:269
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::CreateLocationEfsRequest::SetSubdirectory
void SetSubdirectory(const char *value)
Definition: CreateLocationEfsRequest.h:86
Aws::DataSync::Model::CreateLocationEfsRequest::AddTags
CreateLocationEfsRequest & AddTags(const TagListEntry &value)
Definition: CreateLocationEfsRequest.h:326
Aws::DataSync::Model::CreateLocationEfsRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateLocationEfsRequest.h:286
Aws::DataSync::Model::CreateLocationEfsRequest::SetEc2Config
void SetEc2Config(Ec2Config &&value)
Definition: CreateLocationEfsRequest.h:231
Aws::DataSync::Model::CreateLocationEfsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataSync::Model::CreateLocationEfsRequest::WithSubdirectory
CreateLocationEfsRequest & WithSubdirectory(Aws::String &&value)
Definition: CreateLocationEfsRequest.h:104
Ec2Config.h
Aws::DataSync::Model::CreateLocationEfsRequest::WithTags
CreateLocationEfsRequest & WithTags(Aws::Vector< TagListEntry > &&value)
Definition: CreateLocationEfsRequest.h:318