AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
43 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
44 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
49
51
52 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
53 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
54 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
55 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
56 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
58 inline StartMisconfiguredStateRecoveryRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
59 inline StartMisconfiguredStateRecoveryRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
61 private:
62
63 Aws::String m_clientRequestToken;
64 bool m_clientRequestTokenHasBeenSet = false;
65
66 Aws::String m_fileSystemId;
67 bool m_fileSystemIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace FSx
72} // namespace Aws
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMisconfiguredStateRecoveryRequest & WithClientRequestToken(const char *value)
AWS_FSX_API Aws::String SerializePayload() const override
StartMisconfiguredStateRecoveryRequest & WithFileSystemId(const char *value)
StartMisconfiguredStateRecoveryRequest & WithFileSystemId(const Aws::String &value)
StartMisconfiguredStateRecoveryRequest & WithFileSystemId(Aws::String &&value)
StartMisconfiguredStateRecoveryRequest & WithClientRequestToken(const Aws::String &value)
StartMisconfiguredStateRecoveryRequest & WithClientRequestToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String