AWS SDK for C++  1.9.156
AWS SDK for C++
CreatePlatformApplicationResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace SNS
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetPlatformApplicationArn() const{ return m_platformApplicationArn; }
45 
49  inline void SetPlatformApplicationArn(const Aws::String& value) { m_platformApplicationArn = value; }
50 
54  inline void SetPlatformApplicationArn(Aws::String&& value) { m_platformApplicationArn = std::move(value); }
55 
59  inline void SetPlatformApplicationArn(const char* value) { m_platformApplicationArn.assign(value); }
60 
64  inline CreatePlatformApplicationResult& WithPlatformApplicationArn(const Aws::String& value) { SetPlatformApplicationArn(value); return *this;}
65 
69  inline CreatePlatformApplicationResult& WithPlatformApplicationArn(Aws::String&& value) { SetPlatformApplicationArn(std::move(value)); return *this;}
70 
74  inline CreatePlatformApplicationResult& WithPlatformApplicationArn(const char* value) { SetPlatformApplicationArn(value); return *this;}
75 
76 
77 
78  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 
80 
81  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
82 
83 
84  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 
86 
87  inline CreatePlatformApplicationResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
88 
89 
90  inline CreatePlatformApplicationResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 
92  private:
93 
94  Aws::String m_platformApplicationArn;
95 
96  ResponseMetadata m_responseMetadata;
97  };
98 
99 } // namespace Model
100 } // namespace SNS
101 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::CreatePlatformApplicationResult::operator=
CreatePlatformApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::CreatePlatformApplicationResult::CreatePlatformApplicationResult
CreatePlatformApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::CreatePlatformApplicationResult::WithPlatformApplicationArn
CreatePlatformApplicationResult & WithPlatformApplicationArn(Aws::String &&value)
Definition: CreatePlatformApplicationResult.h:69
Aws::SNS::Model::CreatePlatformApplicationResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreatePlatformApplicationResult.h:84
Aws::SNS::Model::CreatePlatformApplicationResult::WithPlatformApplicationArn
CreatePlatformApplicationResult & WithPlatformApplicationArn(const Aws::String &value)
Definition: CreatePlatformApplicationResult.h:64
Aws::SNS::Model::CreatePlatformApplicationResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreatePlatformApplicationResult.h:81
Aws::SNS::Model::CreatePlatformApplicationResult::WithPlatformApplicationArn
CreatePlatformApplicationResult & WithPlatformApplicationArn(const char *value)
Definition: CreatePlatformApplicationResult.h:74
Aws::SNS::Model::CreatePlatformApplicationResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreatePlatformApplicationResult.h:78
Aws::SNS::Model::CreatePlatformApplicationResult::CreatePlatformApplicationResult
CreatePlatformApplicationResult()
ResponseMetadata.h
Aws::SNS::Model::CreatePlatformApplicationResult::GetPlatformApplicationArn
const Aws::String & GetPlatformApplicationArn() const
Definition: CreatePlatformApplicationResult.h:44
Aws::SNS::Model::CreatePlatformApplicationResult::SetPlatformApplicationArn
void SetPlatformApplicationArn(const char *value)
Definition: CreatePlatformApplicationResult.h:59
AWSString.h
Aws::SNS::Model::CreatePlatformApplicationResult::WithResponseMetadata
CreatePlatformApplicationResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreatePlatformApplicationResult.h:90
Aws::SNS::Model::CreatePlatformApplicationResult::WithResponseMetadata
CreatePlatformApplicationResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreatePlatformApplicationResult.h:87
Aws::SNS::Model::CreatePlatformApplicationResult::SetPlatformApplicationArn
void SetPlatformApplicationArn(const Aws::String &value)
Definition: CreatePlatformApplicationResult.h:49
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws::SNS::Model::CreatePlatformApplicationResult::SetPlatformApplicationArn
void SetPlatformApplicationArn(Aws::String &&value)
Definition: CreatePlatformApplicationResult.h:54
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::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::CreatePlatformApplicationResult
Definition: CreatePlatformApplicationResult.h:34