AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
AuthChallengeResponse.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
31 public:
32 AWS_QBUSINESS_API AuthChallengeResponse() = default;
35 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Map<Aws::String, Aws::String>& GetResponseMap() const { return m_responseMap; }
42 inline bool ResponseMapHasBeenSet() const { return m_responseMapHasBeenSet; }
43 template <typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
45 m_responseMapHasBeenSet = true;
46 m_responseMap = std::forward<ResponseMapT>(value);
47 }
48 template <typename ResponseMapT = Aws::Map<Aws::String, Aws::String>>
50 SetResponseMap(std::forward<ResponseMapT>(value));
51 return *this;
52 }
53 template <typename ResponseMapKeyT = Aws::String, typename ResponseMapValueT = Aws::String>
55 m_responseMapHasBeenSet = true;
56 m_responseMap.emplace(std::forward<ResponseMapKeyT>(key), std::forward<ResponseMapValueT>(value));
57 return *this;
58 }
60 private:
62 bool m_responseMapHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace QBusiness
67} // 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