AWS SDK for C++  1.9.159
AWS SDK for C++
CreateLocationNfsResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DataSync
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
44  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
45 
50  inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
51 
56  inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
57 
62  inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
63 
68  inline CreateLocationNfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
69 
74  inline CreateLocationNfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
75 
80  inline CreateLocationNfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
81 
82  private:
83 
84  Aws::String m_locationArn;
85  };
86 
87 } // namespace Model
88 } // namespace DataSync
89 } // namespace Aws
Aws::DataSync::Model::CreateLocationNfsResult::CreateLocationNfsResult
CreateLocationNfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DataSync::Model::CreateLocationNfsResult::SetLocationArn
void SetLocationArn(const char *value)
Definition: CreateLocationNfsResult.h:62
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::CreateLocationNfsResult::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: CreateLocationNfsResult.h:56
Aws::DataSync::Model::CreateLocationNfsResult::WithLocationArn
CreateLocationNfsResult & WithLocationArn(Aws::String &&value)
Definition: CreateLocationNfsResult.h:74
Aws::DataSync::Model::CreateLocationNfsResult::WithLocationArn
CreateLocationNfsResult & WithLocationArn(const Aws::String &value)
Definition: CreateLocationNfsResult.h:68
Aws::DataSync::Model::CreateLocationNfsResult
Definition: CreateLocationNfsResult.h:33
Aws::DataSync::Model::CreateLocationNfsResult::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: CreateLocationNfsResult.h:50
AWSString.h
DataSync_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::CreateLocationNfsResult::operator=
CreateLocationNfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::CreateLocationNfsResult::WithLocationArn
CreateLocationNfsResult & WithLocationArn(const char *value)
Definition: CreateLocationNfsResult.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::CreateLocationNfsResult::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: CreateLocationNfsResult.h:44
Aws::DataSync::Model::CreateLocationNfsResult::CreateLocationNfsResult
CreateLocationNfsResult()