AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
47 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
48 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
49 inline RegisterSubscriptionProviderRequest& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
50 inline RegisterSubscriptionProviderRequest& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
51 inline RegisterSubscriptionProviderRequest& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
53
55
58 inline const SubscriptionProviderSource& GetSubscriptionProviderSource() const{ return m_subscriptionProviderSource; }
59 inline bool SubscriptionProviderSourceHasBeenSet() const { return m_subscriptionProviderSourceHasBeenSet; }
60 inline void SetSubscriptionProviderSource(const SubscriptionProviderSource& value) { m_subscriptionProviderSourceHasBeenSet = true; m_subscriptionProviderSource = value; }
61 inline void SetSubscriptionProviderSource(SubscriptionProviderSource&& value) { m_subscriptionProviderSourceHasBeenSet = true; m_subscriptionProviderSource = std::move(value); }
65
67
71 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
72 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
73 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
74 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
77 inline RegisterSubscriptionProviderRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
78 inline RegisterSubscriptionProviderRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
79 inline RegisterSubscriptionProviderRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
80 inline RegisterSubscriptionProviderRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
81 inline RegisterSubscriptionProviderRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
82 inline RegisterSubscriptionProviderRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
83 inline RegisterSubscriptionProviderRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
85 private:
86
87 Aws::String m_secretArn;
88 bool m_secretArnHasBeenSet = false;
89
90 SubscriptionProviderSource m_subscriptionProviderSource;
91 bool m_subscriptionProviderSourceHasBeenSet = false;
92
94 bool m_tagsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LicenseManagerLinuxSubscriptions
99} // namespace Aws
RegisterSubscriptionProviderRequest & AddTags(const Aws::String &key, const Aws::String &value)
RegisterSubscriptionProviderRequest & AddTags(Aws::String &&key, const char *value)
RegisterSubscriptionProviderRequest & WithSubscriptionProviderSource(const SubscriptionProviderSource &value)
RegisterSubscriptionProviderRequest & AddTags(const Aws::String &key, Aws::String &&value)
RegisterSubscriptionProviderRequest & WithSubscriptionProviderSource(SubscriptionProviderSource &&value)
RegisterSubscriptionProviderRequest & AddTags(const char *key, const char *value)
RegisterSubscriptionProviderRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RegisterSubscriptionProviderRequest & AddTags(const char *key, Aws::String &&value)
RegisterSubscriptionProviderRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::String SerializePayload() const override
RegisterSubscriptionProviderRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
RegisterSubscriptionProviderRequest & AddTags(Aws::String &&key, const Aws::String &value)
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