AWS SDK for C++  1.8.95
AWS SDK for C++
DeleteNotificationSubscriptionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkDocs
15 {
16 namespace 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 "DeleteNotificationSubscription"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetSubscriptionId() const{ return m_subscriptionId; }
39 
43  inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
44 
48  inline void SetSubscriptionId(const Aws::String& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = value; }
49 
53  inline void SetSubscriptionId(Aws::String&& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::move(value); }
54 
58  inline void SetSubscriptionId(const char* value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId.assign(value); }
59 
63  inline DeleteNotificationSubscriptionRequest& WithSubscriptionId(const Aws::String& value) { SetSubscriptionId(value); return *this;}
64 
68  inline DeleteNotificationSubscriptionRequest& WithSubscriptionId(Aws::String&& value) { SetSubscriptionId(std::move(value)); return *this;}
69 
73  inline DeleteNotificationSubscriptionRequest& WithSubscriptionId(const char* value) { SetSubscriptionId(value); return *this;}
74 
75 
79  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
80 
84  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
85 
89  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
90 
94  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
95 
99  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
100 
104  inline DeleteNotificationSubscriptionRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
105 
109  inline DeleteNotificationSubscriptionRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
110 
114  inline DeleteNotificationSubscriptionRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_subscriptionId;
119  bool m_subscriptionIdHasBeenSet;
120 
121  Aws::String m_organizationId;
122  bool m_organizationIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace WorkDocs
127 } // namespace Aws
DeleteNotificationSubscriptionRequest & WithSubscriptionId(const Aws::String &value)
#define AWS_WORKDOCS_API
DeleteNotificationSubscriptionRequest & WithSubscriptionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteNotificationSubscriptionRequest & WithSubscriptionId(Aws::String &&value)
DeleteNotificationSubscriptionRequest & WithOrganizationId(const Aws::String &value)
DeleteNotificationSubscriptionRequest & WithOrganizationId(Aws::String &&value)
DeleteNotificationSubscriptionRequest & WithOrganizationId(const char *value)