AWS SDK for C++  1.9.103
AWS SDK for C++
VpcPeeringConnectionStatus.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:
43 
44 
48  inline const Aws::String& GetCode() const{ return m_code; }
49 
53  inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
54 
58  inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
59 
63  inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
64 
68  inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
69 
73  inline VpcPeeringConnectionStatus& WithCode(const Aws::String& value) { SetCode(value); return *this;}
74 
78  inline VpcPeeringConnectionStatus& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
79 
83  inline VpcPeeringConnectionStatus& WithCode(const char* value) { SetCode(value); return *this;}
84 
85 
89  inline const Aws::String& GetMessage() const{ return m_message; }
90 
94  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
95 
99  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
100 
104  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
105 
109  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
110 
114  inline VpcPeeringConnectionStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
115 
119  inline VpcPeeringConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
120 
124  inline VpcPeeringConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
125 
126  private:
127 
128  Aws::String m_code;
129  bool m_codeHasBeenSet;
130 
131  Aws::String m_message;
132  bool m_messageHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace GameLift
137 } // namespace Aws
Aws::GameLift::Model::VpcPeeringConnectionStatus
Definition: VpcPeeringConnectionStatus.h:37
Aws::GameLift::Model::VpcPeeringConnectionStatus::SetCode
void SetCode(const Aws::String &value)
Definition: VpcPeeringConnectionStatus.h:58
Aws::GameLift::Model::VpcPeeringConnectionStatus::WithMessage
VpcPeeringConnectionStatus & WithMessage(const char *value)
Definition: VpcPeeringConnectionStatus.h:124
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::VpcPeeringConnectionStatus::VpcPeeringConnectionStatus
VpcPeeringConnectionStatus()
Aws::GameLift::Model::VpcPeeringConnectionStatus::WithMessage
VpcPeeringConnectionStatus & WithMessage(const Aws::String &value)
Definition: VpcPeeringConnectionStatus.h:114
Aws::GameLift::Model::VpcPeeringConnectionStatus::WithMessage
VpcPeeringConnectionStatus & WithMessage(Aws::String &&value)
Definition: VpcPeeringConnectionStatus.h:119
GameLift_EXPORTS.h
Aws::GameLift::Model::VpcPeeringConnectionStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::VpcPeeringConnectionStatus::WithCode
VpcPeeringConnectionStatus & WithCode(const char *value)
Definition: VpcPeeringConnectionStatus.h:83
Aws::GameLift::Model::VpcPeeringConnectionStatus::WithCode
VpcPeeringConnectionStatus & WithCode(const Aws::String &value)
Definition: VpcPeeringConnectionStatus.h:73
Aws::GameLift::Model::VpcPeeringConnectionStatus::SetCode
void SetCode(Aws::String &&value)
Definition: VpcPeeringConnectionStatus.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::GameLift::Model::VpcPeeringConnectionStatus::SetCode
void SetCode(const char *value)
Definition: VpcPeeringConnectionStatus.h:68
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GameLift::Model::VpcPeeringConnectionStatus::WithCode
VpcPeeringConnectionStatus & WithCode(Aws::String &&value)
Definition: VpcPeeringConnectionStatus.h:78
Aws::GameLift::Model::VpcPeeringConnectionStatus::GetCode
const Aws::String & GetCode() const
Definition: VpcPeeringConnectionStatus.h:48
Aws::GameLift::Model::VpcPeeringConnectionStatus::SetMessage
void SetMessage(Aws::String &&value)
Definition: VpcPeeringConnectionStatus.h:104
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::VpcPeeringConnectionStatus::CodeHasBeenSet
bool CodeHasBeenSet() const
Definition: VpcPeeringConnectionStatus.h:53
Aws::GameLift::Model::VpcPeeringConnectionStatus::VpcPeeringConnectionStatus
VpcPeeringConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::VpcPeeringConnectionStatus::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: VpcPeeringConnectionStatus.h:94
Aws::GameLift::Model::VpcPeeringConnectionStatus::GetMessage
const Aws::String & GetMessage() const
Definition: VpcPeeringConnectionStatus.h:89
Aws::GameLift::Model::VpcPeeringConnectionStatus::operator=
VpcPeeringConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::VpcPeeringConnectionStatus::SetMessage
void SetMessage(const Aws::String &value)
Definition: VpcPeeringConnectionStatus.h:99
Aws::GameLift::Model::VpcPeeringConnectionStatus::SetMessage
void SetMessage(const char *value)
Definition: VpcPeeringConnectionStatus.h:109