AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeConnectionLoaRequest.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
20 
21 namespace Aws
22 {
23 namespace DirectConnect
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
40  inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
41 
42 
43  inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
44 
45 
46  inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
47 
48 
49  inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
50 
51 
52  inline DescribeConnectionLoaRequest& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
53 
54 
55  inline DescribeConnectionLoaRequest& WithConnectionId(Aws::String&& value) { SetConnectionId(value); return *this;}
56 
57 
58  inline DescribeConnectionLoaRequest& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
59 
66  inline const Aws::String& GetProviderName() const{ return m_providerName; }
67 
74  inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
75 
82  inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
83 
90  inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
91 
98  inline DescribeConnectionLoaRequest& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
99 
106  inline DescribeConnectionLoaRequest& WithProviderName(Aws::String&& value) { SetProviderName(value); return *this;}
107 
114  inline DescribeConnectionLoaRequest& WithProviderName(const char* value) { SetProviderName(value); return *this;}
115 
116 
117  inline const LoaContentType& GetLoaContentType() const{ return m_loaContentType; }
118 
119 
120  inline void SetLoaContentType(const LoaContentType& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
121 
122 
123  inline void SetLoaContentType(LoaContentType&& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
124 
125 
126  inline DescribeConnectionLoaRequest& WithLoaContentType(const LoaContentType& value) { SetLoaContentType(value); return *this;}
127 
128 
129  inline DescribeConnectionLoaRequest& WithLoaContentType(LoaContentType&& value) { SetLoaContentType(value); return *this;}
130 
131  private:
132  Aws::String m_connectionId;
133  bool m_connectionIdHasBeenSet;
134  Aws::String m_providerName;
135  bool m_providerNameHasBeenSet;
136  LoaContentType m_loaContentType;
137  bool m_loaContentTypeHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace DirectConnect
142 } // namespace Aws
DescribeConnectionLoaRequest & WithConnectionId(const Aws::String &value)
DescribeConnectionLoaRequest & WithProviderName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeConnectionLoaRequest & WithLoaContentType(LoaContentType &&value)
DescribeConnectionLoaRequest & WithProviderName(const Aws::String &value)
DescribeConnectionLoaRequest & WithConnectionId(Aws::String &&value)
DescribeConnectionLoaRequest & WithLoaContentType(const LoaContentType &value)
#define AWS_DIRECTCONNECT_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeConnectionLoaRequest & WithConnectionId(const char *value)
DescribeConnectionLoaRequest & WithProviderName(const char *value)
JSON (JavaScript Object Notation).