AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateIdentitySourceResult.h
1
6#pragma once
7#include <aws/mpa/MPA_EXPORTS.h>
8#include <aws/mpa/model/IdentitySourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MPA
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MPA_API CreateIdentitySourceResult() = default;
35
36
38
42 inline IdentitySourceType GetIdentitySourceType() const { return m_identitySourceType; }
43 inline void SetIdentitySourceType(IdentitySourceType value) { m_identitySourceTypeHasBeenSet = true; m_identitySourceType = value; }
46
48
51 inline const Aws::String& GetIdentitySourceArn() const { return m_identitySourceArn; }
52 template<typename IdentitySourceArnT = Aws::String>
53 void SetIdentitySourceArn(IdentitySourceArnT&& value) { m_identitySourceArnHasBeenSet = true; m_identitySourceArn = std::forward<IdentitySourceArnT>(value); }
54 template<typename IdentitySourceArnT = Aws::String>
55 CreateIdentitySourceResult& WithIdentitySourceArn(IdentitySourceArnT&& value) { SetIdentitySourceArn(std::forward<IdentitySourceArnT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
63 template<typename CreationTimeT = Aws::Utils::DateTime>
64 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
65 template<typename CreationTimeT = Aws::Utils::DateTime>
66 CreateIdentitySourceResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CreateIdentitySourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
80 bool m_identitySourceTypeHasBeenSet = false;
81
82 Aws::String m_identitySourceArn;
83 bool m_identitySourceArnHasBeenSet = false;
84
85 Aws::Utils::DateTime m_creationTime{};
86 bool m_creationTimeHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace MPA
94} // 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