AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDestination(const S3Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
45 inline void SetDestination(S3Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
46 inline CreateSnapshotRequest& WithDestination(const S3Destination& value) { SetDestination(value); return *this;}
47 inline CreateSnapshotRequest& WithDestination(S3Destination&& value) { SetDestination(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetSimulation() const{ return m_simulation; }
55 inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
56 inline void SetSimulation(const Aws::String& value) { m_simulationHasBeenSet = true; m_simulation = value; }
57 inline void SetSimulation(Aws::String&& value) { m_simulationHasBeenSet = true; m_simulation = std::move(value); }
58 inline void SetSimulation(const char* value) { m_simulationHasBeenSet = true; m_simulation.assign(value); }
59 inline CreateSnapshotRequest& WithSimulation(const Aws::String& value) { SetSimulation(value); return *this;}
60 inline CreateSnapshotRequest& WithSimulation(Aws::String&& value) { SetSimulation(std::move(value)); return *this;}
61 inline CreateSnapshotRequest& WithSimulation(const char* value) { SetSimulation(value); return *this;}
63 private:
64
65 S3Destination m_destination;
66 bool m_destinationHasBeenSet = false;
67
68 Aws::String m_simulation;
69 bool m_simulationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SimSpaceWeaver
74} // namespace Aws
CreateSnapshotRequest & WithDestination(S3Destination &&value)
CreateSnapshotRequest & WithSimulation(const Aws::String &value)
CreateSnapshotRequest & WithSimulation(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override
CreateSnapshotRequest & WithSimulation(const char *value)
CreateSnapshotRequest & WithDestination(const S3Destination &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String