AWS SDK for C++  1.8.7
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 
37  {
38  public:
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
44 
50  inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
51 
57  inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
58 
64  inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
65 
71  inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
72 
78  inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
79 
85  inline GameSessionQueueDestination& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
86 
92  inline GameSessionQueueDestination& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
93 
99  inline GameSessionQueueDestination& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
100 
101  private:
102 
103  Aws::String m_destinationArn;
104  bool m_destinationArnHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace GameLift
109 } // namespace Aws
#define AWS_GAMELIFT_API
GameSessionQueueDestination & WithDestinationArn(const char *value)
GameSessionQueueDestination & WithDestinationArn(Aws::String &&value)
GameSessionQueueDestination & WithDestinationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97