AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCollaborationIdentifier(const Aws::String& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = value; }
50 inline void SetCollaborationIdentifier(Aws::String&& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = std::move(value); }
51 inline void SetCollaborationIdentifier(const char* value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier.assign(value); }
53 inline ListSchemasRequest& WithCollaborationIdentifier(Aws::String&& value) { SetCollaborationIdentifier(std::move(value)); return *this;}
54 inline ListSchemasRequest& WithCollaborationIdentifier(const char* value) { SetCollaborationIdentifier(value); return *this;}
56
58
61 inline const SchemaType& GetSchemaType() const{ return m_schemaType; }
62 inline bool SchemaTypeHasBeenSet() const { return m_schemaTypeHasBeenSet; }
63 inline void SetSchemaType(const SchemaType& value) { m_schemaTypeHasBeenSet = true; m_schemaType = value; }
64 inline void SetSchemaType(SchemaType&& value) { m_schemaTypeHasBeenSet = true; m_schemaType = std::move(value); }
65 inline ListSchemasRequest& WithSchemaType(const SchemaType& value) { SetSchemaType(value); return *this;}
66 inline ListSchemasRequest& WithSchemaType(SchemaType&& value) { SetSchemaType(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
76 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
77 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
78 inline ListSchemasRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
79 inline ListSchemasRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 inline ListSchemasRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
82
84
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListSchemasRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94 private:
95
96 Aws::String m_collaborationIdentifier;
97 bool m_collaborationIdentifierHasBeenSet = false;
98
99 SchemaType m_schemaType;
100 bool m_schemaTypeHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104
105 int m_maxResults;
106 bool m_maxResultsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CleanRooms
111} // namespace Aws
ListSchemasRequest & WithCollaborationIdentifier(const char *value)
ListSchemasRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListSchemasRequest & WithCollaborationIdentifier(Aws::String &&value)
ListSchemasRequest & WithMaxResults(int value)
ListSchemasRequest & WithSchemaType(SchemaType &&value)
ListSchemasRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
void SetCollaborationIdentifier(Aws::String &&value)
AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSchemasRequest & WithCollaborationIdentifier(const Aws::String &value)
ListSchemasRequest & WithNextToken(const char *value)
void SetSchemaType(const SchemaType &value)
void SetCollaborationIdentifier(const Aws::String &value)
const Aws::String & GetCollaborationIdentifier() const
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
ListSchemasRequest & WithSchemaType(const SchemaType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String