AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeScriptResult.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 
38  inline const Script& GetScript() const{ return m_script; }
39 
43  inline void SetScript(const Script& value) { m_script = value; }
44 
48  inline void SetScript(Script&& value) { m_script = std::move(value); }
49 
53  inline DescribeScriptResult& WithScript(const Script& value) { SetScript(value); return *this;}
54 
58  inline DescribeScriptResult& WithScript(Script&& value) { SetScript(std::move(value)); return *this;}
59 
60  private:
61 
62  Script m_script;
63  };
64 
65 } // namespace Model
66 } // namespace GameLift
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::Script
Definition: Script.h:38
Aws::GameLift::Model::DescribeScriptResult::SetScript
void SetScript(Script &&value)
Definition: DescribeScriptResult.h:48
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeScriptResult::operator=
DescribeScriptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeScriptResult::DescribeScriptResult
DescribeScriptResult()
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeScriptResult
Definition: DescribeScriptResult.h:28
Aws::GameLift::Model::DescribeScriptResult::WithScript
DescribeScriptResult & WithScript(Script &&value)
Definition: DescribeScriptResult.h:58
Aws::GameLift::Model::DescribeScriptResult::DescribeScriptResult
DescribeScriptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeScriptResult::SetScript
void SetScript(const Script &value)
Definition: DescribeScriptResult.h:43
Aws::GameLift::Model::DescribeScriptResult::GetScript
const Script & GetScript() const
Definition: DescribeScriptResult.h:38
Aws::GameLift::Model::DescribeScriptResult::WithScript
DescribeScriptResult & WithScript(const Script &value)
Definition: DescribeScriptResult.h:53
Aws
Definition: AccessManagementClient.h:15
Script.h