AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeregisterNamespaceRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/model/NamespaceIdentifierUnion.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REDSHIFT_API DeregisterNamespaceRequest() = default;
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 "DeregisterNamespace"; }
33
34 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
46 inline const NamespaceIdentifierUnion& GetNamespaceIdentifier() const { return m_namespaceIdentifier; }
47 inline bool NamespaceIdentifierHasBeenSet() const { return m_namespaceIdentifierHasBeenSet; }
48 template<typename NamespaceIdentifierT = NamespaceIdentifierUnion>
49 void SetNamespaceIdentifier(NamespaceIdentifierT&& value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier = std::forward<NamespaceIdentifierT>(value); }
50 template<typename NamespaceIdentifierT = NamespaceIdentifierUnion>
51 DeregisterNamespaceRequest& WithNamespaceIdentifier(NamespaceIdentifierT&& value) { SetNamespaceIdentifier(std::forward<NamespaceIdentifierT>(value)); return *this;}
53
55
59 inline const Aws::Vector<Aws::String>& GetConsumerIdentifiers() const { return m_consumerIdentifiers; }
60 inline bool ConsumerIdentifiersHasBeenSet() const { return m_consumerIdentifiersHasBeenSet; }
61 template<typename ConsumerIdentifiersT = Aws::Vector<Aws::String>>
62 void SetConsumerIdentifiers(ConsumerIdentifiersT&& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers = std::forward<ConsumerIdentifiersT>(value); }
63 template<typename ConsumerIdentifiersT = Aws::Vector<Aws::String>>
64 DeregisterNamespaceRequest& WithConsumerIdentifiers(ConsumerIdentifiersT&& value) { SetConsumerIdentifiers(std::forward<ConsumerIdentifiersT>(value)); return *this;}
65 template<typename ConsumerIdentifiersT = Aws::String>
66 DeregisterNamespaceRequest& AddConsumerIdentifiers(ConsumerIdentifiersT&& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers.emplace_back(std::forward<ConsumerIdentifiersT>(value)); return *this; }
68 private:
69
70 NamespaceIdentifierUnion m_namespaceIdentifier;
71 bool m_namespaceIdentifierHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_consumerIdentifiers;
74 bool m_consumerIdentifiersHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Redshift
79} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeregisterNamespaceRequest & AddConsumerIdentifiers(ConsumerIdentifiersT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeregisterNamespaceRequest & WithNamespaceIdentifier(NamespaceIdentifierT &&value)
AWS_REDSHIFT_API DeregisterNamespaceRequest()=default
const NamespaceIdentifierUnion & GetNamespaceIdentifier() const
DeregisterNamespaceRequest & WithConsumerIdentifiers(ConsumerIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetConsumerIdentifiers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector