AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BatchGetSchemaRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CleanRooms
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLEANROOMS_API BatchGetSchemaRequest() = 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 "BatchGetSchema"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetCollaborationIdentifier() const { return m_collaborationIdentifier; }
42 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
43 template<typename CollaborationIdentifierT = Aws::String>
44 void SetCollaborationIdentifier(CollaborationIdentifierT&& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = std::forward<CollaborationIdentifierT>(value); }
45 template<typename CollaborationIdentifierT = Aws::String>
46 BatchGetSchemaRequest& WithCollaborationIdentifier(CollaborationIdentifierT&& value) { SetCollaborationIdentifier(std::forward<CollaborationIdentifierT>(value)); return *this;}
48
50
53 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
54 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
55 template<typename NamesT = Aws::Vector<Aws::String>>
56 void SetNames(NamesT&& value) { m_namesHasBeenSet = true; m_names = std::forward<NamesT>(value); }
57 template<typename NamesT = Aws::Vector<Aws::String>>
58 BatchGetSchemaRequest& WithNames(NamesT&& value) { SetNames(std::forward<NamesT>(value)); return *this;}
59 template<typename NamesT = Aws::String>
60 BatchGetSchemaRequest& AddNames(NamesT&& value) { m_namesHasBeenSet = true; m_names.emplace_back(std::forward<NamesT>(value)); return *this; }
62 private:
63
64 Aws::String m_collaborationIdentifier;
65 bool m_collaborationIdentifierHasBeenSet = false;
66
68 bool m_namesHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace CleanRooms
73} // 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