AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetStyleDescriptorResult.h
1
6#pragma once
7#include <aws/geo-maps/GeoMaps_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace GeoMaps
19{
20namespace Model
21{
23 {
24 public:
25 AWS_GEOMAPS_API GetStyleDescriptorResult() = default;
28 //we delete these because Microsoft doesn't handle move generation correctly
29 //and we therefore don't trust them to get it right here either.
32
33
36
37
38
40
44 inline Aws::IOStream& GetBlob() const { return m_blob.GetUnderlyingStream(); }
45 inline void ReplaceBody(Aws::IOStream* body) { m_blob = Aws::Utils::Stream::ResponseStream(body); }
46
48
50
54 inline const Aws::String& GetContentType() const { return m_contentType; }
55 template<typename ContentTypeT = Aws::String>
56 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
57 template<typename ContentTypeT = Aws::String>
58 GetStyleDescriptorResult& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
60
62
65 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
66 template<typename CacheControlT = Aws::String>
67 void SetCacheControl(CacheControlT&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::forward<CacheControlT>(value); }
68 template<typename CacheControlT = Aws::String>
69 GetStyleDescriptorResult& WithCacheControl(CacheControlT&& value) { SetCacheControl(std::forward<CacheControlT>(value)); return *this;}
71
73
76 inline const Aws::String& GetETag() const { return m_eTag; }
77 template<typename ETagT = Aws::String>
78 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
79 template<typename ETagT = Aws::String>
80 GetStyleDescriptorResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 GetStyleDescriptorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
94 bool m_blobHasBeenSet = false;
95
96 Aws::String m_contentType;
97 bool m_contentTypeHasBeenSet = false;
98
99 Aws::String m_cacheControl;
100 bool m_cacheControlHasBeenSet = false;
101
102 Aws::String m_eTag;
103 bool m_eTagHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace GeoMaps
111} // namespace Aws
GetStyleDescriptorResult & WithCacheControl(CacheControlT &&value)
GetStyleDescriptorResult & WithContentType(ContentTypeT &&value)
AWS_GEOMAPS_API GetStyleDescriptorResult(GetStyleDescriptorResult &&)=default
AWS_GEOMAPS_API GetStyleDescriptorResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_GEOMAPS_API GetStyleDescriptorResult & operator=(GetStyleDescriptorResult &&)=default
GetStyleDescriptorResult(const GetStyleDescriptorResult &)=delete
AWS_GEOMAPS_API GetStyleDescriptorResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetStyleDescriptorResult & WithETag(ETagT &&value)
AWS_GEOMAPS_API GetStyleDescriptorResult()=default
GetStyleDescriptorResult & WithRequestId(RequestIdT &&value)
GetStyleDescriptorResult & operator=(const GetStyleDescriptorResult &)=delete
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String