AWS SDK for C++  1.8.7
AWS SDK for C++
ResolveAliasResult.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 
44  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 
49  inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
50 
54  inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
55 
59  inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
60 
64  inline ResolveAliasResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
65 
69  inline ResolveAliasResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
70 
74  inline ResolveAliasResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
75 
76 
82  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
83 
89  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
90 
96  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
97 
103  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
104 
110  inline ResolveAliasResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
111 
117  inline ResolveAliasResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
118 
124  inline ResolveAliasResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
125 
126  private:
127 
128  Aws::String m_fleetId;
129 
130  Aws::String m_fleetArn;
131  };
132 
133 } // namespace Model
134 } // namespace GameLift
135 } // namespace Aws
#define AWS_GAMELIFT_API
void SetFleetId(const Aws::String &value)
const Aws::String & GetFleetId() const
const Aws::String & GetFleetArn() const
ResolveAliasResult & WithFleetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResolveAliasResult & WithFleetId(const char *value)
ResolveAliasResult & WithFleetId(Aws::String &&value)
ResolveAliasResult & WithFleetArn(Aws::String &&value)
ResolveAliasResult & WithFleetArn(const Aws::String &value)
ResolveAliasResult & WithFleetArn(const char *value)
void SetFleetArn(const Aws::String &value)