AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeLoaRequest.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/directconnect/model/LoaContentType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectConnect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTCONNECT_API DescribeLoaRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeLoa"; }
32
33 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
43 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
44 template<typename ConnectionIdT = Aws::String>
45 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::forward<ConnectionIdT>(value); }
46 template<typename ConnectionIdT = Aws::String>
47 DescribeLoaRequest& WithConnectionId(ConnectionIdT&& value) { SetConnectionId(std::forward<ConnectionIdT>(value)); return *this;}
49
51
56 inline const Aws::String& GetProviderName() const { return m_providerName; }
57 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
58 template<typename ProviderNameT = Aws::String>
59 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
60 template<typename ProviderNameT = Aws::String>
61 DescribeLoaRequest& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
63
65
69 inline LoaContentType GetLoaContentType() const { return m_loaContentType; }
70 inline bool LoaContentTypeHasBeenSet() const { return m_loaContentTypeHasBeenSet; }
71 inline void SetLoaContentType(LoaContentType value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
74 private:
75
76 Aws::String m_connectionId;
77 bool m_connectionIdHasBeenSet = false;
78
79 Aws::String m_providerName;
80 bool m_providerNameHasBeenSet = false;
81
83 bool m_loaContentTypeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DirectConnect
88} // 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