AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
BatchGetSchemaRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CleanRooms {
16namespace Model {
17
21 public:
22 AWS_CLEANROOMS_API BatchGetSchemaRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchGetSchema"; }
29
30 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetCollaborationIdentifier() const { return m_collaborationIdentifier; }
38 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
39 template <typename CollaborationIdentifierT = Aws::String>
40 void SetCollaborationIdentifier(CollaborationIdentifierT&& value) {
41 m_collaborationIdentifierHasBeenSet = true;
42 m_collaborationIdentifier = std::forward<CollaborationIdentifierT>(value);
43 }
44 template <typename CollaborationIdentifierT = Aws::String>
45 BatchGetSchemaRequest& WithCollaborationIdentifier(CollaborationIdentifierT&& value) {
46 SetCollaborationIdentifier(std::forward<CollaborationIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
56 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
57 template <typename NamesT = Aws::Vector<Aws::String>>
58 void SetNames(NamesT&& value) {
59 m_namesHasBeenSet = true;
60 m_names = std::forward<NamesT>(value);
61 }
62 template <typename NamesT = Aws::Vector<Aws::String>>
64 SetNames(std::forward<NamesT>(value));
65 return *this;
66 }
67 template <typename NamesT = Aws::String>
69 m_namesHasBeenSet = true;
70 m_names.emplace_back(std::forward<NamesT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_collaborationIdentifier;
76
78 bool m_collaborationIdentifierHasBeenSet = false;
79 bool m_namesHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace CleanRooms
84} // namespace Aws
virtual const char * GetServiceRequestName() const override
BatchGetSchemaRequest & WithCollaborationIdentifier(CollaborationIdentifierT &&value)
const Aws::Vector< Aws::String > & GetNames() const
void SetCollaborationIdentifier(CollaborationIdentifierT &&value)
BatchGetSchemaRequest & WithNames(NamesT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
AWS_CLEANROOMS_API BatchGetSchemaRequest()=default
BatchGetSchemaRequest & AddNames(NamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector