AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateServerConfigRequest.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migrationhubstrategy/model/StrategyOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MigrationHubStrategyRecommendations
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API UpdateServerConfigRequest() = 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 "UpdateServerConfig"; }
32
33 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetServerId() const { return m_serverId; }
41 inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; }
42 template<typename ServerIdT = Aws::String>
43 void SetServerId(ServerIdT&& value) { m_serverIdHasBeenSet = true; m_serverId = std::forward<ServerIdT>(value); }
44 template<typename ServerIdT = Aws::String>
45 UpdateServerConfigRequest& WithServerId(ServerIdT&& value) { SetServerId(std::forward<ServerIdT>(value)); return *this;}
47
49
53 inline const StrategyOption& GetStrategyOption() const { return m_strategyOption; }
54 inline bool StrategyOptionHasBeenSet() const { return m_strategyOptionHasBeenSet; }
55 template<typename StrategyOptionT = StrategyOption>
56 void SetStrategyOption(StrategyOptionT&& value) { m_strategyOptionHasBeenSet = true; m_strategyOption = std::forward<StrategyOptionT>(value); }
57 template<typename StrategyOptionT = StrategyOption>
58 UpdateServerConfigRequest& WithStrategyOption(StrategyOptionT&& value) { SetStrategyOption(std::forward<StrategyOptionT>(value)); return *this;}
60 private:
61
62 Aws::String m_serverId;
63 bool m_serverIdHasBeenSet = false;
64
65 StrategyOption m_strategyOption;
66 bool m_strategyOptionHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MigrationHubStrategyRecommendations
71} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API UpdateServerConfigRequest()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String