AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetSessionResponseApproverResponse.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mpa/MPA_EXPORTS.h>
10#include <aws/mpa/model/SessionResponse.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MPA {
22namespace Model {
23
31 public:
32 AWS_MPA_API GetSessionResponseApproverResponse() = default;
36
38
41 inline const Aws::String& GetApproverId() const { return m_approverId; }
42 inline bool ApproverIdHasBeenSet() const { return m_approverIdHasBeenSet; }
43 template <typename ApproverIdT = Aws::String>
44 void SetApproverId(ApproverIdT&& value) {
45 m_approverIdHasBeenSet = true;
46 m_approverId = std::forward<ApproverIdT>(value);
47 }
48 template <typename ApproverIdT = Aws::String>
50 SetApproverId(std::forward<ApproverIdT>(value));
51 return *this;
52 }
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) {
64 m_identitySourceArnHasBeenSet = true;
65 m_identitySourceArn = std::forward<IdentitySourceArnT>(value);
66 }
67 template <typename IdentitySourceArnT = Aws::String>
69 SetIdentitySourceArn(std::forward<IdentitySourceArnT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetIdentityId() const { return m_identityId; }
80 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
81 template <typename IdentityIdT = Aws::String>
82 void SetIdentityId(IdentityIdT&& value) {
83 m_identityIdHasBeenSet = true;
84 m_identityId = std::forward<IdentityIdT>(value);
85 }
86 template <typename IdentityIdT = Aws::String>
88 SetIdentityId(std::forward<IdentityIdT>(value));
89 return *this;
90 }
92
94
97 inline SessionResponse GetResponse() const { return m_response; }
98 inline bool ResponseHasBeenSet() const { return m_responseHasBeenSet; }
99 inline void SetResponse(SessionResponse value) {
100 m_responseHasBeenSet = true;
101 m_response = value;
102 }
104 SetResponse(value);
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetResponseTime() const { return m_responseTime; }
114 inline bool ResponseTimeHasBeenSet() const { return m_responseTimeHasBeenSet; }
115 template <typename ResponseTimeT = Aws::Utils::DateTime>
116 void SetResponseTime(ResponseTimeT&& value) {
117 m_responseTimeHasBeenSet = true;
118 m_responseTime = std::forward<ResponseTimeT>(value);
119 }
120 template <typename ResponseTimeT = Aws::Utils::DateTime>
122 SetResponseTime(std::forward<ResponseTimeT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_approverId;
128
129 Aws::String m_identitySourceArn;
130
131 Aws::String m_identityId;
132
134
135 Aws::Utils::DateTime m_responseTime{};
136 bool m_approverIdHasBeenSet = false;
137 bool m_identitySourceArnHasBeenSet = false;
138 bool m_identityIdHasBeenSet = false;
139 bool m_responseHasBeenSet = false;
140 bool m_responseTimeHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace MPA
145} // 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