AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseMetadata.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SQS
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_SQS_API ResponseMetadata();
33
34
36
37 inline const Aws::String& GetRequestId() const{ return m_requestId; }
38 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
39 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
40 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
41 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
42 inline ResponseMetadata& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
43 inline ResponseMetadata& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
44 inline ResponseMetadata& WithRequestId(const char* value) { SetRequestId(value); return *this;}
46 private:
47
48 Aws::String m_requestId;
49 bool m_requestIdHasBeenSet = false;
50 };
51
52} // namespace Model
53} // namespace SQS
54} // namespace Aws
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRequestId(const char *value)
ResponseMetadata & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
AWS_SQS_API ResponseMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRequestId(const Aws::String &value)
ResponseMetadata & WithRequestId(const char *value)
ResponseMetadata & WithRequestId(Aws::String &&value)
AWS_SQS_API ResponseMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue