AWS SDK for C++  1.9.159
AWS SDK for C++
CreateLocationS3Result.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 CreateLocationS3Result& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
69 
74  inline CreateLocationS3Result& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
75 
80  inline CreateLocationS3Result& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DataSync::Model::CreateLocationS3Result::WithLocationArn
CreateLocationS3Result & WithLocationArn(const char *value)
Definition: CreateLocationS3Result.h:80
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::CreateLocationS3Result::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: CreateLocationS3Result.h:56
Aws::DataSync::Model::CreateLocationS3Result::CreateLocationS3Result
CreateLocationS3Result()
Aws::DataSync::Model::CreateLocationS3Result::operator=
CreateLocationS3Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::CreateLocationS3Result::WithLocationArn
CreateLocationS3Result & WithLocationArn(Aws::String &&value)
Definition: CreateLocationS3Result.h:74
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::CreateLocationS3Result::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: CreateLocationS3Result.h:50
Aws::DataSync::Model::CreateLocationS3Result::CreateLocationS3Result
CreateLocationS3Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::CreateLocationS3Result::WithLocationArn
CreateLocationS3Result & WithLocationArn(const Aws::String &value)
Definition: CreateLocationS3Result.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::CreateLocationS3Result::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: CreateLocationS3Result.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::CreateLocationS3Result::SetLocationArn
void SetLocationArn(const char *value)
Definition: CreateLocationS3Result.h:62
Aws::DataSync::Model::CreateLocationS3Result
Definition: CreateLocationS3Result.h:33