AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProviderDescription.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cognito-idp/model/IdentityProviderTypeType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CognitoIdentityProvider
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription() = default;
38 AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetProviderName() const { return m_providerName; }
48 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
49 template<typename ProviderNameT = Aws::String>
50 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
51 template<typename ProviderNameT = Aws::String>
52 ProviderDescription& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
54
56
62 inline IdentityProviderTypeType GetProviderType() const { return m_providerType; }
63 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
64 inline void SetProviderType(IdentityProviderTypeType value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
67
69
74 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
75 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
76 template<typename LastModifiedDateT = Aws::Utils::DateTime>
77 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
78 template<typename LastModifiedDateT = Aws::Utils::DateTime>
79 ProviderDescription& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
81
83
88 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
89 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
90 template<typename CreationDateT = Aws::Utils::DateTime>
91 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
92 template<typename CreationDateT = Aws::Utils::DateTime>
93 ProviderDescription& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
95 private:
96
97 Aws::String m_providerName;
98 bool m_providerNameHasBeenSet = false;
99
101 bool m_providerTypeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_lastModifiedDate{};
104 bool m_lastModifiedDateHasBeenSet = false;
105
106 Aws::Utils::DateTime m_creationDate{};
107 bool m_creationDateHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CognitoIdentityProvider
112} // 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