AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListSchemasRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanrooms/model/SchemaType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CleanRooms
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CLEANROOMS_API ListSchemasRequest() = 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 "ListSchemas"; }
36
37 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
38
39 AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetCollaborationIdentifier() const { return m_collaborationIdentifier; }
48 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
49 template<typename CollaborationIdentifierT = Aws::String>
50 void SetCollaborationIdentifier(CollaborationIdentifierT&& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = std::forward<CollaborationIdentifierT>(value); }
51 template<typename CollaborationIdentifierT = Aws::String>
52 ListSchemasRequest& WithCollaborationIdentifier(CollaborationIdentifierT&& value) { SetCollaborationIdentifier(std::forward<CollaborationIdentifierT>(value)); return *this;}
54
56
59 inline SchemaType GetSchemaType() const { return m_schemaType; }
60 inline bool SchemaTypeHasBeenSet() const { return m_schemaTypeHasBeenSet; }
61 inline void SetSchemaType(SchemaType value) { m_schemaTypeHasBeenSet = true; m_schemaType = value; }
62 inline ListSchemasRequest& WithSchemaType(SchemaType value) { SetSchemaType(value); return *this;}
64
66
69 inline const Aws::String& GetNextToken() const { return m_nextToken; }
70 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 template<typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
73 template<typename NextTokenT = Aws::String>
74 ListSchemasRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
76
78
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListSchemasRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88 private:
89
90 Aws::String m_collaborationIdentifier;
91 bool m_collaborationIdentifierHasBeenSet = false;
92
93 SchemaType m_schemaType{SchemaType::NOT_SET};
94 bool m_schemaTypeHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 int m_maxResults{0};
100 bool m_maxResultsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CleanRooms
105} // 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