AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteGameServerGroupRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/GameServerGroupDeleteOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API DeleteGameServerGroupRequest();
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 "DeleteGameServerGroup"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetGameServerGroupName() const{ return m_gameServerGroupName; }
44 inline bool GameServerGroupNameHasBeenSet() const { return m_gameServerGroupNameHasBeenSet; }
45 inline void SetGameServerGroupName(const Aws::String& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = value; }
46 inline void SetGameServerGroupName(Aws::String&& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = std::move(value); }
47 inline void SetGameServerGroupName(const char* value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName.assign(value); }
50 inline DeleteGameServerGroupRequest& WithGameServerGroupName(const char* value) { SetGameServerGroupName(value); return *this;}
52
54
64 inline const GameServerGroupDeleteOption& GetDeleteOption() const{ return m_deleteOption; }
65 inline bool DeleteOptionHasBeenSet() const { return m_deleteOptionHasBeenSet; }
66 inline void SetDeleteOption(const GameServerGroupDeleteOption& value) { m_deleteOptionHasBeenSet = true; m_deleteOption = value; }
67 inline void SetDeleteOption(GameServerGroupDeleteOption&& value) { m_deleteOptionHasBeenSet = true; m_deleteOption = std::move(value); }
71 private:
72
73 Aws::String m_gameServerGroupName;
74 bool m_gameServerGroupNameHasBeenSet = false;
75
76 GameServerGroupDeleteOption m_deleteOption;
77 bool m_deleteOptionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GameLift
82} // namespace Aws
DeleteGameServerGroupRequest & WithGameServerGroupName(const Aws::String &value)
DeleteGameServerGroupRequest & WithGameServerGroupName(const char *value)
void SetDeleteOption(const GameServerGroupDeleteOption &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DeleteGameServerGroupRequest & WithDeleteOption(GameServerGroupDeleteOption &&value)
DeleteGameServerGroupRequest & WithDeleteOption(const GameServerGroupDeleteOption &value)
const GameServerGroupDeleteOption & GetDeleteOption() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDeleteOption(GameServerGroupDeleteOption &&value)
DeleteGameServerGroupRequest & WithGameServerGroupName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String