AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisteredSubscriptionProvider.h
1
6#pragma once
7#include <aws/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager-linux-subscriptions/model/SubscriptionProviderSource.h>
10#include <aws/license-manager-linux-subscriptions/model/SubscriptionProviderStatus.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 LicenseManagerLinuxSubscriptions
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisteredSubscriptionProvider();
40 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisteredSubscriptionProvider(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisteredSubscriptionProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetLastSuccessfulDataRetrievalTime() const{ return m_lastSuccessfulDataRetrievalTime; }
52 inline bool LastSuccessfulDataRetrievalTimeHasBeenSet() const { return m_lastSuccessfulDataRetrievalTimeHasBeenSet; }
53 inline void SetLastSuccessfulDataRetrievalTime(const Aws::String& value) { m_lastSuccessfulDataRetrievalTimeHasBeenSet = true; m_lastSuccessfulDataRetrievalTime = value; }
54 inline void SetLastSuccessfulDataRetrievalTime(Aws::String&& value) { m_lastSuccessfulDataRetrievalTimeHasBeenSet = true; m_lastSuccessfulDataRetrievalTime = std::move(value); }
55 inline void SetLastSuccessfulDataRetrievalTime(const char* value) { m_lastSuccessfulDataRetrievalTimeHasBeenSet = true; m_lastSuccessfulDataRetrievalTime.assign(value); }
60
62
67 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
68 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
69 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
70 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
71 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
72 inline RegisteredSubscriptionProvider& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
73 inline RegisteredSubscriptionProvider& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
74 inline RegisteredSubscriptionProvider& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
76
78
82 inline const Aws::String& GetSubscriptionProviderArn() const{ return m_subscriptionProviderArn; }
83 inline bool SubscriptionProviderArnHasBeenSet() const { return m_subscriptionProviderArnHasBeenSet; }
84 inline void SetSubscriptionProviderArn(const Aws::String& value) { m_subscriptionProviderArnHasBeenSet = true; m_subscriptionProviderArn = value; }
85 inline void SetSubscriptionProviderArn(Aws::String&& value) { m_subscriptionProviderArnHasBeenSet = true; m_subscriptionProviderArn = std::move(value); }
86 inline void SetSubscriptionProviderArn(const char* value) { m_subscriptionProviderArnHasBeenSet = true; m_subscriptionProviderArn.assign(value); }
91
93
97 inline const SubscriptionProviderSource& GetSubscriptionProviderSource() const{ return m_subscriptionProviderSource; }
98 inline bool SubscriptionProviderSourceHasBeenSet() const { return m_subscriptionProviderSourceHasBeenSet; }
99 inline void SetSubscriptionProviderSource(const SubscriptionProviderSource& value) { m_subscriptionProviderSourceHasBeenSet = true; m_subscriptionProviderSource = value; }
100 inline void SetSubscriptionProviderSource(SubscriptionProviderSource&& value) { m_subscriptionProviderSourceHasBeenSet = true; m_subscriptionProviderSource = std::move(value); }
104
106
111 inline const SubscriptionProviderStatus& GetSubscriptionProviderStatus() const{ return m_subscriptionProviderStatus; }
112 inline bool SubscriptionProviderStatusHasBeenSet() const { return m_subscriptionProviderStatusHasBeenSet; }
113 inline void SetSubscriptionProviderStatus(const SubscriptionProviderStatus& value) { m_subscriptionProviderStatusHasBeenSet = true; m_subscriptionProviderStatus = value; }
114 inline void SetSubscriptionProviderStatus(SubscriptionProviderStatus&& value) { m_subscriptionProviderStatusHasBeenSet = true; m_subscriptionProviderStatus = std::move(value); }
118
120
124 inline const Aws::String& GetSubscriptionProviderStatusMessage() const{ return m_subscriptionProviderStatusMessage; }
125 inline bool SubscriptionProviderStatusMessageHasBeenSet() const { return m_subscriptionProviderStatusMessageHasBeenSet; }
126 inline void SetSubscriptionProviderStatusMessage(const Aws::String& value) { m_subscriptionProviderStatusMessageHasBeenSet = true; m_subscriptionProviderStatusMessage = value; }
127 inline void SetSubscriptionProviderStatusMessage(Aws::String&& value) { m_subscriptionProviderStatusMessageHasBeenSet = true; m_subscriptionProviderStatusMessage = std::move(value); }
128 inline void SetSubscriptionProviderStatusMessage(const char* value) { m_subscriptionProviderStatusMessageHasBeenSet = true; m_subscriptionProviderStatusMessage.assign(value); }
133 private:
134
135 Aws::String m_lastSuccessfulDataRetrievalTime;
136 bool m_lastSuccessfulDataRetrievalTimeHasBeenSet = false;
137
138 Aws::String m_secretArn;
139 bool m_secretArnHasBeenSet = false;
140
141 Aws::String m_subscriptionProviderArn;
142 bool m_subscriptionProviderArnHasBeenSet = false;
143
144 SubscriptionProviderSource m_subscriptionProviderSource;
145 bool m_subscriptionProviderSourceHasBeenSet = false;
146
147 SubscriptionProviderStatus m_subscriptionProviderStatus;
148 bool m_subscriptionProviderStatusHasBeenSet = false;
149
150 Aws::String m_subscriptionProviderStatusMessage;
151 bool m_subscriptionProviderStatusMessageHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace LicenseManagerLinuxSubscriptions
156} // namespace Aws
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisteredSubscriptionProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
RegisteredSubscriptionProvider & WithSubscriptionProviderStatus(SubscriptionProviderStatus &&value)
RegisteredSubscriptionProvider & WithSubscriptionProviderSource(SubscriptionProviderSource &&value)
RegisteredSubscriptionProvider & WithLastSuccessfulDataRetrievalTime(Aws::String &&value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisteredSubscriptionProvider(Aws::Utils::Json::JsonView jsonValue)
RegisteredSubscriptionProvider & WithSubscriptionProviderStatus(const SubscriptionProviderStatus &value)
RegisteredSubscriptionProvider & WithSubscriptionProviderStatusMessage(const Aws::String &value)
RegisteredSubscriptionProvider & WithSubscriptionProviderSource(const SubscriptionProviderSource &value)
RegisteredSubscriptionProvider & WithLastSuccessfulDataRetrievalTime(const Aws::String &value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisteredSubscriptionProvider()
RegisteredSubscriptionProvider & WithSubscriptionProviderArn(const Aws::String &value)
RegisteredSubscriptionProvider & WithSubscriptionProviderStatusMessage(Aws::String &&value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue