AWS SDK for C++  1.8.71
AWS SDK for C++
ListEndpointsByPlatformApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
8 #include <aws/sns/SNSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SNS
15 {
16 namespace Model
17 {
18 
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 "ListEndpointsByPlatformApplication"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetPlatformApplicationArn() const{ return m_platformApplicationArn; }
48 
53  inline bool PlatformApplicationArnHasBeenSet() const { return m_platformApplicationArnHasBeenSet; }
54 
59  inline void SetPlatformApplicationArn(const Aws::String& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = value; }
60 
65  inline void SetPlatformApplicationArn(Aws::String&& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = std::move(value); }
66 
71  inline void SetPlatformApplicationArn(const char* value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn.assign(value); }
72 
77  inline ListEndpointsByPlatformApplicationRequest& WithPlatformApplicationArn(const Aws::String& value) { SetPlatformApplicationArn(value); return *this;}
78 
83  inline ListEndpointsByPlatformApplicationRequest& WithPlatformApplicationArn(Aws::String&& value) { SetPlatformApplicationArn(std::move(value)); return *this;}
84 
89  inline ListEndpointsByPlatformApplicationRequest& WithPlatformApplicationArn(const char* value) { SetPlatformApplicationArn(value); return *this;}
90 
91 
97  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 
104  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
105 
111  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
112 
118  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
119 
125  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
126 
132  inline ListEndpointsByPlatformApplicationRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
133 
139  inline ListEndpointsByPlatformApplicationRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
140 
146  inline ListEndpointsByPlatformApplicationRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
147 
148  private:
149 
150  Aws::String m_platformApplicationArn;
151  bool m_platformApplicationArnHasBeenSet;
152 
153  Aws::String m_nextToken;
154  bool m_nextTokenHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace SNS
159 } // namespace Aws
ListEndpointsByPlatformApplicationRequest & WithNextToken(const char *value)
ListEndpointsByPlatformApplicationRequest & WithPlatformApplicationArn(const char *value)
ListEndpointsByPlatformApplicationRequest & WithNextToken(const Aws::String &value)
ListEndpointsByPlatformApplicationRequest & WithPlatformApplicationArn(Aws::String &&value)
ListEndpointsByPlatformApplicationRequest & WithNextToken(Aws::String &&value)
ListEndpointsByPlatformApplicationRequest & WithPlatformApplicationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28