AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutGraphqlApiEnvironmentVariablesResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppSync
25{
26namespace Model
27{
29 {
30 public:
34
35
37
41 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
42 inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariables = value; }
43 inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariables = std::move(value); }
46 inline PutGraphqlApiEnvironmentVariablesResult& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariables.emplace(key, value); return *this; }
47 inline PutGraphqlApiEnvironmentVariablesResult& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariables.emplace(std::move(key), value); return *this; }
48 inline PutGraphqlApiEnvironmentVariablesResult& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariables.emplace(key, std::move(value)); return *this; }
49 inline PutGraphqlApiEnvironmentVariablesResult& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
50 inline PutGraphqlApiEnvironmentVariablesResult& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariables.emplace(key, std::move(value)); return *this; }
51 inline PutGraphqlApiEnvironmentVariablesResult& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariables.emplace(std::move(key), value); return *this; }
52 inline PutGraphqlApiEnvironmentVariablesResult& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariables.emplace(key, value); return *this; }
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline PutGraphqlApiEnvironmentVariablesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline PutGraphqlApiEnvironmentVariablesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
67 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace AppSync
74} // namespace Aws
PutGraphqlApiEnvironmentVariablesResult & WithRequestId(Aws::String &&value)
AWS_APPSYNC_API PutGraphqlApiEnvironmentVariablesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutGraphqlApiEnvironmentVariablesResult & WithRequestId(const Aws::String &value)
PutGraphqlApiEnvironmentVariablesResult & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
PutGraphqlApiEnvironmentVariablesResult & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
PutGraphqlApiEnvironmentVariablesResult & AddEnvironmentVariables(const char *key, Aws::String &&value)
PutGraphqlApiEnvironmentVariablesResult & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
PutGraphqlApiEnvironmentVariablesResult & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APPSYNC_API PutGraphqlApiEnvironmentVariablesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
PutGraphqlApiEnvironmentVariablesResult & AddEnvironmentVariables(const char *key, const char *value)
PutGraphqlApiEnvironmentVariablesResult & AddEnvironmentVariables(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
PutGraphqlApiEnvironmentVariablesResult & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
PutGraphqlApiEnvironmentVariablesResult & WithRequestId(const char *value)
PutGraphqlApiEnvironmentVariablesResult & AddEnvironmentVariables(Aws::String &&key, Aws::String &&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