AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
45 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
46 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
47 inline DescribeLoaRequest& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
48 inline DescribeLoaRequest& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
49 inline DescribeLoaRequest& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
51
53
58 inline const Aws::String& GetProviderName() const{ return m_providerName; }
59 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
60 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
61 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
62 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
63 inline DescribeLoaRequest& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
64 inline DescribeLoaRequest& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
65 inline DescribeLoaRequest& WithProviderName(const char* value) { SetProviderName(value); return *this;}
67
69
73 inline const LoaContentType& GetLoaContentType() const{ return m_loaContentType; }
74 inline bool LoaContentTypeHasBeenSet() const { return m_loaContentTypeHasBeenSet; }
75 inline void SetLoaContentType(const LoaContentType& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
76 inline void SetLoaContentType(LoaContentType&& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = std::move(value); }
77 inline DescribeLoaRequest& WithLoaContentType(const LoaContentType& value) { SetLoaContentType(value); return *this;}
78 inline DescribeLoaRequest& WithLoaContentType(LoaContentType&& value) { SetLoaContentType(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_connectionId;
83 bool m_connectionIdHasBeenSet = false;
84
85 Aws::String m_providerName;
86 bool m_providerNameHasBeenSet = false;
87
88 LoaContentType m_loaContentType;
89 bool m_loaContentTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DirectConnect
94} // namespace Aws
DescribeLoaRequest & WithConnectionId(Aws::String &&value)
void SetProviderName(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetConnectionId(const Aws::String &value)
DescribeLoaRequest & WithLoaContentType(const LoaContentType &value)
DescribeLoaRequest & WithProviderName(const char *value)
void SetLoaContentType(const LoaContentType &value)
virtual const char * GetServiceRequestName() const override
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
DescribeLoaRequest & WithProviderName(Aws::String &&value)
DescribeLoaRequest & WithProviderName(const Aws::String &value)
DescribeLoaRequest & WithConnectionId(const char *value)
DescribeLoaRequest & WithLoaContentType(LoaContentType &&value)
const LoaContentType & GetLoaContentType() const
DescribeLoaRequest & WithConnectionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String