AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateDeploymentRequest.h
1
6#pragma once
7#include <aws/amplify/AmplifyRequest.h>
8#include <aws/amplify/Amplify_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Amplify {
16namespace Model {
17
25 public:
26 AWS_AMPLIFY_API CreateDeploymentRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDeployment"; }
33
34 AWS_AMPLIFY_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
42 template <typename AppIdT = Aws::String>
43 void SetAppId(AppIdT&& value) {
44 m_appIdHasBeenSet = true;
45 m_appId = std::forward<AppIdT>(value);
46 }
47 template <typename AppIdT = Aws::String>
49 SetAppId(std::forward<AppIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBranchName() const { return m_branchName; }
59 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
60 template <typename BranchNameT = Aws::String>
61 void SetBranchName(BranchNameT&& value) {
62 m_branchNameHasBeenSet = true;
63 m_branchName = std::forward<BranchNameT>(value);
64 }
65 template <typename BranchNameT = Aws::String>
67 SetBranchName(std::forward<BranchNameT>(value));
68 return *this;
69 }
71
73
79 inline const Aws::Map<Aws::String, Aws::String>& GetFileMap() const { return m_fileMap; }
80 inline bool FileMapHasBeenSet() const { return m_fileMapHasBeenSet; }
81 template <typename FileMapT = Aws::Map<Aws::String, Aws::String>>
82 void SetFileMap(FileMapT&& value) {
83 m_fileMapHasBeenSet = true;
84 m_fileMap = std::forward<FileMapT>(value);
85 }
86 template <typename FileMapT = Aws::Map<Aws::String, Aws::String>>
88 SetFileMap(std::forward<FileMapT>(value));
89 return *this;
90 }
91 template <typename FileMapKeyT = Aws::String, typename FileMapValueT = Aws::String>
92 CreateDeploymentRequest& AddFileMap(FileMapKeyT&& key, FileMapValueT&& value) {
93 m_fileMapHasBeenSet = true;
94 m_fileMap.emplace(std::forward<FileMapKeyT>(key), std::forward<FileMapValueT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_appId;
100
101 Aws::String m_branchName;
102
104 bool m_appIdHasBeenSet = false;
105 bool m_branchNameHasBeenSet = false;
106 bool m_fileMapHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Amplify
111} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetFileMap() const
CreateDeploymentRequest & WithBranchName(BranchNameT &&value)
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & AddFileMap(FileMapKeyT &&key, FileMapValueT &&value)
CreateDeploymentRequest & WithFileMap(FileMapT &&value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
CreateDeploymentRequest & WithAppId(AppIdT &&value)
AWS_AMPLIFY_API CreateDeploymentRequest()=default
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