AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
51 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
52 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
54 inline ListSubscriptionTargetsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
55 inline ListSubscriptionTargetsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
57
59
63 inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; }
64 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
65 inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; }
66 inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); }
67 inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); }
70 inline ListSubscriptionTargetsRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;}
72
74
82 inline int GetMaxResults() const{ return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline ListSubscriptionTargetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87
89
98 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
100 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
102 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
103 inline ListSubscriptionTargetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 inline ListSubscriptionTargetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
105 inline ListSubscriptionTargetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107
109
112 inline const SortKey& GetSortBy() const{ return m_sortBy; }
113 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
114 inline void SetSortBy(const SortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
115 inline void SetSortBy(SortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
116 inline ListSubscriptionTargetsRequest& WithSortBy(const SortKey& value) { SetSortBy(value); return *this;}
117 inline ListSubscriptionTargetsRequest& WithSortBy(SortKey&& value) { SetSortBy(std::move(value)); return *this;}
119
121
124 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
125 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
126 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
127 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
128 inline ListSubscriptionTargetsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
129 inline ListSubscriptionTargetsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
131 private:
132
133 Aws::String m_domainIdentifier;
134 bool m_domainIdentifierHasBeenSet = false;
135
136 Aws::String m_environmentIdentifier;
137 bool m_environmentIdentifierHasBeenSet = false;
138
139 int m_maxResults;
140 bool m_maxResultsHasBeenSet = false;
141
142 Aws::String m_nextToken;
143 bool m_nextTokenHasBeenSet = false;
144
145 SortKey m_sortBy;
146 bool m_sortByHasBeenSet = false;
147
148 SortOrder m_sortOrder;
149 bool m_sortOrderHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace DataZone
154} // namespace Aws
ListSubscriptionTargetsRequest & WithEnvironmentIdentifier(const char *value)
ListSubscriptionTargetsRequest & WithNextToken(const Aws::String &value)
ListSubscriptionTargetsRequest & WithSortBy(const SortKey &value)
ListSubscriptionTargetsRequest & WithSortOrder(const SortOrder &value)
ListSubscriptionTargetsRequest & WithDomainIdentifier(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSubscriptionTargetsRequest & WithDomainIdentifier(const char *value)
ListSubscriptionTargetsRequest & WithEnvironmentIdentifier(const Aws::String &value)
ListSubscriptionTargetsRequest & WithNextToken(Aws::String &&value)
ListSubscriptionTargetsRequest & WithSortBy(SortKey &&value)
ListSubscriptionTargetsRequest & WithSortOrder(SortOrder &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListSubscriptionTargetsRequest & WithDomainIdentifier(const Aws::String &value)
ListSubscriptionTargetsRequest & WithNextToken(const char *value)
ListSubscriptionTargetsRequest & WithEnvironmentIdentifier(Aws::String &&value)
ListSubscriptionTargetsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String