AWS SDK for C++  1.8.56
AWS SDK for C++
AsyncCallerContext.h
Go to the documentation of this file.
1 
6 #pragma once
7 
9 
10 namespace Aws
11 {
12  namespace Client
13  {
20  {
21  public:
26 
30  AsyncCallerContext(const Aws::String& uuid) : m_uuid(uuid) {}
31 
35  AsyncCallerContext(const char* uuid) : m_uuid(uuid) {}
36 
37  virtual ~AsyncCallerContext() {}
38 
42  inline const Aws::String& GetUUID() const { return m_uuid; }
43 
47  inline void SetUUID(const Aws::String& value) { m_uuid = value; }
48 
52  inline void SetUUID(const char* value) { m_uuid.assign(value); }
53 
54  private:
55  Aws::String m_uuid;
56  };
57  }
58 }
59 
const Aws::String & GetUUID() const
AsyncCallerContext(const Aws::String &uuid)
void SetUUID(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
void SetUUID(const Aws::String &value)