AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteLicenseServerEndpointRequest.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager-user-subscriptions/model/ServerType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LicenseManagerUserSubscriptions
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DeleteLicenseServerEndpointRequest() = default;
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 "DeleteLicenseServerEndpoint"; }
32
33 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetLicenseServerEndpointArn() const { return m_licenseServerEndpointArn; }
42 inline bool LicenseServerEndpointArnHasBeenSet() const { return m_licenseServerEndpointArnHasBeenSet; }
43 template<typename LicenseServerEndpointArnT = Aws::String>
44 void SetLicenseServerEndpointArn(LicenseServerEndpointArnT&& value) { m_licenseServerEndpointArnHasBeenSet = true; m_licenseServerEndpointArn = std::forward<LicenseServerEndpointArnT>(value); }
45 template<typename LicenseServerEndpointArnT = Aws::String>
46 DeleteLicenseServerEndpointRequest& WithLicenseServerEndpointArn(LicenseServerEndpointArnT&& value) { SetLicenseServerEndpointArn(std::forward<LicenseServerEndpointArnT>(value)); return *this;}
48
50
53 inline ServerType GetServerType() const { return m_serverType; }
54 inline bool ServerTypeHasBeenSet() const { return m_serverTypeHasBeenSet; }
55 inline void SetServerType(ServerType value) { m_serverTypeHasBeenSet = true; m_serverType = value; }
58 private:
59
60 Aws::String m_licenseServerEndpointArn;
61 bool m_licenseServerEndpointArnHasBeenSet = false;
62
63 ServerType m_serverType{ServerType::NOT_SET};
64 bool m_serverTypeHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace LicenseManagerUserSubscriptions
69} // namespace Aws
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::String SerializePayload() const override
DeleteLicenseServerEndpointRequest & WithLicenseServerEndpointArn(LicenseServerEndpointArnT &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DeleteLicenseServerEndpointRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String