AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AssociateSoftwareTokenResult.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CognitoIdentityProvider
24{
25namespace Model
26{
28 {
29 public:
30 AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult() = default;
33
34
36
40 inline const Aws::String& GetSecretCode() const { return m_secretCode; }
41 template<typename SecretCodeT = Aws::String>
42 void SetSecretCode(SecretCodeT&& value) { m_secretCodeHasBeenSet = true; m_secretCode = std::forward<SecretCodeT>(value); }
43 template<typename SecretCodeT = Aws::String>
44 AssociateSoftwareTokenResult& WithSecretCode(SecretCodeT&& value) { SetSecretCode(std::forward<SecretCodeT>(value)); return *this;}
46
48
52 inline const Aws::String& GetSession() const { return m_session; }
53 template<typename SessionT = Aws::String>
54 void SetSession(SessionT&& value) { m_sessionHasBeenSet = true; m_session = std::forward<SessionT>(value); }
55 template<typename SessionT = Aws::String>
56 AssociateSoftwareTokenResult& WithSession(SessionT&& value) { SetSession(std::forward<SessionT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 AssociateSoftwareTokenResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_secretCode;
70 bool m_secretCodeHasBeenSet = false;
71
72 Aws::String m_session;
73 bool m_sessionHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CognitoIdentityProvider
81} // 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