AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetViewResult.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/resource-explorer-2/model/View.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 ResourceExplorer2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_RESOURCEEXPLORER2_API GetViewResult();
35
36
38
41 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
42 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
43 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
44 inline GetViewResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
45 inline GetViewResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
46 inline GetViewResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
47 inline GetViewResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
48 inline GetViewResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
49 inline GetViewResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
50 inline GetViewResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
51 inline GetViewResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
52 inline GetViewResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
54
56
59 inline const View& GetView() const{ return m_view; }
60 inline void SetView(const View& value) { m_view = value; }
61 inline void SetView(View&& value) { m_view = std::move(value); }
62 inline GetViewResult& WithView(const View& value) { SetView(value); return *this;}
63 inline GetViewResult& WithView(View&& value) { SetView(std::move(value)); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline GetViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline GetViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline GetViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
79
80 View m_view;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace ResourceExplorer2
87} // namespace Aws
GetViewResult & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetViewResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetViewResult & AddTags(Aws::String &&key, Aws::String &&value)
GetViewResult & AddTags(Aws::String &&key, const char *value)
GetViewResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetViewResult & WithRequestId(const char *value)
AWS_RESOURCEEXPLORER2_API GetViewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetViewResult & AddTags(const Aws::String &key, const Aws::String &value)
GetViewResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_RESOURCEEXPLORER2_API GetViewResult()
GetViewResult & AddTags(const Aws::String &key, Aws::String &&value)
AWS_RESOURCEEXPLORER2_API GetViewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetViewResult & WithRequestId(Aws::String &&value)
GetViewResult & AddTags(const char *key, Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetViewResult & WithRequestId(const Aws::String &value)
GetViewResult & WithView(View &&value)
GetViewResult & WithView(const View &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