AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AuthChallengeResponse.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
35 {
36 public:
37 AWS_QBUSINESS_API AuthChallengeResponse() = default;
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Map<Aws::String, Aws::String>& GetResponseMap() const { return m_responseMap; }
48 inline bool ResponseMapHasBeenSet() const { return m_responseMapHasBeenSet; }
49 template<typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
50 void SetResponseMap(ResponseMapT&& value) { m_responseMapHasBeenSet = true; m_responseMap = std::forward<ResponseMapT>(value); }
51 template<typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
52 AuthChallengeResponse& WithResponseMap(ResponseMapT&& value) { SetResponseMap(std::forward<ResponseMapT>(value)); return *this;}
53 template<typename ResponseMapKeyT = Aws::String, typename ResponseMapValueT = Aws::String>
55 m_responseMapHasBeenSet = true; m_responseMap.emplace(std::forward<ResponseMapKeyT>(key), std::forward<ResponseMapValueT>(value)); return *this;
56 }
58 private:
59
61 bool m_responseMapHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace QBusiness
66} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetResponseMap() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API AuthChallengeResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API AuthChallengeResponse()=default
AuthChallengeResponse & WithResponseMap(ResponseMapT &&value)
AWS_QBUSINESS_API AuthChallengeResponse(Aws::Utils::Json::JsonView jsonValue)
AuthChallengeResponse & 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