AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
46 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
47 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
48 inline UpdateJobShipmentStateRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
49 inline UpdateJobShipmentStateRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
50 inline UpdateJobShipmentStateRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
52
54
60 inline const ShipmentState& GetShipmentState() const{ return m_shipmentState; }
61 inline bool ShipmentStateHasBeenSet() const { return m_shipmentStateHasBeenSet; }
62 inline void SetShipmentState(const ShipmentState& value) { m_shipmentStateHasBeenSet = true; m_shipmentState = value; }
63 inline void SetShipmentState(ShipmentState&& value) { m_shipmentStateHasBeenSet = true; m_shipmentState = std::move(value); }
65 inline UpdateJobShipmentStateRequest& WithShipmentState(ShipmentState&& value) { SetShipmentState(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_jobId;
70 bool m_jobIdHasBeenSet = false;
71
72 ShipmentState m_shipmentState;
73 bool m_shipmentStateHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Snowball
78} // namespace Aws
AWS_SNOWBALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateJobShipmentStateRequest & WithJobId(const Aws::String &value)
UpdateJobShipmentStateRequest & WithJobId(Aws::String &&value)
UpdateJobShipmentStateRequest & WithJobId(const char *value)
AWS_SNOWBALL_API Aws::String SerializePayload() const override
UpdateJobShipmentStateRequest & WithShipmentState(ShipmentState &&value)
UpdateJobShipmentStateRequest & WithShipmentState(const ShipmentState &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String