AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetOpsMetadataResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/ssm/model/MetadataValue.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 SSM
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SSM_API GetOpsMetadataResult();
35
36
38
41 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
42 inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
43 inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
44 inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
45 inline GetOpsMetadataResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
46 inline GetOpsMetadataResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
47 inline GetOpsMetadataResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
49
51
54 inline const Aws::Map<Aws::String, MetadataValue>& GetMetadata() const{ return m_metadata; }
55 inline void SetMetadata(const Aws::Map<Aws::String, MetadataValue>& value) { m_metadata = value; }
56 inline void SetMetadata(Aws::Map<Aws::String, MetadataValue>&& value) { m_metadata = std::move(value); }
58 inline GetOpsMetadataResult& WithMetadata(Aws::Map<Aws::String, MetadataValue>&& value) { SetMetadata(std::move(value)); return *this;}
59 inline GetOpsMetadataResult& AddMetadata(const Aws::String& key, const MetadataValue& value) { m_metadata.emplace(key, value); return *this; }
60 inline GetOpsMetadataResult& AddMetadata(Aws::String&& key, const MetadataValue& value) { m_metadata.emplace(std::move(key), value); return *this; }
61 inline GetOpsMetadataResult& AddMetadata(const Aws::String& key, MetadataValue&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
62 inline GetOpsMetadataResult& AddMetadata(Aws::String&& key, MetadataValue&& value) { m_metadata.emplace(std::move(key), std::move(value)); return *this; }
63 inline GetOpsMetadataResult& AddMetadata(const char* key, MetadataValue&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
64 inline GetOpsMetadataResult& AddMetadata(const char* key, const MetadataValue& value) { m_metadata.emplace(key, value); return *this; }
66
68
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
76 inline GetOpsMetadataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline GetOpsMetadataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline GetOpsMetadataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline GetOpsMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline GetOpsMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline GetOpsMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_resourceId;
94
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace SSM
104} // namespace Aws
GetOpsMetadataResult & AddMetadata(Aws::String &&key, MetadataValue &&value)
GetOpsMetadataResult & WithResourceId(Aws::String &&value)
GetOpsMetadataResult & WithNextToken(Aws::String &&value)
GetOpsMetadataResult & WithResourceId(const Aws::String &value)
AWS_SSM_API GetOpsMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOpsMetadataResult & AddMetadata(const Aws::String &key, const MetadataValue &value)
const Aws::String & GetRequestId() const
GetOpsMetadataResult & AddMetadata(const char *key, MetadataValue &&value)
GetOpsMetadataResult & WithMetadata(const Aws::Map< Aws::String, MetadataValue > &value)
GetOpsMetadataResult & WithRequestId(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, MetadataValue > &&value)
GetOpsMetadataResult & WithResourceId(const char *value)
GetOpsMetadataResult & AddMetadata(Aws::String &&key, const MetadataValue &value)
GetOpsMetadataResult & AddMetadata(const Aws::String &key, MetadataValue &&value)
const Aws::String & GetNextToken() const
GetOpsMetadataResult & AddMetadata(const char *key, const MetadataValue &value)
GetOpsMetadataResult & WithMetadata(Aws::Map< Aws::String, MetadataValue > &&value)
GetOpsMetadataResult & WithRequestId(const Aws::String &value)
void SetResourceId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_SSM_API GetOpsMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, MetadataValue > & GetMetadata() const
void SetNextToken(const Aws::String &value)
const Aws::String & GetResourceId() const
GetOpsMetadataResult & WithNextToken(const char *value)
GetOpsMetadataResult & WithNextToken(const Aws::String &value)
GetOpsMetadataResult & WithRequestId(const char *value)
void SetMetadata(const Aws::Map< Aws::String, MetadataValue > &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