AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListEntityOwnersRequest.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/DataZoneEntityType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace DataZone
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DATAZONE_API ListEntityOwnersRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListEntityOwners"; }
36
37 AWS_DATAZONE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
47 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
48 template<typename DomainIdentifierT = Aws::String>
49 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
50 template<typename DomainIdentifierT = Aws::String>
51 ListEntityOwnersRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
53
55
58 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
59 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
60 template<typename EntityIdentifierT = Aws::String>
61 void SetEntityIdentifier(EntityIdentifierT&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::forward<EntityIdentifierT>(value); }
62 template<typename EntityIdentifierT = Aws::String>
63 ListEntityOwnersRequest& WithEntityIdentifier(EntityIdentifierT&& value) { SetEntityIdentifier(std::forward<EntityIdentifierT>(value)); return *this;}
65
67
70 inline DataZoneEntityType GetEntityType() const { return m_entityType; }
71 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
72 inline void SetEntityType(DataZoneEntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
75
77
84 inline int GetMaxResults() const { return m_maxResults; }
85 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
86 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
87 inline ListEntityOwnersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
89
91
99 inline const Aws::String& GetNextToken() const { return m_nextToken; }
100 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 template<typename NextTokenT = Aws::String>
102 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
103 template<typename NextTokenT = Aws::String>
104 ListEntityOwnersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
106 private:
107
108 Aws::String m_domainIdentifier;
109 bool m_domainIdentifierHasBeenSet = false;
110
111 Aws::String m_entityIdentifier;
112 bool m_entityIdentifierHasBeenSet = false;
113
115 bool m_entityTypeHasBeenSet = false;
116
117 int m_maxResults{0};
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace DataZone
126} // namespace Aws
AWS_DATAZONE_API ListEntityOwnersRequest()=default
ListEntityOwnersRequest & WithMaxResults(int value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListEntityOwnersRequest & WithEntityType(DataZoneEntityType value)
virtual const char * GetServiceRequestName() const override
ListEntityOwnersRequest & WithNextToken(NextTokenT &&value)
ListEntityOwnersRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListEntityOwnersRequest & WithEntityIdentifier(EntityIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String