AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeFileSystemAssociationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeFileSystemAssociations"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::Vector<Aws::String>& GetFileSystemAssociationARNList() const{ return m_fileSystemAssociationARNList; }
43 
48  inline bool FileSystemAssociationARNListHasBeenSet() const { return m_fileSystemAssociationARNListHasBeenSet; }
49 
54  inline void SetFileSystemAssociationARNList(const Aws::Vector<Aws::String>& value) { m_fileSystemAssociationARNListHasBeenSet = true; m_fileSystemAssociationARNList = value; }
55 
60  inline void SetFileSystemAssociationARNList(Aws::Vector<Aws::String>&& value) { m_fileSystemAssociationARNListHasBeenSet = true; m_fileSystemAssociationARNList = std::move(value); }
61 
66  inline DescribeFileSystemAssociationsRequest& WithFileSystemAssociationARNList(const Aws::Vector<Aws::String>& value) { SetFileSystemAssociationARNList(value); return *this;}
67 
72  inline DescribeFileSystemAssociationsRequest& WithFileSystemAssociationARNList(Aws::Vector<Aws::String>&& value) { SetFileSystemAssociationARNList(std::move(value)); return *this;}
73 
78  inline DescribeFileSystemAssociationsRequest& AddFileSystemAssociationARNList(const Aws::String& value) { m_fileSystemAssociationARNListHasBeenSet = true; m_fileSystemAssociationARNList.push_back(value); return *this; }
79 
84  inline DescribeFileSystemAssociationsRequest& AddFileSystemAssociationARNList(Aws::String&& value) { m_fileSystemAssociationARNListHasBeenSet = true; m_fileSystemAssociationARNList.push_back(std::move(value)); return *this; }
85 
90  inline DescribeFileSystemAssociationsRequest& AddFileSystemAssociationARNList(const char* value) { m_fileSystemAssociationARNListHasBeenSet = true; m_fileSystemAssociationARNList.push_back(value); return *this; }
91 
92  private:
93 
94  Aws::Vector<Aws::String> m_fileSystemAssociationARNList;
95  bool m_fileSystemAssociationARNListHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace StorageGateway
100 } // namespace Aws
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFileSystemAssociationsRequest.h:31
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::SetFileSystemAssociationARNList
void SetFileSystemAssociationARNList(Aws::Vector< Aws::String > &&value)
Definition: DescribeFileSystemAssociationsRequest.h:60
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::SetFileSystemAssociationARNList
void SetFileSystemAssociationARNList(const Aws::Vector< Aws::String > &value)
Definition: DescribeFileSystemAssociationsRequest.h:54
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::FileSystemAssociationARNListHasBeenSet
bool FileSystemAssociationARNListHasBeenSet() const
Definition: DescribeFileSystemAssociationsRequest.h:48
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::GetFileSystemAssociationARNList
const Aws::Vector< Aws::String > & GetFileSystemAssociationARNList() const
Definition: DescribeFileSystemAssociationsRequest.h:42
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest
Definition: DescribeFileSystemAssociationsRequest.h:23
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::AddFileSystemAssociationARNList
DescribeFileSystemAssociationsRequest & AddFileSystemAssociationARNList(Aws::String &&value)
Definition: DescribeFileSystemAssociationsRequest.h:84
AWSVector.h
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::WithFileSystemAssociationARNList
DescribeFileSystemAssociationsRequest & WithFileSystemAssociationARNList(const Aws::Vector< Aws::String > &value)
Definition: DescribeFileSystemAssociationsRequest.h:66
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::WithFileSystemAssociationARNList
DescribeFileSystemAssociationsRequest & WithFileSystemAssociationARNList(Aws::Vector< Aws::String > &&value)
Definition: DescribeFileSystemAssociationsRequest.h:72
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::AddFileSystemAssociationARNList
DescribeFileSystemAssociationsRequest & AddFileSystemAssociationARNList(const char *value)
Definition: DescribeFileSystemAssociationsRequest.h:90
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::AddFileSystemAssociationARNList
DescribeFileSystemAssociationsRequest & AddFileSystemAssociationARNList(const Aws::String &value)
Definition: DescribeFileSystemAssociationsRequest.h:78
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeFileSystemAssociationsRequest::DescribeFileSystemAssociationsRequest
DescribeFileSystemAssociationsRequest()