AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeFileSystemAssociationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace StorageGateway
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<FileSystemAssociationInfo>& GetFileSystemAssociationInfoList() const{ return m_fileSystemAssociationInfoList; }
41 
46  inline void SetFileSystemAssociationInfoList(const Aws::Vector<FileSystemAssociationInfo>& value) { m_fileSystemAssociationInfoList = value; }
47 
52  inline void SetFileSystemAssociationInfoList(Aws::Vector<FileSystemAssociationInfo>&& value) { m_fileSystemAssociationInfoList = std::move(value); }
53 
58  inline DescribeFileSystemAssociationsResult& WithFileSystemAssociationInfoList(const Aws::Vector<FileSystemAssociationInfo>& value) { SetFileSystemAssociationInfoList(value); return *this;}
59 
64  inline DescribeFileSystemAssociationsResult& WithFileSystemAssociationInfoList(Aws::Vector<FileSystemAssociationInfo>&& value) { SetFileSystemAssociationInfoList(std::move(value)); return *this;}
65 
70  inline DescribeFileSystemAssociationsResult& AddFileSystemAssociationInfoList(const FileSystemAssociationInfo& value) { m_fileSystemAssociationInfoList.push_back(value); return *this; }
71 
76  inline DescribeFileSystemAssociationsResult& AddFileSystemAssociationInfoList(FileSystemAssociationInfo&& value) { m_fileSystemAssociationInfoList.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<FileSystemAssociationInfo> m_fileSystemAssociationInfoList;
81  };
82 
83 } // namespace Model
84 } // namespace StorageGateway
85 } // namespace Aws
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::operator=
DescribeFileSystemAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::AddFileSystemAssociationInfoList
DescribeFileSystemAssociationsResult & AddFileSystemAssociationInfoList(const FileSystemAssociationInfo &value)
Definition: DescribeFileSystemAssociationsResult.h:70
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::DescribeFileSystemAssociationsResult
DescribeFileSystemAssociationsResult()
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult
Definition: DescribeFileSystemAssociationsResult.h:29
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::SetFileSystemAssociationInfoList
void SetFileSystemAssociationInfoList(Aws::Vector< FileSystemAssociationInfo > &&value)
Definition: DescribeFileSystemAssociationsResult.h:52
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::WithFileSystemAssociationInfoList
DescribeFileSystemAssociationsResult & WithFileSystemAssociationInfoList(const Aws::Vector< FileSystemAssociationInfo > &value)
Definition: DescribeFileSystemAssociationsResult.h:58
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::GetFileSystemAssociationInfoList
const Aws::Vector< FileSystemAssociationInfo > & GetFileSystemAssociationInfoList() const
Definition: DescribeFileSystemAssociationsResult.h:40
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
FileSystemAssociationInfo.h
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::SetFileSystemAssociationInfoList
void SetFileSystemAssociationInfoList(const Aws::Vector< FileSystemAssociationInfo > &value)
Definition: DescribeFileSystemAssociationsResult.h:46
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::FileSystemAssociationInfo
Definition: FileSystemAssociationInfo.h:38
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::WithFileSystemAssociationInfoList
DescribeFileSystemAssociationsResult & WithFileSystemAssociationInfoList(Aws::Vector< FileSystemAssociationInfo > &&value)
Definition: DescribeFileSystemAssociationsResult.h:64
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::DescribeFileSystemAssociationsResult
DescribeFileSystemAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeFileSystemAssociationsResult::AddFileSystemAssociationInfoList
DescribeFileSystemAssociationsResult & AddFileSystemAssociationInfoList(FileSystemAssociationInfo &&value)
Definition: DescribeFileSystemAssociationsResult.h:76