AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeS3AccessPointAttachmentsRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/fsx/model/S3AccessPointAttachmentsFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace FSx
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeS3AccessPointAttachments"; }
33
34 AWS_FSX_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
45 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
46 template<typename NamesT = Aws::Vector<Aws::String>>
47 void SetNames(NamesT&& value) { m_namesHasBeenSet = true; m_names = std::forward<NamesT>(value); }
48 template<typename NamesT = Aws::Vector<Aws::String>>
49 DescribeS3AccessPointAttachmentsRequest& WithNames(NamesT&& value) { SetNames(std::forward<NamesT>(value)); return *this;}
50 template<typename NamesT = Aws::String>
51 DescribeS3AccessPointAttachmentsRequest& AddNames(NamesT&& value) { m_namesHasBeenSet = true; m_names.emplace_back(std::forward<NamesT>(value)); return *this; }
53
55
59 inline const Aws::Vector<S3AccessPointAttachmentsFilter>& GetFilters() const { return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 template<typename FiltersT = Aws::Vector<S3AccessPointAttachmentsFilter>>
62 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
63 template<typename FiltersT = Aws::Vector<S3AccessPointAttachmentsFilter>>
64 DescribeS3AccessPointAttachmentsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
65 template<typename FiltersT = S3AccessPointAttachmentsFilter>
66 DescribeS3AccessPointAttachmentsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
68
70
71 inline int GetMaxResults() const { return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline DescribeS3AccessPointAttachmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
79 inline const Aws::String& GetNextToken() const { return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 template<typename NextTokenT = Aws::String>
82 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
83 template<typename NextTokenT = Aws::String>
84 DescribeS3AccessPointAttachmentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
86 private:
87
89 bool m_namesHasBeenSet = false;
90
92 bool m_filtersHasBeenSet = false;
93
94 int m_maxResults{0};
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace FSx
103} // namespace Aws
const Aws::Vector< S3AccessPointAttachmentsFilter > & GetFilters() const
DescribeS3AccessPointAttachmentsRequest & AddFilters(FiltersT &&value)
DescribeS3AccessPointAttachmentsRequest & WithFilters(FiltersT &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeS3AccessPointAttachmentsRequest & WithNextToken(NextTokenT &&value)
DescribeS3AccessPointAttachmentsRequest & AddNames(NamesT &&value)
DescribeS3AccessPointAttachmentsRequest & WithMaxResults(int value)
AWS_FSX_API Aws::String SerializePayload() const override
DescribeS3AccessPointAttachmentsRequest & WithNames(NamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector