AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateDataShareConsumerRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DisassociateDataShareConsumer"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
44 inline const Aws::String& GetDataShareArn() const{ return m_dataShareArn; }
45 inline bool DataShareArnHasBeenSet() const { return m_dataShareArnHasBeenSet; }
46 inline void SetDataShareArn(const Aws::String& value) { m_dataShareArnHasBeenSet = true; m_dataShareArn = value; }
47 inline void SetDataShareArn(Aws::String&& value) { m_dataShareArnHasBeenSet = true; m_dataShareArn = std::move(value); }
48 inline void SetDataShareArn(const char* value) { m_dataShareArnHasBeenSet = true; m_dataShareArn.assign(value); }
50 inline DisassociateDataShareConsumerRequest& WithDataShareArn(Aws::String&& value) { SetDataShareArn(std::move(value)); return *this;}
51 inline DisassociateDataShareConsumerRequest& WithDataShareArn(const char* value) { SetDataShareArn(value); return *this;}
53
55
59 inline bool GetDisassociateEntireAccount() const{ return m_disassociateEntireAccount; }
60 inline bool DisassociateEntireAccountHasBeenSet() const { return m_disassociateEntireAccountHasBeenSet; }
61 inline void SetDisassociateEntireAccount(bool value) { m_disassociateEntireAccountHasBeenSet = true; m_disassociateEntireAccount = value; }
64
66
70 inline const Aws::String& GetConsumerArn() const{ return m_consumerArn; }
71 inline bool ConsumerArnHasBeenSet() const { return m_consumerArnHasBeenSet; }
72 inline void SetConsumerArn(const Aws::String& value) { m_consumerArnHasBeenSet = true; m_consumerArn = value; }
73 inline void SetConsumerArn(Aws::String&& value) { m_consumerArnHasBeenSet = true; m_consumerArn = std::move(value); }
74 inline void SetConsumerArn(const char* value) { m_consumerArnHasBeenSet = true; m_consumerArn.assign(value); }
76 inline DisassociateDataShareConsumerRequest& WithConsumerArn(Aws::String&& value) { SetConsumerArn(std::move(value)); return *this;}
77 inline DisassociateDataShareConsumerRequest& WithConsumerArn(const char* value) { SetConsumerArn(value); return *this;}
79
81
86 inline const Aws::String& GetConsumerRegion() const{ return m_consumerRegion; }
87 inline bool ConsumerRegionHasBeenSet() const { return m_consumerRegionHasBeenSet; }
88 inline void SetConsumerRegion(const Aws::String& value) { m_consumerRegionHasBeenSet = true; m_consumerRegion = value; }
89 inline void SetConsumerRegion(Aws::String&& value) { m_consumerRegionHasBeenSet = true; m_consumerRegion = std::move(value); }
90 inline void SetConsumerRegion(const char* value) { m_consumerRegionHasBeenSet = true; m_consumerRegion.assign(value); }
92 inline DisassociateDataShareConsumerRequest& WithConsumerRegion(Aws::String&& value) { SetConsumerRegion(std::move(value)); return *this;}
93 inline DisassociateDataShareConsumerRequest& WithConsumerRegion(const char* value) { SetConsumerRegion(value); return *this;}
95 private:
96
97 Aws::String m_dataShareArn;
98 bool m_dataShareArnHasBeenSet = false;
99
100 bool m_disassociateEntireAccount;
101 bool m_disassociateEntireAccountHasBeenSet = false;
102
103 Aws::String m_consumerArn;
104 bool m_consumerArnHasBeenSet = false;
105
106 Aws::String m_consumerRegion;
107 bool m_consumerRegionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Redshift
112} // namespace Aws
DisassociateDataShareConsumerRequest & WithConsumerArn(const Aws::String &value)
DisassociateDataShareConsumerRequest & WithConsumerRegion(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DisassociateDataShareConsumerRequest & WithDataShareArn(const char *value)
DisassociateDataShareConsumerRequest & WithConsumerArn(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DisassociateDataShareConsumerRequest & WithConsumerRegion(const char *value)
DisassociateDataShareConsumerRequest & WithConsumerRegion(const Aws::String &value)
DisassociateDataShareConsumerRequest & WithDataShareArn(Aws::String &&value)
DisassociateDataShareConsumerRequest & WithDisassociateEntireAccount(bool value)
DisassociateDataShareConsumerRequest & WithDataShareArn(const Aws::String &value)
DisassociateDataShareConsumerRequest & WithConsumerArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String