AWS SDK for C++  1.9.40
AWS SDK for C++
GetDeploymentStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Greengrass
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetDeploymentStatus"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
39 
43  inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
44 
48  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
49 
53  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
54 
58  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
59 
63  inline GetDeploymentStatusRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
64 
68  inline GetDeploymentStatusRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
69 
73  inline GetDeploymentStatusRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
74 
75 
79  inline const Aws::String& GetGroupId() const{ return m_groupId; }
80 
84  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
85 
89  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
90 
94  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
95 
99  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
100 
104  inline GetDeploymentStatusRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
105 
109  inline GetDeploymentStatusRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
110 
114  inline GetDeploymentStatusRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_deploymentId;
119  bool m_deploymentIdHasBeenSet;
120 
121  Aws::String m_groupId;
122  bool m_groupIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace Greengrass
127 } // namespace Aws
Aws::Greengrass::Model::GetDeploymentStatusRequest::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: GetDeploymentStatusRequest.h:89
Greengrass_EXPORTS.h
Aws::Greengrass::Model::GetDeploymentStatusRequest
Definition: GetDeploymentStatusRequest.h:22
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
Aws::Greengrass::Model::GetDeploymentStatusRequest::WithDeploymentId
GetDeploymentStatusRequest & WithDeploymentId(const char *value)
Definition: GetDeploymentStatusRequest.h:73
Aws::Greengrass::Model::GetDeploymentStatusRequest::SetGroupId
void SetGroupId(const char *value)
Definition: GetDeploymentStatusRequest.h:99
Aws::Greengrass::Model::GetDeploymentStatusRequest::GetDeploymentId
const Aws::String & GetDeploymentId() const
Definition: GetDeploymentStatusRequest.h:38
GreengrassRequest.h
Aws::Greengrass::Model::GetDeploymentStatusRequest::SetDeploymentId
void SetDeploymentId(const char *value)
Definition: GetDeploymentStatusRequest.h:58
Aws::Greengrass::Model::GetDeploymentStatusRequest::GetGroupId
const Aws::String & GetGroupId() const
Definition: GetDeploymentStatusRequest.h:79
Aws::Greengrass::Model::GetDeploymentStatusRequest::WithGroupId
GetDeploymentStatusRequest & WithGroupId(const Aws::String &value)
Definition: GetDeploymentStatusRequest.h:104
Aws::Greengrass::Model::GetDeploymentStatusRequest::WithDeploymentId
GetDeploymentStatusRequest & WithDeploymentId(Aws::String &&value)
Definition: GetDeploymentStatusRequest.h:68
Aws::Greengrass::Model::GetDeploymentStatusRequest::DeploymentIdHasBeenSet
bool DeploymentIdHasBeenSet() const
Definition: GetDeploymentStatusRequest.h:43
Aws::Greengrass::Model::GetDeploymentStatusRequest::WithDeploymentId
GetDeploymentStatusRequest & WithDeploymentId(const Aws::String &value)
Definition: GetDeploymentStatusRequest.h:63
Aws::Greengrass::Model::GetDeploymentStatusRequest::WithGroupId
GetDeploymentStatusRequest & WithGroupId(Aws::String &&value)
Definition: GetDeploymentStatusRequest.h:109
AWSString.h
Aws::Greengrass::GreengrassRequest
Definition: GreengrassRequest.h:17
Aws::Greengrass::Model::GetDeploymentStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDeploymentStatusRequest.h:30
Aws::Greengrass::Model::GetDeploymentStatusRequest::SetDeploymentId
void SetDeploymentId(const Aws::String &value)
Definition: GetDeploymentStatusRequest.h:48
Aws::Greengrass::Model::GetDeploymentStatusRequest::WithGroupId
GetDeploymentStatusRequest & WithGroupId(const char *value)
Definition: GetDeploymentStatusRequest.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Greengrass::Model::GetDeploymentStatusRequest::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: GetDeploymentStatusRequest.h:94
Aws::Greengrass::Model::GetDeploymentStatusRequest::SetDeploymentId
void SetDeploymentId(Aws::String &&value)
Definition: GetDeploymentStatusRequest.h:53
Aws::Greengrass::Model::GetDeploymentStatusRequest::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: GetDeploymentStatusRequest.h:84
Aws::Greengrass::Model::GetDeploymentStatusRequest::GetDeploymentStatusRequest
GetDeploymentStatusRequest()
Aws::Greengrass::Model::GetDeploymentStatusRequest::SerializePayload
Aws::String SerializePayload() const override