AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePlatformEndpointResult.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sns/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace SNS
25{
26namespace Model
27{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
46 inline void SetEndpointArn(const Aws::String& value) { m_endpointArn = value; }
47 inline void SetEndpointArn(Aws::String&& value) { m_endpointArn = std::move(value); }
48 inline void SetEndpointArn(const char* value) { m_endpointArn.assign(value); }
49 inline CreatePlatformEndpointResult& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
50 inline CreatePlatformEndpointResult& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
51 inline CreatePlatformEndpointResult& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
57 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
58 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
62 private:
63
64 Aws::String m_endpointArn;
65
66 ResponseMetadata m_responseMetadata;
67 };
68
69} // namespace Model
70} // namespace SNS
71} // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
CreatePlatformEndpointResult & WithEndpointArn(const char *value)
AWS_SNS_API CreatePlatformEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreatePlatformEndpointResult & WithEndpointArn(Aws::String &&value)
AWS_SNS_API CreatePlatformEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreatePlatformEndpointResult & WithResponseMetadata(ResponseMetadata &&value)
CreatePlatformEndpointResult & WithResponseMetadata(const ResponseMetadata &value)
CreatePlatformEndpointResult & WithEndpointArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument