AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQueueResult.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sqs/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SQS
25{
26namespace Model
27{
35 {
36 public:
37 AWS_SQS_API CreateQueueResult();
40
41
43
46 inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
47 inline void SetQueueUrl(const Aws::String& value) { m_queueUrl = value; }
48 inline void SetQueueUrl(Aws::String&& value) { m_queueUrl = std::move(value); }
49 inline void SetQueueUrl(const char* value) { m_queueUrl.assign(value); }
50 inline CreateQueueResult& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
51 inline CreateQueueResult& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
52 inline CreateQueueResult& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline CreateQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline CreateQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline CreateQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65
67
68 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
70 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
71 inline CreateQueueResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
72 inline CreateQueueResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_queueUrl;
77
78 Aws::String m_requestId;
79
80 ResponseMetadata m_responseMetadata;
81 };
82
83} // namespace Model
84} // namespace SQS
85} // namespace Aws
CreateQueueResult & WithRequestId(Aws::String &&value)
const Aws::String & GetQueueUrl() const
CreateQueueResult & WithRequestId(const Aws::String &value)
CreateQueueResult & WithResponseMetadata(ResponseMetadata &&value)
void SetQueueUrl(Aws::String &&value)
AWS_SQS_API CreateQueueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateQueueResult & WithQueueUrl(const char *value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetRequestId(Aws::String &&value)
CreateQueueResult & WithQueueUrl(const Aws::String &value)
void SetRequestId(const char *value)
void SetQueueUrl(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
const ResponseMetadata & GetResponseMetadata() const
CreateQueueResult & WithQueueUrl(Aws::String &&value)
void SetRequestId(const Aws::String &value)
CreateQueueResult & WithRequestId(const char *value)
AWS_SQS_API CreateQueueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueueUrl(const char *value)
const Aws::String & GetRequestId() const
CreateQueueResult & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue