AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListSchemasRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/SchemaType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace CleanRooms {
19namespace Model {
20
24 public:
25 AWS_CLEANROOMS_API ListSchemasRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListSchemas"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
35 AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetCollaborationIdentifier() const { return m_collaborationIdentifier; }
43 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
44 template <typename CollaborationIdentifierT = Aws::String>
45 void SetCollaborationIdentifier(CollaborationIdentifierT&& value) {
46 m_collaborationIdentifierHasBeenSet = true;
47 m_collaborationIdentifier = std::forward<CollaborationIdentifierT>(value);
48 }
49 template <typename CollaborationIdentifierT = Aws::String>
50 ListSchemasRequest& WithCollaborationIdentifier(CollaborationIdentifierT&& value) {
51 SetCollaborationIdentifier(std::forward<CollaborationIdentifierT>(value));
52 return *this;
53 }
55
57
60 inline SchemaType GetSchemaType() const { return m_schemaType; }
61 inline bool SchemaTypeHasBeenSet() const { return m_schemaTypeHasBeenSet; }
62 inline void SetSchemaType(SchemaType value) {
63 m_schemaTypeHasBeenSet = true;
64 m_schemaType = value;
65 }
67 SetSchemaType(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 template <typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) {
80 m_nextTokenHasBeenSet = true;
81 m_nextToken = std::forward<NextTokenT>(value);
82 }
83 template <typename NextTokenT = Aws::String>
84 ListSchemasRequest& WithNextToken(NextTokenT&& value) {
85 SetNextToken(std::forward<NextTokenT>(value));
86 return *this;
87 }
89
91
96 inline int GetMaxResults() const { return m_maxResults; }
97 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
98 inline void SetMaxResults(int value) {
99 m_maxResultsHasBeenSet = true;
100 m_maxResults = value;
101 }
103 SetMaxResults(value);
104 return *this;
105 }
107 private:
108 Aws::String m_collaborationIdentifier;
109 bool m_collaborationIdentifierHasBeenSet = false;
110
111 SchemaType m_schemaType{SchemaType::NOT_SET};
112 bool m_schemaTypeHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116
117 int m_maxResults{0};
118 bool m_maxResultsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace CleanRooms
123} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetCollaborationIdentifier(CollaborationIdentifierT &&value)
ListSchemasRequest & WithMaxResults(int value)
AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSchemasRequest & WithCollaborationIdentifier(CollaborationIdentifierT &&value)
ListSchemasRequest & WithNextToken(NextTokenT &&value)
AWS_CLEANROOMS_API ListSchemasRequest()=default
ListSchemasRequest & WithSchemaType(SchemaType value)
const Aws::String & GetCollaborationIdentifier() const
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String