AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListSubscriptionTargetsRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/SortKey.h>
11#include <aws/datazone/model/SortOrder.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace DataZone
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_DATAZONE_API ListSubscriptionTargetsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListSubscriptionTargets"; }
37
38 AWS_DATAZONE_API Aws::String SerializePayload() const override;
39
40 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
49 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
50 template<typename DomainIdentifierT = Aws::String>
51 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
52 template<typename DomainIdentifierT = Aws::String>
53 ListSubscriptionTargetsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
55
57
61 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
62 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
63 template<typename EnvironmentIdentifierT = Aws::String>
64 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
65 template<typename EnvironmentIdentifierT = Aws::String>
66 ListSubscriptionTargetsRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) { SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value)); return *this;}
68
70
78 inline int GetMaxResults() const { return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
81 inline ListSubscriptionTargetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
83
85
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template<typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<typename NextTokenT = Aws::String>
99 ListSubscriptionTargetsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
101
103
106 inline SortKey GetSortBy() const { return m_sortBy; }
107 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
108 inline void SetSortBy(SortKey value) { m_sortByHasBeenSet = true; m_sortBy = value; }
109 inline ListSubscriptionTargetsRequest& WithSortBy(SortKey value) { SetSortBy(value); return *this;}
111
113
116 inline SortOrder GetSortOrder() const { return m_sortOrder; }
117 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
118 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
121 private:
122
123 Aws::String m_domainIdentifier;
124 bool m_domainIdentifierHasBeenSet = false;
125
126 Aws::String m_environmentIdentifier;
127 bool m_environmentIdentifierHasBeenSet = false;
128
129 int m_maxResults{0};
130 bool m_maxResultsHasBeenSet = false;
131
132 Aws::String m_nextToken;
133 bool m_nextTokenHasBeenSet = false;
134
135 SortKey m_sortBy{SortKey::NOT_SET};
136 bool m_sortByHasBeenSet = false;
137
138 SortOrder m_sortOrder{SortOrder::NOT_SET};
139 bool m_sortOrderHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace DataZone
144} // namespace Aws
ListSubscriptionTargetsRequest & WithSortOrder(SortOrder value)
AWS_DATAZONE_API ListSubscriptionTargetsRequest()=default
ListSubscriptionTargetsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListSubscriptionTargetsRequest & WithSortBy(SortKey value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSubscriptionTargetsRequest & WithNextToken(NextTokenT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListSubscriptionTargetsRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
ListSubscriptionTargetsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String