AWS SDK for C++  1.9.126
AWS SDK for C++
AssociateFileSystemResult.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 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetFileSystemAssociationARN() const{ return m_fileSystemAssociationARN; }
39 
43  inline void SetFileSystemAssociationARN(const Aws::String& value) { m_fileSystemAssociationARN = value; }
44 
48  inline void SetFileSystemAssociationARN(Aws::String&& value) { m_fileSystemAssociationARN = std::move(value); }
49 
53  inline void SetFileSystemAssociationARN(const char* value) { m_fileSystemAssociationARN.assign(value); }
54 
58  inline AssociateFileSystemResult& WithFileSystemAssociationARN(const Aws::String& value) { SetFileSystemAssociationARN(value); return *this;}
59 
63  inline AssociateFileSystemResult& WithFileSystemAssociationARN(Aws::String&& value) { SetFileSystemAssociationARN(std::move(value)); return *this;}
64 
68  inline AssociateFileSystemResult& WithFileSystemAssociationARN(const char* value) { SetFileSystemAssociationARN(value); return *this;}
69 
70  private:
71 
72  Aws::String m_fileSystemAssociationARN;
73  };
74 
75 } // namespace Model
76 } // namespace StorageGateway
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::AssociateFileSystemResult
Definition: AssociateFileSystemResult.h:28
Aws::StorageGateway::Model::AssociateFileSystemResult::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const Aws::String &value)
Definition: AssociateFileSystemResult.h:43
Aws::StorageGateway::Model::AssociateFileSystemResult::WithFileSystemAssociationARN
AssociateFileSystemResult & WithFileSystemAssociationARN(Aws::String &&value)
Definition: AssociateFileSystemResult.h:63
Aws::StorageGateway::Model::AssociateFileSystemResult::WithFileSystemAssociationARN
AssociateFileSystemResult & WithFileSystemAssociationARN(const char *value)
Definition: AssociateFileSystemResult.h:68
Aws::StorageGateway::Model::AssociateFileSystemResult::AssociateFileSystemResult
AssociateFileSystemResult()
Aws::StorageGateway::Model::AssociateFileSystemResult::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(Aws::String &&value)
Definition: AssociateFileSystemResult.h:48
Aws::StorageGateway::Model::AssociateFileSystemResult::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const char *value)
Definition: AssociateFileSystemResult.h:53
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::AssociateFileSystemResult::GetFileSystemAssociationARN
const Aws::String & GetFileSystemAssociationARN() const
Definition: AssociateFileSystemResult.h:38
Aws::StorageGateway::Model::AssociateFileSystemResult::operator=
AssociateFileSystemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::AssociateFileSystemResult::AssociateFileSystemResult
AssociateFileSystemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::AssociateFileSystemResult::WithFileSystemAssociationARN
AssociateFileSystemResult & WithFileSystemAssociationARN(const Aws::String &value)
Definition: AssociateFileSystemResult.h:58