AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateJobShipmentStateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snowball/SnowballRequest.h>
9#include <aws/snowball/Snowball_EXPORTS.h>
10#include <aws/snowball/model/ShipmentState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Snowball {
16namespace Model {
17
21 public:
22 AWS_SNOWBALL_API UpdateJobShipmentStateRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateJobShipmentState"; }
29
30 AWS_SNOWBALL_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetJobId() const { return m_jobId; }
40 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
41 template <typename JobIdT = Aws::String>
42 void SetJobId(JobIdT&& value) {
43 m_jobIdHasBeenSet = true;
44 m_jobId = std::forward<JobIdT>(value);
45 }
46 template <typename JobIdT = Aws::String>
48 SetJobId(std::forward<JobIdT>(value));
49 return *this;
50 }
52
54
60 inline ShipmentState GetShipmentState() const { return m_shipmentState; }
61 inline bool ShipmentStateHasBeenSet() const { return m_shipmentStateHasBeenSet; }
62 inline void SetShipmentState(ShipmentState value) {
63 m_shipmentStateHasBeenSet = true;
64 m_shipmentState = value;
65 }
67 SetShipmentState(value);
68 return *this;
69 }
71 private:
72 Aws::String m_jobId;
73 bool m_jobIdHasBeenSet = false;
74
76 bool m_shipmentStateHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Snowball
81} // namespace Aws
AWS_SNOWBALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateJobShipmentStateRequest & WithShipmentState(ShipmentState value)
AWS_SNOWBALL_API Aws::String SerializePayload() const override
AWS_SNOWBALL_API UpdateJobShipmentStateRequest()=default
UpdateJobShipmentStateRequest & WithJobId(JobIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String