AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
ProviderDescription.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/model/IdentityProviderTypeType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CognitoIdentityProvider {
22namespace Model {
23
31 public:
32 AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription() = default;
33 AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetProviderName() const { return m_providerName; }
42 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
43 template <typename ProviderNameT = Aws::String>
44 void SetProviderName(ProviderNameT&& value) {
45 m_providerNameHasBeenSet = true;
46 m_providerName = std::forward<ProviderNameT>(value);
47 }
48 template <typename ProviderNameT = Aws::String>
49 ProviderDescription& WithProviderName(ProviderNameT&& value) {
50 SetProviderName(std::forward<ProviderNameT>(value));
51 return *this;
52 }
54
56
62 inline IdentityProviderTypeType GetProviderType() const { return m_providerType; }
63 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
65 m_providerTypeHasBeenSet = true;
66 m_providerType = value;
67 }
69 SetProviderType(value);
70 return *this;
71 }
73
75
80 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
81 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
82 template <typename LastModifiedDateT = Aws::Utils::DateTime>
83 void SetLastModifiedDate(LastModifiedDateT&& value) {
84 m_lastModifiedDateHasBeenSet = true;
85 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
86 }
87 template <typename LastModifiedDateT = Aws::Utils::DateTime>
88 ProviderDescription& WithLastModifiedDate(LastModifiedDateT&& value) {
89 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
90 return *this;
91 }
93
95
100 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
101 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
102 template <typename CreationDateT = Aws::Utils::DateTime>
103 void SetCreationDate(CreationDateT&& value) {
104 m_creationDateHasBeenSet = true;
105 m_creationDate = std::forward<CreationDateT>(value);
106 }
107 template <typename CreationDateT = Aws::Utils::DateTime>
108 ProviderDescription& WithCreationDate(CreationDateT&& value) {
109 SetCreationDate(std::forward<CreationDateT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_providerName;
115
117
118 Aws::Utils::DateTime m_lastModifiedDate{};
119
120 Aws::Utils::DateTime m_creationDate{};
121 bool m_providerNameHasBeenSet = false;
122 bool m_providerTypeHasBeenSet = false;
123 bool m_lastModifiedDateHasBeenSet = false;
124 bool m_creationDateHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace CognitoIdentityProvider
129} // namespace Aws
ProviderDescription & WithCreationDate(CreationDateT &&value)
ProviderDescription & WithProviderType(IdentityProviderTypeType value)
ProviderDescription & WithProviderName(ProviderNameT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription()=default
ProviderDescription & WithLastModifiedDate(LastModifiedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue