AWS SDK for C++  1.9.104
AWS SDK for C++
CreateVaultResult.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 Glacier
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetLocation() const{ return m_location; }
45 
49  inline void SetLocation(const Aws::String& value) { m_location = value; }
50 
54  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
55 
59  inline void SetLocation(const char* value) { m_location.assign(value); }
60 
64  inline CreateVaultResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
65 
69  inline CreateVaultResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
70 
74  inline CreateVaultResult& WithLocation(const char* value) { SetLocation(value); return *this;}
75 
76  private:
77 
78  Aws::String m_location;
79  };
80 
81 } // namespace Model
82 } // namespace Glacier
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::CreateVaultResult::CreateVaultResult
CreateVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::CreateVaultResult::GetLocation
const Aws::String & GetLocation() const
Definition: CreateVaultResult.h:44
Aws::Glacier::Model::CreateVaultResult::SetLocation
void SetLocation(const Aws::String &value)
Definition: CreateVaultResult.h:49
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::CreateVaultResult
Definition: CreateVaultResult.h:34
Aws::Glacier::Model::CreateVaultResult::SetLocation
void SetLocation(Aws::String &&value)
Definition: CreateVaultResult.h:54
Aws::Glacier::Model::CreateVaultResult::CreateVaultResult
CreateVaultResult()
AWSString.h
Aws::Glacier::Model::CreateVaultResult::WithLocation
CreateVaultResult & WithLocation(Aws::String &&value)
Definition: CreateVaultResult.h:69
Aws::Glacier::Model::CreateVaultResult::operator=
CreateVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::CreateVaultResult::SetLocation
void SetLocation(const char *value)
Definition: CreateVaultResult.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::CreateVaultResult::WithLocation
CreateVaultResult & WithLocation(const Aws::String &value)
Definition: CreateVaultResult.h:64
Aws::Glacier::Model::CreateVaultResult::WithLocation
CreateVaultResult & WithLocation(const char *value)
Definition: CreateVaultResult.h:74
Glacier_EXPORTS.h