AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetOidcInfoResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
9#include <aws/wickr/model/OidcConfigInfo.h>
10#include <aws/wickr/model/OidcTokenInfo.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Wickr {
24namespace Model {
26 public:
27 AWS_WICKR_API GetOidcInfoResult() = default;
30
32
36 inline const OidcConfigInfo& GetOpenidConnectInfo() const { return m_openidConnectInfo; }
37 template <typename OpenidConnectInfoT = OidcConfigInfo>
38 void SetOpenidConnectInfo(OpenidConnectInfoT&& value) {
39 m_openidConnectInfoHasBeenSet = true;
40 m_openidConnectInfo = std::forward<OpenidConnectInfoT>(value);
41 }
42 template <typename OpenidConnectInfoT = OidcConfigInfo>
43 GetOidcInfoResult& WithOpenidConnectInfo(OpenidConnectInfoT&& value) {
44 SetOpenidConnectInfo(std::forward<OpenidConnectInfoT>(value));
45 return *this;
46 }
48
50
54 inline const OidcTokenInfo& GetTokenInfo() const { return m_tokenInfo; }
55 template <typename TokenInfoT = OidcTokenInfo>
56 void SetTokenInfo(TokenInfoT&& value) {
57 m_tokenInfoHasBeenSet = true;
58 m_tokenInfo = std::forward<TokenInfoT>(value);
59 }
60 template <typename TokenInfoT = OidcTokenInfo>
61 GetOidcInfoResult& WithTokenInfo(TokenInfoT&& value) {
62 SetTokenInfo(std::forward<TokenInfoT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
76 GetOidcInfoResult& WithRequestId(RequestIdT&& value) {
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 OidcConfigInfo m_openidConnectInfo;
83
84 OidcTokenInfo m_tokenInfo;
85
86 Aws::String m_requestId;
87 bool m_openidConnectInfoHasBeenSet = false;
88 bool m_tokenInfoHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Wickr
94} // namespace Aws
void SetOpenidConnectInfo(OpenidConnectInfoT &&value)
void SetTokenInfo(TokenInfoT &&value)
const OidcTokenInfo & GetTokenInfo() const
AWS_WICKR_API GetOidcInfoResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOidcInfoResult & WithTokenInfo(TokenInfoT &&value)
GetOidcInfoResult & WithOpenidConnectInfo(OpenidConnectInfoT &&value)
const OidcConfigInfo & GetOpenidConnectInfo() const
GetOidcInfoResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_WICKR_API GetOidcInfoResult()=default
AWS_WICKR_API GetOidcInfoResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue