AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDataRepositoryAssociationsRequest.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/Filter.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 "DescribeDataRepositoryAssociations"; }
33
34 AWS_FSX_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::Vector<Aws::String>& GetAssociationIds() const { return m_associationIds; }
45 inline bool AssociationIdsHasBeenSet() const { return m_associationIdsHasBeenSet; }
46 template<typename AssociationIdsT = Aws::Vector<Aws::String>>
47 void SetAssociationIds(AssociationIdsT&& value) { m_associationIdsHasBeenSet = true; m_associationIds = std::forward<AssociationIdsT>(value); }
48 template<typename AssociationIdsT = Aws::Vector<Aws::String>>
49 DescribeDataRepositoryAssociationsRequest& WithAssociationIds(AssociationIdsT&& value) { SetAssociationIds(std::forward<AssociationIdsT>(value)); return *this;}
50 template<typename AssociationIdsT = Aws::String>
51 DescribeDataRepositoryAssociationsRequest& AddAssociationIds(AssociationIdsT&& value) { m_associationIdsHasBeenSet = true; m_associationIds.emplace_back(std::forward<AssociationIdsT>(value)); return *this; }
53
55
56 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
57 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
58 template<typename FiltersT = Aws::Vector<Filter>>
59 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
60 template<typename FiltersT = Aws::Vector<Filter>>
61 DescribeDataRepositoryAssociationsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
62 template<typename FiltersT = Filter>
63 DescribeDataRepositoryAssociationsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
65
67
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; }
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 DescribeDataRepositoryAssociationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
86 private:
87
88 Aws::Vector<Aws::String> m_associationIds;
89 bool m_associationIdsHasBeenSet = false;
90
91 Aws::Vector<Filter> m_filters;
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
DescribeDataRepositoryAssociationsRequest & WithFilters(FiltersT &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeDataRepositoryAssociationsRequest & WithNextToken(NextTokenT &&value)
DescribeDataRepositoryAssociationsRequest & AddFilters(FiltersT &&value)
AWS_FSX_API Aws::String SerializePayload() const override
DescribeDataRepositoryAssociationsRequest & WithAssociationIds(AssociationIdsT &&value)
DescribeDataRepositoryAssociationsRequest & WithMaxResults(int value)
DescribeDataRepositoryAssociationsRequest & AddAssociationIds(AssociationIdsT &&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