AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetResourceMetadataRequest.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/pi/PIRequest.h>
9#include <aws/pi/model/ServiceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PI
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PI_API GetResourceMetadataRequest() = 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 "GetResourceMetadata"; }
32
33 AWS_PI_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline ServiceType GetServiceType() const { return m_serviceType; }
44 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
45 inline void SetServiceType(ServiceType value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
48
50
56 inline const Aws::String& GetIdentifier() const { return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 template<typename IdentifierT = Aws::String>
59 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
60 template<typename IdentifierT = Aws::String>
61 GetResourceMetadataRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
63 private:
64
65 ServiceType m_serviceType{ServiceType::NOT_SET};
66 bool m_serviceTypeHasBeenSet = false;
67
68 Aws::String m_identifier;
69 bool m_identifierHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace PI
74} // 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