AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ResetDeploymentsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/GreengrassRequest.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Greengrass {
15namespace Model {
16
23 public:
24 AWS_GREENGRASS_API ResetDeploymentsRequest() = default;
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 "ResetDeployments"; }
31
32 AWS_GREENGRASS_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetAmznClientToken() const { return m_amznClientToken; }
41 inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
42 template <typename AmznClientTokenT = Aws::String>
43 void SetAmznClientToken(AmznClientTokenT&& value) {
44 m_amznClientTokenHasBeenSet = true;
45 m_amznClientToken = std::forward<AmznClientTokenT>(value);
46 }
47 template <typename AmznClientTokenT = Aws::String>
48 ResetDeploymentsRequest& WithAmznClientToken(AmznClientTokenT&& value) {
49 SetAmznClientToken(std::forward<AmznClientTokenT>(value));
50 return *this;
51 }
53
55
58 inline bool GetForce() const { return m_force; }
59 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
60 inline void SetForce(bool value) {
61 m_forceHasBeenSet = true;
62 m_force = value;
63 }
64 inline ResetDeploymentsRequest& WithForce(bool value) {
65 SetForce(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetGroupId() const { return m_groupId; }
75 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
76 template <typename GroupIdT = Aws::String>
77 void SetGroupId(GroupIdT&& value) {
78 m_groupIdHasBeenSet = true;
79 m_groupId = std::forward<GroupIdT>(value);
80 }
81 template <typename GroupIdT = Aws::String>
83 SetGroupId(std::forward<GroupIdT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_amznClientToken;
89
90 bool m_force{false};
91
92 Aws::String m_groupId;
93 bool m_amznClientTokenHasBeenSet = false;
94 bool m_forceHasBeenSet = false;
95 bool m_groupIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Greengrass
100} // 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