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/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticLoadBalancing
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_ELASTICLOADBALANCING_API ResponseMetadata();
30 AWS_ELASTICLOADBALANCING_API ResponseMetadata(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_ELASTICLOADBALANCING_API ResponseMetadata& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
36
38
39 inline const Aws::String& GetRequestId() const{ return m_requestId; }
40 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
41 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
42 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
43 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
44 inline ResponseMetadata& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
45 inline ResponseMetadata& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
46 inline ResponseMetadata& WithRequestId(const char* value) { SetRequestId(value); return *this;}
48 private:
49
50 Aws::String m_requestId;
51 bool m_requestIdHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace ElasticLoadBalancing
56} // namespace Aws
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ResponseMetadata & WithRequestId(const Aws::String &value)
AWS_ELASTICLOADBALANCING_API ResponseMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API ResponseMetadata()
ResponseMetadata & WithRequestId(Aws::String &&value)
AWS_ELASTICLOADBALANCING_API ResponseMetadata(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ResponseMetadata & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream