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/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/greengrass/model/DeploymentType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Greengrass
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GREENGRASS_API CreateDeploymentRequest();
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 "CreateDeployment"; }
32
33 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetAmznClientToken() const{ return m_amznClientToken; }
43 inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
44 inline void SetAmznClientToken(const Aws::String& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = value; }
45 inline void SetAmznClientToken(Aws::String&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::move(value); }
46 inline void SetAmznClientToken(const char* value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken.assign(value); }
47 inline CreateDeploymentRequest& WithAmznClientToken(const Aws::String& value) { SetAmznClientToken(value); return *this;}
48 inline CreateDeploymentRequest& WithAmznClientToken(Aws::String&& value) { SetAmznClientToken(std::move(value)); return *this;}
49 inline CreateDeploymentRequest& WithAmznClientToken(const char* value) { SetAmznClientToken(value); return *this;}
51
53
56 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
57 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
58 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
59 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
60 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
61 inline CreateDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
62 inline CreateDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
63 inline CreateDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
65
67
71 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
72 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
73 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
74 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
75 inline CreateDeploymentRequest& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
76 inline CreateDeploymentRequest& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetGroupId() const{ return m_groupId; }
84 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
85 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
86 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
87 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
88 inline CreateDeploymentRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
89 inline CreateDeploymentRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
90 inline CreateDeploymentRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
92
94
97 inline const Aws::String& GetGroupVersionId() const{ return m_groupVersionId; }
98 inline bool GroupVersionIdHasBeenSet() const { return m_groupVersionIdHasBeenSet; }
99 inline void SetGroupVersionId(const Aws::String& value) { m_groupVersionIdHasBeenSet = true; m_groupVersionId = value; }
100 inline void SetGroupVersionId(Aws::String&& value) { m_groupVersionIdHasBeenSet = true; m_groupVersionId = std::move(value); }
101 inline void SetGroupVersionId(const char* value) { m_groupVersionIdHasBeenSet = true; m_groupVersionId.assign(value); }
102 inline CreateDeploymentRequest& WithGroupVersionId(const Aws::String& value) { SetGroupVersionId(value); return *this;}
103 inline CreateDeploymentRequest& WithGroupVersionId(Aws::String&& value) { SetGroupVersionId(std::move(value)); return *this;}
104 inline CreateDeploymentRequest& WithGroupVersionId(const char* value) { SetGroupVersionId(value); return *this;}
106 private:
107
108 Aws::String m_amznClientToken;
109 bool m_amznClientTokenHasBeenSet = false;
110
111 Aws::String m_deploymentId;
112 bool m_deploymentIdHasBeenSet = false;
113
114 DeploymentType m_deploymentType;
115 bool m_deploymentTypeHasBeenSet = false;
116
117 Aws::String m_groupId;
118 bool m_groupIdHasBeenSet = false;
119
120 Aws::String m_groupVersionId;
121 bool m_groupVersionIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Greengrass
126} // namespace Aws
CreateDeploymentRequest & WithDeploymentId(const char *value)
CreateDeploymentRequest & WithGroupId(Aws::String &&value)
CreateDeploymentRequest & WithGroupVersionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & WithGroupVersionId(Aws::String &&value)
CreateDeploymentRequest & WithDeploymentId(const Aws::String &value)
CreateDeploymentRequest & WithDeploymentId(Aws::String &&value)
CreateDeploymentRequest & WithGroupId(const char *value)
CreateDeploymentRequest & WithDeploymentType(DeploymentType &&value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
CreateDeploymentRequest & WithGroupId(const Aws::String &value)
CreateDeploymentRequest & WithAmznClientToken(Aws::String &&value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDeploymentRequest & WithDeploymentType(const DeploymentType &value)
CreateDeploymentRequest & WithAmznClientToken(const char *value)
CreateDeploymentRequest & WithAmznClientToken(const Aws::String &value)
CreateDeploymentRequest & WithGroupVersionId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String