AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDeploymentRequest.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/AmplifyRequest.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 Amplify
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_AMPLIFY_API CreateDeploymentRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDeployment"; }
36
37 AWS_AMPLIFY_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetAppId() const{ return m_appId; }
45 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
46 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
47 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
48 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
49 inline CreateDeploymentRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
50 inline CreateDeploymentRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
51 inline CreateDeploymentRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
53
55
58 inline const Aws::String& GetBranchName() const{ return m_branchName; }
59 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
60 inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
61 inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
62 inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
63 inline CreateDeploymentRequest& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
64 inline CreateDeploymentRequest& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
65 inline CreateDeploymentRequest& WithBranchName(const char* value) { SetBranchName(value); return *this;}
67
69
75 inline const Aws::Map<Aws::String, Aws::String>& GetFileMap() const{ return m_fileMap; }
76 inline bool FileMapHasBeenSet() const { return m_fileMapHasBeenSet; }
77 inline void SetFileMap(const Aws::Map<Aws::String, Aws::String>& value) { m_fileMapHasBeenSet = true; m_fileMap = value; }
78 inline void SetFileMap(Aws::Map<Aws::String, Aws::String>&& value) { m_fileMapHasBeenSet = true; m_fileMap = std::move(value); }
80 inline CreateDeploymentRequest& WithFileMap(Aws::Map<Aws::String, Aws::String>&& value) { SetFileMap(std::move(value)); return *this;}
81 inline CreateDeploymentRequest& AddFileMap(const Aws::String& key, const Aws::String& value) { m_fileMapHasBeenSet = true; m_fileMap.emplace(key, value); return *this; }
82 inline CreateDeploymentRequest& AddFileMap(Aws::String&& key, const Aws::String& value) { m_fileMapHasBeenSet = true; m_fileMap.emplace(std::move(key), value); return *this; }
83 inline CreateDeploymentRequest& AddFileMap(const Aws::String& key, Aws::String&& value) { m_fileMapHasBeenSet = true; m_fileMap.emplace(key, std::move(value)); return *this; }
84 inline CreateDeploymentRequest& AddFileMap(Aws::String&& key, Aws::String&& value) { m_fileMapHasBeenSet = true; m_fileMap.emplace(std::move(key), std::move(value)); return *this; }
85 inline CreateDeploymentRequest& AddFileMap(const char* key, Aws::String&& value) { m_fileMapHasBeenSet = true; m_fileMap.emplace(key, std::move(value)); return *this; }
86 inline CreateDeploymentRequest& AddFileMap(Aws::String&& key, const char* value) { m_fileMapHasBeenSet = true; m_fileMap.emplace(std::move(key), value); return *this; }
87 inline CreateDeploymentRequest& AddFileMap(const char* key, const char* value) { m_fileMapHasBeenSet = true; m_fileMap.emplace(key, value); return *this; }
89 private:
90
91 Aws::String m_appId;
92 bool m_appIdHasBeenSet = false;
93
94 Aws::String m_branchName;
95 bool m_branchNameHasBeenSet = false;
96
98 bool m_fileMapHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Amplify
103} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetFileMap() const
CreateDeploymentRequest & WithBranchName(const Aws::String &value)
CreateDeploymentRequest & WithFileMap(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & WithAppId(Aws::String &&value)
CreateDeploymentRequest & WithBranchName(Aws::String &&value)
CreateDeploymentRequest & AddFileMap(Aws::String &&key, Aws::String &&value)
void SetFileMap(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentRequest & AddFileMap(Aws::String &&key, const char *value)
CreateDeploymentRequest & WithAppId(const Aws::String &value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
CreateDeploymentRequest & AddFileMap(const Aws::String &key, const Aws::String &value)
CreateDeploymentRequest & WithAppId(const char *value)
CreateDeploymentRequest & AddFileMap(const Aws::String &key, Aws::String &&value)
CreateDeploymentRequest & WithFileMap(Aws::Map< Aws::String, Aws::String > &&value)
CreateDeploymentRequest & AddFileMap(Aws::String &&key, const Aws::String &value)
CreateDeploymentRequest & AddFileMap(const char *key, const char *value)
CreateDeploymentRequest & AddFileMap(const char *key, Aws::String &&value)
CreateDeploymentRequest & WithBranchName(const char *value)
void SetFileMap(Aws::Map< Aws::String, 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