AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CreateSnapshotRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/simspaceweaver/SimSpaceWeaverRequest.h>
9#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10#include <aws/simspaceweaver/model/S3Destination.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SimSpaceWeaver {
16namespace Model {
17
21 public:
22 AWS_SIMSPACEWEAVER_API CreateSnapshotRequest() = 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 "CreateSnapshot"; }
29
30 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
31
33
38 inline const S3Destination& GetDestination() const { return m_destination; }
39 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
40 template <typename DestinationT = S3Destination>
41 void SetDestination(DestinationT&& value) {
42 m_destinationHasBeenSet = true;
43 m_destination = std::forward<DestinationT>(value);
44 }
45 template <typename DestinationT = S3Destination>
46 CreateSnapshotRequest& WithDestination(DestinationT&& value) {
47 SetDestination(std::forward<DestinationT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSimulation() const { return m_simulation; }
57 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
58 template <typename SimulationT = Aws::String>
59 void SetSimulation(SimulationT&& value) {
60 m_simulationHasBeenSet = true;
61 m_simulation = std::forward<SimulationT>(value);
62 }
63 template <typename SimulationT = Aws::String>
64 CreateSnapshotRequest& WithSimulation(SimulationT&& value) {
65 SetSimulation(std::forward<SimulationT>(value));
66 return *this;
67 }
69 private:
70 S3Destination m_destination;
71
72 Aws::String m_simulation;
73 bool m_destinationHasBeenSet = false;
74 bool m_simulationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SimSpaceWeaver
79} // namespace Aws
CreateSnapshotRequest & WithSimulation(SimulationT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
CreateSnapshotRequest & WithDestination(DestinationT &&value)
AWS_SIMSPACEWEAVER_API CreateSnapshotRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String