AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RegisterSubscriptionProviderRequest.h
1
6#pragma once
7#include <aws/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptions_EXPORTS.h>
8#include <aws/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager-linux-subscriptions/model/SubscriptionProviderSource.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LicenseManagerLinuxSubscriptions
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisterSubscriptionProviderRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "RegisterSubscriptionProvider"; }
33
34 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::String SerializePayload() const override;
35
36
38
44 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
45 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
46 template<typename SecretArnT = Aws::String>
47 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
48 template<typename SecretArnT = Aws::String>
49 RegisterSubscriptionProviderRequest& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
51
53
56 inline SubscriptionProviderSource GetSubscriptionProviderSource() const { return m_subscriptionProviderSource; }
57 inline bool SubscriptionProviderSourceHasBeenSet() const { return m_subscriptionProviderSourceHasBeenSet; }
58 inline void SetSubscriptionProviderSource(SubscriptionProviderSource value) { m_subscriptionProviderSourceHasBeenSet = true; m_subscriptionProviderSource = value; }
61
63
67 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
68 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
69 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
70 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
71 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
72 RegisterSubscriptionProviderRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
73 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
74 RegisterSubscriptionProviderRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
75 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
76 }
78 private:
79
80 Aws::String m_secretArn;
81 bool m_secretArnHasBeenSet = false;
82
84 bool m_subscriptionProviderSourceHasBeenSet = false;
85
87 bool m_tagsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace LicenseManagerLinuxSubscriptions
92} // namespace Aws
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API RegisterSubscriptionProviderRequest()=default
RegisterSubscriptionProviderRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
RegisterSubscriptionProviderRequest & WithSubscriptionProviderSource(SubscriptionProviderSource value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::String SerializePayload() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String