AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ListPartnershipsRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BIRequest.h>
8#include <aws/b2bi/B2BI_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace B2BI {
15namespace Model {
16
20 public:
21 AWS_B2BI_API ListPartnershipsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListPartnerships"; }
28
29 AWS_B2BI_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetProfileId() const { return m_profileId; }
39 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
40 template <typename ProfileIdT = Aws::String>
41 void SetProfileId(ProfileIdT&& value) {
42 m_profileIdHasBeenSet = true;
43 m_profileId = std::forward<ProfileIdT>(value);
44 }
45 template <typename ProfileIdT = Aws::String>
47 SetProfileId(std::forward<ProfileIdT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 template <typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) {
63 m_nextTokenHasBeenSet = true;
64 m_nextToken = std::forward<NextTokenT>(value);
65 }
66 template <typename NextTokenT = Aws::String>
68 SetNextToken(std::forward<NextTokenT>(value));
69 return *this;
70 }
72
74
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) {
80 m_maxResultsHasBeenSet = true;
81 m_maxResults = value;
82 }
84 SetMaxResults(value);
85 return *this;
86 }
88 private:
89 Aws::String m_profileId;
90 bool m_profileIdHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
95 int m_maxResults{0};
96 bool m_maxResultsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace B2BI
101} // namespace Aws
ListPartnershipsRequest & WithMaxResults(int value)
AWS_B2BI_API ListPartnershipsRequest()=default
ListPartnershipsRequest & WithProfileId(ProfileIdT &&value)
AWS_B2BI_API Aws::String SerializePayload() const override
ListPartnershipsRequest & WithNextToken(NextTokenT &&value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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