AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
49 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
50 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
51 inline ListEntityOwnersRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
52 inline ListEntityOwnersRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
53 inline ListEntityOwnersRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
55
57
60 inline const Aws::String& GetEntityIdentifier() const{ return m_entityIdentifier; }
61 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
62 inline void SetEntityIdentifier(const Aws::String& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = value; }
63 inline void SetEntityIdentifier(Aws::String&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::move(value); }
64 inline void SetEntityIdentifier(const char* value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier.assign(value); }
65 inline ListEntityOwnersRequest& WithEntityIdentifier(const Aws::String& value) { SetEntityIdentifier(value); return *this;}
66 inline ListEntityOwnersRequest& WithEntityIdentifier(Aws::String&& value) { SetEntityIdentifier(std::move(value)); return *this;}
67 inline ListEntityOwnersRequest& WithEntityIdentifier(const char* value) { SetEntityIdentifier(value); return *this;}
69
71
74 inline const DataZoneEntityType& GetEntityType() const{ return m_entityType; }
75 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
76 inline void SetEntityType(const DataZoneEntityType& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
77 inline void SetEntityType(DataZoneEntityType&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
78 inline ListEntityOwnersRequest& WithEntityType(const DataZoneEntityType& value) { SetEntityType(value); return *this;}
79 inline ListEntityOwnersRequest& WithEntityType(DataZoneEntityType&& value) { SetEntityType(std::move(value)); return *this;}
81
83
90 inline int GetMaxResults() const{ return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline ListEntityOwnersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95
97
105 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
106 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
108 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
110 inline ListEntityOwnersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 inline ListEntityOwnersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 inline ListEntityOwnersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 private:
115
116 Aws::String m_domainIdentifier;
117 bool m_domainIdentifierHasBeenSet = false;
118
119 Aws::String m_entityIdentifier;
120 bool m_entityIdentifierHasBeenSet = false;
121
122 DataZoneEntityType m_entityType;
123 bool m_entityTypeHasBeenSet = false;
124
125 int m_maxResults;
126 bool m_maxResultsHasBeenSet = false;
127
128 Aws::String m_nextToken;
129 bool m_nextTokenHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace DataZone
134} // namespace Aws
ListEntityOwnersRequest & WithDomainIdentifier(Aws::String &&value)
ListEntityOwnersRequest & WithDomainIdentifier(const Aws::String &value)
ListEntityOwnersRequest & WithMaxResults(int value)
void SetEntityType(const DataZoneEntityType &value)
ListEntityOwnersRequest & WithEntityType(DataZoneEntityType &&value)
ListEntityOwnersRequest & WithEntityIdentifier(const char *value)
ListEntityOwnersRequest & WithNextToken(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListEntityOwnersRequest & WithEntityIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListEntityOwnersRequest & WithEntityIdentifier(const Aws::String &value)
ListEntityOwnersRequest & WithNextToken(const Aws::String &value)
ListEntityOwnersRequest & WithEntityType(const DataZoneEntityType &value)
ListEntityOwnersRequest & WithNextToken(const char *value)
const DataZoneEntityType & GetEntityType() const
ListEntityOwnersRequest & WithDomainIdentifier(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String