AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
StartMisconfiguredStateRecoveryRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/FSxRequest.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace FSx {
16namespace Model {
17
21 public:
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 "StartMisconfiguredStateRecovery"; }
29
30 AWS_FSX_API Aws::String SerializePayload() const override;
31
33
35
36 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
37 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
38 template <typename ClientRequestTokenT = Aws::String>
39 void SetClientRequestToken(ClientRequestTokenT&& value) {
40 m_clientRequestTokenHasBeenSet = true;
41 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
42 }
43 template <typename ClientRequestTokenT = Aws::String>
45 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
53 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
54 template <typename FileSystemIdT = Aws::String>
55 void SetFileSystemId(FileSystemIdT&& value) {
56 m_fileSystemIdHasBeenSet = true;
57 m_fileSystemId = std::forward<FileSystemIdT>(value);
58 }
59 template <typename FileSystemIdT = Aws::String>
61 SetFileSystemId(std::forward<FileSystemIdT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
67
68 Aws::String m_fileSystemId;
69 bool m_clientRequestTokenHasBeenSet = true;
70 bool m_fileSystemIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace FSx
75} // 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