AWS SDK for C++  1.8.71
AWS SDK for C++
RemoveSourceIdentifierFromSubscriptionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "RemoveSourceIdentifierFromSubscription"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; }
47 
52  inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
53 
58  inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; }
59 
64  inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); }
65 
70  inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); }
71 
76  inline RemoveSourceIdentifierFromSubscriptionRequest& WithSubscriptionName(const Aws::String& value) { SetSubscriptionName(value); return *this;}
77 
82  inline RemoveSourceIdentifierFromSubscriptionRequest& WithSubscriptionName(Aws::String&& value) { SetSubscriptionName(std::move(value)); return *this;}
83 
88  inline RemoveSourceIdentifierFromSubscriptionRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;}
89 
90 
95  inline const Aws::String& GetSourceIdentifier() const{ return m_sourceIdentifier; }
96 
101  inline bool SourceIdentifierHasBeenSet() const { return m_sourceIdentifierHasBeenSet; }
102 
107  inline void SetSourceIdentifier(const Aws::String& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = value; }
108 
113  inline void SetSourceIdentifier(Aws::String&& value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier = std::move(value); }
114 
119  inline void SetSourceIdentifier(const char* value) { m_sourceIdentifierHasBeenSet = true; m_sourceIdentifier.assign(value); }
120 
125  inline RemoveSourceIdentifierFromSubscriptionRequest& WithSourceIdentifier(const Aws::String& value) { SetSourceIdentifier(value); return *this;}
126 
131  inline RemoveSourceIdentifierFromSubscriptionRequest& WithSourceIdentifier(Aws::String&& value) { SetSourceIdentifier(std::move(value)); return *this;}
132 
137  inline RemoveSourceIdentifierFromSubscriptionRequest& WithSourceIdentifier(const char* value) { SetSourceIdentifier(value); return *this;}
138 
139  private:
140 
141  Aws::String m_subscriptionName;
142  bool m_subscriptionNameHasBeenSet;
143 
144  Aws::String m_sourceIdentifier;
145  bool m_sourceIdentifierHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace RDS
150 } // namespace Aws
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
RemoveSourceIdentifierFromSubscriptionRequest & WithSourceIdentifier(const char *value)
RemoveSourceIdentifierFromSubscriptionRequest & WithSourceIdentifier(Aws::String &&value)
RemoveSourceIdentifierFromSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
RemoveSourceIdentifierFromSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RemoveSourceIdentifierFromSubscriptionRequest & WithSourceIdentifier(const Aws::String &value)
RemoveSourceIdentifierFromSubscriptionRequest & WithSubscriptionName(const char *value)