AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueueUrlResult.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{
37 {
38 public:
39 AWS_SQS_API GetQueueUrlResult();
42
43
45
48 inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
49 inline void SetQueueUrl(const Aws::String& value) { m_queueUrl = value; }
50 inline void SetQueueUrl(Aws::String&& value) { m_queueUrl = std::move(value); }
51 inline void SetQueueUrl(const char* value) { m_queueUrl.assign(value); }
52 inline GetQueueUrlResult& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
53 inline GetQueueUrlResult& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
54 inline GetQueueUrlResult& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline GetQueueUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline GetQueueUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline GetQueueUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67
69
70 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
71 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
73 inline GetQueueUrlResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
74 inline GetQueueUrlResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_queueUrl;
79
80 Aws::String m_requestId;
81
82 ResponseMetadata m_responseMetadata;
83 };
84
85} // namespace Model
86} // namespace SQS
87} // namespace Aws
GetQueueUrlResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_SQS_API GetQueueUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueUrlResult & WithQueueUrl(const Aws::String &value)
void SetQueueUrl(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
GetQueueUrlResult & WithQueueUrl(const char *value)
void SetQueueUrl(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
GetQueueUrlResult & WithQueueUrl(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetRequestId(const char *value)
GetQueueUrlResult & WithResponseMetadata(ResponseMetadata &&value)
void SetRequestId(const Aws::String &value)
GetQueueUrlResult & WithRequestId(const char *value)
const ResponseMetadata & GetResponseMetadata() const
void SetQueueUrl(Aws::String &&value)
GetQueueUrlResult & WithRequestId(Aws::String &&value)
GetQueueUrlResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetQueueUrl() const
AWS_SQS_API GetQueueUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue