AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDiscoveredSchemaRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/schemas/model/Type.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Schemas
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SCHEMAS_API GetDiscoveredSchemaRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetDiscoveredSchema"; }
33
34 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::Vector<Aws::String>& GetEvents() const{ return m_events; }
44 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
45 inline void SetEvents(const Aws::Vector<Aws::String>& value) { m_eventsHasBeenSet = true; m_events = value; }
46 inline void SetEvents(Aws::Vector<Aws::String>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
47 inline GetDiscoveredSchemaRequest& WithEvents(const Aws::Vector<Aws::String>& value) { SetEvents(value); return *this;}
48 inline GetDiscoveredSchemaRequest& WithEvents(Aws::Vector<Aws::String>&& value) { SetEvents(std::move(value)); return *this;}
49 inline GetDiscoveredSchemaRequest& AddEvents(const Aws::String& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
50 inline GetDiscoveredSchemaRequest& AddEvents(Aws::String&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
51 inline GetDiscoveredSchemaRequest& AddEvents(const char* value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
53
55
58 inline const Type& GetType() const{ return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
61 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
62 inline GetDiscoveredSchemaRequest& WithType(const Type& value) { SetType(value); return *this;}
63 inline GetDiscoveredSchemaRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;}
65 private:
66
68 bool m_eventsHasBeenSet = false;
69
70 Type m_type;
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Schemas
76} // namespace Aws
AWS_SCHEMAS_API Aws::String SerializePayload() const override
GetDiscoveredSchemaRequest & AddEvents(Aws::String &&value)
GetDiscoveredSchemaRequest & WithEvents(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetEvents() const
GetDiscoveredSchemaRequest & AddEvents(const char *value)
GetDiscoveredSchemaRequest & AddEvents(const Aws::String &value)
void SetEvents(Aws::Vector< Aws::String > &&value)
void SetEvents(const Aws::Vector< Aws::String > &value)
GetDiscoveredSchemaRequest & WithType(const Type &value)
GetDiscoveredSchemaRequest & WithEvents(Aws::Vector< Aws::String > &&value)
GetDiscoveredSchemaRequest & WithType(Type &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector