AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
DeregisterCapabilityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace OpenSearchService {
15namespace Model {
16
24 public:
25 AWS_OPENSEARCHSERVICE_API DeregisterCapabilityRequest() = 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 "DeregisterCapability"; }
32
33 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) {
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCapabilityName() const { return m_capabilityName; }
59 inline bool CapabilityNameHasBeenSet() const { return m_capabilityNameHasBeenSet; }
60 template <typename CapabilityNameT = Aws::String>
61 void SetCapabilityName(CapabilityNameT&& value) {
62 m_capabilityNameHasBeenSet = true;
63 m_capabilityName = std::forward<CapabilityNameT>(value);
64 }
65 template <typename CapabilityNameT = Aws::String>
67 SetCapabilityName(std::forward<CapabilityNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_applicationId;
73
74 Aws::String m_capabilityName;
75 bool m_applicationIdHasBeenSet = false;
76 bool m_capabilityNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace OpenSearchService
81} // namespace Aws
DeregisterCapabilityRequest & WithCapabilityName(CapabilityNameT &&value)
DeregisterCapabilityRequest & WithApplicationId(ApplicationIdT &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
AWS_OPENSEARCHSERVICE_API DeregisterCapabilityRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String