AWS SDK for C++  1.9.156
AWS SDK for C++
CreateTopicResult.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& GetTopicArn() const{ return m_topicArn; }
45 
49  inline void SetTopicArn(const Aws::String& value) { m_topicArn = value; }
50 
54  inline void SetTopicArn(Aws::String&& value) { m_topicArn = std::move(value); }
55 
59  inline void SetTopicArn(const char* value) { m_topicArn.assign(value); }
60 
64  inline CreateTopicResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
65 
69  inline CreateTopicResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
70 
74  inline CreateTopicResult& WithTopicArn(const char* value) { SetTopicArn(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 CreateTopicResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
88 
89 
90  inline CreateTopicResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 
92  private:
93 
94  Aws::String m_topicArn;
95 
96  ResponseMetadata m_responseMetadata;
97  };
98 
99 } // namespace Model
100 } // namespace SNS
101 } // namespace Aws
Aws::SNS::Model::CreateTopicResult::WithTopicArn
CreateTopicResult & WithTopicArn(const char *value)
Definition: CreateTopicResult.h:74
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::CreateTopicResult::CreateTopicResult
CreateTopicResult()
Aws::SNS::Model::CreateTopicResult
Definition: CreateTopicResult.h:34
Aws::SNS::Model::CreateTopicResult::WithTopicArn
CreateTopicResult & WithTopicArn(const Aws::String &value)
Definition: CreateTopicResult.h:64
Aws::SNS::Model::CreateTopicResult::SetTopicArn
void SetTopicArn(const Aws::String &value)
Definition: CreateTopicResult.h:49
Aws::SNS::Model::CreateTopicResult::WithResponseMetadata
CreateTopicResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateTopicResult.h:87
Aws::SNS::Model::CreateTopicResult::GetTopicArn
const Aws::String & GetTopicArn() const
Definition: CreateTopicResult.h:44
Aws::SNS::Model::CreateTopicResult::CreateTopicResult
CreateTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::CreateTopicResult::SetTopicArn
void SetTopicArn(const char *value)
Definition: CreateTopicResult.h:59
Aws::SNS::Model::CreateTopicResult::SetTopicArn
void SetTopicArn(Aws::String &&value)
Definition: CreateTopicResult.h:54
Aws::SNS::Model::CreateTopicResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateTopicResult.h:81
Aws::SNS::Model::CreateTopicResult::operator=
CreateTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::CreateTopicResult::WithResponseMetadata
CreateTopicResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateTopicResult.h:90
ResponseMetadata.h
Aws::SNS::Model::CreateTopicResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateTopicResult.h:84
AWSString.h
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::CreateTopicResult::WithTopicArn
CreateTopicResult & WithTopicArn(Aws::String &&value)
Definition: CreateTopicResult.h:69
Aws::SNS::Model::CreateTopicResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateTopicResult.h:78
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