AWS SDK for C++  0.14.3
AWS SDK for C++
Loa.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
17 #include <aws/core/utils/Array.h>
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace DirectConnect
30 {
31 namespace Model
32 {
33 
39  {
40  public:
41  Loa();
42  Loa(const Aws::Utils::Json::JsonValue& jsonValue);
43  Loa& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
46 
47  inline const Aws::Utils::ByteBuffer& GetLoaContent() const{ return m_loaContent; }
48 
49 
50  inline void SetLoaContent(const Aws::Utils::ByteBuffer& value) { m_loaContentHasBeenSet = true; m_loaContent = value; }
51 
52 
53  inline void SetLoaContent(Aws::Utils::ByteBuffer&& value) { m_loaContentHasBeenSet = true; m_loaContent = value; }
54 
55 
56  inline Loa& WithLoaContent(const Aws::Utils::ByteBuffer& value) { SetLoaContent(value); return *this;}
57 
58 
59  inline Loa& WithLoaContent(Aws::Utils::ByteBuffer&& value) { SetLoaContent(value); return *this;}
60 
61 
62  inline const LoaContentType& GetLoaContentType() const{ return m_loaContentType; }
63 
64 
65  inline void SetLoaContentType(const LoaContentType& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
66 
67 
68  inline void SetLoaContentType(LoaContentType&& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
69 
70 
71  inline Loa& WithLoaContentType(const LoaContentType& value) { SetLoaContentType(value); return *this;}
72 
73 
74  inline Loa& WithLoaContentType(LoaContentType&& value) { SetLoaContentType(value); return *this;}
75 
76  private:
77  Aws::Utils::ByteBuffer m_loaContent;
78  bool m_loaContentHasBeenSet;
79  LoaContentType m_loaContentType;
80  bool m_loaContentTypeHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace DirectConnect
85 } // namespace Aws
Loa & WithLoaContentType(LoaContentType &&value)
Definition: Loa.h:74
void SetLoaContentType(const LoaContentType &value)
Definition: Loa.h:65
Loa & WithLoaContent(const Aws::Utils::ByteBuffer &value)
Definition: Loa.h:56
void SetLoaContent(Aws::Utils::ByteBuffer &&value)
Definition: Loa.h:53
const Aws::Utils::ByteBuffer & GetLoaContent() const
Definition: Loa.h:47
void SetLoaContentType(LoaContentType &&value)
Definition: Loa.h:68
void SetLoaContent(const Aws::Utils::ByteBuffer &value)
Definition: Loa.h:50
Loa & WithLoaContent(Aws::Utils::ByteBuffer &&value)
Definition: Loa.h:59
Loa & WithLoaContentType(const LoaContentType &value)
Definition: Loa.h:71
#define AWS_DIRECTCONNECT_API
const LoaContentType & GetLoaContentType() const
Definition: Loa.h:62
JSON (JavaScript Object Notation).