AWS SDK for C++

AWS SDK for C++ Version 1.11.789

Loading...
Searching...
No Matches
AssociateSoftwareTokenResult.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace CognitoIdentityProvider {
23namespace Model {
25 public:
26 AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult() = default;
28 AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult& operator=(
30
32
36 inline const Aws::String& GetSecretCode() const { return m_secretCode; }
37 template <typename SecretCodeT = Aws::String>
38 void SetSecretCode(SecretCodeT&& value) {
39 m_secretCodeHasBeenSet = true;
40 m_secretCode = std::forward<SecretCodeT>(value);
41 }
42 template <typename SecretCodeT = Aws::String>
44 SetSecretCode(std::forward<SecretCodeT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetSession() const { return m_session; }
55 template <typename SessionT = Aws::String>
56 void SetSession(SessionT&& value) {
57 m_sessionHasBeenSet = true;
58 m_session = std::forward<SessionT>(value);
59 }
60 template <typename SessionT = Aws::String>
62 SetSession(std::forward<SessionT>(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>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 Aws::String m_secretCode;
85
86 Aws::String m_session;
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_secretCodeHasBeenSet = false;
91 bool m_sessionHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CognitoIdentityProvider
97} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult()=default
AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateSoftwareTokenResult & WithSecretCode(SecretCodeT &&value)
AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue