AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateScriptResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace GameLift
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
43  inline const Script& GetScript() const{ return m_script; }
44 
53  inline void SetScript(const Script& value) { m_script = value; }
54 
63  inline void SetScript(Script&& value) { m_script = std::move(value); }
64 
73  inline UpdateScriptResult& WithScript(const Script& value) { SetScript(value); return *this;}
74 
83  inline UpdateScriptResult& WithScript(Script&& value) { SetScript(std::move(value)); return *this;}
84 
85  private:
86 
87  Script m_script;
88  };
89 
90 } // namespace Model
91 } // namespace GameLift
92 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::Script
Definition: Script.h:38
Aws::GameLift::Model::UpdateScriptResult::SetScript
void SetScript(const Script &value)
Definition: UpdateScriptResult.h:53
Aws::GameLift::Model::UpdateScriptResult::WithScript
UpdateScriptResult & WithScript(const Script &value)
Definition: UpdateScriptResult.h:73
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateScriptResult::UpdateScriptResult
UpdateScriptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::UpdateScriptResult
Definition: UpdateScriptResult.h:28
GameLift_EXPORTS.h
Aws::GameLift::Model::UpdateScriptResult::GetScript
const Script & GetScript() const
Definition: UpdateScriptResult.h:43
Aws::GameLift::Model::UpdateScriptResult::SetScript
void SetScript(Script &&value)
Definition: UpdateScriptResult.h:63
Aws::GameLift::Model::UpdateScriptResult::operator=
UpdateScriptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Script.h
Aws::GameLift::Model::UpdateScriptResult::UpdateScriptResult
UpdateScriptResult()
Aws::GameLift::Model::UpdateScriptResult::WithScript
UpdateScriptResult & WithScript(Script &&value)
Definition: UpdateScriptResult.h:83