AWS SDK for C++  1.8.95
AWS SDK for C++
DescribeNotificationSubscriptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace WorkDocs
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeNotificationSubscriptions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
45 
49  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
50 
54  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
55 
59  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
60 
64  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
65 
69  inline DescribeNotificationSubscriptionsRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
70 
74  inline DescribeNotificationSubscriptionsRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
75 
79  inline DescribeNotificationSubscriptionsRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
80 
81 
86  inline const Aws::String& GetMarker() const{ return m_marker; }
87 
92  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
93 
98  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
99 
104  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
105 
110  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
111 
116  inline DescribeNotificationSubscriptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
117 
122  inline DescribeNotificationSubscriptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
123 
128  inline DescribeNotificationSubscriptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
129 
130 
134  inline int GetLimit() const{ return m_limit; }
135 
139  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
140 
144  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
145 
149  inline DescribeNotificationSubscriptionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
150 
151  private:
152 
153  Aws::String m_organizationId;
154  bool m_organizationIdHasBeenSet;
155 
156  Aws::String m_marker;
157  bool m_markerHasBeenSet;
158 
159  int m_limit;
160  bool m_limitHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace WorkDocs
165 } // namespace Aws
DescribeNotificationSubscriptionsRequest & WithMarker(Aws::String &&value)
DescribeNotificationSubscriptionsRequest & WithMarker(const char *value)
DescribeNotificationSubscriptionsRequest & WithOrganizationId(const Aws::String &value)
#define AWS_WORKDOCS_API
DescribeNotificationSubscriptionsRequest & WithOrganizationId(Aws::String &&value)
DescribeNotificationSubscriptionsRequest & WithOrganizationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeNotificationSubscriptionsRequest & WithMarker(const Aws::String &value)