AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectionRequest.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 UpdateConnectionRequest();
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 "UpdateConnection"; }
31
32 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
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 UpdateConnectionRequest& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
48 inline UpdateConnectionRequest& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
49 inline UpdateConnectionRequest& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
51
53
56 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
57 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
58 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
59 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
60 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
61 inline UpdateConnectionRequest& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
62 inline UpdateConnectionRequest& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
63 inline UpdateConnectionRequest& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
65
67
72 inline const Aws::String& GetEncryptionMode() const{ return m_encryptionMode; }
73 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
74 inline void SetEncryptionMode(const Aws::String& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
75 inline void SetEncryptionMode(Aws::String&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::move(value); }
76 inline void SetEncryptionMode(const char* value) { m_encryptionModeHasBeenSet = true; m_encryptionMode.assign(value); }
77 inline UpdateConnectionRequest& WithEncryptionMode(const Aws::String& value) { SetEncryptionMode(value); return *this;}
78 inline UpdateConnectionRequest& WithEncryptionMode(Aws::String&& value) { SetEncryptionMode(std::move(value)); return *this;}
79 inline UpdateConnectionRequest& WithEncryptionMode(const char* value) { SetEncryptionMode(value); return *this;}
81 private:
82
83 Aws::String m_connectionId;
84 bool m_connectionIdHasBeenSet = false;
85
86 Aws::String m_connectionName;
87 bool m_connectionNameHasBeenSet = false;
88
89 Aws::String m_encryptionMode;
90 bool m_encryptionModeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DirectConnect
95} // namespace Aws
UpdateConnectionRequest & WithConnectionName(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateConnectionRequest & WithConnectionId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateConnectionRequest & WithConnectionName(const char *value)
UpdateConnectionRequest & WithConnectionId(const Aws::String &value)
UpdateConnectionRequest & WithEncryptionMode(const char *value)
UpdateConnectionRequest & WithEncryptionMode(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
UpdateConnectionRequest & WithConnectionName(const Aws::String &value)
UpdateConnectionRequest & WithConnectionId(Aws::String &&value)
UpdateConnectionRequest & WithEncryptionMode(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String