AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetComponentResult.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/ssm-sap/model/Component.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.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 SsmSap
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SSMSAP_API GetComponentResult();
35
36
38
42 inline const Component& GetComponent() const{ return m_component; }
43 inline void SetComponent(const Component& value) { m_component = value; }
44 inline void SetComponent(Component&& value) { m_component = std::move(value); }
45 inline GetComponentResult& WithComponent(const Component& value) { SetComponent(value); return *this;}
46 inline GetComponentResult& WithComponent(Component&& value) { SetComponent(std::move(value)); return *this;}
48
50
53 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
54 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
55 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
56 inline GetComponentResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
57 inline GetComponentResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
58 inline GetComponentResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
59 inline GetComponentResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
60 inline GetComponentResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
61 inline GetComponentResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
62 inline GetComponentResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
63 inline GetComponentResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
64 inline GetComponentResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Component m_component;
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace SsmSap
88} // namespace Aws
GetComponentResult & WithComponent(Component &&value)
GetComponentResult & WithComponent(const Component &value)
GetComponentResult & AddTags(Aws::String &&key, const char *value)
AWS_SSMSAP_API GetComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComponentResult & WithRequestId(const char *value)
AWS_SSMSAP_API GetComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComponentResult & AddTags(const char *key, Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetComponentResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetComponent(const Component &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetComponentResult & WithRequestId(const Aws::String &value)
GetComponentResult & AddTags(Aws::String &&key, Aws::String &&value)
GetComponentResult & AddTags(const Aws::String &key, Aws::String &&value)
GetComponentResult & AddTags(const Aws::String &key, const Aws::String &value)
GetComponentResult & AddTags(const char *key, const char *value)
GetComponentResult & AddTags(Aws::String &&key, const Aws::String &value)
GetComponentResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetComponentResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
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