AWS SDK for C++  1.9.158
AWS SDK for C++
EnumParseOverflowContainer.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 #include <aws/core/Core_EXPORTS.h>
12 
13 namespace Aws
14 {
15  namespace Utils
16  {
23  {
24  public:
25  const Aws::String& RetrieveOverflow(int hashCode) const;
26  void StoreOverflow(int hashCode, const Aws::String& value);
27 
28  private:
29  mutable Aws::Utils::Threading::ReaderWriterLock m_overflowLock;
30  Aws::Map<int, Aws::String> m_overflowMap;
31  Aws::String m_emptyString;
32  };
33  }
34 }
35 
36 
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
Aws::Utils::EnumParseOverflowContainer
Definition: EnumParseOverflowContainer.h:23
Aws::Utils::EnumParseOverflowContainer::RetrieveOverflow
const Aws::String & RetrieveOverflow(int hashCode) const
ReaderWriterLock.h
Aws::Utils::EnumParseOverflowContainer::StoreOverflow
void StoreOverflow(int hashCode, const Aws::String &value)
AWSString.h
Aws::Utils::Threading::ReaderWriterLock
Definition: ReaderWriterLock.h:26
Core_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19