AWS SDK for C++  0.12.9
AWS SDK for C++
VirtualGateway.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace DirectConnect
29 {
30 namespace Model
31 {
32 
41  {
42  public:
45  VirtualGateway& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
46  Aws::Utils::Json::JsonValue Jsonize() const;
47 
48 
49  inline const Aws::String& GetVirtualGatewayId() const{ return m_virtualGatewayId; }
50 
51 
52  inline void SetVirtualGatewayId(const Aws::String& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = value; }
53 
54 
55  inline void SetVirtualGatewayId(Aws::String&& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = value; }
56 
57 
58  inline void SetVirtualGatewayId(const char* value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId.assign(value); }
59 
60 
61  inline VirtualGateway& WithVirtualGatewayId(const Aws::String& value) { SetVirtualGatewayId(value); return *this;}
62 
63 
64  inline VirtualGateway& WithVirtualGatewayId(Aws::String&& value) { SetVirtualGatewayId(value); return *this;}
65 
66 
67  inline VirtualGateway& WithVirtualGatewayId(const char* value) { SetVirtualGatewayId(value); return *this;}
68 
69 
70  inline const Aws::String& GetVirtualGatewayState() const{ return m_virtualGatewayState; }
71 
72 
73  inline void SetVirtualGatewayState(const Aws::String& value) { m_virtualGatewayStateHasBeenSet = true; m_virtualGatewayState = value; }
74 
75 
76  inline void SetVirtualGatewayState(Aws::String&& value) { m_virtualGatewayStateHasBeenSet = true; m_virtualGatewayState = value; }
77 
78 
79  inline void SetVirtualGatewayState(const char* value) { m_virtualGatewayStateHasBeenSet = true; m_virtualGatewayState.assign(value); }
80 
81 
82  inline VirtualGateway& WithVirtualGatewayState(const Aws::String& value) { SetVirtualGatewayState(value); return *this;}
83 
84 
85  inline VirtualGateway& WithVirtualGatewayState(Aws::String&& value) { SetVirtualGatewayState(value); return *this;}
86 
87 
88  inline VirtualGateway& WithVirtualGatewayState(const char* value) { SetVirtualGatewayState(value); return *this;}
89 
90  private:
91  Aws::String m_virtualGatewayId;
92  bool m_virtualGatewayIdHasBeenSet;
93  Aws::String m_virtualGatewayState;
94  bool m_virtualGatewayStateHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace DirectConnect
99 } // namespace Aws
void SetVirtualGatewayId(const char *value)
VirtualGateway & WithVirtualGatewayState(Aws::String &&value)
VirtualGateway & WithVirtualGatewayId(const Aws::String &value)
VirtualGateway & WithVirtualGatewayId(Aws::String &&value)
void SetVirtualGatewayState(const Aws::String &value)
const Aws::String & GetVirtualGatewayState() const
VirtualGateway & WithVirtualGatewayState(const char *value)
void SetVirtualGatewayState(Aws::String &&value)
#define AWS_DIRECTCONNECT_API
void SetVirtualGatewayState(const char *value)
void SetVirtualGatewayId(Aws::String &&value)
VirtualGateway & WithVirtualGatewayState(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::String & GetVirtualGatewayId() const
VirtualGateway & WithVirtualGatewayId(const char *value)
JSON (JavaScript Object Notation).
void SetVirtualGatewayId(const Aws::String &value)