AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetResourceMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pi/PIRequest.h>
9#include <aws/pi/PI_EXPORTS.h>
10#include <aws/pi/model/ServiceType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PI {
16namespace Model {
17
21 public:
22 AWS_PI_API GetResourceMetadataRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetResourceMetadata"; }
29
30 AWS_PI_API Aws::String SerializePayload() const override;
31
33
35
39 inline ServiceType GetServiceType() const { return m_serviceType; }
40 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
41 inline void SetServiceType(ServiceType value) {
42 m_serviceTypeHasBeenSet = true;
43 m_serviceType = value;
44 }
46 SetServiceType(value);
47 return *this;
48 }
50
52
58 inline const Aws::String& GetIdentifier() const { return m_identifier; }
59 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
60 template <typename IdentifierT = Aws::String>
61 void SetIdentifier(IdentifierT&& value) {
62 m_identifierHasBeenSet = true;
63 m_identifier = std::forward<IdentifierT>(value);
64 }
65 template <typename IdentifierT = Aws::String>
67 SetIdentifier(std::forward<IdentifierT>(value));
68 return *this;
69 }
71 private:
72 ServiceType m_serviceType{ServiceType::NOT_SET};
73
74 Aws::String m_identifier;
75 bool m_serviceTypeHasBeenSet = false;
76 bool m_identifierHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PI
81} // namespace Aws
AWS_PI_API Aws::String SerializePayload() const override
AWS_PI_API GetResourceMetadataRequest()=default
AWS_PI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
GetResourceMetadataRequest & WithIdentifier(IdentifierT &&value)
GetResourceMetadataRequest & WithServiceType(ServiceType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String