AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateJobShipmentStateRequest.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/SnowballRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/snowball/model/ShipmentState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Snowball
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SNOWBALL_API UpdateJobShipmentStateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateJobShipmentState"; }
32
33 AWS_SNOWBALL_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetJobId() const { return m_jobId; }
44 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
45 template<typename JobIdT = Aws::String>
46 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
47 template<typename JobIdT = Aws::String>
48 UpdateJobShipmentStateRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
50
52
58 inline ShipmentState GetShipmentState() const { return m_shipmentState; }
59 inline bool ShipmentStateHasBeenSet() const { return m_shipmentStateHasBeenSet; }
60 inline void SetShipmentState(ShipmentState value) { m_shipmentStateHasBeenSet = true; m_shipmentState = value; }
63 private:
64
65 Aws::String m_jobId;
66 bool m_jobIdHasBeenSet = false;
67
69 bool m_shipmentStateHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Snowball
74} // 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