AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetSessionResponseApproverResponse.h
1
6#pragma once
7#include <aws/mpa/MPA_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mpa/model/SessionResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MPA
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MPA_API GetSessionResponseApproverResponse() = default;
41
42
44
47 inline const Aws::String& GetApproverId() const { return m_approverId; }
48 inline bool ApproverIdHasBeenSet() const { return m_approverIdHasBeenSet; }
49 template<typename ApproverIdT = Aws::String>
50 void SetApproverId(ApproverIdT&& value) { m_approverIdHasBeenSet = true; m_approverId = std::forward<ApproverIdT>(value); }
51 template<typename ApproverIdT = Aws::String>
52 GetSessionResponseApproverResponse& WithApproverId(ApproverIdT&& value) { SetApproverId(std::forward<ApproverIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetIdentitySourceArn() const { return m_identitySourceArn; }
61 inline bool IdentitySourceArnHasBeenSet() const { return m_identitySourceArnHasBeenSet; }
62 template<typename IdentitySourceArnT = Aws::String>
63 void SetIdentitySourceArn(IdentitySourceArnT&& value) { m_identitySourceArnHasBeenSet = true; m_identitySourceArn = std::forward<IdentitySourceArnT>(value); }
64 template<typename IdentitySourceArnT = Aws::String>
65 GetSessionResponseApproverResponse& WithIdentitySourceArn(IdentitySourceArnT&& value) { SetIdentitySourceArn(std::forward<IdentitySourceArnT>(value)); return *this;}
67
69
73 inline const Aws::String& GetIdentityId() const { return m_identityId; }
74 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
75 template<typename IdentityIdT = Aws::String>
76 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
77 template<typename IdentityIdT = Aws::String>
78 GetSessionResponseApproverResponse& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
80
82
85 inline SessionResponse GetResponse() const { return m_response; }
86 inline bool ResponseHasBeenSet() const { return m_responseHasBeenSet; }
87 inline void SetResponse(SessionResponse value) { m_responseHasBeenSet = true; m_response = value; }
90
92
95 inline const Aws::Utils::DateTime& GetResponseTime() const { return m_responseTime; }
96 inline bool ResponseTimeHasBeenSet() const { return m_responseTimeHasBeenSet; }
97 template<typename ResponseTimeT = Aws::Utils::DateTime>
98 void SetResponseTime(ResponseTimeT&& value) { m_responseTimeHasBeenSet = true; m_responseTime = std::forward<ResponseTimeT>(value); }
99 template<typename ResponseTimeT = Aws::Utils::DateTime>
100 GetSessionResponseApproverResponse& WithResponseTime(ResponseTimeT&& value) { SetResponseTime(std::forward<ResponseTimeT>(value)); return *this;}
102 private:
103
104 Aws::String m_approverId;
105 bool m_approverIdHasBeenSet = false;
106
107 Aws::String m_identitySourceArn;
108 bool m_identitySourceArnHasBeenSet = false;
109
110 Aws::String m_identityId;
111 bool m_identityIdHasBeenSet = false;
112
114 bool m_responseHasBeenSet = false;
115
116 Aws::Utils::DateTime m_responseTime{};
117 bool m_responseTimeHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace MPA
122} // namespace Aws
AWS_MPA_API GetSessionResponseApproverResponse(Aws::Utils::Json::JsonView jsonValue)
GetSessionResponseApproverResponse & WithIdentityId(IdentityIdT &&value)
AWS_MPA_API Aws::Utils::Json::JsonValue Jsonize() const
GetSessionResponseApproverResponse & WithApproverId(ApproverIdT &&value)
GetSessionResponseApproverResponse & WithResponseTime(ResponseTimeT &&value)
AWS_MPA_API GetSessionResponseApproverResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
GetSessionResponseApproverResponse & WithResponse(SessionResponse value)
GetSessionResponseApproverResponse & WithIdentitySourceArn(IdentitySourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue