AWS SDK for C++  1.9.107
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
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::GetPlatformApplicationArn
const Aws::String & GetPlatformApplicationArn() const
Definition: ListEndpointsByPlatformApplicationRequest.h:47
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::WithPlatformApplicationArn
ListEndpointsByPlatformApplicationRequest & WithPlatformApplicationArn(Aws::String &&value)
Definition: ListEndpointsByPlatformApplicationRequest.h:83
Aws::Http::URI
Definition: URI.h:32
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListEndpointsByPlatformApplicationRequest.h:104
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::WithNextToken
ListEndpointsByPlatformApplicationRequest & WithNextToken(Aws::String &&value)
Definition: ListEndpointsByPlatformApplicationRequest.h:139
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::SetPlatformApplicationArn
void SetPlatformApplicationArn(Aws::String &&value)
Definition: ListEndpointsByPlatformApplicationRequest.h:65
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest
Definition: ListEndpointsByPlatformApplicationRequest.h:26
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEndpointsByPlatformApplicationRequest.h:118
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::WithNextToken
ListEndpointsByPlatformApplicationRequest & WithNextToken(const Aws::String &value)
Definition: ListEndpointsByPlatformApplicationRequest.h:132
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEndpointsByPlatformApplicationRequest.h:34
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEndpointsByPlatformApplicationRequest.h:111
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::SetPlatformApplicationArn
void SetPlatformApplicationArn(const Aws::String &value)
Definition: ListEndpointsByPlatformApplicationRequest.h:59
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::WithNextToken
ListEndpointsByPlatformApplicationRequest & WithNextToken(const char *value)
Definition: ListEndpointsByPlatformApplicationRequest.h:146
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::ListEndpointsByPlatformApplicationRequest
ListEndpointsByPlatformApplicationRequest()
SNSRequest.h
Aws::SNS::SNSRequest
Definition: SNSRequest.h:17
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListEndpointsByPlatformApplicationRequest.h:125
AWSString.h
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::WithPlatformApplicationArn
ListEndpointsByPlatformApplicationRequest & WithPlatformApplicationArn(const char *value)
Definition: ListEndpointsByPlatformApplicationRequest.h:89
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::WithPlatformApplicationArn
ListEndpointsByPlatformApplicationRequest & WithPlatformApplicationArn(const Aws::String &value)
Definition: ListEndpointsByPlatformApplicationRequest.h:77
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::PlatformApplicationArnHasBeenSet
bool PlatformApplicationArnHasBeenSet() const
Definition: ListEndpointsByPlatformApplicationRequest.h:53
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::SetPlatformApplicationArn
void SetPlatformApplicationArn(const char *value)
Definition: ListEndpointsByPlatformApplicationRequest.h:71
Aws::SNS::Model::ListEndpointsByPlatformApplicationRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEndpointsByPlatformApplicationRequest.h:97