AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartMisconfiguredStateRecoveryRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace FSx
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 "StartMisconfiguredStateRecovery"; }
32
33 AWS_FSX_API Aws::String SerializePayload() const override;
34
36
37
39
40 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
41 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
42 template<typename ClientRequestTokenT = Aws::String>
43 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
44 template<typename ClientRequestTokenT = Aws::String>
45 StartMisconfiguredStateRecoveryRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
47
49
50 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
51 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
52 template<typename FileSystemIdT = Aws::String>
53 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
54 template<typename FileSystemIdT = Aws::String>
55 StartMisconfiguredStateRecoveryRequest& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
57 private:
58
59 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
60 bool m_clientRequestTokenHasBeenSet = true;
61
62 Aws::String m_fileSystemId;
63 bool m_fileSystemIdHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace FSx
68} // namespace Aws
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FSX_API Aws::String SerializePayload() const override
StartMisconfiguredStateRecoveryRequest & WithFileSystemId(FileSystemIdT &&value)
StartMisconfiguredStateRecoveryRequest & WithClientRequestToken(ClientRequestTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String