AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutGraphqlApiEnvironmentVariablesRequest.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppSync
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutGraphqlApiEnvironmentVariables"; }
32
33 AWS_APPSYNC_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetApiId() const{ return m_apiId; }
42 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
43 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
44 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
45 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
46 inline PutGraphqlApiEnvironmentVariablesRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
47 inline PutGraphqlApiEnvironmentVariablesRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
48 inline PutGraphqlApiEnvironmentVariablesRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
50
52
69 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironmentVariables() const{ return m_environmentVariables; }
70 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
71 inline void SetEnvironmentVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = value; }
72 inline void SetEnvironmentVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables = std::move(value); }
75 inline PutGraphqlApiEnvironmentVariablesRequest& AddEnvironmentVariables(const Aws::String& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
76 inline PutGraphqlApiEnvironmentVariablesRequest& AddEnvironmentVariables(Aws::String&& key, const Aws::String& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
77 inline PutGraphqlApiEnvironmentVariablesRequest& AddEnvironmentVariables(const Aws::String& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
78 inline PutGraphqlApiEnvironmentVariablesRequest& AddEnvironmentVariables(Aws::String&& key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), std::move(value)); return *this; }
79 inline PutGraphqlApiEnvironmentVariablesRequest& AddEnvironmentVariables(const char* key, Aws::String&& value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, std::move(value)); return *this; }
80 inline PutGraphqlApiEnvironmentVariablesRequest& AddEnvironmentVariables(Aws::String&& key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(std::move(key), value); return *this; }
81 inline PutGraphqlApiEnvironmentVariablesRequest& AddEnvironmentVariables(const char* key, const char* value) { m_environmentVariablesHasBeenSet = true; m_environmentVariables.emplace(key, value); return *this; }
83 private:
84
85 Aws::String m_apiId;
86 bool m_apiIdHasBeenSet = false;
87
88 Aws::Map<Aws::String, Aws::String> m_environmentVariables;
89 bool m_environmentVariablesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace AppSync
94} // namespace Aws
PutGraphqlApiEnvironmentVariablesRequest & WithEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
PutGraphqlApiEnvironmentVariablesRequest & AddEnvironmentVariables(const Aws::String &key, Aws::String &&value)
PutGraphqlApiEnvironmentVariablesRequest & AddEnvironmentVariables(Aws::String &&key, const char *value)
PutGraphqlApiEnvironmentVariablesRequest & WithApiId(const char *value)
PutGraphqlApiEnvironmentVariablesRequest & AddEnvironmentVariables(const char *key, Aws::String &&value)
PutGraphqlApiEnvironmentVariablesRequest & WithEnvironmentVariables(Aws::Map< Aws::String, Aws::String > &&value)
PutGraphqlApiEnvironmentVariablesRequest & AddEnvironmentVariables(Aws::String &&key, const Aws::String &value)
PutGraphqlApiEnvironmentVariablesRequest & WithApiId(const Aws::String &value)
PutGraphqlApiEnvironmentVariablesRequest & WithApiId(Aws::String &&value)
PutGraphqlApiEnvironmentVariablesRequest & AddEnvironmentVariables(const Aws::String &key, const Aws::String &value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
void SetEnvironmentVariables(const Aws::Map< Aws::String, Aws::String > &value)
PutGraphqlApiEnvironmentVariablesRequest & AddEnvironmentVariables(const char *key, const char *value)
PutGraphqlApiEnvironmentVariablesRequest & 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