AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AuthChallengeResponseEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QBUSINESS_API AuthChallengeResponseEvent() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Map<Aws::String, Aws::String>& GetResponseMap() const { return m_responseMap; }
47 inline bool ResponseMapHasBeenSet() const { return m_responseMapHasBeenSet; }
48 template<typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
49 void SetResponseMap(ResponseMapT&& value) { m_responseMapHasBeenSet = true; m_responseMap = std::forward<ResponseMapT>(value); }
50 template<typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
51 AuthChallengeResponseEvent& WithResponseMap(ResponseMapT&& value) { SetResponseMap(std::forward<ResponseMapT>(value)); return *this;}
52 template<typename ResponseMapKeyT = Aws::String, typename ResponseMapValueT = Aws::String>
54 m_responseMapHasBeenSet = true; m_responseMap.emplace(std::forward<ResponseMapKeyT>(key), std::forward<ResponseMapValueT>(value)); return *this;
55 }
57 private:
58
60 bool m_responseMapHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace QBusiness
65} // namespace Aws
AWS_QBUSINESS_API AuthChallengeResponseEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API AuthChallengeResponseEvent()=default
AWS_QBUSINESS_API AuthChallengeResponseEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AuthChallengeResponseEvent & WithResponseMap(ResponseMapT &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseMap() const
AuthChallengeResponseEvent & AddResponseMap(ResponseMapKeyT &&key, ResponseMapValueT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue