AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLagRequest.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 <utility>
11
12namespace Aws
13{
14namespace DirectConnect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DIRECTCONNECT_API UpdateLagRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateLag"; }
31
32 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetLagId() const{ return m_lagId; }
42 inline bool LagIdHasBeenSet() const { return m_lagIdHasBeenSet; }
43 inline void SetLagId(const Aws::String& value) { m_lagIdHasBeenSet = true; m_lagId = value; }
44 inline void SetLagId(Aws::String&& value) { m_lagIdHasBeenSet = true; m_lagId = std::move(value); }
45 inline void SetLagId(const char* value) { m_lagIdHasBeenSet = true; m_lagId.assign(value); }
46 inline UpdateLagRequest& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
47 inline UpdateLagRequest& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
48 inline UpdateLagRequest& WithLagId(const char* value) { SetLagId(value); return *this;}
50
52
55 inline const Aws::String& GetLagName() const{ return m_lagName; }
56 inline bool LagNameHasBeenSet() const { return m_lagNameHasBeenSet; }
57 inline void SetLagName(const Aws::String& value) { m_lagNameHasBeenSet = true; m_lagName = value; }
58 inline void SetLagName(Aws::String&& value) { m_lagNameHasBeenSet = true; m_lagName = std::move(value); }
59 inline void SetLagName(const char* value) { m_lagNameHasBeenSet = true; m_lagName.assign(value); }
60 inline UpdateLagRequest& WithLagName(const Aws::String& value) { SetLagName(value); return *this;}
61 inline UpdateLagRequest& WithLagName(Aws::String&& value) { SetLagName(std::move(value)); return *this;}
62 inline UpdateLagRequest& WithLagName(const char* value) { SetLagName(value); return *this;}
64
66
70 inline int GetMinimumLinks() const{ return m_minimumLinks; }
71 inline bool MinimumLinksHasBeenSet() const { return m_minimumLinksHasBeenSet; }
72 inline void SetMinimumLinks(int value) { m_minimumLinksHasBeenSet = true; m_minimumLinks = value; }
73 inline UpdateLagRequest& WithMinimumLinks(int value) { SetMinimumLinks(value); return *this;}
75
77
81 inline const Aws::String& GetEncryptionMode() const{ return m_encryptionMode; }
82 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
83 inline void SetEncryptionMode(const Aws::String& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
84 inline void SetEncryptionMode(Aws::String&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::move(value); }
85 inline void SetEncryptionMode(const char* value) { m_encryptionModeHasBeenSet = true; m_encryptionMode.assign(value); }
86 inline UpdateLagRequest& WithEncryptionMode(const Aws::String& value) { SetEncryptionMode(value); return *this;}
87 inline UpdateLagRequest& WithEncryptionMode(Aws::String&& value) { SetEncryptionMode(std::move(value)); return *this;}
88 inline UpdateLagRequest& WithEncryptionMode(const char* value) { SetEncryptionMode(value); return *this;}
90 private:
91
92 Aws::String m_lagId;
93 bool m_lagIdHasBeenSet = false;
94
95 Aws::String m_lagName;
96 bool m_lagNameHasBeenSet = false;
97
98 int m_minimumLinks;
99 bool m_minimumLinksHasBeenSet = false;
100
101 Aws::String m_encryptionMode;
102 bool m_encryptionModeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace DirectConnect
107} // namespace Aws
UpdateLagRequest & WithLagName(const char *value)
const Aws::String & GetEncryptionMode() const
virtual const char * GetServiceRequestName() const override
UpdateLagRequest & WithLagId(const char *value)
UpdateLagRequest & WithEncryptionMode(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
void SetEncryptionMode(const Aws::String &value)
UpdateLagRequest & WithLagId(const Aws::String &value)
UpdateLagRequest & WithLagId(Aws::String &&value)
void SetLagName(const Aws::String &value)
UpdateLagRequest & WithLagName(const Aws::String &value)
UpdateLagRequest & WithEncryptionMode(const Aws::String &value)
UpdateLagRequest & WithMinimumLinks(int value)
UpdateLagRequest & WithEncryptionMode(const char *value)
void SetLagId(const Aws::String &value)
UpdateLagRequest & WithLagName(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String