AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DescribeLoaRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/LoaContentType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DirectConnect {
16namespace Model {
17
21 public:
22 AWS_DIRECTCONNECT_API DescribeLoaRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeLoa"; }
29
30 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
31
32 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
39 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
40 template <typename ConnectionIdT = Aws::String>
41 void SetConnectionId(ConnectionIdT&& value) {
42 m_connectionIdHasBeenSet = true;
43 m_connectionId = std::forward<ConnectionIdT>(value);
44 }
45 template <typename ConnectionIdT = Aws::String>
46 DescribeLoaRequest& WithConnectionId(ConnectionIdT&& value) {
47 SetConnectionId(std::forward<ConnectionIdT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetProviderName() const { return m_providerName; }
59 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
60 template <typename ProviderNameT = Aws::String>
61 void SetProviderName(ProviderNameT&& value) {
62 m_providerNameHasBeenSet = true;
63 m_providerName = std::forward<ProviderNameT>(value);
64 }
65 template <typename ProviderNameT = Aws::String>
66 DescribeLoaRequest& WithProviderName(ProviderNameT&& value) {
67 SetProviderName(std::forward<ProviderNameT>(value));
68 return *this;
69 }
71
73
77 inline LoaContentType GetLoaContentType() const { return m_loaContentType; }
78 inline bool LoaContentTypeHasBeenSet() const { return m_loaContentTypeHasBeenSet; }
79 inline void SetLoaContentType(LoaContentType value) {
80 m_loaContentTypeHasBeenSet = true;
81 m_loaContentType = value;
82 }
84 SetLoaContentType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_connectionId;
90
91 Aws::String m_providerName;
92
94 bool m_connectionIdHasBeenSet = false;
95 bool m_providerNameHasBeenSet = false;
96 bool m_loaContentTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace DirectConnect
101} // namespace Aws
DescribeLoaRequest & WithLoaContentType(LoaContentType value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeLoaRequest & WithProviderName(ProviderNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
DescribeLoaRequest & WithConnectionId(ConnectionIdT &&value)
AWS_DIRECTCONNECT_API DescribeLoaRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String