AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
CreateIdentitySourceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mpa/MPA_EXPORTS.h>
11#include <aws/mpa/model/IdentitySourceType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace MPA {
25namespace Model {
27 public:
28 AWS_MPA_API CreateIdentitySourceResult() = default;
31
33
37 inline IdentitySourceType GetIdentitySourceType() const { return m_identitySourceType; }
39 m_identitySourceTypeHasBeenSet = true;
40 m_identitySourceType = value;
41 }
44 return *this;
45 }
47
49
52 inline const Aws::String& GetIdentitySourceArn() const { return m_identitySourceArn; }
53 template <typename IdentitySourceArnT = Aws::String>
54 void SetIdentitySourceArn(IdentitySourceArnT&& value) {
55 m_identitySourceArnHasBeenSet = true;
56 m_identitySourceArn = std::forward<IdentitySourceArnT>(value);
57 }
58 template <typename IdentitySourceArnT = Aws::String>
60 SetIdentitySourceArn(std::forward<IdentitySourceArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 template <typename CreationTimeT = Aws::Utils::DateTime>
71 void SetCreationTime(CreationTimeT&& value) {
72 m_creationTimeHasBeenSet = true;
73 m_creationTime = std::forward<CreationTimeT>(value);
74 }
75 template <typename CreationTimeT = Aws::Utils::DateTime>
77 SetCreationTime(std::forward<CreationTimeT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
100
101 Aws::String m_identitySourceArn;
102
103 Aws::Utils::DateTime m_creationTime{};
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_identitySourceTypeHasBeenSet = false;
108 bool m_identitySourceArnHasBeenSet = false;
109 bool m_creationTimeHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace MPA
115} // namespace Aws
CreateIdentitySourceResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_MPA_API CreateIdentitySourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MPA_API CreateIdentitySourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIdentitySourceResult & WithIdentitySourceType(IdentitySourceType value)
void SetIdentitySourceArn(IdentitySourceArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
CreateIdentitySourceResult & WithCreationTime(CreationTimeT &&value)
AWS_MPA_API CreateIdentitySourceResult()=default
CreateIdentitySourceResult & WithIdentitySourceArn(IdentitySourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue