AWS SDK for C++  1.9.107
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
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::RemoveSourceIdentifierFromSubscriptionRequest
RemoveSourceIdentifierFromSubscriptionRequest()
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::WithSourceIdentifier
RemoveSourceIdentifierFromSubscriptionRequest & WithSourceIdentifier(const Aws::String &value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:125
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SetSubscriptionName
void SetSubscriptionName(const Aws::String &value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:58
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::GetSourceIdentifier
const Aws::String & GetSourceIdentifier() const
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:95
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SourceIdentifierHasBeenSet
bool SourceIdentifierHasBeenSet() const
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:101
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::WithSourceIdentifier
RemoveSourceIdentifierFromSubscriptionRequest & WithSourceIdentifier(const char *value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:137
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::WithSubscriptionName
RemoveSourceIdentifierFromSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:76
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:33
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SetSubscriptionName
void SetSubscriptionName(const char *value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:70
RDS_EXPORTS.h
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::WithSubscriptionName
RemoveSourceIdentifierFromSubscriptionRequest & WithSubscriptionName(const char *value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:88
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::WithSubscriptionName
RemoveSourceIdentifierFromSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:82
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:25
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::WithSourceIdentifier
RemoveSourceIdentifierFromSubscriptionRequest & WithSourceIdentifier(Aws::String &&value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SubscriptionNameHasBeenSet
bool SubscriptionNameHasBeenSet() const
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:52
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::GetSubscriptionName
const Aws::String & GetSubscriptionName() const
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:46
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SetSourceIdentifier
void SetSourceIdentifier(const Aws::String &value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:107
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SetSourceIdentifier
void SetSourceIdentifier(Aws::String &&value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SetSubscriptionName
void SetSubscriptionName(Aws::String &&value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:64
RDSRequest.h
Aws::RDS::Model::RemoveSourceIdentifierFromSubscriptionRequest::SetSourceIdentifier
void SetSourceIdentifier(const char *value)
Definition: RemoveSourceIdentifierFromSubscriptionRequest.h:119
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17