AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
ResumeGameServerGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/GameServerGroupAction.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GameLift {
17namespace Model {
18
22 public:
23 AWS_GAMELIFT_API ResumeGameServerGroupRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "ResumeGameServerGroup"; }
30
31 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetGameServerGroupName() const { return m_gameServerGroupName; }
41 inline bool GameServerGroupNameHasBeenSet() const { return m_gameServerGroupNameHasBeenSet; }
42 template <typename GameServerGroupNameT = Aws::String>
43 void SetGameServerGroupName(GameServerGroupNameT&& value) {
44 m_gameServerGroupNameHasBeenSet = true;
45 m_gameServerGroupName = std::forward<GameServerGroupNameT>(value);
46 }
47 template <typename GameServerGroupNameT = Aws::String>
49 SetGameServerGroupName(std::forward<GameServerGroupNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<GameServerGroupAction>& GetResumeActions() const { return m_resumeActions; }
59 inline bool ResumeActionsHasBeenSet() const { return m_resumeActionsHasBeenSet; }
60 template <typename ResumeActionsT = Aws::Vector<GameServerGroupAction>>
61 void SetResumeActions(ResumeActionsT&& value) {
62 m_resumeActionsHasBeenSet = true;
63 m_resumeActions = std::forward<ResumeActionsT>(value);
64 }
65 template <typename ResumeActionsT = Aws::Vector<GameServerGroupAction>>
67 SetResumeActions(std::forward<ResumeActionsT>(value));
68 return *this;
69 }
71 m_resumeActionsHasBeenSet = true;
72 m_resumeActions.push_back(value);
73 return *this;
74 }
76 private:
77 Aws::String m_gameServerGroupName;
78
80 bool m_gameServerGroupNameHasBeenSet = false;
81 bool m_resumeActionsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace GameLift
86} // namespace Aws
ResumeGameServerGroupRequest & AddResumeActions(GameServerGroupAction value)
AWS_GAMELIFT_API ResumeGameServerGroupRequest()=default
const Aws::Vector< GameServerGroupAction > & GetResumeActions() const
ResumeGameServerGroupRequest & WithResumeActions(ResumeActionsT &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GAMELIFT_API Aws::String SerializePayload() const override
ResumeGameServerGroupRequest & WithGameServerGroupName(GameServerGroupNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector