AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateSnapshotRequest.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/simspaceweaver/SimSpaceWeaverRequest.h>
9#include <aws/simspaceweaver/model/S3Destination.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SimSpaceWeaver
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SIMSPACEWEAVER_API CreateSnapshotRequest() = 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 "CreateSnapshot"; }
32
33 AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;
34
35
37
42 inline const S3Destination& GetDestination() const { return m_destination; }
43 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
44 template<typename DestinationT = S3Destination>
45 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
46 template<typename DestinationT = S3Destination>
47 CreateSnapshotRequest& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
49
51
54 inline const Aws::String& GetSimulation() const { return m_simulation; }
55 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
56 template<typename SimulationT = Aws::String>
57 void SetSimulation(SimulationT&& value) { m_simulationHasBeenSet = true; m_simulation = std::forward<SimulationT>(value); }
58 template<typename SimulationT = Aws::String>
59 CreateSnapshotRequest& WithSimulation(SimulationT&& value) { SetSimulation(std::forward<SimulationT>(value)); return *this;}
61 private:
62
63 S3Destination m_destination;
64 bool m_destinationHasBeenSet = false;
65
66 Aws::String m_simulation;
67 bool m_simulationHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SimSpaceWeaver
72} // 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