AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeInterconnectLoaRequest.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& GetInterconnectId() const{ return m_interconnectId; }
41 
42 
43  inline void SetInterconnectId(const Aws::String& value) { m_interconnectIdHasBeenSet = true; m_interconnectId = value; }
44 
45 
46  inline void SetInterconnectId(Aws::String&& value) { m_interconnectIdHasBeenSet = true; m_interconnectId = value; }
47 
48 
49  inline void SetInterconnectId(const char* value) { m_interconnectIdHasBeenSet = true; m_interconnectId.assign(value); }
50 
51 
52  inline DescribeInterconnectLoaRequest& WithInterconnectId(const Aws::String& value) { SetInterconnectId(value); return *this;}
53 
54 
55  inline DescribeInterconnectLoaRequest& WithInterconnectId(Aws::String&& value) { SetInterconnectId(value); return *this;}
56 
57 
58  inline DescribeInterconnectLoaRequest& WithInterconnectId(const char* value) { SetInterconnectId(value); return *this;}
59 
65  inline const Aws::String& GetProviderName() const{ return m_providerName; }
66 
72  inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
73 
79  inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
80 
86  inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
87 
93  inline DescribeInterconnectLoaRequest& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
94 
100  inline DescribeInterconnectLoaRequest& WithProviderName(Aws::String&& value) { SetProviderName(value); return *this;}
101 
107  inline DescribeInterconnectLoaRequest& WithProviderName(const char* value) { SetProviderName(value); return *this;}
108 
109 
110  inline const LoaContentType& GetLoaContentType() const{ return m_loaContentType; }
111 
112 
113  inline void SetLoaContentType(const LoaContentType& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
114 
115 
116  inline void SetLoaContentType(LoaContentType&& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
117 
118 
119  inline DescribeInterconnectLoaRequest& WithLoaContentType(const LoaContentType& value) { SetLoaContentType(value); return *this;}
120 
121 
122  inline DescribeInterconnectLoaRequest& WithLoaContentType(LoaContentType&& value) { SetLoaContentType(value); return *this;}
123 
124  private:
125  Aws::String m_interconnectId;
126  bool m_interconnectIdHasBeenSet;
127  Aws::String m_providerName;
128  bool m_providerNameHasBeenSet;
129  LoaContentType m_loaContentType;
130  bool m_loaContentTypeHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace DirectConnect
135 } // namespace Aws
DescribeInterconnectLoaRequest & WithLoaContentType(LoaContentType &&value)
DescribeInterconnectLoaRequest & WithInterconnectId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeInterconnectLoaRequest & WithProviderName(Aws::String &&value)
DescribeInterconnectLoaRequest & WithInterconnectId(Aws::String &&value)
DescribeInterconnectLoaRequest & WithProviderName(const char *value)
#define AWS_DIRECTCONNECT_API
DescribeInterconnectLoaRequest & WithProviderName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeInterconnectLoaRequest & WithInterconnectId(const Aws::String &value)
JSON (JavaScript Object Notation).
DescribeInterconnectLoaRequest & WithLoaContentType(const LoaContentType &value)