AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterSubscriptionProviderResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LicenseManagerLinuxSubscriptions
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisterSubscriptionProviderResult();
35
36
38
42 inline const Aws::String& GetSubscriptionProviderArn() const{ return m_subscriptionProviderArn; }
43 inline void SetSubscriptionProviderArn(const Aws::String& value) { m_subscriptionProviderArn = value; }
44 inline void SetSubscriptionProviderArn(Aws::String&& value) { m_subscriptionProviderArn = std::move(value); }
45 inline void SetSubscriptionProviderArn(const char* value) { m_subscriptionProviderArn.assign(value); }
50
52
55 inline const SubscriptionProviderSource& GetSubscriptionProviderSource() const{ return m_subscriptionProviderSource; }
56 inline void SetSubscriptionProviderSource(const SubscriptionProviderSource& value) { m_subscriptionProviderSource = value; }
57 inline void SetSubscriptionProviderSource(SubscriptionProviderSource&& value) { m_subscriptionProviderSource = std::move(value); }
61
63
67 inline const SubscriptionProviderStatus& GetSubscriptionProviderStatus() const{ return m_subscriptionProviderStatus; }
68 inline void SetSubscriptionProviderStatus(const SubscriptionProviderStatus& value) { m_subscriptionProviderStatus = value; }
69 inline void SetSubscriptionProviderStatus(SubscriptionProviderStatus&& value) { m_subscriptionProviderStatus = std::move(value); }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline RegisterSubscriptionProviderResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline RegisterSubscriptionProviderResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline RegisterSubscriptionProviderResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_subscriptionProviderArn;
87
88 SubscriptionProviderSource m_subscriptionProviderSource;
89
90 SubscriptionProviderStatus m_subscriptionProviderStatus;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace LicenseManagerLinuxSubscriptions
97} // namespace Aws
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisterSubscriptionProviderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterSubscriptionProviderResult & WithSubscriptionProviderSource(SubscriptionProviderSource &&value)
RegisterSubscriptionProviderResult & WithSubscriptionProviderStatus(const SubscriptionProviderStatus &value)
RegisterSubscriptionProviderResult & WithSubscriptionProviderStatus(SubscriptionProviderStatus &&value)
RegisterSubscriptionProviderResult & WithSubscriptionProviderSource(const SubscriptionProviderSource &value)
RegisterSubscriptionProviderResult & WithSubscriptionProviderArn(const Aws::String &value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisterSubscriptionProviderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue