AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace CognitoIdentityProvider {
22namespace Model {
24 public:
25 AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult() = default;
27 AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenResult& operator=(
29
31
35 inline const Aws::String& GetSecretCode() const { return m_secretCode; }
36 template <typename SecretCodeT = Aws::String>
37 void SetSecretCode(SecretCodeT&& value) {
38 m_secretCodeHasBeenSet = true;
39 m_secretCode = std::forward<SecretCodeT>(value);
40 }
41 template <typename SecretCodeT = Aws::String>
43 SetSecretCode(std::forward<SecretCodeT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetSession() const { return m_session; }
54 template <typename SessionT = Aws::String>
55 void SetSession(SessionT&& value) {
56 m_sessionHasBeenSet = true;
57 m_session = std::forward<SessionT>(value);
58 }
59 template <typename SessionT = Aws::String>
61 SetSession(std::forward<SessionT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_secretCode;
82
83 Aws::String m_session;
84
85 Aws::String m_requestId;
86 bool m_secretCodeHasBeenSet = false;
87 bool m_sessionHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace CognitoIdentityProvider
93} // 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