AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeLocationS3Request.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 "DescribeLocationS3"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
45 
50  inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
51 
56  inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
57 
62  inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
63 
68  inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
69 
74  inline DescribeLocationS3Request& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
75 
80  inline DescribeLocationS3Request& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
81 
86  inline DescribeLocationS3Request& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
87 
88  private:
89 
90  Aws::String m_locationArn;
91  bool m_locationArnHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace DataSync
96 } // namespace Aws
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::DescribeLocationS3Request::SerializePayload
Aws::String SerializePayload() const override
Aws::DataSync::Model::DescribeLocationS3Request::LocationArnHasBeenSet
bool LocationArnHasBeenSet() const
Definition: DescribeLocationS3Request.h:50
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataSync::Model::DescribeLocationS3Request::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: DescribeLocationS3Request.h:62
Aws::DataSync::Model::DescribeLocationS3Request::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: DescribeLocationS3Request.h:44
Aws::DataSync::Model::DescribeLocationS3Request::WithLocationArn
DescribeLocationS3Request & WithLocationArn(Aws::String &&value)
Definition: DescribeLocationS3Request.h:80
Aws::DataSync::Model::DescribeLocationS3Request::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataSync::Model::DescribeLocationS3Request::SetLocationArn
void SetLocationArn(const char *value)
Definition: DescribeLocationS3Request.h:68
Aws::DataSync::Model::DescribeLocationS3Request::WithLocationArn
DescribeLocationS3Request & WithLocationArn(const char *value)
Definition: DescribeLocationS3Request.h:86
DataSyncRequest.h
Aws::DataSync::Model::DescribeLocationS3Request::WithLocationArn
DescribeLocationS3Request & WithLocationArn(const Aws::String &value)
Definition: DescribeLocationS3Request.h:74
Aws::DataSync::Model::DescribeLocationS3Request::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: DescribeLocationS3Request.h:56
Aws::DataSync::Model::DescribeLocationS3Request
Definition: DescribeLocationS3Request.h:25
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::DescribeLocationS3Request::DescribeLocationS3Request
DescribeLocationS3Request()
Aws::DataSync::Model::DescribeLocationS3Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeLocationS3Request.h:33
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