AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeLocationFsxWindowsRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeLocationFsxWindows"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
42 
47  inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
48 
53  inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
54 
59  inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
60 
65  inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
66 
71  inline DescribeLocationFsxWindowsRequest& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
72 
77  inline DescribeLocationFsxWindowsRequest& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
78 
83  inline DescribeLocationFsxWindowsRequest& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
84 
85  private:
86 
87  Aws::String m_locationArn;
88  bool m_locationArnHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace DataSync
93 } // namespace Aws
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: DescribeLocationFsxWindowsRequest.h:53
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::DescribeLocationFsxWindowsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest
Definition: DescribeLocationFsxWindowsRequest.h:22
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::WithLocationArn
DescribeLocationFsxWindowsRequest & WithLocationArn(const char *value)
Definition: DescribeLocationFsxWindowsRequest.h:83
DataSyncRequest.h
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeLocationFsxWindowsRequest.h:30
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::DescribeLocationFsxWindowsRequest
DescribeLocationFsxWindowsRequest()
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: DescribeLocationFsxWindowsRequest.h:41
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::LocationArnHasBeenSet
bool LocationArnHasBeenSet() const
Definition: DescribeLocationFsxWindowsRequest.h:47
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: DescribeLocationFsxWindowsRequest.h:59
Aws::DataSync::DataSyncRequest
Definition: DataSyncRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::WithLocationArn
DescribeLocationFsxWindowsRequest & WithLocationArn(const Aws::String &value)
Definition: DescribeLocationFsxWindowsRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::SetLocationArn
void SetLocationArn(const char *value)
Definition: DescribeLocationFsxWindowsRequest.h:65
Aws::DataSync::Model::DescribeLocationFsxWindowsRequest::WithLocationArn
DescribeLocationFsxWindowsRequest & WithLocationArn(Aws::String &&value)
Definition: DescribeLocationFsxWindowsRequest.h:77