AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetContactAttributesResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CONNECT_API GetContactAttributesResult();
34
35
37
40 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
41 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
42 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
45 inline GetContactAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
46 inline GetContactAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
47 inline GetContactAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
48 inline GetContactAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
49 inline GetContactAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
50 inline GetContactAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
51 inline GetContactAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline GetContactAttributesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline GetContactAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline GetContactAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
67
68 Aws::String m_requestId;
69 };
70
71} // namespace Model
72} // namespace Connect
73} // namespace Aws
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetContactAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
GetContactAttributesResult & AddAttributes(const char *key, Aws::String &&value)
GetContactAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
AWS_CONNECT_API GetContactAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactAttributesResult & AddAttributes(const char *key, const char *value)
GetContactAttributesResult & WithRequestId(const Aws::String &value)
AWS_CONNECT_API GetContactAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactAttributesResult & AddAttributes(Aws::String &&key, const char *value)
GetContactAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
GetContactAttributesResult & WithRequestId(const char *value)
GetContactAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetContactAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
GetContactAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
GetContactAttributesResult & WithRequestId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue