AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AmznClientTokenT = Aws::String>
47 void SetAmznClientToken(AmznClientTokenT&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::forward<AmznClientTokenT>(value); }
48 template<typename AmznClientTokenT = Aws::String>
49 ResetDeploymentsRequest& WithAmznClientToken(AmznClientTokenT&& value) { SetAmznClientToken(std::forward<AmznClientTokenT>(value)); return *this;}
51
53
56 inline bool GetForce() const { return m_force; }
57 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
58 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
59 inline ResetDeploymentsRequest& WithForce(bool value) { SetForce(value); return *this;}
61
63
66 inline const Aws::String& GetGroupId() const { return m_groupId; }
67 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
68 template<typename GroupIdT = Aws::String>
69 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
70 template<typename GroupIdT = Aws::String>
71 ResetDeploymentsRequest& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
73 private:
74
75 Aws::String m_amznClientToken;
76 bool m_amznClientTokenHasBeenSet = false;
77
78 bool m_force{false};
79 bool m_forceHasBeenSet = false;
80
81 Aws::String m_groupId;
82 bool m_groupIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Greengrass
87} // namespace Aws
AWS_GREENGRASS_API ResetDeploymentsRequest()=default
virtual const char * GetServiceRequestName() const override
ResetDeploymentsRequest & WithAmznClientToken(AmznClientTokenT &&value)
AWS_GREENGRASS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ResetDeploymentsRequest & WithForce(bool value)
AWS_GREENGRASS_API Aws::String SerializePayload() const override
ResetDeploymentsRequest & WithGroupId(GroupIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String