AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DisassociateApplicationFromEntitlementRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppStream {
15namespace Model {
16
20 public:
21 AWS_APPSTREAM_API DisassociateApplicationFromEntitlementRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DisassociateApplicationFromEntitlement"; }
28
29 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetStackName() const { return m_stackName; }
38 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
39 template <typename StackNameT = Aws::String>
40 void SetStackName(StackNameT&& value) {
41 m_stackNameHasBeenSet = true;
42 m_stackName = std::forward<StackNameT>(value);
43 }
44 template <typename StackNameT = Aws::String>
46 SetStackName(std::forward<StackNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetEntitlementName() const { return m_entitlementName; }
56 inline bool EntitlementNameHasBeenSet() const { return m_entitlementNameHasBeenSet; }
57 template <typename EntitlementNameT = Aws::String>
58 void SetEntitlementName(EntitlementNameT&& value) {
59 m_entitlementNameHasBeenSet = true;
60 m_entitlementName = std::forward<EntitlementNameT>(value);
61 }
62 template <typename EntitlementNameT = Aws::String>
64 SetEntitlementName(std::forward<EntitlementNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetApplicationIdentifier() const { return m_applicationIdentifier; }
74 inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; }
75 template <typename ApplicationIdentifierT = Aws::String>
76 void SetApplicationIdentifier(ApplicationIdentifierT&& value) {
77 m_applicationIdentifierHasBeenSet = true;
78 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
79 }
80 template <typename ApplicationIdentifierT = Aws::String>
82 SetApplicationIdentifier(std::forward<ApplicationIdentifierT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_stackName;
88 bool m_stackNameHasBeenSet = false;
89
90 Aws::String m_entitlementName;
91 bool m_entitlementNameHasBeenSet = false;
92
93 Aws::String m_applicationIdentifier;
94 bool m_applicationIdentifierHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace AppStream
99} // namespace Aws
DisassociateApplicationFromEntitlementRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
DisassociateApplicationFromEntitlementRequest & WithStackName(StackNameT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DisassociateApplicationFromEntitlementRequest & WithEntitlementName(EntitlementNameT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String