AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResetDeploymentsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Greengrass
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_GREENGRASS_API ResetDeploymentsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ResetDeployments"; }
34
35 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetAmznClientToken() const{ return m_amznClientToken; }
45 inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
46 inline void SetAmznClientToken(const Aws::String& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = value; }
47 inline void SetAmznClientToken(Aws::String&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::move(value); }
48 inline void SetAmznClientToken(const char* value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken.assign(value); }
49 inline ResetDeploymentsRequest& WithAmznClientToken(const Aws::String& value) { SetAmznClientToken(value); return *this;}
50 inline ResetDeploymentsRequest& WithAmznClientToken(Aws::String&& value) { SetAmznClientToken(std::move(value)); return *this;}
51 inline ResetDeploymentsRequest& WithAmznClientToken(const char* value) { SetAmznClientToken(value); return *this;}
53
55
58 inline bool GetForce() const{ return m_force; }
59 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
60 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
61 inline ResetDeploymentsRequest& WithForce(bool value) { SetForce(value); return *this;}
63
65
68 inline const Aws::String& GetGroupId() const{ return m_groupId; }
69 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
70 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
71 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
72 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
73 inline ResetDeploymentsRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
74 inline ResetDeploymentsRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
75 inline ResetDeploymentsRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
77 private:
78
79 Aws::String m_amznClientToken;
80 bool m_amznClientTokenHasBeenSet = false;
81
82 bool m_force;
83 bool m_forceHasBeenSet = false;
84
85 Aws::String m_groupId;
86 bool m_groupIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Greengrass
91} // namespace Aws
ResetDeploymentsRequest & WithAmznClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ResetDeploymentsRequest & WithAmznClientToken(const Aws::String &value)
ResetDeploymentsRequest & WithGroupId(const char *value)
ResetDeploymentsRequest & WithGroupId(const Aws::String &value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ResetDeploymentsRequest & WithAmznClientToken(const char *value)
ResetDeploymentsRequest & WithGroupId(Aws::String &&value)
ResetDeploymentsRequest & WithForce(bool value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String