AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
CreateIdentitySourceResult.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/IdentitySourceType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MPA {
24namespace Model {
26 public:
27 AWS_MPA_API CreateIdentitySourceResult() = default;
30
32
36 inline IdentitySourceType GetIdentitySourceType() const { return m_identitySourceType; }
38 m_identitySourceTypeHasBeenSet = true;
39 m_identitySourceType = value;
40 }
43 return *this;
44 }
46
48
51 inline const Aws::String& GetIdentitySourceArn() const { return m_identitySourceArn; }
52 template <typename IdentitySourceArnT = Aws::String>
53 void SetIdentitySourceArn(IdentitySourceArnT&& value) {
54 m_identitySourceArnHasBeenSet = true;
55 m_identitySourceArn = std::forward<IdentitySourceArnT>(value);
56 }
57 template <typename IdentitySourceArnT = Aws::String>
59 SetIdentitySourceArn(std::forward<IdentitySourceArnT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
69 template <typename CreationTimeT = Aws::Utils::DateTime>
70 void SetCreationTime(CreationTimeT&& value) {
71 m_creationTimeHasBeenSet = true;
72 m_creationTime = std::forward<CreationTimeT>(value);
73 }
74 template <typename CreationTimeT = Aws::Utils::DateTime>
76 SetCreationTime(std::forward<CreationTimeT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 private:
97
98 Aws::String m_identitySourceArn;
99
100 Aws::Utils::DateTime m_creationTime{};
101
102 Aws::String m_requestId;
103 bool m_identitySourceTypeHasBeenSet = false;
104 bool m_identitySourceArnHasBeenSet = false;
105 bool m_creationTimeHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace MPA
111} // namespace Aws
CreateIdentitySourceResult & WithRequestId(RequestIdT &&value)
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