AWS SDK for C++  1.9.104
AWS SDK for C++
GetPlatformApplicationAttributesRequest.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 "GetPlatformApplicationAttributes"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetPlatformApplicationArn() const{ return m_platformApplicationArn; }
47 
51  inline bool PlatformApplicationArnHasBeenSet() const { return m_platformApplicationArnHasBeenSet; }
52 
56  inline void SetPlatformApplicationArn(const Aws::String& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = value; }
57 
61  inline void SetPlatformApplicationArn(Aws::String&& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = std::move(value); }
62 
66  inline void SetPlatformApplicationArn(const char* value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn.assign(value); }
67 
71  inline GetPlatformApplicationAttributesRequest& WithPlatformApplicationArn(const Aws::String& value) { SetPlatformApplicationArn(value); return *this;}
72 
76  inline GetPlatformApplicationAttributesRequest& WithPlatformApplicationArn(Aws::String&& value) { SetPlatformApplicationArn(std::move(value)); return *this;}
77 
81  inline GetPlatformApplicationAttributesRequest& WithPlatformApplicationArn(const char* value) { SetPlatformApplicationArn(value); return *this;}
82 
83  private:
84 
85  Aws::String m_platformApplicationArn;
86  bool m_platformApplicationArnHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace SNS
91 } // namespace Aws
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::WithPlatformApplicationArn
GetPlatformApplicationAttributesRequest & WithPlatformApplicationArn(Aws::String &&value)
Definition: GetPlatformApplicationAttributesRequest.h:76
Aws::Http::URI
Definition: URI.h:32
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::SetPlatformApplicationArn
void SetPlatformApplicationArn(const char *value)
Definition: GetPlatformApplicationAttributesRequest.h:66
Aws::SNS::Model::GetPlatformApplicationAttributesRequest
Definition: GetPlatformApplicationAttributesRequest.h:26
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::WithPlatformApplicationArn
GetPlatformApplicationAttributesRequest & WithPlatformApplicationArn(const char *value)
Definition: GetPlatformApplicationAttributesRequest.h:81
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::SetPlatformApplicationArn
void SetPlatformApplicationArn(Aws::String &&value)
Definition: GetPlatformApplicationAttributesRequest.h:61
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::GetPlatformApplicationAttributesRequest
GetPlatformApplicationAttributesRequest()
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::GetPlatformApplicationArn
const Aws::String & GetPlatformApplicationArn() const
Definition: GetPlatformApplicationAttributesRequest.h:46
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::PlatformApplicationArnHasBeenSet
bool PlatformApplicationArnHasBeenSet() const
Definition: GetPlatformApplicationAttributesRequest.h:51
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::SetPlatformApplicationArn
void SetPlatformApplicationArn(const Aws::String &value)
Definition: GetPlatformApplicationAttributesRequest.h:56
SNSRequest.h
Aws::SNS::SNSRequest
Definition: SNSRequest.h:17
AWSString.h
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetPlatformApplicationAttributesRequest.h:34
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::GetPlatformApplicationAttributesRequest::WithPlatformApplicationArn
GetPlatformApplicationAttributesRequest & WithPlatformApplicationArn(const Aws::String &value)
Definition: GetPlatformApplicationAttributesRequest.h:71