AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceMetadataResult.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/pi/model/FeatureMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PI
26{
27namespace Model
28{
30 {
31 public:
35
36
38
44 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
45 inline void SetIdentifier(const Aws::String& value) { m_identifier = value; }
46 inline void SetIdentifier(Aws::String&& value) { m_identifier = std::move(value); }
47 inline void SetIdentifier(const char* value) { m_identifier.assign(value); }
48 inline GetResourceMetadataResult& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
49 inline GetResourceMetadataResult& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
50 inline GetResourceMetadataResult& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
52
54
58 inline const Aws::Map<Aws::String, FeatureMetadata>& GetFeatures() const{ return m_features; }
59 inline void SetFeatures(const Aws::Map<Aws::String, FeatureMetadata>& value) { m_features = value; }
60 inline void SetFeatures(Aws::Map<Aws::String, FeatureMetadata>&& value) { m_features = std::move(value); }
63 inline GetResourceMetadataResult& AddFeatures(const Aws::String& key, const FeatureMetadata& value) { m_features.emplace(key, value); return *this; }
64 inline GetResourceMetadataResult& AddFeatures(Aws::String&& key, const FeatureMetadata& value) { m_features.emplace(std::move(key), value); return *this; }
65 inline GetResourceMetadataResult& AddFeatures(const Aws::String& key, FeatureMetadata&& value) { m_features.emplace(key, std::move(value)); return *this; }
66 inline GetResourceMetadataResult& AddFeatures(Aws::String&& key, FeatureMetadata&& value) { m_features.emplace(std::move(key), std::move(value)); return *this; }
67 inline GetResourceMetadataResult& AddFeatures(const char* key, FeatureMetadata&& value) { m_features.emplace(key, std::move(value)); return *this; }
68 inline GetResourceMetadataResult& AddFeatures(const char* key, const FeatureMetadata& value) { m_features.emplace(key, value); return *this; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline GetResourceMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline GetResourceMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline GetResourceMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_identifier;
84
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace PI
92} // namespace Aws
GetResourceMetadataResult & WithIdentifier(const Aws::String &value)
GetResourceMetadataResult & WithRequestId(Aws::String &&value)
GetResourceMetadataResult & AddFeatures(Aws::String &&key, const FeatureMetadata &value)
AWS_PI_API GetResourceMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceMetadataResult & WithFeatures(const Aws::Map< Aws::String, FeatureMetadata > &value)
GetResourceMetadataResult & WithRequestId(const Aws::String &value)
GetResourceMetadataResult & WithRequestId(const char *value)
GetResourceMetadataResult & WithIdentifier(Aws::String &&value)
AWS_PI_API GetResourceMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceMetadataResult & WithFeatures(Aws::Map< Aws::String, FeatureMetadata > &&value)
GetResourceMetadataResult & AddFeatures(const Aws::String &key, const FeatureMetadata &value)
GetResourceMetadataResult & AddFeatures(const char *key, FeatureMetadata &&value)
GetResourceMetadataResult & WithIdentifier(const char *value)
GetResourceMetadataResult & AddFeatures(const Aws::String &key, FeatureMetadata &&value)
void SetFeatures(const Aws::Map< Aws::String, FeatureMetadata > &value)
const Aws::Map< Aws::String, FeatureMetadata > & GetFeatures() const
void SetFeatures(Aws::Map< Aws::String, FeatureMetadata > &&value)
GetResourceMetadataResult & AddFeatures(const char *key, const FeatureMetadata &value)
GetResourceMetadataResult & AddFeatures(Aws::String &&key, FeatureMetadata &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue