AWS SDK for C++  1.9.45
AWS SDK for C++
PutScalingPolicyResult.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 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
51  inline void SetName(const Aws::String& value) { m_name = value; }
52 
57  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 
63  inline void SetName(const char* value) { m_name.assign(value); }
64 
69  inline PutScalingPolicyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
75  inline PutScalingPolicyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
81  inline PutScalingPolicyResult& WithName(const char* value) { SetName(value); return *this;}
82 
83  private:
84 
85  Aws::String m_name;
86  };
87 
88 } // namespace Model
89 } // namespace GameLift
90 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::PutScalingPolicyResult::GetName
const Aws::String & GetName() const
Definition: PutScalingPolicyResult.h:45
Aws::GameLift::Model::PutScalingPolicyResult::WithName
PutScalingPolicyResult & WithName(const char *value)
Definition: PutScalingPolicyResult.h:81
Aws::GameLift::Model::PutScalingPolicyResult::PutScalingPolicyResult
PutScalingPolicyResult()
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::PutScalingPolicyResult::WithName
PutScalingPolicyResult & WithName(const Aws::String &value)
Definition: PutScalingPolicyResult.h:69
Aws::GameLift::Model::PutScalingPolicyResult::PutScalingPolicyResult
PutScalingPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameLift_EXPORTS.h
Aws::GameLift::Model::PutScalingPolicyResult::operator=
PutScalingPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::GameLift::Model::PutScalingPolicyResult
Definition: PutScalingPolicyResult.h:34
Aws::GameLift::Model::PutScalingPolicyResult::WithName
PutScalingPolicyResult & WithName(Aws::String &&value)
Definition: PutScalingPolicyResult.h:75
Aws::GameLift::Model::PutScalingPolicyResult::SetName
void SetName(const Aws::String &value)
Definition: PutScalingPolicyResult.h:51
Aws::GameLift::Model::PutScalingPolicyResult::SetName
void SetName(Aws::String &&value)
Definition: PutScalingPolicyResult.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::PutScalingPolicyResult::SetName
void SetName(const char *value)
Definition: PutScalingPolicyResult.h:63