AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
AuthChallengeResponseEvent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
30 public:
31 AWS_QBUSINESS_API AuthChallengeResponseEvent() = default;
34 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Map<Aws::String, Aws::String>& GetResponseMap() const { return m_responseMap; }
41 inline bool ResponseMapHasBeenSet() const { return m_responseMapHasBeenSet; }
42 template <typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
44 m_responseMapHasBeenSet = true;
45 m_responseMap = std::forward<ResponseMapT>(value);
46 }
47 template <typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
49 SetResponseMap(std::forward<ResponseMapT>(value));
50 return *this;
51 }
52 template <typename ResponseMapKeyT = Aws::String, typename ResponseMapValueT = Aws::String>
54 m_responseMapHasBeenSet = true;
55 m_responseMap.emplace(std::forward<ResponseMapKeyT>(key), std::forward<ResponseMapValueT>(value));
56 return *this;
57 }
59 private:
61 bool m_responseMapHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace QBusiness
66} // 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