AWS SDK for C++  1.9.108
AWS SDK for C++
GameSessionQueueDestination.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GameLift
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
49 
55  inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
56 
62  inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
63 
69  inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
70 
76  inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
77 
83  inline GameSessionQueueDestination& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
84 
90  inline GameSessionQueueDestination& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
91 
97  inline GameSessionQueueDestination& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
98 
99  private:
100 
101  Aws::String m_destinationArn;
102  bool m_destinationArnHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace GameLift
107 } // namespace Aws
Aws::GameLift::Model::GameSessionQueueDestination
Definition: GameSessionQueueDestination.h:35
Aws::GameLift::Model::GameSessionQueueDestination::GameSessionQueueDestination
GameSessionQueueDestination(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::GameSessionQueueDestination::GetDestinationArn
const Aws::String & GetDestinationArn() const
Definition: GameSessionQueueDestination.h:48
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::GameSessionQueueDestination::SetDestinationArn
void SetDestinationArn(const char *value)
Definition: GameSessionQueueDestination.h:76
Aws::GameLift::Model::GameSessionQueueDestination::WithDestinationArn
GameSessionQueueDestination & WithDestinationArn(Aws::String &&value)
Definition: GameSessionQueueDestination.h:90
Aws::GameLift::Model::GameSessionQueueDestination::WithDestinationArn
GameSessionQueueDestination & WithDestinationArn(const char *value)
Definition: GameSessionQueueDestination.h:97
Aws::GameLift::Model::GameSessionQueueDestination::SetDestinationArn
void SetDestinationArn(const Aws::String &value)
Definition: GameSessionQueueDestination.h:62
Aws::GameLift::Model::GameSessionQueueDestination::SetDestinationArn
void SetDestinationArn(Aws::String &&value)
Definition: GameSessionQueueDestination.h:69
GameLift_EXPORTS.h
Aws::GameLift::Model::GameSessionQueueDestination::DestinationArnHasBeenSet
bool DestinationArnHasBeenSet() const
Definition: GameSessionQueueDestination.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GameLift::Model::GameSessionQueueDestination::operator=
GameSessionQueueDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::GameSessionQueueDestination::WithDestinationArn
GameSessionQueueDestination & WithDestinationArn(const Aws::String &value)
Definition: GameSessionQueueDestination.h:83
Aws::GameLift::Model::GameSessionQueueDestination::GameSessionQueueDestination
GameSessionQueueDestination()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::GameSessionQueueDestination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const