AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityProviderSummary.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager-user-subscriptions/model/IdentityProvider.h>
10#include <aws/license-manager-user-subscriptions/model/Settings.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 LicenseManagerUserSubscriptions
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API IdentityProviderSummary();
37 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API IdentityProviderSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API IdentityProviderSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
47 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
48 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
49 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
50 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
51 inline IdentityProviderSummary& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
52 inline IdentityProviderSummary& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
53 inline IdentityProviderSummary& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
55
57
60 inline const IdentityProvider& GetIdentityProvider() const{ return m_identityProvider; }
61 inline bool IdentityProviderHasBeenSet() const { return m_identityProviderHasBeenSet; }
62 inline void SetIdentityProvider(const IdentityProvider& value) { m_identityProviderHasBeenSet = true; m_identityProvider = value; }
63 inline void SetIdentityProvider(IdentityProvider&& value) { m_identityProviderHasBeenSet = true; m_identityProvider = std::move(value); }
65 inline IdentityProviderSummary& WithIdentityProvider(IdentityProvider&& value) { SetIdentityProvider(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetProduct() const{ return m_product; }
73 inline bool ProductHasBeenSet() const { return m_productHasBeenSet; }
74 inline void SetProduct(const Aws::String& value) { m_productHasBeenSet = true; m_product = value; }
75 inline void SetProduct(Aws::String&& value) { m_productHasBeenSet = true; m_product = std::move(value); }
76 inline void SetProduct(const char* value) { m_productHasBeenSet = true; m_product.assign(value); }
77 inline IdentityProviderSummary& WithProduct(const Aws::String& value) { SetProduct(value); return *this;}
78 inline IdentityProviderSummary& WithProduct(Aws::String&& value) { SetProduct(std::move(value)); return *this;}
79 inline IdentityProviderSummary& WithProduct(const char* value) { SetProduct(value); return *this;}
81
83
87 inline const Settings& GetSettings() const{ return m_settings; }
88 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
89 inline void SetSettings(const Settings& value) { m_settingsHasBeenSet = true; m_settings = value; }
90 inline void SetSettings(Settings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
91 inline IdentityProviderSummary& WithSettings(const Settings& value) { SetSettings(value); return *this;}
92 inline IdentityProviderSummary& WithSettings(Settings&& value) { SetSettings(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
104 inline IdentityProviderSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
105 inline IdentityProviderSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
106 inline IdentityProviderSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
108 private:
109
110 Aws::String m_failureMessage;
111 bool m_failureMessageHasBeenSet = false;
112
113 IdentityProvider m_identityProvider;
114 bool m_identityProviderHasBeenSet = false;
115
116 Aws::String m_product;
117 bool m_productHasBeenSet = false;
118
119 Settings m_settings;
120 bool m_settingsHasBeenSet = false;
121
122 Aws::String m_status;
123 bool m_statusHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace LicenseManagerUserSubscriptions
128} // namespace Aws
IdentityProviderSummary & WithStatus(const Aws::String &value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API IdentityProviderSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderSummary & WithProduct(const Aws::String &value)
IdentityProviderSummary & WithFailureMessage(const Aws::String &value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API IdentityProviderSummary(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderSummary & WithIdentityProvider(const IdentityProvider &value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityProviderSummary & WithIdentityProvider(IdentityProvider &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API IdentityProviderSummary()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue