AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceSettingsRequest.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/license-manager-linux-subscriptions/model/LinuxSubscriptionsDiscovery.h>
10#include <aws/license-manager-linux-subscriptions/model/LinuxSubscriptionsDiscoverySettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LicenseManagerLinuxSubscriptions
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API UpdateServiceSettingsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateServiceSettings"; }
32
33 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::String SerializePayload() const override;
34
35
37
42 inline bool GetAllowUpdate() const{ return m_allowUpdate; }
43 inline bool AllowUpdateHasBeenSet() const { return m_allowUpdateHasBeenSet; }
44 inline void SetAllowUpdate(bool value) { m_allowUpdateHasBeenSet = true; m_allowUpdate = value; }
45 inline UpdateServiceSettingsRequest& WithAllowUpdate(bool value) { SetAllowUpdate(value); return *this;}
47
49
52 inline const LinuxSubscriptionsDiscovery& GetLinuxSubscriptionsDiscovery() const{ return m_linuxSubscriptionsDiscovery; }
53 inline bool LinuxSubscriptionsDiscoveryHasBeenSet() const { return m_linuxSubscriptionsDiscoveryHasBeenSet; }
54 inline void SetLinuxSubscriptionsDiscovery(const LinuxSubscriptionsDiscovery& value) { m_linuxSubscriptionsDiscoveryHasBeenSet = true; m_linuxSubscriptionsDiscovery = value; }
55 inline void SetLinuxSubscriptionsDiscovery(LinuxSubscriptionsDiscovery&& value) { m_linuxSubscriptionsDiscoveryHasBeenSet = true; m_linuxSubscriptionsDiscovery = std::move(value); }
59
61
66 inline const LinuxSubscriptionsDiscoverySettings& GetLinuxSubscriptionsDiscoverySettings() const{ return m_linuxSubscriptionsDiscoverySettings; }
67 inline bool LinuxSubscriptionsDiscoverySettingsHasBeenSet() const { return m_linuxSubscriptionsDiscoverySettingsHasBeenSet; }
68 inline void SetLinuxSubscriptionsDiscoverySettings(const LinuxSubscriptionsDiscoverySettings& value) { m_linuxSubscriptionsDiscoverySettingsHasBeenSet = true; m_linuxSubscriptionsDiscoverySettings = value; }
69 inline void SetLinuxSubscriptionsDiscoverySettings(LinuxSubscriptionsDiscoverySettings&& value) { m_linuxSubscriptionsDiscoverySettingsHasBeenSet = true; m_linuxSubscriptionsDiscoverySettings = std::move(value); }
73 private:
74
75 bool m_allowUpdate;
76 bool m_allowUpdateHasBeenSet = false;
77
78 LinuxSubscriptionsDiscovery m_linuxSubscriptionsDiscovery;
79 bool m_linuxSubscriptionsDiscoveryHasBeenSet = false;
80
81 LinuxSubscriptionsDiscoverySettings m_linuxSubscriptionsDiscoverySettings;
82 bool m_linuxSubscriptionsDiscoverySettingsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace LicenseManagerLinuxSubscriptions
87} // namespace Aws
UpdateServiceSettingsRequest & WithLinuxSubscriptionsDiscoverySettings(LinuxSubscriptionsDiscoverySettings &&value)
UpdateServiceSettingsRequest & WithLinuxSubscriptionsDiscoverySettings(const LinuxSubscriptionsDiscoverySettings &value)
void SetLinuxSubscriptionsDiscoverySettings(LinuxSubscriptionsDiscoverySettings &&value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::String SerializePayload() const override
const LinuxSubscriptionsDiscoverySettings & GetLinuxSubscriptionsDiscoverySettings() const
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API UpdateServiceSettingsRequest()
void SetLinuxSubscriptionsDiscoverySettings(const LinuxSubscriptionsDiscoverySettings &value)
UpdateServiceSettingsRequest & WithLinuxSubscriptionsDiscovery(const LinuxSubscriptionsDiscovery &value)
UpdateServiceSettingsRequest & WithLinuxSubscriptionsDiscovery(LinuxSubscriptionsDiscovery &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String