AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListInvoiceSummariesRequest.h
1
6#pragma once
7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/invoicing/InvoicingRequest.h>
9#include <aws/invoicing/model/InvoiceSummariesSelector.h>
10#include <aws/invoicing/model/InvoiceSummariesFilter.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Invoicing
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_INVOICING_API ListInvoiceSummariesRequest() = default;
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 "ListInvoiceSummaries"; }
33
34 AWS_INVOICING_API Aws::String SerializePayload() const override;
35
37
38
40
45 inline const InvoiceSummariesSelector& GetSelector() const { return m_selector; }
46 inline bool SelectorHasBeenSet() const { return m_selectorHasBeenSet; }
47 template<typename SelectorT = InvoiceSummariesSelector>
48 void SetSelector(SelectorT&& value) { m_selectorHasBeenSet = true; m_selector = std::forward<SelectorT>(value); }
49 template<typename SelectorT = InvoiceSummariesSelector>
50 ListInvoiceSummariesRequest& WithSelector(SelectorT&& value) { SetSelector(std::forward<SelectorT>(value)); return *this;}
52
54
57 inline const InvoiceSummariesFilter& GetFilter() const { return m_filter; }
58 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
59 template<typename FilterT = InvoiceSummariesFilter>
60 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
61 template<typename FilterT = InvoiceSummariesFilter>
62 ListInvoiceSummariesRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
64
66
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 ListInvoiceSummariesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListInvoiceSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88 private:
89
90 InvoiceSummariesSelector m_selector;
91 bool m_selectorHasBeenSet = false;
92
94 bool m_filterHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 int m_maxResults{0};
100 bool m_maxResultsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Invoicing
105} // namespace Aws
ListInvoiceSummariesRequest & WithSelector(SelectorT &&value)
AWS_INVOICING_API Aws::String SerializePayload() const override
ListInvoiceSummariesRequest & WithFilter(FilterT &&value)
AWS_INVOICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListInvoiceSummariesRequest & WithMaxResults(int value)
AWS_INVOICING_API ListInvoiceSummariesRequest()=default
ListInvoiceSummariesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String