AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResourceResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/apigateway/model/Method.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 APIGateway
26{
27namespace Model
28{
35 {
36 public:
37 AWS_APIGATEWAY_API UpdateResourceResult();
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline void SetId(const Aws::String& value) { m_id = value; }
48 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
49 inline void SetId(const char* value) { m_id.assign(value); }
50 inline UpdateResourceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline UpdateResourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline UpdateResourceResult& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetParentId() const{ return m_parentId; }
60 inline void SetParentId(const Aws::String& value) { m_parentId = value; }
61 inline void SetParentId(Aws::String&& value) { m_parentId = std::move(value); }
62 inline void SetParentId(const char* value) { m_parentId.assign(value); }
63 inline UpdateResourceResult& WithParentId(const Aws::String& value) { SetParentId(value); return *this;}
64 inline UpdateResourceResult& WithParentId(Aws::String&& value) { SetParentId(std::move(value)); return *this;}
65 inline UpdateResourceResult& WithParentId(const char* value) { SetParentId(value); return *this;}
67
69
72 inline const Aws::String& GetPathPart() const{ return m_pathPart; }
73 inline void SetPathPart(const Aws::String& value) { m_pathPart = value; }
74 inline void SetPathPart(Aws::String&& value) { m_pathPart = std::move(value); }
75 inline void SetPathPart(const char* value) { m_pathPart.assign(value); }
76 inline UpdateResourceResult& WithPathPart(const Aws::String& value) { SetPathPart(value); return *this;}
77 inline UpdateResourceResult& WithPathPart(Aws::String&& value) { SetPathPart(std::move(value)); return *this;}
78 inline UpdateResourceResult& WithPathPart(const char* value) { SetPathPart(value); return *this;}
80
82
85 inline const Aws::String& GetPath() const{ return m_path; }
86 inline void SetPath(const Aws::String& value) { m_path = value; }
87 inline void SetPath(Aws::String&& value) { m_path = std::move(value); }
88 inline void SetPath(const char* value) { m_path.assign(value); }
89 inline UpdateResourceResult& WithPath(const Aws::String& value) { SetPath(value); return *this;}
90 inline UpdateResourceResult& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
91 inline UpdateResourceResult& WithPath(const char* value) { SetPath(value); return *this;}
93
95
98 inline const Aws::Map<Aws::String, Method>& GetResourceMethods() const{ return m_resourceMethods; }
99 inline void SetResourceMethods(const Aws::Map<Aws::String, Method>& value) { m_resourceMethods = value; }
100 inline void SetResourceMethods(Aws::Map<Aws::String, Method>&& value) { m_resourceMethods = std::move(value); }
103 inline UpdateResourceResult& AddResourceMethods(const Aws::String& key, const Method& value) { m_resourceMethods.emplace(key, value); return *this; }
104 inline UpdateResourceResult& AddResourceMethods(Aws::String&& key, const Method& value) { m_resourceMethods.emplace(std::move(key), value); return *this; }
105 inline UpdateResourceResult& AddResourceMethods(const Aws::String& key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; }
106 inline UpdateResourceResult& AddResourceMethods(Aws::String&& key, Method&& value) { m_resourceMethods.emplace(std::move(key), std::move(value)); return *this; }
107 inline UpdateResourceResult& AddResourceMethods(const char* key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; }
108 inline UpdateResourceResult& AddResourceMethods(const char* key, const Method& value) { m_resourceMethods.emplace(key, value); return *this; }
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline UpdateResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline UpdateResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline UpdateResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_id;
124
125 Aws::String m_parentId;
126
127 Aws::String m_pathPart;
128
129 Aws::String m_path;
130
131 Aws::Map<Aws::String, Method> m_resourceMethods;
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace APIGateway
138} // namespace Aws
UpdateResourceResult & AddResourceMethods(Aws::String &&key, Method &&value)
UpdateResourceResult & WithId(const char *value)
UpdateResourceResult & WithRequestId(const Aws::String &value)
void SetResourceMethods(const Aws::Map< Aws::String, Method > &value)
void SetResourceMethods(Aws::Map< Aws::String, Method > &&value)
UpdateResourceResult & WithRequestId(const char *value)
UpdateResourceResult & WithParentId(const Aws::String &value)
UpdateResourceResult & WithResourceMethods(const Aws::Map< Aws::String, Method > &value)
UpdateResourceResult & WithId(Aws::String &&value)
UpdateResourceResult & WithRequestId(Aws::String &&value)
UpdateResourceResult & WithPath(Aws::String &&value)
UpdateResourceResult & AddResourceMethods(const char *key, Method &&value)
UpdateResourceResult & WithId(const Aws::String &value)
UpdateResourceResult & WithPathPart(const char *value)
AWS_APIGATEWAY_API UpdateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateResourceResult & WithParentId(const char *value)
UpdateResourceResult & WithResourceMethods(Aws::Map< Aws::String, Method > &&value)
UpdateResourceResult & AddResourceMethods(const Aws::String &key, Method &&value)
UpdateResourceResult & AddResourceMethods(const Aws::String &key, const Method &value)
AWS_APIGATEWAY_API UpdateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateResourceResult & WithPath(const Aws::String &value)
const Aws::Map< Aws::String, Method > & GetResourceMethods() const
UpdateResourceResult & WithPathPart(Aws::String &&value)
UpdateResourceResult & AddResourceMethods(const char *key, const Method &value)
UpdateResourceResult & WithParentId(Aws::String &&value)
UpdateResourceResult & WithPathPart(const Aws::String &value)
UpdateResourceResult & AddResourceMethods(Aws::String &&key, const Method &value)
UpdateResourceResult & WithPath(const char *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