AWS SDK for C++  1.9.155
AWS SDK for C++
DescribeLocationNfsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DataSync
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeLocationNfs"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
44 
48  inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
49 
53  inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
54 
58  inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
59 
63  inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
64 
68  inline DescribeLocationNfsRequest& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
69 
73  inline DescribeLocationNfsRequest& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
74 
78  inline DescribeLocationNfsRequest& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
79 
80  private:
81 
82  Aws::String m_locationArn;
83  bool m_locationArnHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace DataSync
88 } // namespace Aws
Aws::DataSync::Model::DescribeLocationNfsRequest::LocationArnHasBeenSet
bool LocationArnHasBeenSet() const
Definition: DescribeLocationNfsRequest.h:48
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataSync::Model::DescribeLocationNfsRequest::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: DescribeLocationNfsRequest.h:53
DataSyncRequest.h
Aws::DataSync::Model::DescribeLocationNfsRequest::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: DescribeLocationNfsRequest.h:43
Aws::DataSync::Model::DescribeLocationNfsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeLocationNfsRequest.h:33
Aws::DataSync::Model::DescribeLocationNfsRequest::SetLocationArn
void SetLocationArn(const char *value)
Definition: DescribeLocationNfsRequest.h:63
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::DescribeLocationNfsRequest::WithLocationArn
DescribeLocationNfsRequest & WithLocationArn(Aws::String &&value)
Definition: DescribeLocationNfsRequest.h:73
Aws::DataSync::Model::DescribeLocationNfsRequest::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: DescribeLocationNfsRequest.h:58
Aws::DataSync::Model::DescribeLocationNfsRequest::DescribeLocationNfsRequest
DescribeLocationNfsRequest()
Aws::DataSync::Model::DescribeLocationNfsRequest::WithLocationArn
DescribeLocationNfsRequest & WithLocationArn(const char *value)
Definition: DescribeLocationNfsRequest.h:78
Aws::DataSync::Model::DescribeLocationNfsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataSync::DataSyncRequest
Definition: DataSyncRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::DescribeLocationNfsRequest::WithLocationArn
DescribeLocationNfsRequest & WithLocationArn(const Aws::String &value)
Definition: DescribeLocationNfsRequest.h:68
Aws::DataSync::Model::DescribeLocationNfsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataSync::Model::DescribeLocationNfsRequest
Definition: DescribeLocationNfsRequest.h:25