AWS SDK for C++  1.9.124
AWS SDK for C++
CreateSMBFileShareResult.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 StorageGateway
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
44 
48  inline void SetFileShareARN(const Aws::String& value) { m_fileShareARN = value; }
49 
53  inline void SetFileShareARN(Aws::String&& value) { m_fileShareARN = std::move(value); }
54 
58  inline void SetFileShareARN(const char* value) { m_fileShareARN.assign(value); }
59 
63  inline CreateSMBFileShareResult& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
64 
68  inline CreateSMBFileShareResult& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
69 
73  inline CreateSMBFileShareResult& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
74 
75  private:
76 
77  Aws::String m_fileShareARN;
78  };
79 
80 } // namespace Model
81 } // namespace StorageGateway
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::CreateSMBFileShareResult::GetFileShareARN
const Aws::String & GetFileShareARN() const
Definition: CreateSMBFileShareResult.h:43
Aws::StorageGateway::Model::CreateSMBFileShareResult::CreateSMBFileShareResult
CreateSMBFileShareResult()
Aws::StorageGateway::Model::CreateSMBFileShareResult
Definition: CreateSMBFileShareResult.h:33
Aws::StorageGateway::Model::CreateSMBFileShareResult::SetFileShareARN
void SetFileShareARN(const char *value)
Definition: CreateSMBFileShareResult.h:58
Aws::StorageGateway::Model::CreateSMBFileShareResult::CreateSMBFileShareResult
CreateSMBFileShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::CreateSMBFileShareResult::SetFileShareARN
void SetFileShareARN(const Aws::String &value)
Definition: CreateSMBFileShareResult.h:48
Aws::StorageGateway::Model::CreateSMBFileShareResult::operator=
CreateSMBFileShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::CreateSMBFileShareResult::WithFileShareARN
CreateSMBFileShareResult & WithFileShareARN(Aws::String &&value)
Definition: CreateSMBFileShareResult.h:68
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::CreateSMBFileShareResult::WithFileShareARN
CreateSMBFileShareResult & WithFileShareARN(const char *value)
Definition: CreateSMBFileShareResult.h:73
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::CreateSMBFileShareResult::WithFileShareARN
CreateSMBFileShareResult & WithFileShareARN(const Aws::String &value)
Definition: CreateSMBFileShareResult.h:63
Aws::StorageGateway::Model::CreateSMBFileShareResult::SetFileShareARN
void SetFileShareARN(Aws::String &&value)
Definition: CreateSMBFileShareResult.h:53